Class DLFileEntryServiceWrapper
Object
com.liferay.document.library.kernel.service.DLFileEntryServiceWrapper
- All Implemented Interfaces:
DLFileEntryService,BaseService,ServiceWrapper<DLFileEntryService>
public class DLFileEntryServiceWrapper
extends Object
implements DLFileEntryService, ServiceWrapper<DLFileEntryService>
Provides a wrapper for
DLFileEntryService.- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddFileEntry(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 displayDate, Date expirationDate, Date reviewDate, ServiceContext serviceContext) cancelCheckOut(long fileEntryId) voidcheckInFileEntry(long fileEntryId, DLVersionNumberIncrease dlVersionNumberIncrease, String changeLog, ServiceContext serviceContext) voidcheckInFileEntry(long fileEntryId, String lockUuid, ServiceContext serviceContext) checkOutFileEntry(long fileEntryId, ServiceContext serviceContext) checkOutFileEntry(long fileEntryId, String owner, long expirationTime, ServiceContext serviceContext) copyFileEntry(long groupId, long repositoryId, long sourceFileEntryId, long targetFolderId, ServiceContext serviceContext) voiddeleteFileEntry(long fileEntryId) voiddeleteFileEntry(long groupId, long folderId, String title) voiddeleteFileEntryByExternalReferenceCode(String externalReferenceCode, long groupId) voiddeleteFileVersion(long fileEntryId, String version) fetchFileEntry(long groupId, long folderId, String title) fetchFileEntryByExternalReferenceCode(long groupId, String externalReferenceCode) fetchFileEntryByImageId(long imageId) getFileAsStream(long fileEntryId, String version) getFileAsStream(long fileEntryId, String version, boolean incrementCounter) getFileEntries(long groupId, double score, int start, int end) getFileEntries(long groupId, long folderId, int status, int start, int end, OrderByComparator<DLFileEntry> orderByComparator) getFileEntries(long groupId, long folderId, int start, int end, OrderByComparator<DLFileEntry> orderByComparator) getFileEntries(long groupId, long folderId, long fileEntryTypeId, int start, int end, OrderByComparator<DLFileEntry> orderByComparator) getFileEntries(long groupId, long folderId, String[] mimeTypes, int status, int start, int end, OrderByComparator<DLFileEntry> orderByComparator) getFileEntries(long groupId, long folderId, String[] mimeTypes, int start, int end, OrderByComparator<DLFileEntry> orderByComparator) intgetFileEntriesCount(long groupId, double score) intgetFileEntriesCount(long groupId, long folderId) intgetFileEntriesCount(long groupId, long folderId, int status) intgetFileEntriesCount(long groupId, long folderId, long fileEntryTypeId) intgetFileEntriesCount(long groupId, long folderId, String[] mimeTypes) intgetFileEntriesCount(long groupId, long folderId, String[] mimeTypes, int status) getFileEntry(long fileEntryId) getFileEntry(long groupId, long folderId, String title) getFileEntryByExternalReferenceCode(String externalReferenceCode, long groupId) getFileEntryByFileName(long groupId, long folderId, String fileName) getFileEntryByUuidAndGroupId(String uuid, long groupId) getFileEntryLock(long fileEntryId) intgetFoldersFileEntriesCount(long groupId, List<Long> folderIds, int status) getGroupFileEntries(long groupId, long userId, long rootFolderId, int start, int end, OrderByComparator<DLFileEntry> orderByComparator) getGroupFileEntries(long groupId, long userId, long repositoryId, long rootFolderId, String[] mimeTypes, int status, int start, int end, OrderByComparator<DLFileEntry> orderByComparator) getGroupFileEntries(long groupId, long userId, long rootFolderId, String[] mimeTypes, int status, int start, int end, OrderByComparator<DLFileEntry> orderByComparator) intgetGroupFileEntriesCount(long groupId, long userId, long rootFolderId) intgetGroupFileEntriesCount(long groupId, long userId, long repositoryId, long rootFolderId, String[] mimeTypes, int status) intgetGroupFileEntriesCount(long groupId, long userId, long rootFolderId, String[] mimeTypes, int status) Returns the OSGi service identifier.booleanhasFileEntryLock(long fileEntryId) booleanisFileEntryCheckedOut(long fileEntryId) moveFileEntry(long fileEntryId, long newFolderId, ServiceContext serviceContext) refreshFileEntryLock(String lockUuid, long companyId, long expirationTime) voidrevertFileEntry(long fileEntryId, String version, ServiceContext serviceContext) search(long groupId, long creatorUserId, int status, int start, int end) search(long groupId, long creatorUserId, long folderId, String[] mimeTypes, int status, int start, int end) voidsetWrappedService(DLFileEntryService dlFileEntryService) 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 displayDate, Date expirationDate, Date reviewDate, ServiceContext serviceContext) updateStatus(long userId, long fileVersionId, int status, ServiceContext serviceContext, Map<String, Serializable> workflowContext) booleanverifyFileEntryCheckOut(long fileEntryId, String lockUuid) booleanverifyFileEntryLock(long fileEntryId, String lockUuid)
-
Constructor Details
-
DLFileEntryServiceWrapper
public DLFileEntryServiceWrapper() -
DLFileEntryServiceWrapper
-
-
Method Details
-
addFileEntry
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 displayDate, Date expirationDate, Date reviewDate, ServiceContext serviceContext) throws PortalException- Specified by:
addFileEntryin interfaceDLFileEntryService- Throws:
PortalException
-
cancelCheckOut
- Specified by:
cancelCheckOutin interfaceDLFileEntryService- Throws:
PortalException
-
checkInFileEntry
public void checkInFileEntry(long fileEntryId, DLVersionNumberIncrease dlVersionNumberIncrease, String changeLog, ServiceContext serviceContext) throws PortalException - Specified by:
checkInFileEntryin interfaceDLFileEntryService- Throws:
PortalException
-
checkInFileEntry
public void checkInFileEntry(long fileEntryId, String lockUuid, ServiceContext serviceContext) throws PortalException - Specified by:
checkInFileEntryin interfaceDLFileEntryService- Throws:
PortalException
-
checkOutFileEntry
public DLFileEntry checkOutFileEntry(long fileEntryId, ServiceContext serviceContext) throws PortalException - Specified by:
checkOutFileEntryin interfaceDLFileEntryService- Throws:
PortalException
-
checkOutFileEntry
public DLFileEntry checkOutFileEntry(long fileEntryId, String owner, long expirationTime, ServiceContext serviceContext) throws PortalException - Specified by:
checkOutFileEntryin interfaceDLFileEntryService- Throws:
PortalException
-
copyFileEntry
public DLFileEntry copyFileEntry(long groupId, long repositoryId, long sourceFileEntryId, long targetFolderId, ServiceContext serviceContext) throws PortalException - Specified by:
copyFileEntryin interfaceDLFileEntryService- Throws:
PortalException
-
deleteFileEntry
- Specified by:
deleteFileEntryin interfaceDLFileEntryService- Throws:
PortalException
-
deleteFileEntry
- Specified by:
deleteFileEntryin interfaceDLFileEntryService- Throws:
PortalException
-
deleteFileEntryByExternalReferenceCode
public void deleteFileEntryByExternalReferenceCode(String externalReferenceCode, long groupId) throws PortalException - Specified by:
deleteFileEntryByExternalReferenceCodein interfaceDLFileEntryService- Throws:
PortalException
-
deleteFileVersion
- Specified by:
deleteFileVersionin interfaceDLFileEntryService- Throws:
PortalException
-
fetchFileEntry
- Specified by:
fetchFileEntryin interfaceDLFileEntryService- Throws:
PortalException
-
fetchFileEntryByExternalReferenceCode
public DLFileEntry fetchFileEntryByExternalReferenceCode(long groupId, String externalReferenceCode) throws PortalException - Specified by:
fetchFileEntryByExternalReferenceCodein interfaceDLFileEntryService- Throws:
PortalException
-
fetchFileEntryByImageId
- Specified by:
fetchFileEntryByImageIdin interfaceDLFileEntryService- Throws:
PortalException
-
getFileAsStream
- Specified by:
getFileAsStreamin interfaceDLFileEntryService- Throws:
PortalException
-
getFileAsStream
public InputStream getFileAsStream(long fileEntryId, String version, boolean incrementCounter) throws PortalException - Specified by:
getFileAsStreamin interfaceDLFileEntryService- Throws:
PortalException
-
getFileEntries
public List<DLFileEntry> getFileEntries(long groupId, double score, int start, int end) throws PortalException - Specified by:
getFileEntriesin interfaceDLFileEntryService- Throws:
PortalException
-
getFileEntries
public List<DLFileEntry> getFileEntries(long groupId, long folderId, int status, int start, int end, OrderByComparator<DLFileEntry> orderByComparator) throws PortalException - Specified by:
getFileEntriesin interfaceDLFileEntryService- Throws:
PortalException
-
getFileEntries
public List<DLFileEntry> getFileEntries(long groupId, long folderId, int start, int end, OrderByComparator<DLFileEntry> orderByComparator) throws PortalException - Specified by:
getFileEntriesin interfaceDLFileEntryService- Throws:
PortalException
-
getFileEntries
public List<DLFileEntry> getFileEntries(long groupId, long folderId, long fileEntryTypeId, int start, int end, OrderByComparator<DLFileEntry> orderByComparator) throws PortalException - Specified by:
getFileEntriesin interfaceDLFileEntryService- Throws:
PortalException
-
getFileEntries
public List<DLFileEntry> getFileEntries(long groupId, long folderId, String[] mimeTypes, int status, int start, int end, OrderByComparator<DLFileEntry> orderByComparator) throws PortalException - Specified by:
getFileEntriesin interfaceDLFileEntryService- Throws:
PortalException
-
getFileEntries
public List<DLFileEntry> getFileEntries(long groupId, long folderId, String[] mimeTypes, int start, int end, OrderByComparator<DLFileEntry> orderByComparator) throws PortalException - Specified by:
getFileEntriesin interfaceDLFileEntryService- Throws:
PortalException
-
getFileEntriesCount
- Specified by:
getFileEntriesCountin interfaceDLFileEntryService- Throws:
PortalException
-
getFileEntriesCount
public int getFileEntriesCount(long groupId, long folderId) - Specified by:
getFileEntriesCountin interfaceDLFileEntryService
-
getFileEntriesCount
public int getFileEntriesCount(long groupId, long folderId, int status) - Specified by:
getFileEntriesCountin interfaceDLFileEntryService
-
getFileEntriesCount
public int getFileEntriesCount(long groupId, long folderId, long fileEntryTypeId) - Specified by:
getFileEntriesCountin interfaceDLFileEntryService
-
getFileEntriesCount
- Specified by:
getFileEntriesCountin interfaceDLFileEntryService
-
getFileEntriesCount
- Specified by:
getFileEntriesCountin interfaceDLFileEntryService
-
getFileEntry
- Specified by:
getFileEntryin interfaceDLFileEntryService- Throws:
PortalException
-
getFileEntry
- Specified by:
getFileEntryin interfaceDLFileEntryService- Throws:
PortalException
-
getFileEntryByExternalReferenceCode
public DLFileEntry getFileEntryByExternalReferenceCode(String externalReferenceCode, long groupId) throws PortalException - Specified by:
getFileEntryByExternalReferenceCodein interfaceDLFileEntryService- Throws:
PortalException
-
getFileEntryByFileName
public DLFileEntry getFileEntryByFileName(long groupId, long folderId, String fileName) throws PortalException - Specified by:
getFileEntryByFileNamein interfaceDLFileEntryService- Throws:
PortalException
-
getFileEntryByUuidAndGroupId
- Specified by:
getFileEntryByUuidAndGroupIdin interfaceDLFileEntryService- Throws:
PortalException
-
getFileEntryLock
- Specified by:
getFileEntryLockin interfaceDLFileEntryService
-
getFoldersFileEntriesCount
- Specified by:
getFoldersFileEntriesCountin interfaceDLFileEntryService
-
getGroupFileEntries
public List<DLFileEntry> getGroupFileEntries(long groupId, long userId, long rootFolderId, int start, int end, OrderByComparator<DLFileEntry> orderByComparator) throws PortalException - Specified by:
getGroupFileEntriesin interfaceDLFileEntryService- Throws:
PortalException
-
getGroupFileEntries
public List<DLFileEntry> getGroupFileEntries(long groupId, long userId, long repositoryId, long rootFolderId, String[] mimeTypes, int status, int start, int end, OrderByComparator<DLFileEntry> orderByComparator) throws PortalException - Specified by:
getGroupFileEntriesin interfaceDLFileEntryService- Throws:
PortalException
-
getGroupFileEntries
public List<DLFileEntry> getGroupFileEntries(long groupId, long userId, long rootFolderId, String[] mimeTypes, int status, int start, int end, OrderByComparator<DLFileEntry> orderByComparator) throws PortalException - Specified by:
getGroupFileEntriesin interfaceDLFileEntryService- Throws:
PortalException
-
getGroupFileEntriesCount
public int getGroupFileEntriesCount(long groupId, long userId, long rootFolderId) throws PortalException - Specified by:
getGroupFileEntriesCountin interfaceDLFileEntryService- Throws:
PortalException
-
getGroupFileEntriesCount
public int getGroupFileEntriesCount(long groupId, long userId, long repositoryId, long rootFolderId, String[] mimeTypes, int status) throws PortalException - Specified by:
getGroupFileEntriesCountin interfaceDLFileEntryService- Throws:
PortalException
-
getGroupFileEntriesCount
public int getGroupFileEntriesCount(long groupId, long userId, long rootFolderId, String[] mimeTypes, int status) throws PortalException - Specified by:
getGroupFileEntriesCountin interfaceDLFileEntryService- Throws:
PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifierin interfaceDLFileEntryService- Returns:
- the OSGi service identifier
-
hasFileEntryLock
- Specified by:
hasFileEntryLockin interfaceDLFileEntryService- Throws:
PortalException
-
isFileEntryCheckedOut
- Specified by:
isFileEntryCheckedOutin interfaceDLFileEntryService- Throws:
PortalException
-
moveFileEntry
public DLFileEntry moveFileEntry(long fileEntryId, long newFolderId, ServiceContext serviceContext) throws PortalException - Specified by:
moveFileEntryin interfaceDLFileEntryService- Throws:
PortalException
-
refreshFileEntryLock
public Lock refreshFileEntryLock(String lockUuid, long companyId, long expirationTime) throws PortalException - Specified by:
refreshFileEntryLockin interfaceDLFileEntryService- Throws:
PortalException
-
revertFileEntry
public void revertFileEntry(long fileEntryId, String version, ServiceContext serviceContext) throws PortalException - Specified by:
revertFileEntryin interfaceDLFileEntryService- Throws:
PortalException
-
search
public Hits search(long groupId, long creatorUserId, int status, int start, int end) throws PortalException - Specified by:
searchin interfaceDLFileEntryService- Throws:
PortalException
-
search
public Hits search(long groupId, long creatorUserId, long folderId, String[] mimeTypes, int status, int start, int end) throws PortalException - Specified by:
searchin interfaceDLFileEntryService- Throws:
PortalException
-
updateFileEntry
public 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 displayDate, Date expirationDate, Date reviewDate, ServiceContext serviceContext) throws PortalException- Specified by:
updateFileEntryin interfaceDLFileEntryService- Throws:
PortalException
-
updateStatus
public DLFileEntry updateStatus(long userId, long fileVersionId, int status, ServiceContext serviceContext, Map<String, Serializable> workflowContext) throws PortalException- Specified by:
updateStatusin interfaceDLFileEntryService- Throws:
PortalException
-
verifyFileEntryCheckOut
- Specified by:
verifyFileEntryCheckOutin interfaceDLFileEntryService- Throws:
PortalException
-
verifyFileEntryLock
- Specified by:
verifyFileEntryLockin interfaceDLFileEntryService- Throws:
PortalException
-
getWrappedService
- Specified by:
getWrappedServicein interfaceServiceWrapper<DLFileEntryService>
-
setWrappedService
- Specified by:
setWrappedServicein interfaceServiceWrapper<DLFileEntryService>
-