@AccessControlled @JSONWebService @ProviderType @Transactional(isolation=PORTAL, rollbackFor={PortalException.class,SystemException.class}) public interface DLFileEntryService extends BaseService
DLFileEntryServiceUtil
,
DLFileEntryServiceBaseImpl
,
DLFileEntryServiceImpl
Modifier and Type | Method and Description |
---|---|
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,
ServiceContext serviceContext) |
DLFileEntry |
checkOutFileEntry(long fileEntryId,
ServiceContext 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 status,
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) |
int |
getFileEntriesCount(long groupId,
long folderId,
String[] mimeTypes,
int status) |
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.
|
boolean |
hasFileEntryLock(long fileEntryId) |
boolean |
isFileEntryCheckedOut(long fileEntryId) |
boolean |
isKeepFileVersionLabel(long fileEntryId,
boolean majorVersion,
ServiceContext serviceContext) |
boolean |
isKeepFileVersionLabel(long fileEntryId,
ServiceContext serviceContext)
Deprecated.
As of Wilberforce (7.0.x), replaced by
isKeepFileVersionLabel(long, boolean, 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) |
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) |
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
PortalException
DLFileVersion cancelCheckOut(long fileEntryId) throws PortalException
PortalException
void checkInFileEntry(long fileEntryId, boolean major, String changeLog, ServiceContext serviceContext) throws PortalException
PortalException
void checkInFileEntry(long fileEntryId, String lockUuid, ServiceContext serviceContext) throws PortalException
PortalException
DLFileEntry checkOutFileEntry(long fileEntryId, ServiceContext serviceContext) throws PortalException
PortalException
DLFileEntry checkOutFileEntry(long fileEntryId, String owner, long expirationTime, ServiceContext serviceContext) throws PortalException
PortalException
DLFileEntry copyFileEntry(long groupId, long repositoryId, long fileEntryId, long destFolderId, ServiceContext serviceContext) throws PortalException
PortalException
void deleteFileEntry(long fileEntryId) throws PortalException
PortalException
void deleteFileEntry(long groupId, long folderId, String title) throws PortalException
PortalException
void deleteFileVersion(long fileEntryId, String version) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) DLFileEntry fetchFileEntryByImageId(long imageId) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) InputStream getFileAsStream(long fileEntryId, String version) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) InputStream getFileAsStream(long fileEntryId, String version, boolean incrementCounter) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) List<DLFileEntry> getFileEntries(long groupId, long folderId, int status, int start, int end, OrderByComparator<DLFileEntry> obc) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) List<DLFileEntry> getFileEntries(long groupId, long folderId, int start, int end, OrderByComparator<DLFileEntry> obc) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) List<DLFileEntry> getFileEntries(long groupId, long folderId, long fileEntryTypeId, int start, int end, OrderByComparator<DLFileEntry> obc) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) List<DLFileEntry> getFileEntries(long groupId, long folderId, String[] mimeTypes, int status, int start, int end, OrderByComparator<DLFileEntry> obc) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) List<DLFileEntry> getFileEntries(long groupId, long folderId, String[] mimeTypes, int start, int end, OrderByComparator<DLFileEntry> obc) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) int getFileEntriesCount(long groupId, long folderId)
@Transactional(propagation=SUPPORTS, readOnly=true) int getFileEntriesCount(long groupId, long folderId, int status)
@Transactional(propagation=SUPPORTS, readOnly=true) int getFileEntriesCount(long groupId, long folderId, long fileEntryTypeId)
@Transactional(propagation=SUPPORTS, readOnly=true) int getFileEntriesCount(long groupId, long folderId, String[] mimeTypes)
@Transactional(propagation=SUPPORTS, readOnly=true) int getFileEntriesCount(long groupId, long folderId, String[] mimeTypes, int status)
@Transactional(propagation=SUPPORTS, readOnly=true) DLFileEntry getFileEntry(long fileEntryId) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) DLFileEntry getFileEntry(long groupId, long folderId, String title) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) DLFileEntry getFileEntryByUuidAndGroupId(String uuid, long groupId) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) Lock getFileEntryLock(long fileEntryId)
@Transactional(propagation=SUPPORTS, readOnly=true) int getFoldersFileEntriesCount(long groupId, List<Long> folderIds, int status)
@Transactional(propagation=SUPPORTS, readOnly=true) List<DLFileEntry> getGroupFileEntries(long groupId, long userId, long rootFolderId, int start, int end, OrderByComparator<DLFileEntry> obc) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) List<DLFileEntry> getGroupFileEntries(long groupId, long userId, long repositoryId, long rootFolderId, String[] mimeTypes, int status, int start, int end, OrderByComparator<DLFileEntry> obc) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) List<DLFileEntry> getGroupFileEntries(long groupId, long userId, long rootFolderId, String[] mimeTypes, int status, int start, int end, OrderByComparator<DLFileEntry> obc) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) int getGroupFileEntriesCount(long groupId, long userId, long rootFolderId) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) int getGroupFileEntriesCount(long groupId, long userId, long repositoryId, long rootFolderId, String[] mimeTypes, int status) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) int getGroupFileEntriesCount(long groupId, long userId, long rootFolderId, String[] mimeTypes, int status) throws PortalException
PortalException
String getOSGiServiceIdentifier()
@Transactional(propagation=SUPPORTS, readOnly=true) boolean hasFileEntryLock(long fileEntryId) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) boolean isFileEntryCheckedOut(long fileEntryId) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) boolean isKeepFileVersionLabel(long fileEntryId, boolean majorVersion, ServiceContext serviceContext) throws PortalException
PortalException
@Deprecated @Transactional(propagation=SUPPORTS, readOnly=true) boolean isKeepFileVersionLabel(long fileEntryId, ServiceContext serviceContext) throws PortalException
isKeepFileVersionLabel(long, boolean, ServiceContext)
PortalException
DLFileEntry moveFileEntry(long fileEntryId, long newFolderId, ServiceContext serviceContext) throws PortalException
PortalException
Lock refreshFileEntryLock(String lockUuid, long companyId, long expirationTime) throws PortalException
PortalException
void revertFileEntry(long fileEntryId, String version, ServiceContext serviceContext) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) Hits search(long groupId, long creatorUserId, int status, int start, int end) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) Hits search(long groupId, long creatorUserId, long folderId, String[] mimeTypes, int status, int start, int end) throws PortalException
PortalException
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
PortalException
DLFileEntry updateStatus(long userId, long fileVersionId, int status, ServiceContext serviceContext, Map<String,Serializable> workflowContext) throws PortalException
PortalException
boolean verifyFileEntryCheckOut(long fileEntryId, String lockUuid) throws PortalException
PortalException
boolean verifyFileEntryLock(long fileEntryId, String lockUuid) throws PortalException
PortalException