|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@JSONWebService @Transactional(isolation=PORTAL, rollbackFor={PortalException.class,SystemException.class}) public interface DLFileEntryService
The interface for the document library file entry remote service.
This is a remote service. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.
DLFileEntryServiceUtil
,
DLFileEntryServiceBaseImpl
,
DLFileEntryServiceImpl
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)
|
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. |
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)
|
Method Detail |
---|
String getBeanIdentifier()
void setBeanIdentifier(String beanIdentifier)
beanIdentifier
- the Spring bean ID for this beanDLFileEntry 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
PortalException
SystemException
DLFileVersion cancelCheckOut(long fileEntryId) throws PortalException, SystemException
PortalException
SystemException
void checkInFileEntry(long fileEntryId, boolean major, String changeLog, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
void checkInFileEntry(long fileEntryId, String lockUuid) throws PortalException, SystemException
PortalException
SystemException
DLFileEntry checkOutFileEntry(long fileEntryId) throws PortalException, SystemException
checkOutFileEntry(long, ServiceContext)
PortalException
SystemException
DLFileEntry checkOutFileEntry(long fileEntryId, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
DLFileEntry checkOutFileEntry(long fileEntryId, String owner, long expirationTime) throws PortalException, SystemException
checkOutFileEntry(long, String, long,
ServiceContext)
PortalException
SystemException
DLFileEntry checkOutFileEntry(long fileEntryId, String owner, long expirationTime, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
DLFileEntry copyFileEntry(long groupId, long repositoryId, long fileEntryId, long destFolderId, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
void deleteFileEntry(long fileEntryId) throws PortalException, SystemException
PortalException
SystemException
void deleteFileEntry(long groupId, long folderId, String title) throws PortalException, SystemException
PortalException
SystemException
void deleteFileVersion(long fileEntryId, String version) throws PortalException, SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) DLFileEntry fetchFileEntryByImageId(long imageId) throws PortalException, SystemException
PortalException
SystemException
InputStream getFileAsStream(long fileEntryId, String version) throws PortalException, SystemException
PortalException
SystemException
InputStream getFileAsStream(long fileEntryId, String version, boolean incrementCounter) throws PortalException, SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) List<DLFileEntry> getFileEntries(long groupId, long folderId, int start, int end, OrderByComparator obc) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) List<DLFileEntry> getFileEntries(long groupId, long folderId, long fileEntryTypeId, int start, int end, OrderByComparator obc) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) List<DLFileEntry> getFileEntries(long groupId, long folderId, String[] mimeTypes, int start, int end, OrderByComparator obc) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) int getFileEntriesCount(long groupId, long folderId) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) int getFileEntriesCount(long groupId, long folderId, long fileEntryTypeId) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) int getFileEntriesCount(long groupId, long folderId, String[] mimeTypes) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) DLFileEntry getFileEntry(long fileEntryId) throws PortalException, SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) DLFileEntry getFileEntry(long groupId, long folderId, String title) throws PortalException, SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) DLFileEntry getFileEntryByUuidAndGroupId(String uuid, long groupId) throws PortalException, SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) Lock getFileEntryLock(long fileEntryId)
@Transactional(propagation=SUPPORTS, readOnly=true) int getFoldersFileEntriesCount(long groupId, List<Long> folderIds, int status) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) List<DLFileEntry> getGroupFileEntries(long groupId, long userId, long rootFolderId, int start, int end, OrderByComparator obc) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) List<DLFileEntry> getGroupFileEntries(long groupId, long userId, long rootFolderId, String[] mimeTypes, int status, int start, int end, OrderByComparator obc) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) int getGroupFileEntriesCount(long groupId, long userId, long rootFolderId) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) int getGroupFileEntriesCount(long groupId, long userId, long rootFolderId, String[] mimeTypes, int status) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) boolean hasFileEntryLock(long fileEntryId) throws PortalException, SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) boolean isFileEntryCheckedOut(long fileEntryId) throws PortalException, SystemException
PortalException
SystemException
DLFileEntry moveFileEntry(long fileEntryId, long newFolderId, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
Lock refreshFileEntryLock(String lockUuid, long expirationTime) throws PortalException, SystemException
PortalException
SystemException
void revertFileEntry(long fileEntryId, String version, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
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
PortalException
SystemException
boolean verifyFileEntryCheckOut(long fileEntryId, String lockUuid) throws PortalException, SystemException
PortalException
SystemException
boolean verifyFileEntryLock(long fileEntryId, String lockUuid) throws PortalException, SystemException
PortalException
SystemException
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |