com.liferay.portlet.documentlibrary.service
Class DLFileEntryServiceWrapper
java.lang.Object
com.liferay.portlet.documentlibrary.service.DLFileEntryServiceWrapper
- All Implemented Interfaces:
- ServiceWrapper<DLFileEntryService>, DLFileEntryService
public class DLFileEntryServiceWrapper
- extends Object
- implements DLFileEntryService, ServiceWrapper<DLFileEntryService>
This class is a wrapper for DLFileEntryService.
- See Also:
DLFileEntryService- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.
|
Method Summary |
DLFileEntry |
addFileEntry(long groupId,
long repositoryId,
long folderId,
String sourceFileName,
String mimeType,
String title,
String description,
String changeLog,
long fileEntryTypeId,
Map<String,Fields> fieldsMap,
File file,
InputStream is,
long size,
ServiceContext serviceContext)
|
void |
cancelCheckOut(long fileEntryId)
|
void |
checkInFileEntry(long fileEntryId,
boolean major,
String changeLog,
ServiceContext serviceContext)
|
void |
checkInFileEntry(long fileEntryId,
String lockUuid)
|
DLFileEntry |
checkOutFileEntry(long fileEntryId)
|
DLFileEntry |
checkOutFileEntry(long fileEntryId,
String owner,
long expirationTime)
|
DLFileEntry |
copyFileEntry(long groupId,
long repositoryId,
long fileEntryId,
long destFolderId,
ServiceContext serviceContext)
|
void |
deleteFileEntry(long fileEntryId)
|
void |
deleteFileEntry(long groupId,
long folderId,
String title)
|
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 start,
int end,
OrderByComparator obc)
|
List<DLFileEntry> |
getFileEntries(long groupId,
long folderId,
long fileEntryTypeId,
int start,
int end,
OrderByComparator obc)
|
int |
getFileEntriesCount(long groupId,
long folderId)
|
int |
getFileEntriesCount(long groupId,
long folderId,
long fileEntryTypeId)
|
DLFileEntry |
getFileEntry(long fileEntryId)
|
DLFileEntry |
getFileEntry(long groupId,
long folderId,
String title)
|
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 obc)
|
int |
getGroupFileEntriesCount(long groupId,
long userId,
long rootFolderId)
|
DLFileEntryService |
getWrappedDLFileEntryService()
Deprecated. Renamed to getWrappedService() |
DLFileEntryService |
getWrappedService()
|
boolean |
hasFileEntryLock(long fileEntryId)
|
boolean |
isFileEntryCheckedOut(long fileEntryId)
|
DLFileEntry |
moveFileEntry(long fileEntryId,
long newFolderId,
ServiceContext serviceContext)
|
Lock |
refreshFileEntryLock(String lockUuid,
long expirationTime)
|
void |
revertFileEntry(long fileEntryId,
String version,
ServiceContext serviceContext)
|
void |
setWrappedDLFileEntryService(DLFileEntryService dlFileEntryService)
Deprecated. Renamed to setWrappedService(com.liferay.portlet.documentlibrary.service.DLFileEntryService) |
void |
setWrappedService(DLFileEntryService dlFileEntryService)
|
DLFileEntry |
updateFileEntry(long fileEntryId,
String sourceFileName,
String mimeType,
String title,
String description,
String changeLog,
boolean majorVersion,
long fileEntryTypeId,
Map<String,Fields> fieldsMap,
File file,
InputStream is,
long size,
ServiceContext serviceContext)
|
boolean |
verifyFileEntryCheckOut(long fileEntryId,
String lockUuid)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DLFileEntryServiceWrapper
public DLFileEntryServiceWrapper(DLFileEntryService dlFileEntryService)
addFileEntry
public DLFileEntry addFileEntry(long groupId,
long repositoryId,
long folderId,
String sourceFileName,
String mimeType,
String title,
String description,
String changeLog,
long fileEntryTypeId,
Map<String,Fields> fieldsMap,
File file,
InputStream is,
long size,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Specified by:
addFileEntry in interface DLFileEntryService
- Throws:
PortalException
SystemException
cancelCheckOut
public void cancelCheckOut(long fileEntryId)
throws PortalException,
SystemException
- Specified by:
cancelCheckOut in interface DLFileEntryService
- Throws:
PortalException
SystemException
checkInFileEntry
public void checkInFileEntry(long fileEntryId,
boolean major,
String changeLog,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Specified by:
checkInFileEntry in interface DLFileEntryService
- Throws:
PortalException
SystemException
checkInFileEntry
public void checkInFileEntry(long fileEntryId,
String lockUuid)
throws PortalException,
SystemException
- Specified by:
checkInFileEntry in interface DLFileEntryService
- Throws:
PortalException
SystemException
checkOutFileEntry
public DLFileEntry checkOutFileEntry(long fileEntryId)
throws PortalException,
SystemException
- Specified by:
checkOutFileEntry in interface DLFileEntryService
- Throws:
PortalException
SystemException
checkOutFileEntry
public DLFileEntry checkOutFileEntry(long fileEntryId,
String owner,
long expirationTime)
throws PortalException,
SystemException
- Specified by:
checkOutFileEntry in interface DLFileEntryService
- Throws:
PortalException
SystemException
copyFileEntry
public DLFileEntry copyFileEntry(long groupId,
long repositoryId,
long fileEntryId,
long destFolderId,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Specified by:
copyFileEntry in interface DLFileEntryService
- Throws:
PortalException
SystemException
deleteFileEntry
public void deleteFileEntry(long fileEntryId)
throws PortalException,
SystemException
- Specified by:
deleteFileEntry in interface DLFileEntryService
- Throws:
PortalException
SystemException
deleteFileEntry
public void deleteFileEntry(long groupId,
long folderId,
String title)
throws PortalException,
SystemException
- Specified by:
deleteFileEntry in interface DLFileEntryService
- Throws:
PortalException
SystemException
fetchFileEntryByImageId
public DLFileEntry fetchFileEntryByImageId(long imageId)
throws PortalException,
SystemException
- Specified by:
fetchFileEntryByImageId in interface DLFileEntryService
- Throws:
PortalException
SystemException
getFileAsStream
public InputStream getFileAsStream(long fileEntryId,
String version)
throws PortalException,
SystemException
- Specified by:
getFileAsStream in interface DLFileEntryService
- Throws:
PortalException
SystemException
getFileAsStream
public InputStream getFileAsStream(long fileEntryId,
String version,
boolean incrementCounter)
throws PortalException,
SystemException
- Specified by:
getFileAsStream in interface DLFileEntryService
- Throws:
PortalException
SystemException
getFileEntries
public List<DLFileEntry> getFileEntries(long groupId,
long folderId,
int start,
int end,
OrderByComparator obc)
throws SystemException
- Specified by:
getFileEntries in interface DLFileEntryService
- Throws:
SystemException
getFileEntries
public List<DLFileEntry> getFileEntries(long groupId,
long folderId,
long fileEntryTypeId,
int start,
int end,
OrderByComparator obc)
throws SystemException
- Specified by:
getFileEntries in interface DLFileEntryService
- Throws:
SystemException
getFileEntriesCount
public int getFileEntriesCount(long groupId,
long folderId)
throws SystemException
- Specified by:
getFileEntriesCount in interface DLFileEntryService
- Throws:
SystemException
getFileEntriesCount
public int getFileEntriesCount(long groupId,
long folderId,
long fileEntryTypeId)
throws SystemException
- Specified by:
getFileEntriesCount in interface DLFileEntryService
- Throws:
SystemException
getFileEntry
public DLFileEntry getFileEntry(long fileEntryId)
throws PortalException,
SystemException
- Specified by:
getFileEntry in interface DLFileEntryService
- Throws:
PortalException
SystemException
getFileEntry
public DLFileEntry getFileEntry(long groupId,
long folderId,
String title)
throws PortalException,
SystemException
- Specified by:
getFileEntry in interface DLFileEntryService
- Throws:
PortalException
SystemException
getFileEntryByUuidAndGroupId
public DLFileEntry getFileEntryByUuidAndGroupId(String uuid,
long groupId)
throws PortalException,
SystemException
- Specified by:
getFileEntryByUuidAndGroupId in interface DLFileEntryService
- Throws:
PortalException
SystemException
getFileEntryLock
public Lock getFileEntryLock(long fileEntryId)
- Specified by:
getFileEntryLock in interface DLFileEntryService
getFoldersFileEntriesCount
public int getFoldersFileEntriesCount(long groupId,
List<Long> folderIds,
int status)
throws SystemException
- Specified by:
getFoldersFileEntriesCount in interface DLFileEntryService
- Throws:
SystemException
getGroupFileEntries
public List<DLFileEntry> getGroupFileEntries(long groupId,
long userId,
long rootFolderId,
int start,
int end,
OrderByComparator obc)
throws SystemException
- Specified by:
getGroupFileEntries in interface DLFileEntryService
- Throws:
SystemException
getGroupFileEntriesCount
public int getGroupFileEntriesCount(long groupId,
long userId,
long rootFolderId)
throws SystemException
- Specified by:
getGroupFileEntriesCount in interface DLFileEntryService
- Throws:
SystemException
hasFileEntryLock
public boolean hasFileEntryLock(long fileEntryId)
throws PortalException,
SystemException
- Specified by:
hasFileEntryLock in interface DLFileEntryService
- Throws:
PortalException
SystemException
isFileEntryCheckedOut
public boolean isFileEntryCheckedOut(long fileEntryId)
throws PortalException,
SystemException
- Specified by:
isFileEntryCheckedOut in interface DLFileEntryService
- Throws:
PortalException
SystemException
moveFileEntry
public DLFileEntry moveFileEntry(long fileEntryId,
long newFolderId,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Specified by:
moveFileEntry in interface DLFileEntryService
- Throws:
PortalException
SystemException
refreshFileEntryLock
public Lock refreshFileEntryLock(String lockUuid,
long expirationTime)
throws PortalException,
SystemException
- Specified by:
refreshFileEntryLock in interface DLFileEntryService
- Throws:
PortalException
SystemException
revertFileEntry
public void revertFileEntry(long fileEntryId,
String version,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Specified by:
revertFileEntry in interface DLFileEntryService
- Throws:
PortalException
SystemException
updateFileEntry
public DLFileEntry updateFileEntry(long fileEntryId,
String sourceFileName,
String mimeType,
String title,
String description,
String changeLog,
boolean majorVersion,
long fileEntryTypeId,
Map<String,Fields> fieldsMap,
File file,
InputStream is,
long size,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Specified by:
updateFileEntry in interface DLFileEntryService
- Throws:
PortalException
SystemException
verifyFileEntryCheckOut
public boolean verifyFileEntryCheckOut(long fileEntryId,
String lockUuid)
throws PortalException,
SystemException
- Specified by:
verifyFileEntryCheckOut in interface DLFileEntryService
- Throws:
PortalException
SystemException
getWrappedDLFileEntryService
public DLFileEntryService getWrappedDLFileEntryService()
- Deprecated. Renamed to
getWrappedService()
setWrappedDLFileEntryService
public void setWrappedDLFileEntryService(DLFileEntryService dlFileEntryService)
- Deprecated. Renamed to
setWrappedService(com.liferay.portlet.documentlibrary.service.DLFileEntryService)
getWrappedService
public DLFileEntryService getWrappedService()
- Specified by:
getWrappedService in interface ServiceWrapper<DLFileEntryService>
setWrappedService
public void setWrappedService(DLFileEntryService dlFileEntryService)
- Specified by:
setWrappedService in interface ServiceWrapper<DLFileEntryService>