@ProviderType @AccessControlled @JSONWebService @Transactional(isolation=PORTAL, rollbackFor={PortalException.class,SystemException.class}) public interface DLFileEntryService extends BaseService
DLFileEntryServiceUtil,
com.liferay.portlet.documentlibrary.service.base.DLFileEntryServiceBaseImpl,
com.liferay.portlet.documentlibrary.service.impl.DLFileEntryServiceImpl| Modifier and Type | Method and Description |
|---|---|
DLFileEntry |
addFileEntry(long groupId,
long repositoryId,
long folderId,
java.lang.String sourceFileName,
java.lang.String mimeType,
java.lang.String title,
java.lang.String description,
java.lang.String changeLog,
long fileEntryTypeId,
java.util.Map<java.lang.String,Fields> fieldsMap,
java.io.File file,
java.io.InputStream is,
long size,
ServiceContext serviceContext) |
DLFileVersion |
cancelCheckOut(long fileEntryId) |
void |
checkInFileEntry(long fileEntryId,
boolean major,
java.lang.String changeLog,
ServiceContext serviceContext) |
void |
checkInFileEntry(long fileEntryId,
java.lang.String lockUuid)
Deprecated.
As of 6.2.0, replaced by
checkInFileEntry(long,
String, ServiceContext) |
void |
checkInFileEntry(long fileEntryId,
java.lang.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,
java.lang.String owner,
long expirationTime)
Deprecated.
As of 6.2.0, replaced by
checkOutFileEntry(long,
String, long, ServiceContext) |
DLFileEntry |
checkOutFileEntry(long fileEntryId,
java.lang.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,
java.lang.String title) |
void |
deleteFileVersion(long fileEntryId,
java.lang.String version) |
DLFileEntry |
fetchFileEntryByImageId(long imageId) |
java.lang.String |
getBeanIdentifier()
Returns the Spring bean ID for this bean.
|
java.io.InputStream |
getFileAsStream(long fileEntryId,
java.lang.String version) |
java.io.InputStream |
getFileAsStream(long fileEntryId,
java.lang.String version,
boolean incrementCounter) |
java.util.List<DLFileEntry> |
getFileEntries(long groupId,
long folderId,
int status,
int start,
int end,
OrderByComparator obc) |
java.util.List<DLFileEntry> |
getFileEntries(long groupId,
long folderId,
int start,
int end,
OrderByComparator obc) |
java.util.List<DLFileEntry> |
getFileEntries(long groupId,
long folderId,
long fileEntryTypeId,
int start,
int end,
OrderByComparator obc) |
java.util.List<DLFileEntry> |
getFileEntries(long groupId,
long folderId,
java.lang.String[] mimeTypes,
int start,
int end,
OrderByComparator 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,
java.lang.String[] mimeTypes) |
DLFileEntry |
getFileEntry(long fileEntryId) |
DLFileEntry |
getFileEntry(long groupId,
long folderId,
java.lang.String title) |
DLFileEntry |
getFileEntryByUuidAndGroupId(java.lang.String uuid,
long groupId) |
Lock |
getFileEntryLock(long fileEntryId) |
int |
getFoldersFileEntriesCount(long groupId,
java.util.List<java.lang.Long> folderIds,
int status) |
java.util.List<DLFileEntry> |
getGroupFileEntries(long groupId,
long userId,
long rootFolderId,
int start,
int end,
OrderByComparator obc) |
java.util.List<DLFileEntry> |
getGroupFileEntries(long groupId,
long userId,
long repositoryId,
long rootFolderId,
java.lang.String[] mimeTypes,
int status,
int start,
int end,
OrderByComparator obc) |
java.util.List<DLFileEntry> |
getGroupFileEntries(long groupId,
long userId,
long rootFolderId,
java.lang.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 repositoryId,
long rootFolderId,
java.lang.String[] mimeTypes,
int status) |
int |
getGroupFileEntriesCount(long groupId,
long userId,
long rootFolderId,
java.lang.String[] mimeTypes,
int status) |
boolean |
hasFileEntryLock(long fileEntryId) |
boolean |
isFileEntryCheckedOut(long fileEntryId) |
DLFileEntry |
moveFileEntry(long fileEntryId,
long newFolderId,
ServiceContext serviceContext) |
Lock |
refreshFileEntryLock(java.lang.String lockUuid,
long companyId,
long expirationTime) |
void |
revertFileEntry(long fileEntryId,
java.lang.String version,
ServiceContext serviceContext) |
Hits |
search(long groupId,
long creatorUserId,
int status,
int start,
int end) |
Hits |
search(long groupId,
long creatorUserId,
long folderId,
java.lang.String[] mimeTypes,
int status,
int start,
int end) |
void |
setBeanIdentifier(java.lang.String beanIdentifier)
Sets the Spring bean ID for this bean.
|
DLFileEntry |
updateFileEntry(long fileEntryId,
java.lang.String sourceFileName,
java.lang.String mimeType,
java.lang.String title,
java.lang.String description,
java.lang.String changeLog,
boolean majorVersion,
long fileEntryTypeId,
java.util.Map<java.lang.String,Fields> fieldsMap,
java.io.File file,
java.io.InputStream is,
long size,
ServiceContext serviceContext) |
boolean |
verifyFileEntryCheckOut(long fileEntryId,
java.lang.String lockUuid) |
boolean |
verifyFileEntryLock(long fileEntryId,
java.lang.String lockUuid) |
java.lang.String getBeanIdentifier()
void setBeanIdentifier(java.lang.String beanIdentifier)
beanIdentifier - the Spring bean ID for this beanDLFileEntry addFileEntry(long groupId, long repositoryId, long folderId, java.lang.String sourceFileName, java.lang.String mimeType, java.lang.String title, java.lang.String description, java.lang.String changeLog, long fileEntryTypeId, java.util.Map<java.lang.String,Fields> fieldsMap, java.io.File file, java.io.InputStream is, long size, ServiceContext serviceContext) throws PortalException, SystemException
PortalExceptionSystemExceptionDLFileVersion cancelCheckOut(long fileEntryId) throws PortalException, SystemException
PortalExceptionSystemExceptionvoid checkInFileEntry(long fileEntryId,
boolean major,
java.lang.String changeLog,
ServiceContext serviceContext)
throws PortalException,
SystemException
PortalExceptionSystemExceptionvoid checkInFileEntry(long fileEntryId,
java.lang.String lockUuid)
throws PortalException,
SystemException
checkInFileEntry(long,
String, ServiceContext)PortalExceptionSystemExceptionvoid checkInFileEntry(long fileEntryId,
java.lang.String lockUuid,
ServiceContext serviceContext)
throws PortalException,
SystemException
PortalExceptionSystemExceptionDLFileEntry checkOutFileEntry(long fileEntryId) throws PortalException, SystemException
checkOutFileEntry(long,
ServiceContext)PortalExceptionSystemExceptionDLFileEntry checkOutFileEntry(long fileEntryId, ServiceContext serviceContext) throws PortalException, SystemException
PortalExceptionSystemExceptionDLFileEntry checkOutFileEntry(long fileEntryId, java.lang.String owner, long expirationTime) throws PortalException, SystemException
checkOutFileEntry(long,
String, long, ServiceContext)PortalExceptionSystemExceptionDLFileEntry checkOutFileEntry(long fileEntryId, java.lang.String owner, long expirationTime, ServiceContext serviceContext) throws PortalException, SystemException
PortalExceptionSystemExceptionDLFileEntry copyFileEntry(long groupId, long repositoryId, long fileEntryId, long destFolderId, ServiceContext serviceContext) throws PortalException, SystemException
PortalExceptionSystemExceptionvoid deleteFileEntry(long fileEntryId)
throws PortalException,
SystemException
PortalExceptionSystemExceptionvoid deleteFileEntry(long groupId,
long folderId,
java.lang.String title)
throws PortalException,
SystemException
PortalExceptionSystemExceptionvoid deleteFileVersion(long fileEntryId,
java.lang.String version)
throws PortalException,
SystemException
PortalExceptionSystemException@Transactional(propagation=SUPPORTS, readOnly=true) DLFileEntry fetchFileEntryByImageId(long imageId) throws PortalException, SystemException
PortalExceptionSystemExceptionjava.io.InputStream getFileAsStream(long fileEntryId,
java.lang.String version)
throws PortalException,
SystemException
PortalExceptionSystemExceptionjava.io.InputStream getFileAsStream(long fileEntryId,
java.lang.String version,
boolean incrementCounter)
throws PortalException,
SystemException
PortalExceptionSystemException@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<DLFileEntry> getFileEntries(long groupId, long folderId, int status, int start, int end, OrderByComparator obc) throws PortalException, SystemException
PortalExceptionSystemException@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<DLFileEntry> getFileEntries(long groupId, long folderId, int start, int end, OrderByComparator obc) throws PortalException, SystemException
PortalExceptionSystemException@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<DLFileEntry> getFileEntries(long groupId, long folderId, long fileEntryTypeId, int start, int end, OrderByComparator obc) throws PortalException, SystemException
PortalExceptionSystemException@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<DLFileEntry> getFileEntries(long groupId, long folderId, java.lang.String[] mimeTypes, int start, int end, OrderByComparator obc) throws PortalException, SystemException
PortalExceptionSystemException@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, int status) 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, java.lang.String[] mimeTypes) throws SystemException
SystemException@Transactional(propagation=SUPPORTS, readOnly=true) DLFileEntry getFileEntry(long fileEntryId) throws PortalException, SystemException
PortalExceptionSystemException@Transactional(propagation=SUPPORTS, readOnly=true) DLFileEntry getFileEntry(long groupId, long folderId, java.lang.String title) throws PortalException, SystemException
PortalExceptionSystemException@Transactional(propagation=SUPPORTS, readOnly=true) DLFileEntry getFileEntryByUuidAndGroupId(java.lang.String uuid, long groupId) throws PortalException, SystemException
PortalExceptionSystemException@Transactional(propagation=SUPPORTS, readOnly=true) Lock getFileEntryLock(long fileEntryId)
@Transactional(propagation=SUPPORTS, readOnly=true) int getFoldersFileEntriesCount(long groupId, java.util.List<java.lang.Long> folderIds, int status) throws SystemException
SystemException@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<DLFileEntry> getGroupFileEntries(long groupId, long userId, long rootFolderId, int start, int end, OrderByComparator obc) throws PortalException, SystemException
PortalExceptionSystemException@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<DLFileEntry> getGroupFileEntries(long groupId, long userId, long rootFolderId, java.lang.String[] mimeTypes, int status, int start, int end, OrderByComparator obc) throws PortalException, SystemException
PortalExceptionSystemException@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<DLFileEntry> getGroupFileEntries(long groupId, long userId, long repositoryId, long rootFolderId, java.lang.String[] mimeTypes, int status, int start, int end, OrderByComparator obc) throws PortalException, SystemException
PortalExceptionSystemException@Transactional(propagation=SUPPORTS, readOnly=true) int getGroupFileEntriesCount(long groupId, long userId, long rootFolderId) throws PortalException, SystemException
PortalExceptionSystemException@Transactional(propagation=SUPPORTS, readOnly=true) int getGroupFileEntriesCount(long groupId, long userId, long rootFolderId, java.lang.String[] mimeTypes, int status) throws PortalException, SystemException
PortalExceptionSystemException@Transactional(propagation=SUPPORTS, readOnly=true) int getGroupFileEntriesCount(long groupId, long userId, long repositoryId, long rootFolderId, java.lang.String[] mimeTypes, int status) throws PortalException, SystemException
PortalExceptionSystemException@Transactional(propagation=SUPPORTS, readOnly=true) boolean hasFileEntryLock(long fileEntryId) throws PortalException, SystemException
PortalExceptionSystemException@Transactional(propagation=SUPPORTS, readOnly=true) boolean isFileEntryCheckedOut(long fileEntryId) throws PortalException, SystemException
PortalExceptionSystemExceptionDLFileEntry moveFileEntry(long fileEntryId, long newFolderId, ServiceContext serviceContext) throws PortalException, SystemException
PortalExceptionSystemExceptionLock refreshFileEntryLock(java.lang.String lockUuid, long companyId, long expirationTime) throws PortalException, SystemException
PortalExceptionSystemExceptionvoid revertFileEntry(long fileEntryId,
java.lang.String version,
ServiceContext serviceContext)
throws PortalException,
SystemException
PortalExceptionSystemException@Transactional(propagation=SUPPORTS, readOnly=true) Hits search(long groupId, long creatorUserId, int status, int start, int end) throws PortalException, SystemException
PortalExceptionSystemException@Transactional(propagation=SUPPORTS, readOnly=true) Hits search(long groupId, long creatorUserId, long folderId, java.lang.String[] mimeTypes, int status, int start, int end) throws PortalException, SystemException
PortalExceptionSystemExceptionDLFileEntry updateFileEntry(long fileEntryId, java.lang.String sourceFileName, java.lang.String mimeType, java.lang.String title, java.lang.String description, java.lang.String changeLog, boolean majorVersion, long fileEntryTypeId, java.util.Map<java.lang.String,Fields> fieldsMap, java.io.File file, java.io.InputStream is, long size, ServiceContext serviceContext) throws PortalException, SystemException
PortalExceptionSystemExceptionboolean verifyFileEntryCheckOut(long fileEntryId,
java.lang.String lockUuid)
throws PortalException,
SystemException
PortalExceptionSystemExceptionboolean verifyFileEntryLock(long fileEntryId,
java.lang.String lockUuid)
throws PortalException,
SystemException
PortalExceptionSystemException