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
- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.
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)
|
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)
|
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 groupId,
long folderId,
String name)
|
DLFileEntry |
getFileEntryByTitle(long groupId,
long folderId,
String titleWithExtension)
|
DLFileEntry |
getFileEntryByUuidAndGroupId(String uuid,
long groupId)
|
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)
|
int |
getGroupFileEntriesCount(long groupId,
long userId)
|
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 |
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)
|
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
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
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 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
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
getGroupFileEntriesCount
public int getGroupFileEntriesCount(long groupId,
long userId)
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
unlockFileEntry
public void unlockFileEntry(long groupId,
long folderId,
String name)
throws SystemException
- Specified by:
unlockFileEntry
in interface DLFileEntryService
- Throws:
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
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()