public class BaseRepositoryProxyBean extends RepositoryModelProxyBean implements BaseRepository
| Constructor and Description |
|---|
BaseRepositoryProxyBean(BaseRepository baseRepository,
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) |
FileVersion |
cancelCheckOut(long fileEntryId)
Cancels the file entry check out.
|
void |
checkInFileEntry(long userId,
long fileEntryId,
DLVersionNumberIncrease dlVersionNumberIncrease,
String changeLog,
ServiceContext serviceContext) |
void |
checkInFileEntry(long userId,
long fileEntryId,
String lockUuid,
ServiceContext serviceContext) |
FileEntry |
checkOutFileEntry(long fileEntryId,
ServiceContext serviceContext) |
FileEntry |
checkOutFileEntry(long fileEntryId,
String owner,
long expirationTime,
ServiceContext serviceContext) |
FileEntry |
copyFileEntry(long userId,
long groupId,
long fileEntryId,
long destFolderId,
ServiceContext serviceContext) |
void |
deleteAll() |
void |
deleteFileEntry(long fileEntryId) |
void |
deleteFileEntry(long folderId,
String title) |
void |
deleteFileShortcut(long fileShortcutId) |
void |
deleteFileShortcuts(long toFileEntryId) |
void |
deleteFileVersion(long fileVersionId) |
void |
deleteFileVersion(long fileEntryId,
String version) |
void |
deleteFolder(long folderId) |
void |
deleteFolder(long parentFolderId,
String name) |
<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<FileEntry> |
getFileEntries(long folderId,
long documentTypeId,
int start,
int end,
OrderByComparator<FileEntry> orderByComparator) |
List<FileEntry> |
getFileEntries(long folderId,
String[] mimeTypes,
int status,
int start,
int end,
OrderByComparator<FileEntry> orderByComparator) |
List<FileEntry> |
getFileEntries(long folderId,
String[] mimeTypes,
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 |
getFileEntriesAndFileShortcutsCount(long folderId,
int status,
String[] mimeTypes) |
int |
getFileEntriesCount(long folderId) |
int |
getFileEntriesCount(long folderId,
int status) |
int |
getFileEntriesCount(long folderId,
long documentTypeId) |
int |
getFileEntriesCount(long folderId,
String[] mimeTypes) |
int |
getFileEntriesCount(long folderId,
String[] mimeTypes,
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) |
List<RepositoryEntry> |
getFoldersAndFileEntriesAndFileShortcuts(long folderId,
int status,
String[] mimeTypes,
boolean includeMountFolders,
int start,
int end,
OrderByComparator<?> orderByComparator) |
int |
getFoldersAndFileEntriesAndFileShortcutsCount(long folderId,
int status,
boolean includeMountFolders) |
int |
getFoldersAndFileEntriesAndFileShortcutsCount(long folderId,
int status,
String[] mimeTypes,
boolean includeMountFolders) |
int |
getFoldersCount(long parentFolderId,
boolean includeMountfolders) |
int |
getFoldersCount(long parentFolderId,
int status,
boolean includeMountfolders) |
int |
getFoldersFileEntriesCount(List<Long> folderIds,
int status) |
LocalRepository |
getLocalRepository() |
List<Folder> |
getMountFolders(long parentFolderId,
int start,
int end,
OrderByComparator<Folder> orderByComparator) |
int |
getMountFoldersCount(long parentFolderId) |
BaseRepository |
getProxyBean() |
List<FileEntry> |
getRepositoryFileEntries(long userId,
long rootFolderId,
int start,
int end,
OrderByComparator<FileEntry> orderByComparator) |
List<FileEntry> |
getRepositoryFileEntries(long userId,
long rootFolderId,
String[] mimeTypes,
int status,
int start,
int end,
OrderByComparator<FileEntry> orderByComparator) |
int |
getRepositoryFileEntriesCount(long userId,
long rootFolderId) |
int |
getRepositoryFileEntriesCount(long userId,
long rootFolderId,
String[] mimeTypes,
int status) |
long |
getRepositoryId() |
void |
getSubfolderIds(List<Long> folderIds,
long folderId) |
List<Long> |
getSubfolderIds(long folderId,
boolean recurse) |
String[][] |
getSupportedParameters()
Deprecated.
As of Wilberforce (7.0.x)
|
void |
initRepository() |
<T extends Capability> |
isCapabilityProvided(Class<T> capabilityClass) |
Lock |
lockFolder(long folderId) |
Lock |
lockFolder(long folderId,
String owner,
boolean inheritable,
long expirationTime) |
FileEntry |
moveFileEntry(long userId,
long fileEntryId,
long newFolderId,
ServiceContext serviceContext) |
Folder |
moveFolder(long userId,
long folderId,
long parentFolderId,
ServiceContext serviceContext) |
Lock |
refreshFileEntryLock(String lockUuid,
long companyId,
long expirationTime) |
Lock |
refreshFolderLock(String lockUuid,
long companyId,
long expirationTime) |
void |
revertFileEntry(long userId,
long fileEntryId,
String version,
ServiceContext 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 |
setAssetEntryLocalService(AssetEntryLocalService assetEntryLocalService) |
void |
setCompanyId(long companyId) |
void |
setCompanyLocalService(CompanyLocalService companyLocalService) |
void |
setDLAppHelperLocalService(DLAppHelperLocalService dlAppHelperLocalService) |
void |
setDLFolderLocalService(DLFolderLocalService dlFolderLocalService) |
void |
setGroupId(long groupId) |
void |
setRepositoryEntryLocalService(RepositoryEntryLocalService repositoryEntryLocalService) |
void |
setRepositoryId(long repositoryId) |
void |
setTypeSettingsProperties(UnicodeProperties typeSettingsUnicodeProperties) |
void |
setUserLocalService(UserLocalService userLocalService) |
void |
unlockFolder(long folderId,
String lockUuid) |
void |
unlockFolder(long parentFolderId,
String name,
String lockUuid) |
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) |
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) |
newFileEntryProxyBean, newFileShortcutProxyBean, newFileVersionProxyBean, newFolderProxyBean, newLocalRepositoryProxyBean, newProxyBean, newProxyInstance, toFileEntryProxyBeans, toFileVersionProxyBeans, toFolderProxyBeans, toObjectProxyBeansclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFoldersAndFileEntriesAndFileShortcuts, getFoldersAndFileEntriesAndFileShortcutsCountfetchFileEntryByExternalReferenceCode, getFileEntryByExternalReferenceCodepublic BaseRepositoryProxyBean(BaseRepository baseRepository, 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 FileVersion cancelCheckOut(long fileEntryId) throws PortalException
RepositorycancelCheckOut in interface RepositoryfileEntryId - the primary key of the file entry to cancel the check
outnull if the file entry was not checked outPortalExceptionDocumentRepository.checkInFileEntry(long, long, DLVersionNumberIncrease, String,
ServiceContext),
Repository.checkOutFileEntry(long, ServiceContext)public 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 checkOutFileEntry(long fileEntryId, ServiceContext serviceContext) throws PortalException
checkOutFileEntry in interface RepositoryPortalExceptionpublic FileEntry checkOutFileEntry(long fileEntryId, String owner, long expirationTime, ServiceContext serviceContext) throws PortalException
checkOutFileEntry in interface RepositoryPortalExceptionpublic 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 deleteFileEntry(long folderId,
String title)
throws PortalException
deleteFileEntry in interface RepositoryPortalExceptionpublic 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 deleteFileVersion(long fileEntryId,
String version)
throws PortalException
deleteFileVersion in interface RepositoryPortalExceptionpublic void deleteFolder(long folderId)
throws PortalException
deleteFolder in interface DocumentRepositoryPortalExceptionpublic void deleteFolder(long parentFolderId,
String name)
throws PortalException
deleteFolder in interface RepositoryPortalExceptionpublic <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<FileEntry> getFileEntries(long folderId, long documentTypeId, int start, int end, OrderByComparator<FileEntry> orderByComparator) throws PortalException
getFileEntries in interface RepositoryPortalExceptionpublic List<FileEntry> getFileEntries(long folderId, String[] mimeTypes, int status, int start, int end, OrderByComparator<FileEntry> orderByComparator) throws PortalException
getFileEntries in interface DocumentRepositoryPortalExceptionpublic List<FileEntry> getFileEntries(long folderId, String[] mimeTypes, int start, int end, OrderByComparator<FileEntry> orderByComparator) throws PortalException
getFileEntries in interface RepositoryPortalExceptionpublic 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 getFileEntriesAndFileShortcutsCount(long folderId,
int status,
String[] mimeTypes)
throws PortalException
getFileEntriesAndFileShortcutsCount in interface RepositoryPortalExceptionpublic int getFileEntriesCount(long folderId)
throws PortalException
getFileEntriesCount in interface DocumentRepositoryPortalExceptionpublic int getFileEntriesCount(long folderId,
int status)
throws PortalException
getFileEntriesCount in interface DocumentRepositoryPortalExceptionpublic int getFileEntriesCount(long folderId,
long documentTypeId)
throws PortalException
getFileEntriesCount in interface RepositoryPortalExceptionpublic int getFileEntriesCount(long folderId,
String[] mimeTypes)
throws PortalException
getFileEntriesCount in interface RepositoryPortalExceptionpublic int getFileEntriesCount(long folderId,
String[] mimeTypes,
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 List<RepositoryEntry> getFoldersAndFileEntriesAndFileShortcuts(long folderId, int status, String[] mimeTypes, boolean includeMountFolders, int start, int end, OrderByComparator<?> orderByComparator) throws PortalException
getFoldersAndFileEntriesAndFileShortcuts in interface RepositoryPortalExceptionpublic int getFoldersAndFileEntriesAndFileShortcutsCount(long folderId,
int status,
boolean includeMountFolders)
throws PortalException
getFoldersAndFileEntriesAndFileShortcutsCount in interface DocumentRepositoryPortalExceptionpublic int getFoldersAndFileEntriesAndFileShortcutsCount(long folderId,
int status,
String[] mimeTypes,
boolean includeMountFolders)
throws PortalException
getFoldersAndFileEntriesAndFileShortcutsCount in interface RepositoryPortalExceptionpublic 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 int getFoldersFileEntriesCount(List<Long> folderIds,
int status)
throws PortalException
getFoldersFileEntriesCount in interface RepositoryPortalExceptionpublic LocalRepository getLocalRepository()
getLocalRepository in interface BaseRepositorypublic List<Folder> getMountFolders(long parentFolderId, int start, int end, OrderByComparator<Folder> orderByComparator) throws PortalException
getMountFolders in interface RepositoryPortalExceptionpublic int getMountFoldersCount(long parentFolderId)
throws PortalException
getMountFoldersCount in interface RepositoryPortalExceptionpublic BaseRepository getProxyBean()
public List<FileEntry> getRepositoryFileEntries(long userId, long rootFolderId, int start, int end, OrderByComparator<FileEntry> orderByComparator) throws PortalException
getRepositoryFileEntries in interface DocumentRepositoryPortalExceptionpublic List<FileEntry> getRepositoryFileEntries(long userId, long rootFolderId, String[] mimeTypes, int status, int start, int end, OrderByComparator<FileEntry> orderByComparator) throws PortalException
getRepositoryFileEntries in interface RepositoryPortalExceptionpublic int getRepositoryFileEntriesCount(long userId,
long rootFolderId)
throws PortalException
getRepositoryFileEntriesCount in interface RepositoryPortalExceptionpublic int getRepositoryFileEntriesCount(long userId,
long rootFolderId,
String[] mimeTypes,
int status)
throws PortalException
getRepositoryFileEntriesCount in interface RepositoryPortalExceptionpublic long getRepositoryId()
getRepositoryId in interface DocumentRepositorypublic void getSubfolderIds(List<Long> folderIds,
long folderId)
throws PortalException
getSubfolderIds in interface RepositoryPortalExceptionpublic List<Long> getSubfolderIds(long folderId,
boolean recurse)
throws PortalException
getSubfolderIds in interface RepositoryPortalException@Deprecated public String[][] getSupportedParameters()
getSupportedParameters in interface BaseRepositorypublic void initRepository()
throws PortalException
initRepository in interface BaseRepositoryPortalExceptionpublic <T extends Capability> boolean isCapabilityProvided(Class<T> capabilityClass)
isCapabilityProvided in interface CapabilityProviderpublic Lock lockFolder(long folderId) throws PortalException
lockFolder in interface RepositoryPortalExceptionpublic Lock lockFolder(long folderId, String owner, boolean inheritable, long expirationTime) throws PortalException
lockFolder in interface RepositoryPortalExceptionpublic 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 Lock refreshFileEntryLock(String lockUuid, long companyId, long expirationTime) throws PortalException
refreshFileEntryLock in interface RepositoryPortalExceptionpublic Lock refreshFolderLock(String lockUuid, long companyId, long expirationTime) throws PortalException
refreshFolderLock in interface RepositoryPortalExceptionpublic void revertFileEntry(long userId,
long fileEntryId,
String version,
ServiceContext serviceContext)
throws PortalException
revertFileEntry in interface DocumentRepositoryPortalExceptionpublic Hits search(long creatorUserId, int status, int start, int end) throws PortalException
search in interface RepositoryPortalExceptionpublic Hits search(long creatorUserId, long folderId, String[] mimeTypes, int status, int start, int end) throws PortalException
search in interface RepositoryPortalExceptionpublic Hits search(SearchContext searchContext) throws SearchException
search in interface RepositorySearchExceptionpublic Hits search(SearchContext searchContext, Query query) throws SearchException
search in interface RepositorySearchExceptionpublic void setAssetEntryLocalService(AssetEntryLocalService assetEntryLocalService)
setAssetEntryLocalService in interface BaseRepositorypublic void setCompanyId(long companyId)
setCompanyId in interface BaseRepositorypublic void setCompanyLocalService(CompanyLocalService companyLocalService)
setCompanyLocalService in interface BaseRepositorypublic void setDLAppHelperLocalService(DLAppHelperLocalService dlAppHelperLocalService)
setDLAppHelperLocalService in interface BaseRepositorypublic void setDLFolderLocalService(DLFolderLocalService dlFolderLocalService)
setDLFolderLocalService in interface BaseRepositorypublic void setGroupId(long groupId)
setGroupId in interface BaseRepositorypublic void setRepositoryEntryLocalService(RepositoryEntryLocalService repositoryEntryLocalService)
setRepositoryEntryLocalService in interface BaseRepositorypublic void setRepositoryId(long repositoryId)
setRepositoryId in interface BaseRepositorypublic void setTypeSettingsProperties(UnicodeProperties typeSettingsUnicodeProperties)
setTypeSettingsProperties in interface BaseRepositorypublic void setUserLocalService(UserLocalService userLocalService)
setUserLocalService in interface BaseRepositorypublic void unlockFolder(long folderId,
String lockUuid)
throws PortalException
unlockFolder in interface RepositoryPortalExceptionpublic void unlockFolder(long parentFolderId,
String name,
String lockUuid)
throws PortalException
unlockFolder in interface RepositoryPortalExceptionpublic 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 DocumentRepositoryPortalExceptionpublic Folder updateFolder(long folderId, String name, String description, ServiceContext serviceContext) throws PortalException
updateFolder in interface RepositoryPortalExceptionpublic boolean verifyFileEntryCheckOut(long fileEntryId,
String lockUuid)
throws PortalException
verifyFileEntryCheckOut in interface RepositoryPortalExceptionpublic boolean verifyFileEntryLock(long fileEntryId,
String lockUuid)
throws PortalException
verifyFileEntryLock in interface RepositoryPortalExceptionpublic boolean verifyInheritableLock(long folderId,
String lockUuid)
throws PortalException
verifyInheritableLock in interface RepositoryPortalException