public class DLFileEntryServiceWrapper extends Object implements DLFileEntryService, ServiceWrapper<DLFileEntryService>
DLFileEntryService.DLFileEntryService| Constructor and Description |
|---|
DLFileEntryServiceWrapper() |
DLFileEntryServiceWrapper(DLFileEntryService dlFileEntryService) |
| Modifier and Type | Method and Description |
|---|---|
DLFileEntry |
addFileEntry(String externalReferenceCode,
long groupId,
long repositoryId,
long folderId,
String sourceFileName,
String mimeType,
String title,
String urlTitle,
String description,
String changeLog,
long fileEntryTypeId,
Map<String,DDMFormValues> ddmFormValuesMap,
File file,
InputStream inputStream,
long size,
Date expirationDate,
Date reviewDate,
ServiceContext serviceContext) |
DLFileVersion |
cancelCheckOut(long fileEntryId) |
void |
checkInFileEntry(long fileEntryId,
DLVersionNumberIncrease dlVersionNumberIncrease,
String changeLog,
ServiceContext serviceContext) |
void |
checkInFileEntry(long fileEntryId,
String lockUuid,
ServiceContext serviceContext) |
DLFileEntry |
checkOutFileEntry(long fileEntryId,
ServiceContext serviceContext) |
DLFileEntry |
checkOutFileEntry(long fileEntryId,
String owner,
long expirationTime,
ServiceContext serviceContext) |
DLFileEntry |
copyFileEntry(long groupId,
long repositoryId,
long fileEntryId,
long destFolderId,
ServiceContext serviceContext) |
void |
deleteFileEntry(long fileEntryId) |
void |
deleteFileEntry(long groupId,
long folderId,
String title) |
void |
deleteFileVersion(long fileEntryId,
String version) |
DLFileEntry |
fetchFileEntryByExternalReferenceCode(long groupId,
String externalReferenceCode) |
DLFileEntry |
fetchFileEntryByImageId(long imageId) |
InputStream |
getFileAsStream(long fileEntryId,
String version) |
InputStream |
getFileAsStream(long fileEntryId,
String version,
boolean incrementCounter) |
List<DLFileEntry> |
getFileEntries(long groupId,
long folderId,
int status,
int start,
int end,
OrderByComparator<DLFileEntry> orderByComparator) |
List<DLFileEntry> |
getFileEntries(long groupId,
long folderId,
int start,
int end,
OrderByComparator<DLFileEntry> orderByComparator) |
List<DLFileEntry> |
getFileEntries(long groupId,
long folderId,
long fileEntryTypeId,
int start,
int end,
OrderByComparator<DLFileEntry> orderByComparator) |
List<DLFileEntry> |
getFileEntries(long groupId,
long folderId,
String[] mimeTypes,
int status,
int start,
int end,
OrderByComparator<DLFileEntry> orderByComparator) |
List<DLFileEntry> |
getFileEntries(long groupId,
long folderId,
String[] mimeTypes,
int start,
int end,
OrderByComparator<DLFileEntry> orderByComparator) |
int |
getFileEntriesCount(long groupId,
long folderId) |
int |
getFileEntriesCount(long groupId,
long folderId,
int status) |
int |
getFileEntriesCount(long groupId,
long folderId,
long fileEntryTypeId) |
int |
getFileEntriesCount(long groupId,
long folderId,
String[] mimeTypes) |
int |
getFileEntriesCount(long groupId,
long folderId,
String[] mimeTypes,
int status) |
DLFileEntry |
getFileEntry(long fileEntryId) |
DLFileEntry |
getFileEntry(long groupId,
long folderId,
String title) |
DLFileEntry |
getFileEntryByExternalReferenceCode(long groupId,
String externalReferenceCode) |
DLFileEntry |
getFileEntryByFileName(long groupId,
long folderId,
String fileName) |
DLFileEntry |
getFileEntryByUuidAndGroupId(String uuid,
long groupId) |
Lock |
getFileEntryLock(long fileEntryId) |
int |
getFoldersFileEntriesCount(long groupId,
List<Long> folderIds,
int status) |
List<DLFileEntry> |
getGroupFileEntries(long groupId,
long userId,
long rootFolderId,
int start,
int end,
OrderByComparator<DLFileEntry> orderByComparator) |
List<DLFileEntry> |
getGroupFileEntries(long groupId,
long userId,
long repositoryId,
long rootFolderId,
String[] mimeTypes,
int status,
int start,
int end,
OrderByComparator<DLFileEntry> orderByComparator) |
List<DLFileEntry> |
getGroupFileEntries(long groupId,
long userId,
long rootFolderId,
String[] mimeTypes,
int status,
int start,
int end,
OrderByComparator<DLFileEntry> orderByComparator) |
int |
getGroupFileEntriesCount(long groupId,
long userId,
long rootFolderId) |
int |
getGroupFileEntriesCount(long groupId,
long userId,
long repositoryId,
long rootFolderId,
String[] mimeTypes,
int status) |
int |
getGroupFileEntriesCount(long groupId,
long userId,
long rootFolderId,
String[] mimeTypes,
int status) |
String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
DLFileEntryService |
getWrappedService() |
boolean |
hasFileEntryLock(long fileEntryId) |
boolean |
isFileEntryCheckedOut(long fileEntryId) |
DLFileEntry |
moveFileEntry(long fileEntryId,
long newFolderId,
ServiceContext serviceContext) |
Lock |
refreshFileEntryLock(String lockUuid,
long companyId,
long expirationTime) |
void |
revertFileEntry(long fileEntryId,
String version,
ServiceContext serviceContext) |
Hits |
search(long groupId,
long creatorUserId,
int status,
int start,
int end) |
Hits |
search(long groupId,
long creatorUserId,
long folderId,
String[] mimeTypes,
int status,
int start,
int end) |
void |
setWrappedService(DLFileEntryService dlFileEntryService) |
DLFileEntry |
updateFileEntry(long fileEntryId,
String sourceFileName,
String mimeType,
String title,
String urlTitle,
String description,
String changeLog,
DLVersionNumberIncrease dlVersionNumberIncrease,
long fileEntryTypeId,
Map<String,DDMFormValues> ddmFormValuesMap,
File file,
InputStream inputStream,
long size,
Date expirationDate,
Date reviewDate,
ServiceContext serviceContext) |
DLFileEntry |
updateStatus(long userId,
long fileVersionId,
int status,
ServiceContext serviceContext,
Map<String,Serializable> workflowContext) |
boolean |
verifyFileEntryCheckOut(long fileEntryId,
String lockUuid) |
boolean |
verifyFileEntryLock(long fileEntryId,
String lockUuid) |
public DLFileEntryServiceWrapper()
public DLFileEntryServiceWrapper(DLFileEntryService dlFileEntryService)
public DLFileEntry addFileEntry(String externalReferenceCode, long groupId, long repositoryId, long folderId, String sourceFileName, String mimeType, String title, String urlTitle, String description, String changeLog, long fileEntryTypeId, Map<String,DDMFormValues> ddmFormValuesMap, File file, InputStream inputStream, long size, Date expirationDate, Date reviewDate, ServiceContext serviceContext) throws PortalException
addFileEntry in interface DLFileEntryServicePortalExceptionpublic DLFileVersion cancelCheckOut(long fileEntryId) throws PortalException
cancelCheckOut in interface DLFileEntryServicePortalExceptionpublic void checkInFileEntry(long fileEntryId,
DLVersionNumberIncrease dlVersionNumberIncrease,
String changeLog,
ServiceContext serviceContext)
throws PortalException
checkInFileEntry in interface DLFileEntryServicePortalExceptionpublic void checkInFileEntry(long fileEntryId,
String lockUuid,
ServiceContext serviceContext)
throws PortalException
checkInFileEntry in interface DLFileEntryServicePortalExceptionpublic DLFileEntry checkOutFileEntry(long fileEntryId, ServiceContext serviceContext) throws PortalException
checkOutFileEntry in interface DLFileEntryServicePortalExceptionpublic DLFileEntry checkOutFileEntry(long fileEntryId, String owner, long expirationTime, ServiceContext serviceContext) throws PortalException
checkOutFileEntry in interface DLFileEntryServicePortalExceptionpublic DLFileEntry copyFileEntry(long groupId, long repositoryId, long fileEntryId, long destFolderId, ServiceContext serviceContext) throws PortalException
copyFileEntry in interface DLFileEntryServicePortalExceptionpublic void deleteFileEntry(long fileEntryId)
throws PortalException
deleteFileEntry in interface DLFileEntryServicePortalExceptionpublic void deleteFileEntry(long groupId,
long folderId,
String title)
throws PortalException
deleteFileEntry in interface DLFileEntryServicePortalExceptionpublic void deleteFileVersion(long fileEntryId,
String version)
throws PortalException
deleteFileVersion in interface DLFileEntryServicePortalExceptionpublic DLFileEntry fetchFileEntryByExternalReferenceCode(long groupId, String externalReferenceCode) throws PortalException
fetchFileEntryByExternalReferenceCode in interface DLFileEntryServicePortalExceptionpublic DLFileEntry fetchFileEntryByImageId(long imageId) throws PortalException
fetchFileEntryByImageId in interface DLFileEntryServicePortalExceptionpublic InputStream getFileAsStream(long fileEntryId,
String version)
throws PortalException
getFileAsStream in interface DLFileEntryServicePortalExceptionpublic InputStream getFileAsStream(long fileEntryId,
String version,
boolean incrementCounter)
throws PortalException
getFileAsStream in interface DLFileEntryServicePortalExceptionpublic List<DLFileEntry> getFileEntries(long groupId, long folderId, int status, int start, int end, OrderByComparator<DLFileEntry> orderByComparator) throws PortalException
getFileEntries in interface DLFileEntryServicePortalExceptionpublic List<DLFileEntry> getFileEntries(long groupId, long folderId, int start, int end, OrderByComparator<DLFileEntry> orderByComparator) throws PortalException
getFileEntries in interface DLFileEntryServicePortalExceptionpublic List<DLFileEntry> getFileEntries(long groupId, long folderId, long fileEntryTypeId, int start, int end, OrderByComparator<DLFileEntry> orderByComparator) throws PortalException
getFileEntries in interface DLFileEntryServicePortalExceptionpublic List<DLFileEntry> getFileEntries(long groupId, long folderId, String[] mimeTypes, int status, int start, int end, OrderByComparator<DLFileEntry> orderByComparator) throws PortalException
getFileEntries in interface DLFileEntryServicePortalExceptionpublic List<DLFileEntry> getFileEntries(long groupId, long folderId, String[] mimeTypes, int start, int end, OrderByComparator<DLFileEntry> orderByComparator) throws PortalException
getFileEntries in interface DLFileEntryServicePortalExceptionpublic int getFileEntriesCount(long groupId,
long folderId)
getFileEntriesCount in interface DLFileEntryServicepublic int getFileEntriesCount(long groupId,
long folderId,
int status)
getFileEntriesCount in interface DLFileEntryServicepublic int getFileEntriesCount(long groupId,
long folderId,
long fileEntryTypeId)
getFileEntriesCount in interface DLFileEntryServicepublic int getFileEntriesCount(long groupId,
long folderId,
String[] mimeTypes)
getFileEntriesCount in interface DLFileEntryServicepublic int getFileEntriesCount(long groupId,
long folderId,
String[] mimeTypes,
int status)
getFileEntriesCount in interface DLFileEntryServicepublic DLFileEntry getFileEntry(long fileEntryId) throws PortalException
getFileEntry in interface DLFileEntryServicePortalExceptionpublic DLFileEntry getFileEntry(long groupId, long folderId, String title) throws PortalException
getFileEntry in interface DLFileEntryServicePortalExceptionpublic DLFileEntry getFileEntryByExternalReferenceCode(long groupId, String externalReferenceCode) throws PortalException
getFileEntryByExternalReferenceCode in interface DLFileEntryServicePortalExceptionpublic DLFileEntry getFileEntryByFileName(long groupId, long folderId, String fileName) throws PortalException
getFileEntryByFileName in interface DLFileEntryServicePortalExceptionpublic DLFileEntry getFileEntryByUuidAndGroupId(String uuid, long groupId) throws PortalException
getFileEntryByUuidAndGroupId in interface DLFileEntryServicePortalExceptionpublic Lock getFileEntryLock(long fileEntryId)
getFileEntryLock in interface DLFileEntryServicepublic int getFoldersFileEntriesCount(long groupId,
List<Long> folderIds,
int status)
getFoldersFileEntriesCount in interface DLFileEntryServicepublic List<DLFileEntry> getGroupFileEntries(long groupId, long userId, long rootFolderId, int start, int end, OrderByComparator<DLFileEntry> orderByComparator) throws PortalException
getGroupFileEntries in interface DLFileEntryServicePortalExceptionpublic List<DLFileEntry> getGroupFileEntries(long groupId, long userId, long repositoryId, long rootFolderId, String[] mimeTypes, int status, int start, int end, OrderByComparator<DLFileEntry> orderByComparator) throws PortalException
getGroupFileEntries in interface DLFileEntryServicePortalExceptionpublic List<DLFileEntry> getGroupFileEntries(long groupId, long userId, long rootFolderId, String[] mimeTypes, int status, int start, int end, OrderByComparator<DLFileEntry> orderByComparator) throws PortalException
getGroupFileEntries in interface DLFileEntryServicePortalExceptionpublic int getGroupFileEntriesCount(long groupId,
long userId,
long rootFolderId)
throws PortalException
getGroupFileEntriesCount in interface DLFileEntryServicePortalExceptionpublic int getGroupFileEntriesCount(long groupId,
long userId,
long repositoryId,
long rootFolderId,
String[] mimeTypes,
int status)
throws PortalException
getGroupFileEntriesCount in interface DLFileEntryServicePortalExceptionpublic int getGroupFileEntriesCount(long groupId,
long userId,
long rootFolderId,
String[] mimeTypes,
int status)
throws PortalException
getGroupFileEntriesCount in interface DLFileEntryServicePortalExceptionpublic String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface DLFileEntryServicepublic boolean hasFileEntryLock(long fileEntryId)
throws PortalException
hasFileEntryLock in interface DLFileEntryServicePortalExceptionpublic boolean isFileEntryCheckedOut(long fileEntryId)
throws PortalException
isFileEntryCheckedOut in interface DLFileEntryServicePortalExceptionpublic DLFileEntry moveFileEntry(long fileEntryId, long newFolderId, ServiceContext serviceContext) throws PortalException
moveFileEntry in interface DLFileEntryServicePortalExceptionpublic Lock refreshFileEntryLock(String lockUuid, long companyId, long expirationTime) throws PortalException
refreshFileEntryLock in interface DLFileEntryServicePortalExceptionpublic void revertFileEntry(long fileEntryId,
String version,
ServiceContext serviceContext)
throws PortalException
revertFileEntry in interface DLFileEntryServicePortalExceptionpublic Hits search(long groupId, long creatorUserId, int status, int start, int end) throws PortalException
search in interface DLFileEntryServicePortalExceptionpublic Hits search(long groupId, long creatorUserId, long folderId, String[] mimeTypes, int status, int start, int end) throws PortalException
search in interface DLFileEntryServicePortalExceptionpublic DLFileEntry updateFileEntry(long fileEntryId, String sourceFileName, String mimeType, String title, String urlTitle, String description, String changeLog, DLVersionNumberIncrease dlVersionNumberIncrease, long fileEntryTypeId, Map<String,DDMFormValues> ddmFormValuesMap, File file, InputStream inputStream, long size, Date expirationDate, Date reviewDate, ServiceContext serviceContext) throws PortalException
updateFileEntry in interface DLFileEntryServicePortalExceptionpublic DLFileEntry updateStatus(long userId, long fileVersionId, int status, ServiceContext serviceContext, Map<String,Serializable> workflowContext) throws PortalException
updateStatus in interface DLFileEntryServicePortalExceptionpublic boolean verifyFileEntryCheckOut(long fileEntryId,
String lockUuid)
throws PortalException
verifyFileEntryCheckOut in interface DLFileEntryServicePortalExceptionpublic boolean verifyFileEntryLock(long fileEntryId,
String lockUuid)
throws PortalException
verifyFileEntryLock in interface DLFileEntryServicePortalExceptionpublic DLFileEntryService getWrappedService()
getWrappedService in interface ServiceWrapper<DLFileEntryService>public void setWrappedService(DLFileEntryService dlFileEntryService)
setWrappedService in interface ServiceWrapper<DLFileEntryService>