|
ImagingTools Core SDK
|
#include <CFileRepositoryComp.h>
Protected Member Functions | |
| virtual istd::IChangeableUniquePtr | CreateDataObject (const QByteArray &typeId) const |
| virtual istd::IChangeableUniquePtr | CreateObjectFromFile (const QString &filePath, const QByteArray &typeId) const |
| bool | IsPathInsideRepository (const QString &filePath) const |
| virtual idoc::MetaInfoPtr | CreateItemMetaInfo (const QString &dataObjectFilePath, const QByteArray &typeId) const |
| virtual QString | CalculateFolderPathInRepository (const QString &localFilePath, const QString &resourceName, const QByteArray &typeId, ilog::IMessageConsumer *messageConsumerPtr) const |
Protected Attributes | |
| ResourceTypeConstraintsModel | m_resourceTypeConstraints |
Additional Inherited Members | |
Public Types inherited from imtbase::IObjectCollection | |
| enum | OperationalFlags { OF_SUPPORT_RENAME = 1 , OF_SUPPORT_INSERT = 2 , OF_SUPPORT_DELETE = 4 , OF_SUPPORT_EDIT = 8 , OF_SUPPORT_USING = 16 , OF_SUPPORT_PAGINATION = 32 , OF_ALL = OF_SUPPORT_RENAME | OF_SUPPORT_INSERT | OF_SUPPORT_DELETE | OF_SUPPORT_EDIT | OF_SUPPORT_USING | OF_SUPPORT_PAGINATION } |
Public Types inherited from imtbase::ICollectionInfo | |
| enum | ChangeFlags { CF_ADDED = 10000 , CF_ELEMENT_RENAMED , CF_ELEMENT_DESCRIPTION_CHANGED , CF_ELEMENT_STATE , CF_REMOVED , CF_RESTORED , CF_LAST } |
| enum | ElementInfoType { EIT_NAME , EIT_DESCRIPTION , EIT_ENABLED , EIT_USER = 1000 } |
| enum | MetaInfoType { MIT_INSERTION_USER = idoc::IDocumentMetaInfo::MIT_USER + 10000 , MIT_INSERTION_TIME , MIT_LAST_OPERATION_USER , MIT_LAST_OPERATION_TIME , MIT_PREVIEW_THUMBNAIL , MIT_REVISION = idoc::IDocumentMetaInfo::MIT_USER + 20000 } |
Public Types inherited from imtrepo::IFileCollectionInfo | |
| enum | FileCollectionLayout { FCL_FLAT , FCL_FOLDER } |
Public Member Functions inherited from imtbase::IObjectCollection | |
| template<typename Interface > | |
| const Interface * | GetObjectPtr (const Id &objectId) const |
| virtual void | ResetObjectIds () |
Base class of the file collection. General implementation
Definition at line 40 of file CFileRepositoryComp.h.
|
protectedvirtual |
Calculate path in file collection for the local file path
|
protectedvirtual |
Create data object for the given type.
|
protectedvirtual |
Create meta-info object for a given file in the file collection.
NULL of no meta-info was created for the given file.
|
protectedvirtual |
Create object data from the file.
|
protected |
Check if the path to the file is inside of repository folder.
|
protected |
Supported types of the objects in the collection.
Definition at line 244 of file CFileRepositoryComp.h.