|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portlet.documentlibrary.service.DLFileEntryServiceWrapper
public class DLFileEntryServiceWrapper
This class is a wrapper for DLFileEntryService
.
DLFileEntryService
Constructor Summary | |
---|---|
DLFileEntryServiceWrapper(DLFileEntryService dlFileEntryService)
|
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)
|
DLFileVersion |
cancelCheckOut(long fileEntryId)
|
void |
checkInFileEntry(long fileEntryId,
boolean major,
String changeLog,
ServiceContext serviceContext)
|
void |
checkInFileEntry(long fileEntryId,
String lockUuid)
|
DLFileEntry |
checkOutFileEntry(long fileEntryId)
Deprecated. checkOutFileEntry(long, ServiceContext) |
DLFileEntry |
checkOutFileEntry(long fileEntryId,
ServiceContext serviceContext)
|
DLFileEntry |
checkOutFileEntry(long fileEntryId,
String owner,
long expirationTime)
Deprecated. checkOutFileEntry(long, String, long,
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 |
fetchFileEntryByImageId(long imageId)
|
String |
getBeanIdentifier()
Returns the Spring bean ID for this bean. |
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)
|
List<DLFileEntry> |
getFileEntries(long groupId,
long folderId,
String[] mimeTypes,
int start,
int end,
OrderByComparator obc)
|
int |
getFileEntriesCount(long groupId,
long folderId)
|
int |
getFileEntriesCount(long groupId,
long folderId,
long fileEntryTypeId)
|
int |
getFileEntriesCount(long groupId,
long folderId,
String[] mimeTypes)
|
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)
|
List<DLFileEntry> |
getGroupFileEntries(long groupId,
long userId,
long rootFolderId,
String[] mimeTypes,
int status,
int start,
int end,
OrderByComparator obc)
|
int |
getGroupFileEntriesCount(long groupId,
long userId,
long rootFolderId)
|
int |
getGroupFileEntriesCount(long groupId,
long userId,
long rootFolderId,
String[] mimeTypes,
int status)
|
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 |
setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean. |
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)
|
boolean |
verifyFileEntryLock(long fileEntryId,
String lockUuid)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DLFileEntryServiceWrapper(DLFileEntryService dlFileEntryService)
Method Detail |
---|
public String getBeanIdentifier()
getBeanIdentifier
in interface DLFileEntryService
public void setBeanIdentifier(String beanIdentifier)
setBeanIdentifier
in interface DLFileEntryService
beanIdentifier
- the Spring bean ID for this beanpublic 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
addFileEntry
in interface DLFileEntryService
PortalException
SystemException
public DLFileVersion cancelCheckOut(long fileEntryId) throws PortalException, SystemException
cancelCheckOut
in interface DLFileEntryService
PortalException
SystemException
public void checkInFileEntry(long fileEntryId, boolean major, String changeLog, ServiceContext serviceContext) throws PortalException, SystemException
checkInFileEntry
in interface DLFileEntryService
PortalException
SystemException
public void checkInFileEntry(long fileEntryId, String lockUuid) throws PortalException, SystemException
checkInFileEntry
in interface DLFileEntryService
PortalException
SystemException
public DLFileEntry checkOutFileEntry(long fileEntryId) throws PortalException, SystemException
checkOutFileEntry(long, ServiceContext)
checkOutFileEntry
in interface DLFileEntryService
PortalException
SystemException
public DLFileEntry checkOutFileEntry(long fileEntryId, ServiceContext serviceContext) throws PortalException, SystemException
checkOutFileEntry
in interface DLFileEntryService
PortalException
SystemException
public DLFileEntry checkOutFileEntry(long fileEntryId, String owner, long expirationTime) throws PortalException, SystemException
checkOutFileEntry(long, String, long,
ServiceContext)
checkOutFileEntry
in interface DLFileEntryService
PortalException
SystemException
public DLFileEntry checkOutFileEntry(long fileEntryId, String owner, long expirationTime, ServiceContext serviceContext) throws PortalException, SystemException
checkOutFileEntry
in interface DLFileEntryService
PortalException
SystemException
public DLFileEntry copyFileEntry(long groupId, long repositoryId, long fileEntryId, long destFolderId, ServiceContext serviceContext) throws PortalException, SystemException
copyFileEntry
in interface DLFileEntryService
PortalException
SystemException
public void deleteFileEntry(long fileEntryId) throws PortalException, SystemException
deleteFileEntry
in interface DLFileEntryService
PortalException
SystemException
public void deleteFileEntry(long groupId, long folderId, String title) throws PortalException, SystemException
deleteFileEntry
in interface DLFileEntryService
PortalException
SystemException
public void deleteFileVersion(long fileEntryId, String version) throws PortalException, SystemException
deleteFileVersion
in interface DLFileEntryService
PortalException
SystemException
public DLFileEntry fetchFileEntryByImageId(long imageId) throws PortalException, SystemException
fetchFileEntryByImageId
in interface DLFileEntryService
PortalException
SystemException
public InputStream getFileAsStream(long fileEntryId, String version) throws PortalException, SystemException
getFileAsStream
in interface DLFileEntryService
PortalException
SystemException
public InputStream getFileAsStream(long fileEntryId, String version, boolean incrementCounter) throws PortalException, SystemException
getFileAsStream
in interface DLFileEntryService
PortalException
SystemException
public List<DLFileEntry> getFileEntries(long groupId, long folderId, int start, int end, OrderByComparator obc) throws SystemException
getFileEntries
in interface DLFileEntryService
SystemException
public List<DLFileEntry> getFileEntries(long groupId, long folderId, long fileEntryTypeId, int start, int end, OrderByComparator obc) throws SystemException
getFileEntries
in interface DLFileEntryService
SystemException
public List<DLFileEntry> getFileEntries(long groupId, long folderId, String[] mimeTypes, int start, int end, OrderByComparator obc) throws SystemException
getFileEntries
in interface DLFileEntryService
SystemException
public int getFileEntriesCount(long groupId, long folderId) throws SystemException
getFileEntriesCount
in interface DLFileEntryService
SystemException
public int getFileEntriesCount(long groupId, long folderId, long fileEntryTypeId) throws SystemException
getFileEntriesCount
in interface DLFileEntryService
SystemException
public int getFileEntriesCount(long groupId, long folderId, String[] mimeTypes) throws SystemException
getFileEntriesCount
in interface DLFileEntryService
SystemException
public DLFileEntry getFileEntry(long fileEntryId) throws PortalException, SystemException
getFileEntry
in interface DLFileEntryService
PortalException
SystemException
public DLFileEntry getFileEntry(long groupId, long folderId, String title) throws PortalException, SystemException
getFileEntry
in interface DLFileEntryService
PortalException
SystemException
public DLFileEntry getFileEntryByUuidAndGroupId(String uuid, long groupId) throws PortalException, SystemException
getFileEntryByUuidAndGroupId
in interface DLFileEntryService
PortalException
SystemException
public Lock getFileEntryLock(long fileEntryId)
getFileEntryLock
in interface DLFileEntryService
public int getFoldersFileEntriesCount(long groupId, List<Long> folderIds, int status) throws SystemException
getFoldersFileEntriesCount
in interface DLFileEntryService
SystemException
public List<DLFileEntry> getGroupFileEntries(long groupId, long userId, long rootFolderId, int start, int end, OrderByComparator obc) throws SystemException
getGroupFileEntries
in interface DLFileEntryService
SystemException
public List<DLFileEntry> getGroupFileEntries(long groupId, long userId, long rootFolderId, String[] mimeTypes, int status, int start, int end, OrderByComparator obc) throws SystemException
getGroupFileEntries
in interface DLFileEntryService
SystemException
public int getGroupFileEntriesCount(long groupId, long userId, long rootFolderId) throws SystemException
getGroupFileEntriesCount
in interface DLFileEntryService
SystemException
public int getGroupFileEntriesCount(long groupId, long userId, long rootFolderId, String[] mimeTypes, int status) throws SystemException
getGroupFileEntriesCount
in interface DLFileEntryService
SystemException
public boolean hasFileEntryLock(long fileEntryId) throws PortalException, SystemException
hasFileEntryLock
in interface DLFileEntryService
PortalException
SystemException
public boolean isFileEntryCheckedOut(long fileEntryId) throws PortalException, SystemException
isFileEntryCheckedOut
in interface DLFileEntryService
PortalException
SystemException
public DLFileEntry moveFileEntry(long fileEntryId, long newFolderId, ServiceContext serviceContext) throws PortalException, SystemException
moveFileEntry
in interface DLFileEntryService
PortalException
SystemException
public Lock refreshFileEntryLock(String lockUuid, long expirationTime) throws PortalException, SystemException
refreshFileEntryLock
in interface DLFileEntryService
PortalException
SystemException
public void revertFileEntry(long fileEntryId, String version, ServiceContext serviceContext) throws PortalException, SystemException
revertFileEntry
in interface DLFileEntryService
PortalException
SystemException
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
updateFileEntry
in interface DLFileEntryService
PortalException
SystemException
public boolean verifyFileEntryCheckOut(long fileEntryId, String lockUuid) throws PortalException, SystemException
verifyFileEntryCheckOut
in interface DLFileEntryService
PortalException
SystemException
public boolean verifyFileEntryLock(long fileEntryId, String lockUuid) throws PortalException, SystemException
verifyFileEntryLock
in interface DLFileEntryService
PortalException
SystemException
public DLFileEntryService getWrappedDLFileEntryService()
getWrappedService()
public void setWrappedDLFileEntryService(DLFileEntryService dlFileEntryService)
setWrappedService(com.liferay.portlet.documentlibrary.service.DLFileEntryService)
public DLFileEntryService getWrappedService()
getWrappedService
in interface ServiceWrapper<DLFileEntryService>
public void setWrappedService(DLFileEntryService dlFileEntryService)
setWrappedService
in interface ServiceWrapper<DLFileEntryService>
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |