|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.documentlibrary.service.DLFileEntryServiceWrapper
@ProviderType public class DLFileEntryServiceWrapper
Provides 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,DDMFormValues> ddmFormValuesMap,
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)
Deprecated. As of 6.2.0, replaced by checkInFileEntry(long,
String, ServiceContext) |
void |
checkInFileEntry(long fileEntryId,
String lockUuid,
ServiceContext serviceContext)
|
DLFileEntry |
checkOutFileEntry(long fileEntryId)
Deprecated. As of 6.2.0, replaced by checkOutFileEntry(long,
ServiceContext) |
DLFileEntry |
checkOutFileEntry(long fileEntryId,
ServiceContext serviceContext)
|
DLFileEntry |
checkOutFileEntry(long fileEntryId,
String owner,
long expirationTime)
Deprecated. As of 6.2.0, replaced by 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)
|
InputStream |
getFileAsStream(long fileEntryId,
String version)
|
InputStream |
getFileAsStream(long fileEntryId,
String version,
boolean incrementCounter)
|
List<DLFileEntry> |
getFileEntries(long groupId,
long folderId,
int status,
int start,
int end,
OrderByComparator<DLFileEntry> obc)
|
List<DLFileEntry> |
getFileEntries(long groupId,
long folderId,
int start,
int end,
OrderByComparator<DLFileEntry> obc)
|
List<DLFileEntry> |
getFileEntries(long groupId,
long folderId,
long fileEntryTypeId,
int start,
int end,
OrderByComparator<DLFileEntry> obc)
|
List<DLFileEntry> |
getFileEntries(long groupId,
long folderId,
String[] mimeTypes,
int start,
int end,
OrderByComparator<DLFileEntry> obc)
|
int |
getFileEntriesCount(long groupId,
long folderId)
|
int |
getFileEntriesCount(long groupId,
long folderId,
int status)
|
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<DLFileEntry> obc)
|
List<DLFileEntry> |
getGroupFileEntries(long groupId,
long userId,
long repositoryId,
long rootFolderId,
String[] mimeTypes,
int status,
int start,
int end,
OrderByComparator<DLFileEntry> obc)
|
List<DLFileEntry> |
getGroupFileEntries(long groupId,
long userId,
long rootFolderId,
String[] mimeTypes,
int status,
int start,
int end,
OrderByComparator<DLFileEntry> obc)
|
int |
getGroupFileEntriesCount(long groupId,
long userId,
long rootFolderId)
|
int |
getGroupFileEntriesCount(long groupId,
long userId,
long repositoryId,
long rootFolderId,
String[] mimeTypes,
int status)
|
int |
getGroupFileEntriesCount(long groupId,
long userId,
long rootFolderId,
String[] mimeTypes,
int status)
|
String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier. |
DLFileEntryService |
getWrappedService()
|
boolean |
hasFileEntryLock(long fileEntryId)
|
boolean |
isFileEntryCheckedOut(long fileEntryId)
|
boolean |
isKeepFileVersionLabel(long fileEntryId,
ServiceContext serviceContext)
|
DLFileEntry |
moveFileEntry(long fileEntryId,
long newFolderId,
ServiceContext serviceContext)
|
Lock |
refreshFileEntryLock(String lockUuid,
long companyId,
long expirationTime)
|
void |
revertFileEntry(long fileEntryId,
String version,
ServiceContext serviceContext)
|
Hits |
search(long groupId,
long creatorUserId,
int status,
int start,
int end)
|
Hits |
search(long groupId,
long creatorUserId,
long folderId,
String[] mimeTypes,
int status,
int start,
int end)
|
void |
setWrappedService(DLFileEntryService dlFileEntryService)
|
DLFileEntry |
updateFileEntry(long fileEntryId,
String sourceFileName,
String mimeType,
String title,
String description,
String changeLog,
boolean majorVersion,
long fileEntryTypeId,
Map<String,DDMFormValues> ddmFormValuesMap,
File file,
InputStream is,
long size,
ServiceContext serviceContext)
|
DLFileEntry |
updateStatus(long userId,
long fileVersionId,
int status,
ServiceContext serviceContext,
Map<String,Serializable> workflowContext)
|
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 DLFileEntry addFileEntry(long groupId,
long repositoryId,
long folderId,
String sourceFileName,
String mimeType,
String title,
String description,
String changeLog,
long fileEntryTypeId,
Map<String,DDMFormValues> ddmFormValuesMap,
File file,
InputStream is,
long size,
ServiceContext serviceContext)
throws PortalException
addFileEntry in interface DLFileEntryServicePortalException
public DLFileVersion cancelCheckOut(long fileEntryId)
throws PortalException
cancelCheckOut in interface DLFileEntryServicePortalException
@Deprecated
public void checkInFileEntry(long fileEntryId,
String lockUuid)
throws PortalException
checkInFileEntry(long,
String, ServiceContext)
checkInFileEntry in interface DLFileEntryServicePortalException
public void checkInFileEntry(long fileEntryId,
String lockUuid,
ServiceContext serviceContext)
throws PortalException
checkInFileEntry in interface DLFileEntryServicePortalException
public void checkInFileEntry(long fileEntryId,
boolean major,
String changeLog,
ServiceContext serviceContext)
throws PortalException
checkInFileEntry in interface DLFileEntryServicePortalException
@Deprecated
public DLFileEntry checkOutFileEntry(long fileEntryId)
throws PortalException
checkOutFileEntry(long,
ServiceContext)
checkOutFileEntry in interface DLFileEntryServicePortalException
@Deprecated
public DLFileEntry checkOutFileEntry(long fileEntryId,
String owner,
long expirationTime)
throws PortalException
checkOutFileEntry(long,
String, long, ServiceContext)
checkOutFileEntry in interface DLFileEntryServicePortalException
public DLFileEntry checkOutFileEntry(long fileEntryId,
String owner,
long expirationTime,
ServiceContext serviceContext)
throws PortalException
checkOutFileEntry in interface DLFileEntryServicePortalException
public DLFileEntry checkOutFileEntry(long fileEntryId,
ServiceContext serviceContext)
throws PortalException
checkOutFileEntry in interface DLFileEntryServicePortalException
public DLFileEntry copyFileEntry(long groupId,
long repositoryId,
long fileEntryId,
long destFolderId,
ServiceContext serviceContext)
throws PortalException
copyFileEntry in interface DLFileEntryServicePortalException
public void deleteFileEntry(long fileEntryId)
throws PortalException
deleteFileEntry in interface DLFileEntryServicePortalException
public void deleteFileEntry(long groupId,
long folderId,
String title)
throws PortalException
deleteFileEntry in interface DLFileEntryServicePortalException
public void deleteFileVersion(long fileEntryId,
String version)
throws PortalException
deleteFileVersion in interface DLFileEntryServicePortalException
public DLFileEntry fetchFileEntryByImageId(long imageId)
throws PortalException
fetchFileEntryByImageId in interface DLFileEntryServicePortalException
public InputStream getFileAsStream(long fileEntryId,
String version)
throws PortalException
getFileAsStream in interface DLFileEntryServicePortalException
public InputStream getFileAsStream(long fileEntryId,
String version,
boolean incrementCounter)
throws PortalException
getFileAsStream in interface DLFileEntryServicePortalException
public List<DLFileEntry> getFileEntries(long groupId,
long folderId,
long fileEntryTypeId,
int start,
int end,
OrderByComparator<DLFileEntry> obc)
throws PortalException
getFileEntries in interface DLFileEntryServicePortalException
public List<DLFileEntry> getFileEntries(long groupId,
long folderId,
String[] mimeTypes,
int start,
int end,
OrderByComparator<DLFileEntry> obc)
throws PortalException
getFileEntries in interface DLFileEntryServicePortalException
public List<DLFileEntry> getFileEntries(long groupId,
long folderId,
int start,
int end,
OrderByComparator<DLFileEntry> obc)
throws PortalException
getFileEntries in interface DLFileEntryServicePortalException
public List<DLFileEntry> getFileEntries(long groupId,
long folderId,
int status,
int start,
int end,
OrderByComparator<DLFileEntry> obc)
throws PortalException
getFileEntries in interface DLFileEntryServicePortalException
public int getFileEntriesCount(long groupId,
long folderId)
getFileEntriesCount in interface DLFileEntryService
public int getFileEntriesCount(long groupId,
long folderId,
long fileEntryTypeId)
getFileEntriesCount in interface DLFileEntryService
public int getFileEntriesCount(long groupId,
long folderId,
String[] mimeTypes)
getFileEntriesCount in interface DLFileEntryService
public int getFileEntriesCount(long groupId,
long folderId,
int status)
getFileEntriesCount in interface DLFileEntryService
public DLFileEntry getFileEntry(long fileEntryId)
throws PortalException
getFileEntry in interface DLFileEntryServicePortalException
public DLFileEntry getFileEntry(long groupId,
long folderId,
String title)
throws PortalException
getFileEntry in interface DLFileEntryServicePortalException
public DLFileEntry getFileEntryByUuidAndGroupId(String uuid,
long groupId)
throws PortalException
getFileEntryByUuidAndGroupId in interface DLFileEntryServicePortalExceptionpublic Lock getFileEntryLock(long fileEntryId)
getFileEntryLock in interface DLFileEntryService
public int getFoldersFileEntriesCount(long groupId,
List<Long> folderIds,
int status)
getFoldersFileEntriesCount in interface DLFileEntryService
public List<DLFileEntry> getGroupFileEntries(long groupId,
long userId,
long repositoryId,
long rootFolderId,
String[] mimeTypes,
int status,
int start,
int end,
OrderByComparator<DLFileEntry> obc)
throws PortalException
getGroupFileEntries in interface DLFileEntryServicePortalException
public List<DLFileEntry> getGroupFileEntries(long groupId,
long userId,
long rootFolderId,
String[] mimeTypes,
int status,
int start,
int end,
OrderByComparator<DLFileEntry> obc)
throws PortalException
getGroupFileEntries in interface DLFileEntryServicePortalException
public List<DLFileEntry> getGroupFileEntries(long groupId,
long userId,
long rootFolderId,
int start,
int end,
OrderByComparator<DLFileEntry> obc)
throws PortalException
getGroupFileEntries in interface DLFileEntryServicePortalException
public int getGroupFileEntriesCount(long groupId,
long userId,
long repositoryId,
long rootFolderId,
String[] mimeTypes,
int status)
throws PortalException
getGroupFileEntriesCount in interface DLFileEntryServicePortalException
public int getGroupFileEntriesCount(long groupId,
long userId,
long rootFolderId)
throws PortalException
getGroupFileEntriesCount in interface DLFileEntryServicePortalException
public int getGroupFileEntriesCount(long groupId,
long userId,
long rootFolderId,
String[] mimeTypes,
int status)
throws PortalException
getGroupFileEntriesCount in interface DLFileEntryServicePortalExceptionpublic String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface DLFileEntryService
public boolean hasFileEntryLock(long fileEntryId)
throws PortalException
hasFileEntryLock in interface DLFileEntryServicePortalException
public boolean isFileEntryCheckedOut(long fileEntryId)
throws PortalException
isFileEntryCheckedOut in interface DLFileEntryServicePortalException
public boolean isKeepFileVersionLabel(long fileEntryId,
ServiceContext serviceContext)
throws PortalException
isKeepFileVersionLabel in interface DLFileEntryServicePortalException
public DLFileEntry moveFileEntry(long fileEntryId,
long newFolderId,
ServiceContext serviceContext)
throws PortalException
moveFileEntry in interface DLFileEntryServicePortalException
public Lock refreshFileEntryLock(String lockUuid,
long companyId,
long expirationTime)
throws PortalException
refreshFileEntryLock in interface DLFileEntryServicePortalException
public void revertFileEntry(long fileEntryId,
String version,
ServiceContext serviceContext)
throws PortalException
revertFileEntry in interface DLFileEntryServicePortalException
public Hits search(long groupId,
long creatorUserId,
long folderId,
String[] mimeTypes,
int status,
int start,
int end)
throws PortalException
search in interface DLFileEntryServicePortalException
public Hits search(long groupId,
long creatorUserId,
int status,
int start,
int end)
throws PortalException
search in interface DLFileEntryServicePortalException
public DLFileEntry updateFileEntry(long fileEntryId,
String sourceFileName,
String mimeType,
String title,
String description,
String changeLog,
boolean majorVersion,
long fileEntryTypeId,
Map<String,DDMFormValues> ddmFormValuesMap,
File file,
InputStream is,
long size,
ServiceContext serviceContext)
throws PortalException
updateFileEntry in interface DLFileEntryServicePortalException
public DLFileEntry updateStatus(long userId,
long fileVersionId,
int status,
ServiceContext serviceContext,
Map<String,Serializable> workflowContext)
throws PortalException
updateStatus in interface DLFileEntryServicePortalException
public boolean verifyFileEntryCheckOut(long fileEntryId,
String lockUuid)
throws PortalException
verifyFileEntryCheckOut in interface DLFileEntryServicePortalException
public boolean verifyFileEntryLock(long fileEntryId,
String lockUuid)
throws PortalException
verifyFileEntryLock in interface DLFileEntryServicePortalExceptionpublic DLFileEntryService getWrappedService()
getWrappedService in interface ServiceWrapper<DLFileEntryService>public void setWrappedService(DLFileEntryService dlFileEntryService)
setWrappedService in interface ServiceWrapper<DLFileEntryService>
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||