Lines Matching refs:ucb
85 uno::Reference< ucb::XCommandProcessor > xProcessor;
86 uno::Reference< ucb::XCommandEnvironment > xEnv;
87 uno::Reference< ucb::XCommandEnvironment > xOrigEnv;
88 ucb::GlobalTransferCommandArgument aArg;
92 const uno::Reference< ucb::XCommandProcessor > & rxProcessor, in TransferCommandContext()
93 const uno::Reference< ucb::XCommandEnvironment > & rxEnv, in TransferCommandContext()
94 const uno::Reference< ucb::XCommandEnvironment > & rxOrigEnv, in TransferCommandContext()
95 const ucb::GlobalTransferCommandArgument & rArg ) in TransferCommandContext()
135 ucb::InteractiveBadTransferURLException aBadTransferURLEx; in handle()
143 ucb::UnsupportedNameClashException aUnsupportedNameClashEx; in handle()
147 != ucb::NameClash::ERROR ) in handle()
153 ucb::NameClashException aNameClashEx; in handle()
161 ucb::UnsupportedCommandException aUnsupportedCommandEx; in handle()
217 public cppu::WeakImplHelper1< ucb::XCommandInfo >
219 uno::Sequence< ucb::CommandInfo > * m_pInfo;
226 virtual uno::Sequence< ucb::CommandInfo > SAL_CALL getCommands()
228 virtual ucb::CommandInfo SAL_CALL
230 throw( ucb::UnsupportedCommandException, uno::RuntimeException );
231 virtual ucb::CommandInfo SAL_CALL
233 throw( ucb::UnsupportedCommandException, uno::RuntimeException );
243 m_pInfo = new uno::Sequence< ucb::CommandInfo >( 2 ); in CommandProcessorInfo()
246 = ucb::CommandInfo( in CommandProcessorInfo()
251 = ucb::CommandInfo( in CommandProcessorInfo()
256 ucb::GlobalTransferCommandArgument * >( 0 ) ) ); // ArgType in CommandProcessorInfo()
268 uno::Sequence< ucb::CommandInfo > SAL_CALL
272 return uno::Sequence< ucb::CommandInfo >( *m_pInfo ); in getCommands()
277 ucb::CommandInfo SAL_CALL
279 throw( ucb::UnsupportedCommandException, uno::RuntimeException ) in getCommandInfoByName()
284 return ucb::CommandInfo( (*m_pInfo)[ n ] ); in getCommandInfoByName()
287 throw ucb::UnsupportedCommandException(); in getCommandInfoByName()
292 ucb::CommandInfo SAL_CALL
294 throw( ucb::UnsupportedCommandException, uno::RuntimeException ) in getCommandInfoByHandle()
299 return ucb::CommandInfo( (*m_pInfo)[ n ] ); in getCommandInfoByHandle()
302 throw ucb::UnsupportedCommandException(); in getCommandInfoByHandle()
388 const ucb::GlobalTransferCommandArgument & rArg ) in createDesiredName()
394 const ucb::TransferInfo & rArg ) in createDesiredName()
403 const uno::Reference< ucb::XCommandEnvironment > & xEnv, in interactiveNameClashResolve()
442 ucb::XInteractionReplaceExistingData > in interactiveNameClashResolve()
453 ucb::XInteractionSupplyName > in interactiveNameClashResolve()
478 const uno::Reference< ucb::XCommandProcessor > & xCommandProcessor, in setTitle()
479 const uno::Reference< ucb::XCommandEnvironment > & xEnv, in setTitle()
491 ucb::Command aSetPropsCommand( in setTitle()
525 uno::Reference< ucb::XContent > createNew( in createNew()
527 const uno::Reference< ucb::XContent > & xTarget, in createNew()
542 uno::Reference< ucb::XCommandProcessor > xCommandProcessorT( in createNew()
554 ucb::IOErrorCode_CANT_CREATE, in createNew()
568 ucb::Command aGetPropsCommand( in createNew()
576 uno::Sequence< ucb::ContentInfo > aTypesInfo; in createNew()
589 uno::Reference< ucb::XContentCreator > xCreator; in createNew()
608 ucb::IOErrorCode_CANT_CREATE, in createNew()
629 ucb::IOErrorCode_CANT_CREATE, in createNew()
643 uno::Reference< ucb::XContent > xNew; in createNew()
649 if ( rContext.aArg.Operation == ucb::TransferCommandOperation_LINK ) in createNew()
653 if ( nAttribs & ucb::ContentInfoAttribute::KIND_LINK ) in createNew()
660 == ucb::TransferCommandOperation_COPY ) || in createNew()
662 == ucb::TransferCommandOperation_MOVE ) ) in createNew()
669 if ( nAttribs & ucb::ContentInfoAttribute::KIND_LINK ) in createNew()
682 & ucb::ContentInfoAttribute::KIND_FOLDER ) ) in createNew()
686 & ucb::ContentInfoAttribute::KIND_DOCUMENT ) ) in createNew()
718 ucb::Command aCreateNewCommand( in createNew()
745 ucb::IOErrorCode_CANT_CREATE, in createNew()
763 const uno::Reference< ucb::XCommandProcessor > & xCommandProcessorS, in transferProperties()
764 const uno::Reference< ucb::XCommandProcessor > & xCommandProcessorN ) in transferProperties()
767 ucb::Command aGetPropertySetInfoCommand( in transferProperties()
786 ucb::IOErrorCode_CANT_READ, in transferProperties()
797 ucb::Command aGetPropsCommand1( in transferProperties()
816 ucb::IOErrorCode_CANT_READ, in transferProperties()
833 != ucb::TransferCommandOperation_LINK ); in transferProperties()
900 == ucb::TransferCommandOperation_LINK ) ) in transferProperties()
914 ucb::Command aSetPropsCommand( in transferProperties()
928 const uno::Reference< ucb::XCommandProcessor > & xCommandProcessorS ) in getInputStream()
943 ucb::OpenCommandArgument2 aArg; in getInputStream()
944 aArg.Mode = ucb::OpenMode::DOCUMENT; in getInputStream()
949 ucb::Command aOpenCommand( in getInputStream()
983 ucb::OpenCommandArgument2 aArg; in getInputStream()
984 aArg.Mode = ucb::OpenMode::DOCUMENT; in getInputStream()
989 ucb::Command aOpenCommand( in getInputStream()
1016 const uno::Reference< ucb::XCommandProcessor > & xCommandProcessorS ) in getResultSet()
1030 ucb::OpenCommandArgument2 aArg; in getResultSet()
1031 aArg.Mode = ucb::OpenMode::ALL; in getResultSet()
1036 ucb::Command aOpenCommand( rtl::OUString::createFromAscii( "open" ), in getResultSet()
1041 uno::Reference< ucb::XDynamicResultSet > xSet; in getResultSet()
1062 const uno::Reference< ucb::XContent > & xNew, in handleNameClashRename()
1064 ucb::XCommandProcessor > & xCommandProcessorN, in handleNameClashRename()
1066 ucb::XCommandProcessor > & xCommandProcessorS, in handleNameClashRename()
1077 ucb::Command aGetPropsCommand( in handleNameClashRename()
1096 ucb::IOErrorCode_CANT_READ, in handleNameClashRename()
1189 ucb::IOErrorCode_CANT_READ, in handleNameClashRename()
1200 ucb::InsertCommandArgument aArg; in handleNameClashRename()
1204 ucb::Command aInsertCommand( in handleNameClashRename()
1228 ucb::UnsupportedNameClashException( in handleNameClashRename()
1232 ucb::NameClash::RENAME ) ), in handleNameClashRename()
1241 const uno::Reference< ucb::XContent > & xSource, in globalTransfer_()
1242 const uno::Reference< ucb::XContent > & xTarget, in globalTransfer_()
1284 uno::Reference< ucb::XContent > xNew = createNew( rContext, in globalTransfer_()
1299 ucb::IOErrorCode_CANT_CREATE, in globalTransfer_()
1314 uno::Reference< ucb::XCommandProcessor > xCommandProcessorN( in globalTransfer_()
1328 ucb::IOErrorCode_CANT_WRITE, in globalTransfer_()
1339 uno::Reference< ucb::XCommandProcessor > xCommandProcessorS( in globalTransfer_()
1351 ucb::IOErrorCode_CANT_READ, in globalTransfer_()
1371 != ucb::TransferCommandOperation_LINK ) ) in globalTransfer_()
1383 != ucb::TransferCommandOperation_LINK ) ) in globalTransfer_()
1392 ucb::InsertCommandArgument aArg; in globalTransfer_()
1397 case ucb::NameClash::OVERWRITE: in globalTransfer_()
1401 case ucb::NameClash::ERROR: in globalTransfer_()
1402 case ucb::NameClash::RENAME: in globalTransfer_()
1403 case ucb::NameClash::KEEP: // deprecated in globalTransfer_()
1404 case ucb::NameClash::ASK: in globalTransfer_()
1423 ucb::Command aInsertCommand( in globalTransfer_()
1430 catch ( ucb::UnsupportedNameClashException const & exc ) in globalTransfer_()
1435 if (exc.NameClash != ucb::NameClash::ERROR) { in globalTransfer_()
1441 throw ucb::UnsupportedNameClashException( in globalTransfer_()
1448 catch ( ucb::NameClashException const & ) in globalTransfer_()
1465 case ucb::NameClash::OVERWRITE: in globalTransfer_()
1469 ucb::UnsupportedNameClashException( in globalTransfer_()
1479 case ucb::NameClash::ERROR: in globalTransfer_()
1482 case ucb::NameClash::RENAME: in globalTransfer_()
1493 case ucb::NameClash::ASK: in globalTransfer_()
1517 throw ucb::CommandFailedException( in globalTransfer_()
1550 throw ucb::CommandFailedException( in globalTransfer_()
1566 case ucb::NameClash::KEEP: // deprecated in globalTransfer_()
1571 ucb::UnsupportedNameClashException( in globalTransfer_()
1612 ucb::IOErrorCode_CANT_READ, in globalTransfer_()
1621 uno::Reference< ucb::XContentAccess > xChildAccess( in globalTransfer_()
1635 ucb::IOErrorCode_CANT_READ, in globalTransfer_()
1646 ucb::GlobalTransferCommandArgument aTransArg( in globalTransfer_()
1662 uno::Reference< ucb::XContent > xChild in globalTransfer_()
1686 uno::Reference< ucb::XCommandProcessor > xcp( in globalTransfer_()
1690 uno::Reference< ucb::XCommandInfo > xci; in globalTransfer_()
1694 ucb::Command( in globalTransfer_()
1705 ucb::Command( in globalTransfer_()
1725 uno::Reference< ucb::XCommandInfo >
1728 return uno::Reference< ucb::XCommandInfo >( new CommandProcessorInfo() ); in getCommandInfo()
1733 const ucb::GlobalTransferCommandArgument & rArg, in globalTransfer()
1734 const uno::Reference< ucb::XCommandEnvironment > & xEnv ) in globalTransfer()
1740 uno::Reference< ucb::XCommandEnvironment > xLocalEnv; in globalTransfer()
1751 xLocalEnv.set( ucb::CommandEnvironment::create( in globalTransfer()
1763 uno::Reference< ucb::XContent > xTarget; in globalTransfer()
1764 uno::Reference< ucb::XContentIdentifier > xId in globalTransfer()
1772 catch ( ucb::IllegalIdentifierException const & ) in globalTransfer()
1787 ucb::IOErrorCode_CANT_READ, in globalTransfer()
1796 if ( ( rArg.Operation == ucb::TransferCommandOperation_COPY ) || in globalTransfer()
1797 ( rArg.Operation == ucb::TransferCommandOperation_MOVE ) ) in globalTransfer()
1799 uno::Reference< ucb::XCommandProcessor > xCommandProcessor( in globalTransfer()
1812 ucb::IOErrorCode_CANT_READ, in globalTransfer()
1821 ucb::TransferInfo aTransferArg( in globalTransfer()
1823 == ucb::TransferCommandOperation_MOVE ), // MoveData in globalTransfer()
1835 ucb::Command aCommand( in globalTransfer()
1845 catch ( ucb::InteractiveBadTransferURLException const & ) in globalTransfer()
1850 catch ( ucb::UnsupportedCommandException const & ) in globalTransfer()
1855 catch ( ucb::UnsupportedNameClashException const & exc ) in globalTransfer()
1859 if ( exc.NameClash == ucb::NameClash::ASK ) in globalTransfer()
1865 ucb::TransferInfo aTransferArg1( in globalTransfer()
1869 ucb::NameClash::ERROR ); in globalTransfer()
1871 ucb::Command aCommand1( in globalTransfer()
1881 catch ( ucb::UnsupportedNameClashException const & ) in globalTransfer()
1887 catch ( ucb::NameClashException const & ) in globalTransfer()
1914 throw ucb::CommandFailedException( in globalTransfer()
1925 = ucb::NameClash::OVERWRITE; in globalTransfer()
1953 uno::Reference< ucb::XContent > xSource; in globalTransfer()
1956 uno::Reference< ucb::XContentIdentifier > xId2 in globalTransfer()
1961 catch ( ucb::IllegalIdentifierException const & ) in globalTransfer()
1976 ucb::IOErrorCode_CANT_READ, in globalTransfer()
1985 uno::Reference< ucb::XCommandProcessor > xCommandProcessor( in globalTransfer()
1997 ucb::IOErrorCode_CANT_READ, in globalTransfer()
2019 ucb::Command aGetPropsCommand( in globalTransfer()
2037 ucb::IOErrorCode_CANT_READ, in globalTransfer()
2069 if ( rArg.Operation == ucb::TransferCommandOperation_MOVE ) in globalTransfer()
2073 ucb::Command aCommand( in globalTransfer()