public interface Repository extends DocumentRepository
Modifier and Type | Method and Description |
---|---|
FileEntry |
addFileEntry(long folderId,
String sourceFileName,
String mimeType,
String title,
String description,
String changeLog,
File file,
ServiceContext serviceContext)
Deprecated.
As of Wilberforce (7.0.x), see
DocumentRepository.addFileEntry(long,
long, String, String, String, String, String, File,
ServiceContext) |
FileEntry |
addFileEntry(long folderId,
String sourceFileName,
String mimeType,
String title,
String description,
String changeLog,
InputStream is,
long size,
ServiceContext serviceContext)
Deprecated.
As of Wilberforce (7.0.x), see
DocumentRepository.addFileEntry(long,
long, String, String, String, String, String, InputStream,
long, ServiceContext) |
Folder |
addFolder(long parentFolderId,
String name,
String description,
ServiceContext serviceContext)
Deprecated.
As of Wilberforce (7.0.x), replaced by
DocumentRepository.addFolder(long, long, String, String, ServiceContext) |
FileVersion |
cancelCheckOut(long fileEntryId)
Cancels the file entry check out.
|
void |
checkInFileEntry(long fileEntryId,
boolean major,
String changeLog,
ServiceContext serviceContext)
Deprecated.
As of Wilberforce (7.0.x), replaced by
DocumentRepository.checkInFileEntry(long, long, boolean, String,
ServiceContext) |
void |
checkInFileEntry(long fileEntryId,
String lockUuid,
ServiceContext serviceContext)
Deprecated.
As of Wilberforce (7.0.x), replaced by
DocumentRepository.checkInFileEntry(long, long, String, ServiceContext) |
FileEntry |
checkOutFileEntry(long fileEntryId,
ServiceContext serviceContext) |
FileEntry |
checkOutFileEntry(long fileEntryId,
String owner,
long expirationTime,
ServiceContext serviceContext) |
FileEntry |
copyFileEntry(long groupId,
long fileEntryId,
long destFolderId,
ServiceContext serviceContext)
Deprecated.
As of Wilberforce (7.0.x), replaced by
DocumentRepository.copyFileEntry(long, long, long, long, ServiceContext) |
void |
deleteFileEntry(long folderId,
String title) |
void |
deleteFileVersion(long fileEntryId,
String version) |
void |
deleteFolder(long parentFolderId,
String name) |
List<FileEntry> |
getFileEntries(long folderId,
long fileEntryTypeId,
int start,
int end,
OrderByComparator<FileEntry> obc) |
List<FileEntry> |
getFileEntries(long folderId,
String[] mimeTypes,
int start,
int end,
OrderByComparator<FileEntry> obc) |
int |
getFileEntriesAndFileShortcutsCount(long folderId,
int status,
String[] mimeTypes) |
int |
getFileEntriesCount(long folderId,
long fileEntryTypeId) |
int |
getFileEntriesCount(long folderId,
String[] mimeTypes) |
List<RepositoryEntry> |
getFoldersAndFileEntriesAndFileShortcuts(long folderId,
int status,
String[] mimetypes,
boolean includeMountFolders,
int start,
int end,
OrderByComparator<?> obc) |
int |
getFoldersAndFileEntriesAndFileShortcutsCount(long folderId,
int status,
String[] mimetypes,
boolean includeMountFolders) |
int |
getFoldersFileEntriesCount(List<Long> folderIds,
int status) |
List<Folder> |
getMountFolders(long parentFolderId,
int start,
int end,
OrderByComparator<Folder> obc) |
int |
getMountFoldersCount(long parentFolderId) |
List<FileEntry> |
getRepositoryFileEntries(long userId,
long rootFolderId,
String[] mimeTypes,
int status,
int start,
int end,
OrderByComparator<FileEntry> obc) |
int |
getRepositoryFileEntriesCount(long userId,
long rootFolderId) |
int |
getRepositoryFileEntriesCount(long userId,
long rootFolderId,
String[] mimeTypes,
int status) |
void |
getSubfolderIds(List<Long> folderIds,
long folderId) |
List<Long> |
getSubfolderIds(long folderId,
boolean recurse) |
Lock |
lockFolder(long folderId) |
Lock |
lockFolder(long folderId,
String owner,
boolean inheritable,
long expirationTime) |
FileEntry |
moveFileEntry(long fileEntryId,
long newFolderId,
ServiceContext serviceContext)
Deprecated.
As of Wilberforce (7.0.x), replaced by
DocumentRepository.moveFileEntry(long, long, long, ServiceContext) |
Folder |
moveFolder(long folderId,
long newParentFolderId,
ServiceContext serviceContext)
Deprecated.
As of Wilberforce (7.0.x), replaced by
DocumentRepository.moveFolder(long, long, long, ServiceContext) |
Lock |
refreshFileEntryLock(String lockUuid,
long companyId,
long expirationTime) |
Lock |
refreshFolderLock(String lockUuid,
long companyId,
long expirationTime) |
void |
revertFileEntry(long fileEntryId,
String version,
ServiceContext serviceContext)
Deprecated.
As of Wilberforce (7.0.x), replaced by
DocumentRepository.revertFileEntry(long, long, String, ServiceContext) |
Hits |
search(long creatorUserId,
int status,
int start,
int end) |
Hits |
search(long creatorUserId,
long folderId,
String[] mimeTypes,
int status,
int start,
int end) |
Hits |
search(SearchContext searchContext) |
Hits |
search(SearchContext searchContext,
Query query) |
void |
unlockFolder(long folderId,
String lockUuid) |
void |
unlockFolder(long parentFolderId,
String name,
String lockUuid) |
FileEntry |
updateFileEntry(long fileEntryId,
String sourceFileName,
String mimeType,
String title,
String description,
String changeLog,
boolean majorVersion,
File file,
ServiceContext serviceContext)
Deprecated.
As of Wilberforce (7.0.x), replaced by
DocumentRepository.updateFileEntry(long, long, String, String, String, String,
String, boolean, File, ServiceContext) |
FileEntry |
updateFileEntry(long fileEntryId,
String sourceFileName,
String mimeType,
String title,
String description,
String changeLog,
boolean majorVersion,
InputStream is,
long size,
ServiceContext serviceContext)
Deprecated.
As of Wilberforce (7.0.x), replaced by
DocumentRepository.updateFileEntry(long, long, String, String, String, String,
String, boolean, InputStream, long, ServiceContext) |
Folder |
updateFolder(long folderId,
String name,
String description,
ServiceContext serviceContext) |
boolean |
verifyFileEntryCheckOut(long fileEntryId,
String lockUuid) |
boolean |
verifyFileEntryLock(long fileEntryId,
String lockUuid) |
boolean |
verifyInheritableLock(long folderId,
String lockUuid) |
addFileEntry, addFileEntry, addFileShortcut, addFolder, checkInFileEntry, checkInFileEntry, copyFileEntry, deleteAll, deleteFileEntry, deleteFileShortcut, deleteFileShortcuts, deleteFolder, getFileEntries, getFileEntries, getFileEntriesAndFileShortcuts, getFileEntriesAndFileShortcutsCount, getFileEntriesCount, getFileEntriesCount, getFileEntry, getFileEntry, getFileEntryByUuid, getFileShortcut, getFileVersion, getFolder, getFolder, getFolders, getFolders, getFoldersAndFileEntriesAndFileShortcuts, getFoldersAndFileEntriesAndFileShortcutsCount, getFoldersCount, getFoldersCount, getRepositoryFileEntries, getRepositoryId, moveFileEntry, moveFolder, revertFileEntry, updateFileEntry, updateFileEntry, updateFileShortcut, updateFileShortcuts, updateFolder
getCapability, isCapabilityProvided
@Deprecated FileEntry addFileEntry(long folderId, String sourceFileName, String mimeType, String title, String description, String changeLog, File file, ServiceContext serviceContext) throws PortalException
DocumentRepository.addFileEntry(long,
long, String, String, String, String, String, File,
ServiceContext)
PortalException
@Deprecated FileEntry addFileEntry(long folderId, String sourceFileName, String mimeType, String title, String description, String changeLog, InputStream is, long size, ServiceContext serviceContext) throws PortalException
DocumentRepository.addFileEntry(long,
long, String, String, String, String, String, InputStream,
long, ServiceContext)
PortalException
@Deprecated Folder addFolder(long parentFolderId, String name, String description, ServiceContext serviceContext) throws PortalException
DocumentRepository.addFolder(long, long, String, String, ServiceContext)
PortalException
FileVersion cancelCheckOut(long fileEntryId) throws PortalException
fileEntryId
- the primary key of the file entry to cancel the check
outnull
if the file entry was not checked outPortalException
DocumentRepository.checkInFileEntry(long, long, boolean, String, ServiceContext)
,
checkOutFileEntry(long, ServiceContext)
@Deprecated void checkInFileEntry(long fileEntryId, boolean major, String changeLog, ServiceContext serviceContext) throws PortalException
DocumentRepository.checkInFileEntry(long, long, boolean, String,
ServiceContext)
PortalException
@Deprecated void checkInFileEntry(long fileEntryId, String lockUuid, ServiceContext serviceContext) throws PortalException
DocumentRepository.checkInFileEntry(long, long, String, ServiceContext)
PortalException
FileEntry checkOutFileEntry(long fileEntryId, ServiceContext serviceContext) throws PortalException
PortalException
FileEntry checkOutFileEntry(long fileEntryId, String owner, long expirationTime, ServiceContext serviceContext) throws PortalException
PortalException
@Deprecated FileEntry copyFileEntry(long groupId, long fileEntryId, long destFolderId, ServiceContext serviceContext) throws PortalException
DocumentRepository.copyFileEntry(long, long, long, long, ServiceContext)
PortalException
void deleteFileEntry(long folderId, String title) throws PortalException
PortalException
void deleteFileVersion(long fileEntryId, String version) throws PortalException
PortalException
void deleteFolder(long parentFolderId, String name) throws PortalException
PortalException
List<FileEntry> getFileEntries(long folderId, long fileEntryTypeId, int start, int end, OrderByComparator<FileEntry> obc) throws PortalException
PortalException
List<FileEntry> getFileEntries(long folderId, String[] mimeTypes, int start, int end, OrderByComparator<FileEntry> obc) throws PortalException
PortalException
int getFileEntriesAndFileShortcutsCount(long folderId, int status, String[] mimeTypes) throws PortalException
PortalException
int getFileEntriesCount(long folderId, long fileEntryTypeId) throws PortalException
PortalException
int getFileEntriesCount(long folderId, String[] mimeTypes) throws PortalException
PortalException
List<RepositoryEntry> getFoldersAndFileEntriesAndFileShortcuts(long folderId, int status, String[] mimetypes, boolean includeMountFolders, int start, int end, OrderByComparator<?> obc) throws PortalException
PortalException
int getFoldersAndFileEntriesAndFileShortcutsCount(long folderId, int status, String[] mimetypes, boolean includeMountFolders) throws PortalException
PortalException
int getFoldersFileEntriesCount(List<Long> folderIds, int status) throws PortalException
PortalException
List<Folder> getMountFolders(long parentFolderId, int start, int end, OrderByComparator<Folder> obc) throws PortalException
PortalException
int getMountFoldersCount(long parentFolderId) throws PortalException
PortalException
List<FileEntry> getRepositoryFileEntries(long userId, long rootFolderId, String[] mimeTypes, int status, int start, int end, OrderByComparator<FileEntry> obc) throws PortalException
PortalException
int getRepositoryFileEntriesCount(long userId, long rootFolderId) throws PortalException
PortalException
int getRepositoryFileEntriesCount(long userId, long rootFolderId, String[] mimeTypes, int status) throws PortalException
PortalException
void getSubfolderIds(List<Long> folderIds, long folderId) throws PortalException
PortalException
List<Long> getSubfolderIds(long folderId, boolean recurse) throws PortalException
PortalException
Lock lockFolder(long folderId) throws PortalException
PortalException
Lock lockFolder(long folderId, String owner, boolean inheritable, long expirationTime) throws PortalException
PortalException
@Deprecated FileEntry moveFileEntry(long fileEntryId, long newFolderId, ServiceContext serviceContext) throws PortalException
DocumentRepository.moveFileEntry(long, long, long, ServiceContext)
PortalException
@Deprecated Folder moveFolder(long folderId, long newParentFolderId, ServiceContext serviceContext) throws PortalException
DocumentRepository.moveFolder(long, long, long, ServiceContext)
PortalException
Lock refreshFileEntryLock(String lockUuid, long companyId, long expirationTime) throws PortalException
PortalException
Lock refreshFolderLock(String lockUuid, long companyId, long expirationTime) throws PortalException
PortalException
@Deprecated void revertFileEntry(long fileEntryId, String version, ServiceContext serviceContext) throws PortalException
DocumentRepository.revertFileEntry(long, long, String, ServiceContext)
PortalException
Hits search(long creatorUserId, int status, int start, int end) throws PortalException
PortalException
Hits search(long creatorUserId, long folderId, String[] mimeTypes, int status, int start, int end) throws PortalException
PortalException
Hits search(SearchContext searchContext) throws SearchException
SearchException
Hits search(SearchContext searchContext, Query query) throws SearchException
SearchException
void unlockFolder(long folderId, String lockUuid) throws PortalException
PortalException
void unlockFolder(long parentFolderId, String name, String lockUuid) throws PortalException
PortalException
@Deprecated FileEntry updateFileEntry(long fileEntryId, String sourceFileName, String mimeType, String title, String description, String changeLog, boolean majorVersion, File file, ServiceContext serviceContext) throws PortalException
DocumentRepository.updateFileEntry(long, long, String, String, String, String,
String, boolean, File, ServiceContext)
PortalException
@Deprecated FileEntry updateFileEntry(long fileEntryId, String sourceFileName, String mimeType, String title, String description, String changeLog, boolean majorVersion, InputStream is, long size, ServiceContext serviceContext) throws PortalException
DocumentRepository.updateFileEntry(long, long, String, String, String, String,
String, boolean, InputStream, long, ServiceContext)
PortalException
Folder updateFolder(long folderId, String name, String description, ServiceContext serviceContext) throws PortalException
PortalException
boolean verifyFileEntryCheckOut(long fileEntryId, String lockUuid) throws PortalException
PortalException
boolean verifyFileEntryLock(long fileEntryId, String lockUuid) throws PortalException
PortalException
boolean verifyInheritableLock(long folderId, String lockUuid) throws PortalException
PortalException