public class LocalRepositoryProxyBean extends RepositoryModelProxyBean implements LocalRepository
| Constructor and Description |
|---|
LocalRepositoryProxyBean(LocalRepository localRepository,
ClassLoader classLoader) |
| Modifier and Type | Method and Description |
|---|---|
FileEntry |
addFileEntry(String externalReferenceCode,
long userId,
long folderId,
String sourceFileName,
String mimeType,
String title,
String description,
String changeLog,
File file,
Date expirationDate,
Date reviewDate,
ServiceContext serviceContext) |
FileEntry |
addFileEntry(String externalReferenceCode,
long userId,
long folderId,
String sourceFileName,
String mimeType,
String title,
String description,
String changeLog,
InputStream inputStream,
long size,
Date expirationDate,
Date reviewDate,
ServiceContext serviceContext) |
FileShortcut |
addFileShortcut(long userId,
long folderId,
long toFileEntryId,
ServiceContext serviceContext) |
Folder |
addFolder(long userId,
long parentFolderId,
String name,
String description,
ServiceContext serviceContext) |
void |
checkInFileEntry(long userId,
long fileEntryId,
DLVersionNumberIncrease dlVersionNumberIncrease,
String changeLog,
ServiceContext serviceContext) |
void |
checkInFileEntry(long userId,
long fileEntryId,
String lockUuid,
ServiceContext serviceContext) |
FileEntry |
copyFileEntry(long userId,
long groupId,
long fileEntryId,
long destFolderId,
ServiceContext serviceContext) |
void |
deleteAll() |
void |
deleteFileEntry(long fileEntryId) |
void |
deleteFileShortcut(long fileShortcutId) |
void |
deleteFileShortcuts(long toFileEntryId) |
void |
deleteFileVersion(long fileVersionId) |
void |
deleteFolder(long folderId) |
<T extends Capability> |
getCapability(Class<T> capabilityClass) |
List<FileEntry> |
getFileEntries(long folderId,
int status,
int start,
int end,
OrderByComparator<FileEntry> orderByComparator) |
List<FileEntry> |
getFileEntries(long folderId,
int start,
int end,
OrderByComparator<FileEntry> orderByComparator) |
List<RepositoryEntry> |
getFileEntriesAndFileShortcuts(long folderId,
int status,
int start,
int end) |
int |
getFileEntriesAndFileShortcutsCount(long folderId,
int status) |
int |
getFileEntriesCount(long folderId) |
int |
getFileEntriesCount(long folderId,
int status) |
FileEntry |
getFileEntry(long fileEntryId) |
FileEntry |
getFileEntry(long folderId,
String title) |
FileEntry |
getFileEntryByFileName(long folderId,
String fileName) |
FileEntry |
getFileEntryByUuid(String uuid) |
FileShortcut |
getFileShortcut(long fileShortcutId) |
FileVersion |
getFileVersion(long fileVersionId) |
Folder |
getFolder(long folderId) |
Folder |
getFolder(long parentFolderId,
String name) |
List<Folder> |
getFolders(long parentFolderId,
boolean includeMountFolders,
int start,
int end,
OrderByComparator<Folder> orderByComparator) |
List<Folder> |
getFolders(long parentFolderId,
int status,
boolean includeMountFolders,
int start,
int end,
OrderByComparator<Folder> orderByComparator) |
List<RepositoryEntry> |
getFoldersAndFileEntriesAndFileShortcuts(long folderId,
int status,
boolean includeMountFolders,
int start,
int end,
OrderByComparator<?> orderByComparator) |
int |
getFoldersAndFileEntriesAndFileShortcutsCount(long folderId,
int status,
boolean includeMountFolders) |
int |
getFoldersCount(long parentFolderId,
boolean includeMountfolders) |
int |
getFoldersCount(long parentFolderId,
int status,
boolean includeMountfolders) |
List<FileEntry> |
getRepositoryFileEntries(long userId,
long rootFolderId,
int start,
int end,
OrderByComparator<FileEntry> orderByComparator) |
long |
getRepositoryId() |
<T extends Capability> |
isCapabilityProvided(Class<T> capabilityClass) |
FileEntry |
moveFileEntry(long userId,
long fileEntryId,
long newFolderId,
ServiceContext serviceContext) |
Folder |
moveFolder(long userId,
long folderId,
long parentFolderId,
ServiceContext serviceContext) |
void |
revertFileEntry(long userId,
long fileEntryId,
String version,
ServiceContext serviceContext) |
FileEntry |
updateFileEntry(long userId,
long fileEntryId,
String sourceFileName,
String mimeType,
String title,
String description,
String changeLog,
DLVersionNumberIncrease dlVersionNumberIncrease,
File file,
Date expirationDate,
Date reviewDate,
ServiceContext serviceContext) |
FileEntry |
updateFileEntry(long userId,
long fileEntryId,
String sourceFileName,
String mimeType,
String title,
String description,
String changeLog,
DLVersionNumberIncrease dlVersionNumberIncrease,
InputStream inputStream,
long size,
Date expirationDate,
Date reviewDate,
ServiceContext serviceContext) |
FileShortcut |
updateFileShortcut(long userId,
long fileShortcutId,
long folderId,
long toFileEntryId,
ServiceContext serviceContext) |
void |
updateFileShortcuts(long oldToFileEntryId,
long newToFileEntryId) |
Folder |
updateFolder(long folderId,
long parentFolderId,
String name,
String description,
ServiceContext serviceContext) |
newFileEntryProxyBean, newFileShortcutProxyBean, newFileVersionProxyBean, newFolderProxyBean, newLocalRepositoryProxyBean, newProxyBean, newProxyInstance, toFileEntryProxyBeans, toFileVersionProxyBeans, toFolderProxyBeans, toObjectProxyBeansclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfetchFileEntryByExternalReferenceCode, getFileEntries, getFileEntriesCount, getFileEntryByExternalReferenceCodepublic LocalRepositoryProxyBean(LocalRepository localRepository, ClassLoader classLoader)
public FileEntry addFileEntry(String externalReferenceCode, long userId, long folderId, String sourceFileName, String mimeType, String title, String description, String changeLog, File file, Date expirationDate, Date reviewDate, ServiceContext serviceContext) throws PortalException
addFileEntry in interface DocumentRepositoryPortalExceptionpublic FileEntry addFileEntry(String externalReferenceCode, long userId, long folderId, String sourceFileName, String mimeType, String title, String description, String changeLog, InputStream inputStream, long size, Date expirationDate, Date reviewDate, ServiceContext serviceContext) throws PortalException
addFileEntry in interface DocumentRepositoryPortalExceptionpublic FileShortcut addFileShortcut(long userId, long folderId, long toFileEntryId, ServiceContext serviceContext) throws PortalException
addFileShortcut in interface DocumentRepositoryPortalExceptionpublic Folder addFolder(long userId, long parentFolderId, String name, String description, ServiceContext serviceContext) throws PortalException
addFolder in interface DocumentRepositoryPortalExceptionpublic void checkInFileEntry(long userId,
long fileEntryId,
DLVersionNumberIncrease dlVersionNumberIncrease,
String changeLog,
ServiceContext serviceContext)
throws PortalException
checkInFileEntry in interface DocumentRepositoryPortalExceptionpublic void checkInFileEntry(long userId,
long fileEntryId,
String lockUuid,
ServiceContext serviceContext)
throws PortalException
checkInFileEntry in interface DocumentRepositoryPortalExceptionpublic FileEntry copyFileEntry(long userId, long groupId, long fileEntryId, long destFolderId, ServiceContext serviceContext) throws PortalException
copyFileEntry in interface DocumentRepositoryPortalExceptionpublic void deleteAll()
throws PortalException
deleteAll in interface DocumentRepositoryPortalExceptionpublic void deleteFileEntry(long fileEntryId)
throws PortalException
deleteFileEntry in interface DocumentRepositoryPortalExceptionpublic void deleteFileShortcut(long fileShortcutId)
throws PortalException
deleteFileShortcut in interface DocumentRepositoryPortalExceptionpublic void deleteFileShortcuts(long toFileEntryId)
throws PortalException
deleteFileShortcuts in interface DocumentRepositoryPortalExceptionpublic void deleteFileVersion(long fileVersionId)
throws PortalException
deleteFileVersion in interface DocumentRepositoryPortalExceptionpublic void deleteFolder(long folderId)
throws PortalException
deleteFolder in interface DocumentRepositoryPortalExceptionpublic <T extends Capability> T getCapability(Class<T> capabilityClass)
getCapability in interface CapabilityProviderpublic List<FileEntry> getFileEntries(long folderId, int status, int start, int end, OrderByComparator<FileEntry> orderByComparator) throws PortalException
getFileEntries in interface DocumentRepositoryPortalExceptionpublic List<FileEntry> getFileEntries(long folderId, int start, int end, OrderByComparator<FileEntry> orderByComparator) throws PortalException
getFileEntries in interface DocumentRepositoryPortalExceptionpublic List<RepositoryEntry> getFileEntriesAndFileShortcuts(long folderId, int status, int start, int end) throws PortalException
getFileEntriesAndFileShortcuts in interface DocumentRepositoryPortalExceptionpublic int getFileEntriesAndFileShortcutsCount(long folderId,
int status)
throws PortalException
getFileEntriesAndFileShortcutsCount in interface DocumentRepositoryPortalExceptionpublic int getFileEntriesCount(long folderId)
throws PortalException
getFileEntriesCount in interface DocumentRepositoryPortalExceptionpublic int getFileEntriesCount(long folderId,
int status)
throws PortalException
getFileEntriesCount in interface DocumentRepositoryPortalExceptionpublic FileEntry getFileEntry(long fileEntryId) throws PortalException
getFileEntry in interface DocumentRepositoryPortalExceptionpublic FileEntry getFileEntry(long folderId, String title) throws PortalException
getFileEntry in interface DocumentRepositoryPortalExceptionpublic FileEntry getFileEntryByFileName(long folderId, String fileName) throws PortalException
getFileEntryByFileName in interface DocumentRepositoryPortalExceptionpublic FileEntry getFileEntryByUuid(String uuid) throws PortalException
getFileEntryByUuid in interface DocumentRepositoryPortalExceptionpublic FileShortcut getFileShortcut(long fileShortcutId) throws PortalException
getFileShortcut in interface DocumentRepositoryPortalExceptionpublic FileVersion getFileVersion(long fileVersionId) throws PortalException
getFileVersion in interface DocumentRepositoryPortalExceptionpublic Folder getFolder(long folderId) throws PortalException
getFolder in interface DocumentRepositoryPortalExceptionpublic Folder getFolder(long parentFolderId, String name) throws PortalException
getFolder in interface DocumentRepositoryPortalExceptionpublic List<Folder> getFolders(long parentFolderId, boolean includeMountFolders, int start, int end, OrderByComparator<Folder> orderByComparator) throws PortalException
getFolders in interface DocumentRepositoryPortalExceptionpublic List<Folder> getFolders(long parentFolderId, int status, boolean includeMountFolders, int start, int end, OrderByComparator<Folder> orderByComparator) throws PortalException
getFolders in interface DocumentRepositoryPortalExceptionpublic List<RepositoryEntry> getFoldersAndFileEntriesAndFileShortcuts(long folderId, int status, boolean includeMountFolders, int start, int end, OrderByComparator<?> orderByComparator) throws PortalException
getFoldersAndFileEntriesAndFileShortcuts in interface DocumentRepositoryPortalExceptionpublic int getFoldersAndFileEntriesAndFileShortcutsCount(long folderId,
int status,
boolean includeMountFolders)
throws PortalException
getFoldersAndFileEntriesAndFileShortcutsCount in interface DocumentRepositoryPortalExceptionpublic int getFoldersCount(long parentFolderId,
boolean includeMountfolders)
throws PortalException
getFoldersCount in interface DocumentRepositoryPortalExceptionpublic int getFoldersCount(long parentFolderId,
int status,
boolean includeMountfolders)
throws PortalException
getFoldersCount in interface DocumentRepositoryPortalExceptionpublic List<FileEntry> getRepositoryFileEntries(long userId, long rootFolderId, int start, int end, OrderByComparator<FileEntry> orderByComparator) throws PortalException
getRepositoryFileEntries in interface DocumentRepositoryPortalExceptionpublic long getRepositoryId()
getRepositoryId in interface DocumentRepositorypublic <T extends Capability> boolean isCapabilityProvided(Class<T> capabilityClass)
isCapabilityProvided in interface CapabilityProviderpublic FileEntry moveFileEntry(long userId, long fileEntryId, long newFolderId, ServiceContext serviceContext) throws PortalException
moveFileEntry in interface DocumentRepositoryPortalExceptionpublic Folder moveFolder(long userId, long folderId, long parentFolderId, ServiceContext serviceContext) throws PortalException
moveFolder in interface DocumentRepositoryPortalExceptionpublic void revertFileEntry(long userId,
long fileEntryId,
String version,
ServiceContext serviceContext)
throws PortalException
revertFileEntry in interface DocumentRepositoryPortalExceptionpublic FileEntry updateFileEntry(long userId, long fileEntryId, String sourceFileName, String mimeType, String title, String description, String changeLog, DLVersionNumberIncrease dlVersionNumberIncrease, File file, Date expirationDate, Date reviewDate, ServiceContext serviceContext) throws PortalException
updateFileEntry in interface DocumentRepositoryPortalExceptionpublic FileEntry updateFileEntry(long userId, long fileEntryId, String sourceFileName, String mimeType, String title, String description, String changeLog, DLVersionNumberIncrease dlVersionNumberIncrease, InputStream inputStream, long size, Date expirationDate, Date reviewDate, ServiceContext serviceContext) throws PortalException
updateFileEntry in interface DocumentRepositoryPortalExceptionpublic FileShortcut updateFileShortcut(long userId, long fileShortcutId, long folderId, long toFileEntryId, ServiceContext serviceContext) throws PortalException
updateFileShortcut in interface DocumentRepositoryPortalExceptionpublic void updateFileShortcuts(long oldToFileEntryId,
long newToFileEntryId)
throws PortalException
updateFileShortcuts in interface DocumentRepositoryPortalExceptionpublic Folder updateFolder(long folderId, long parentFolderId, String name, String description, ServiceContext serviceContext) throws PortalException
updateFolder in interface DocumentRepositoryPortalException