#include <IFileCollectionInfo.h>
Interface for describing the structure of a file-based collection.
Definition at line 24 of file IFileCollectionInfo.h.
◆ FileCollectionLayout
Type of the repository layout.
| Enumerator |
|---|
| FCL_FLAT | All repository files are placed in the same folder.
|
| FCL_FOLDER | Each repository is placed in its own folder.
|
Definition at line 30 of file IFileCollectionInfo.h.
◆ GetCollectionFileLayout()
Get information about a type of the file collection layout.
◆ GetCollectionRootFolder()
| virtual QString imtrepo::IFileCollectionInfo::GetCollectionRootFolder |
( |
| ) |
const |
|
pure virtual |
Get path to the root folder of the file collection.
◆ GetFileInfo()
| virtual bool imtrepo::IFileCollectionInfo::GetFileInfo |
( |
const QByteArray & |
objectId, |
|
|
IFileCollectionItem & |
collectionItem |
|
) |
| const |
|
pure virtual |
Get file information related to a object
- Parameters
-
| objectId | ID of the file in the collection |
- Returns
- Related informations
- See also
- FileInfo
◆ GetFileTypeConstraints()
| virtual const ifile::IFileResourceTypeConstraints * imtrepo::IFileCollectionInfo::GetFileTypeConstraints |
( |
| ) |
const |
|
pure virtual |
Get type contraints describing each supported type of a resource.
- Returns
- Type constraints, if available or
nullptr, if no type constraints were defined.
◆ GetRepositoryRevision()
| virtual int imtrepo::IFileCollectionInfo::GetRepositoryRevision |
( |
| ) |
const |
|
pure virtual |