com.liferay.portlet.documentlibrary.service
Class DLFileEntryServiceWrapper
java.lang.Object
com.liferay.portlet.documentlibrary.service.DLFileEntryServiceWrapper
- All Implemented Interfaces:
- DLFileEntryService
public class DLFileEntryServiceWrapper
- extends Object
- implements DLFileEntryService
This class is a wrapper for DLFileEntryService.
- See Also:
DLFileEntryService
|
Method Summary |
DLFileEntry |
addFileEntry(long groupId,
long folderId,
String name,
String title,
String description,
String changeLog,
String extraSettings,
byte[] bytes,
ServiceContext serviceContext)
|
DLFileEntry |
addFileEntry(long groupId,
long folderId,
String name,
String title,
String description,
String changeLog,
String extraSettings,
File file,
ServiceContext serviceContext)
|
DLFileEntry |
addFileEntry(long groupId,
long folderId,
String name,
String title,
String description,
String changeLog,
String extraSettings,
InputStream is,
long size,
ServiceContext serviceContext)
|
void |
deleteFileEntry(long fileEntryId)
|
void |
deleteFileEntry(long groupId,
long folderId,
String name)
|
void |
deleteFileEntry(long groupId,
long folderId,
String name,
String version)
|
void |
deleteFileEntryByTitle(long groupId,
long folderId,
String titleWithExtension)
|
InputStream |
getFileAsStream(long fileEntryId,
String version)
|
List<DLFileEntry> |
getFileEntries(long groupId,
long folderId)
|
List<DLFileEntry> |
getFileEntries(long groupId,
long folderId,
int start,
int end)
|
List<DLFileEntry> |
getFileEntries(long groupId,
long folderId,
int start,
int end,
OrderByComparator obc)
|
int |
getFileEntriesCount(long groupId,
long folderId)
|
DLFileEntry |
getFileEntry(long fileEntryId)
|
DLFileEntry |
getFileEntry(long groupId,
long folderId,
String name)
|
DLFileEntry |
getFileEntryByTitle(long groupId,
long folderId,
String titleWithExtension)
|
DLFileEntry |
getFileEntryByUuidAndGroupId(String uuid,
long groupId)
|
Lock |
getFileEntryLock(long groupId,
long folderId,
String name)
|
int |
getFoldersFileEntriesCount(long groupId,
List<Long> folderIds,
int status)
|
List<DLFileEntry> |
getGroupFileEntries(long groupId,
long userId,
int start,
int end)
|
List<DLFileEntry> |
getGroupFileEntries(long groupId,
long userId,
int start,
int end,
OrderByComparator obc)
|
List<DLFileEntry> |
getGroupFileEntries(long groupId,
long userId,
long rootFolderId,
int start,
int end)
|
List<DLFileEntry> |
getGroupFileEntries(long groupId,
long userId,
long rootFolderId,
int start,
int end,
OrderByComparator obc)
|
int |
getGroupFileEntriesCount(long groupId,
long userId)
|
int |
getGroupFileEntriesCount(long groupId,
long userId,
long rootFolderId)
|
DLFileEntryService |
getWrappedDLFileEntryService()
|
boolean |
hasFileEntryLock(long groupId,
long folderId,
String name)
|
Lock |
lockFileEntry(long groupId,
long folderId,
String name)
|
Lock |
lockFileEntry(long groupId,
long folderId,
String name,
String owner,
long expirationTime)
|
DLFileEntry |
moveFileEntry(long groupId,
long folderId,
long newFolderId,
String name,
ServiceContext serviceContext)
|
Lock |
refreshFileEntryLock(String lockUuid,
long expirationTime)
|
void |
revertFileEntry(long fileEntryId)
|
void |
setWrappedDLFileEntryService(DLFileEntryService dlFileEntryService)
|
void |
unlockFileEntry(long groupId,
long folderId,
String name)
|
void |
unlockFileEntry(long groupId,
long folderId,
String name,
String lockUuid)
|
DLFileEntry |
updateFileEntry(long groupId,
long folderId,
String name,
String sourceFileName,
String title,
String description,
String changeLog,
boolean majorVersion,
String extraSettings,
byte[] bytes,
ServiceContext serviceContext)
|
DLFileEntry |
updateFileEntry(long groupId,
long folderId,
String name,
String sourceFileName,
String title,
String description,
String changeLog,
boolean majorVersion,
String extraSettings,
File file,
ServiceContext serviceContext)
|
DLFileEntry |
updateFileEntry(long groupId,
long folderId,
String name,
String sourceFileName,
String title,
String description,
String changeLog,
boolean majorVersion,
String extraSettings,
InputStream is,
long size,
ServiceContext serviceContext)
|
boolean |
verifyFileEntryLock(long groupId,
long folderId,
String name,
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 folderId,
String name,
String title,
String description,
String changeLog,
String extraSettings,
byte[] bytes,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Specified by:
addFileEntry in interface DLFileEntryService
- Throws:
PortalException
SystemException
addFileEntry
public DLFileEntry addFileEntry(long groupId,
long folderId,
String name,
String title,
String description,
String changeLog,
String extraSettings,
File file,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Specified by:
addFileEntry in interface DLFileEntryService
- Throws:
PortalException
SystemException
addFileEntry
public DLFileEntry addFileEntry(long groupId,
long folderId,
String name,
String title,
String description,
String changeLog,
String extraSettings,
InputStream is,
long size,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Specified by:
addFileEntry 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 name)
throws PortalException,
SystemException
- Specified by:
deleteFileEntry in interface DLFileEntryService
- Throws:
PortalException
SystemException
deleteFileEntry
public void deleteFileEntry(long groupId,
long folderId,
String name,
String version)
throws PortalException,
SystemException
- Specified by:
deleteFileEntry in interface DLFileEntryService
- Throws:
PortalException
SystemException
deleteFileEntryByTitle
public void deleteFileEntryByTitle(long groupId,
long folderId,
String titleWithExtension)
throws PortalException,
SystemException
- Specified by:
deleteFileEntryByTitle 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
getFileEntries
public List<DLFileEntry> getFileEntries(long groupId,
long folderId)
throws PortalException,
SystemException
- Specified by:
getFileEntries in interface DLFileEntryService
- Throws:
PortalException
SystemException
getFileEntries
public List<DLFileEntry> getFileEntries(long groupId,
long folderId,
int start,
int end)
throws PortalException,
SystemException
- Specified by:
getFileEntries in interface DLFileEntryService
- Throws:
PortalException
SystemException
getFileEntries
public List<DLFileEntry> getFileEntries(long groupId,
long folderId,
int start,
int end,
OrderByComparator obc)
throws PortalException,
SystemException
- Specified by:
getFileEntries in interface DLFileEntryService
- Throws:
PortalException
SystemException
getFileEntriesCount
public int getFileEntriesCount(long groupId,
long folderId)
throws PortalException,
SystemException
- Specified by:
getFileEntriesCount in interface DLFileEntryService
- Throws:
PortalException
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 name)
throws PortalException,
SystemException
- Specified by:
getFileEntry in interface DLFileEntryService
- Throws:
PortalException
SystemException
getFileEntryByTitle
public DLFileEntry getFileEntryByTitle(long groupId,
long folderId,
String titleWithExtension)
throws PortalException,
SystemException
- Specified by:
getFileEntryByTitle 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 groupId,
long folderId,
String name)
throws PortalException,
SystemException
- Specified by:
getFileEntryLock in interface DLFileEntryService
- Throws:
PortalException
SystemException
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,
int start,
int end)
throws SystemException
- Specified by:
getGroupFileEntries in interface DLFileEntryService
- Throws:
SystemException
getGroupFileEntries
public List<DLFileEntry> getGroupFileEntries(long groupId,
long userId,
int start,
int end,
OrderByComparator obc)
throws SystemException
- Specified by:
getGroupFileEntries in interface DLFileEntryService
- Throws:
SystemException
getGroupFileEntries
public List<DLFileEntry> getGroupFileEntries(long groupId,
long userId,
long rootFolderId,
int start,
int end)
throws SystemException
- Specified by:
getGroupFileEntries 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)
throws SystemException
- Specified by:
getGroupFileEntriesCount 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 groupId,
long folderId,
String name)
throws PortalException,
SystemException
- Specified by:
hasFileEntryLock in interface DLFileEntryService
- Throws:
PortalException
SystemException
lockFileEntry
public Lock lockFileEntry(long groupId,
long folderId,
String name)
throws PortalException,
SystemException
- Specified by:
lockFileEntry in interface DLFileEntryService
- Throws:
PortalException
SystemException
lockFileEntry
public Lock lockFileEntry(long groupId,
long folderId,
String name,
String owner,
long expirationTime)
throws PortalException,
SystemException
- Specified by:
lockFileEntry in interface DLFileEntryService
- Throws:
PortalException
SystemException
moveFileEntry
public DLFileEntry moveFileEntry(long groupId,
long folderId,
long newFolderId,
String name,
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)
throws PortalException,
SystemException
- Specified by:
revertFileEntry in interface DLFileEntryService
- Throws:
PortalException
SystemException
unlockFileEntry
public void unlockFileEntry(long groupId,
long folderId,
String name)
throws PortalException,
SystemException
- Specified by:
unlockFileEntry in interface DLFileEntryService
- Throws:
PortalException
SystemException
unlockFileEntry
public void unlockFileEntry(long groupId,
long folderId,
String name,
String lockUuid)
throws PortalException,
SystemException
- Specified by:
unlockFileEntry in interface DLFileEntryService
- Throws:
PortalException
SystemException
updateFileEntry
public DLFileEntry updateFileEntry(long groupId,
long folderId,
String name,
String sourceFileName,
String title,
String description,
String changeLog,
boolean majorVersion,
String extraSettings,
byte[] bytes,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Specified by:
updateFileEntry in interface DLFileEntryService
- Throws:
PortalException
SystemException
updateFileEntry
public DLFileEntry updateFileEntry(long groupId,
long folderId,
String name,
String sourceFileName,
String title,
String description,
String changeLog,
boolean majorVersion,
String extraSettings,
File file,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Specified by:
updateFileEntry in interface DLFileEntryService
- Throws:
PortalException
SystemException
updateFileEntry
public DLFileEntry updateFileEntry(long groupId,
long folderId,
String name,
String sourceFileName,
String title,
String description,
String changeLog,
boolean majorVersion,
String extraSettings,
InputStream is,
long size,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Specified by:
updateFileEntry in interface DLFileEntryService
- Throws:
PortalException
SystemException
verifyFileEntryLock
public boolean verifyFileEntryLock(long groupId,
long folderId,
String name,
String lockUuid)
throws PortalException,
SystemException
- Specified by:
verifyFileEntryLock in interface DLFileEntryService
- Throws:
PortalException
SystemException
getWrappedDLFileEntryService
public DLFileEntryService getWrappedDLFileEntryService()
setWrappedDLFileEntryService
public void setWrappedDLFileEntryService(DLFileEntryService dlFileEntryService)