LibreOffice Module ucb (master)  1
Classes | Typedefs | Functions
fileaccess Namespace Reference

Classes

class  BaseContent
 
class  ContentEventNotifier
 
class  FileContentIdentifier
 
class  FileProvider
 
class  Notifier
 
class  PropertyChangeNotifier
 
class  PropertyListeners
 
class  PropertySetInfoChangeNotifier
 
class  ReconnectingFile
 
class  TaskManager
 
class  XCommandInfo_impl
 
class  XInputStream_impl
 
class  XInteractionAbortImpl
 
class  XInteractionRequestImpl
 
class  XInteractionSupplyNameImpl
 
class  XPropertySetInfo_impl
 
class  XResultSet_impl
 
class  XRow_impl
 
class  XStream_impl
 

Typedefs

typedef std::unordered_map< OUString, css::uno::Sequence< css::uno::Reference< css::uno::XInterface > > > ListenerMap
 

Functions

bool isChild (const OUString &srcUnqPath, const OUString &dstUnqPath)
 
OUString newName (const OUString &aNewPrefix, const OUString &aOldPrefix, const OUString &old_Name)
 
OUString getTitle (const OUString &aPath)
 
OUString getParentName (const OUString &aFileName)
 
osl::FileBase::RC osl_File_copy (const OUString &strPath, const OUString &strDestPath, bool test)
 special copy: On test = true, the implementation determines whether the destination exists and returns the appropriate errorcode E_EXIST. More...
 
osl::FileBase::RC osl_File_move (const OUString &strPath, const OUString &strDestPath, bool test=false)
 special move: On test = true, the implementation determines whether the destination exists and returns the appropriate errorcode E_EXIST. More...
 
void throw_handler (sal_Int32 errorCode, sal_Int32 minorCode, const Reference< XCommandEnvironment > &xEnv, const OUString &aUncPath, BaseContent *pContent, bool isHandled)
 
void throw_handler (sal_Int32 errorCode, sal_Int32 minorCode, const css::uno::Reference< css::ucb::XCommandEnvironment > &xEnv, const OUString &aUncPath, BaseContent *pContent, bool isHandled)
 

Typedef Documentation

typedef std::unordered_map< OUString, css::uno::Sequence< css::uno::Reference< css::uno::XInterface > > > fileaccess::ListenerMap

Definition at line 81 of file filnot.hxx.

Function Documentation

OUString fileaccess::getParentName ( const OUString &  aFileName)
OUString fileaccess::getTitle ( const OUString &  aPath)

Definition at line 181 of file filglob.cxx.

Referenced by fileaccess::BaseContent::insert(), and throw_handler().

bool fileaccess::isChild ( const OUString &  srcUnqPath,
const OUString &  dstUnqPath 
)
OUString fileaccess::newName ( const OUString &  aNewPrefix,
const OUString &  aOldPrefix,
const OUString &  old_Name 
)
osl::FileBase::RC fileaccess::osl_File_copy ( const OUString &  strPath,
const OUString &  strDestPath,
bool  test 
)

special copy: On test = true, the implementation determines whether the destination exists and returns the appropriate errorcode E_EXIST.

osl::File::copy copies unchecked.

Definition at line 203 of file filglob.cxx.

Referenced by fileaccess::TaskManager::copy_recursive().

osl::FileBase::RC fileaccess::osl_File_move ( const OUString &  strPath,
const OUString &  strDestPath,
bool  test = false 
)

special move: On test = true, the implementation determines whether the destination exists and returns the appropriate errorcode E_EXIST.

osl::File::move moves unchecked

Definition at line 218 of file filglob.cxx.

Referenced by fileaccess::TaskManager::move().

void fileaccess::throw_handler ( sal_Int32  errorCode,
sal_Int32  minorCode,
const css::uno::Reference< css::ucb::XCommandEnvironment > &  xEnv,
const OUString &  aUncPath,
BaseContent pContent,
bool  isHandled 
)
void fileaccess::throw_handler ( sal_Int32  errorCode,
sal_Int32  minorCode,
const Reference< XCommandEnvironment > &  xEnv,
const OUString &  aUncPath,
BaseContent pContent,
bool  isHandled 
)

Definition at line 232 of file filglob.cxx.

References Any, ucbhelper::cancelCommandExecution(), getParentName(), getTitle(), TASKHANDLER_UNSUPPORTED_COMMAND, TASKHANDLING_BUFFERSIZEEXCEEDED_FOR_PAGING, TASKHANDLING_BUFFERSIZEEXCEEDED_FOR_WRITE, TASKHANDLING_CREATEDIRECTORY_MKDIR, TASKHANDLING_DELETED_STATE_IN_OPEN_COMMAND, TASKHANDLING_DELETEDIRECTORY_FOR_REMOVE, TASKHANDLING_DELETEFILE_FOR_REMOVE, TASKHANDLING_DIRECTORYEXHAUSTED_FOR_REMOVE, TASKHANDLING_ENSUREDIR_FOR_WRITE, TASKHANDLING_FILEIOERROR_FOR_NO_SPACE, TASKHANDLING_FILEIOERROR_FOR_WRITE, TASKHANDLING_FILESIZE_FOR_WRITE, TASKHANDLING_FILETYPE_FOR_REMOVE, TASKHANDLING_FOLDER_EXISTS_MKDIR, TASKHANDLING_INPUTSTREAM_FOR_WRITE, TASKHANDLING_INSERTED_STATE_IN_OPEN_COMMAND, TASKHANDLING_INVALID_NAME_MKDIR, TASKHANDLING_IOEXCEPTION_FOR_PAGING, TASKHANDLING_IOEXCEPTION_FOR_WRITE, TASKHANDLING_KEEPERROR_FOR_COPY, TASKHANDLING_KEEPERROR_FOR_MOVE, TASKHANDLING_NAMECLASH_FOR_COPY, TASKHANDLING_NAMECLASH_FOR_MOVE, TASKHANDLING_NAMECLASHMOVE_FOR_COPY, TASKHANDLING_NAMECLASHMOVE_FOR_MOVE, TASKHANDLING_NAMECLASHSUPPORT_FOR_COPY, TASKHANDLING_NAMECLASHSUPPORT_FOR_MOVE, TASKHANDLING_NO_OPEN_FILE_FOR_OVERWRITE, TASKHANDLING_NO_OPEN_FILE_FOR_WRITE, TASKHANDLING_NOCONTENTTYPE_INSERT_COMMAND, TASKHANDLING_NOFRESHINSERT_IN_INSERT_COMMAND, TASKHANDLING_NONAMESET_INSERT_COMMAND, TASKHANDLING_NOREPLACE_FOR_WRITE, TASKHANDLING_NOSUCHFILEORDIR_FOR_REMOVE, TASKHANDLING_NOTCONNECTED_FOR_PAGING, TASKHANDLING_NOTCONNECTED_FOR_WRITE, TASKHANDLING_OPEN_FILE_FOR_PAGING, TASKHANDLING_OPEN_FOR_DIRECTORYLISTING, TASKHANDLING_OPEN_FOR_INPUTSTREAM, TASKHANDLING_OPEN_FOR_STREAM, TASKHANDLING_OPENDIRECTORY_FOR_REMOVE, TASKHANDLING_OVERWRITE_FOR_COPY, TASKHANDLING_OVERWRITE_FOR_MOVE, TASKHANDLING_READING_FILE_FOR_PAGING, TASKHANDLING_RENAME_FOR_COPY, TASKHANDLING_RENAME_FOR_MOVE, TASKHANDLING_RENAMEMOVE_FOR_COPY, TASKHANDLING_RENAMEMOVE_FOR_MOVE, TASKHANDLING_TRANSFER_ACCESSINGROOT, TASKHANDLING_TRANSFER_BY_COPY_SOURCE, TASKHANDLING_TRANSFER_BY_COPY_SOURCESTAT, TASKHANDLING_TRANSFER_BY_MOVE_SOURCE, TASKHANDLING_TRANSFER_BY_MOVE_SOURCESTAT, TASKHANDLING_TRANSFER_DESTFILETYPE, TASKHANDLING_TRANSFER_INVALIDSCHEME, TASKHANDLING_TRANSFER_INVALIDURL, TASKHANDLING_UNSUPPORTED_OPEN_MODE, TASKHANDLING_VALIDFILESTATUS_FOR_REMOVE, TASKHANDLING_VALIDFILESTATUSWHILE_FOR_REMOVE, TASKHANDLING_WRONG_CREATENEWCONTENT_ARGUMENT, TASKHANDLING_WRONG_DELETE_ARGUMENT, TASKHANDLING_WRONG_GETPROPERTYVALUES_ARGUMENT, TASKHANDLING_WRONG_INSERT_ARGUMENT, TASKHANDLING_WRONG_OPEN_ARGUMENT, TASKHANDLING_WRONG_SETPROPERTYVALUES_ARGUMENT, and TASKHANDLING_WRONG_TRANSFER_ARGUMENT.

Referenced by fileaccess::TaskManager::endTask().