@ProviderType public class DLFileEntryLocalServiceWrapper extends java.lang.Object implements DLFileEntryLocalService, ServiceWrapper<DLFileEntryLocalService>
DLFileEntryLocalService.DLFileEntryLocalService| Constructor and Description |
|---|
DLFileEntryLocalServiceWrapper(DLFileEntryLocalService dlFileEntryLocalService) |
| Modifier and Type | Method and Description |
|---|---|
DLFileEntry |
addDLFileEntry(DLFileEntry dlFileEntry)
Adds the document library file entry to the database.
|
DLFileEntry |
addFileEntry(long userId,
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 userId,
long fileEntryId) |
void |
checkInFileEntry(long userId,
long fileEntryId,
boolean majorVersion,
java.lang.String changeLog,
ServiceContext serviceContext) |
void |
checkInFileEntry(long userId,
long fileEntryId,
java.lang.String lockUuid)
Deprecated.
As of 6.2.0, replaced by
checkInFileEntry(long, long,
String, ServiceContext) |
void |
checkInFileEntry(long userId,
long fileEntryId,
java.lang.String lockUuid,
ServiceContext serviceContext) |
DLFileEntry |
checkOutFileEntry(long userId,
long fileEntryId)
Deprecated.
As of 6.2.0, replaced by
checkOutFileEntry(long,
long, ServiceContext) |
DLFileEntry |
checkOutFileEntry(long userId,
long fileEntryId,
ServiceContext serviceContext) |
DLFileEntry |
checkOutFileEntry(long userId,
long fileEntryId,
java.lang.String owner,
long expirationTime)
Deprecated.
As of 6.2.0, replaced by
checkOutFileEntry(long,
long, String, long, ServiceContext) |
DLFileEntry |
checkOutFileEntry(long userId,
long fileEntryId,
java.lang.String owner,
long expirationTime,
ServiceContext serviceContext) |
void |
convertExtraSettings(java.lang.String[] keys) |
void |
copyFileEntryMetadata(long companyId,
long fileEntryTypeId,
long fileEntryId,
long fromFileVersionId,
long toFileVersionId,
ServiceContext serviceContext) |
DLFileEntry |
createDLFileEntry(long fileEntryId)
Creates a new document library file entry with the primary key.
|
DLFileEntry |
deleteDLFileEntry(DLFileEntry dlFileEntry)
Deletes the document library file entry from the database.
|
DLFileEntry |
deleteDLFileEntry(long fileEntryId)
Deletes the document library file entry with the primary key from the database.
|
void |
deleteFileEntries(long groupId,
long folderId) |
void |
deleteFileEntries(long groupId,
long folderId,
boolean includeTrashedEntries) |
DLFileEntry |
deleteFileEntry(DLFileEntry dlFileEntry) |
DLFileEntry |
deleteFileEntry(long fileEntryId) |
DLFileEntry |
deleteFileEntry(long userId,
long fileEntryId) |
DLFileEntry |
deleteFileVersion(long userId,
long fileEntryId,
java.lang.String version) |
void |
deleteRepositoryFileEntries(long repositoryId,
long folderId) |
void |
deleteRepositoryFileEntries(long repositoryId,
long folderId,
boolean includeTrashedEntries) |
DynamicQuery |
dynamicQuery() |
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.
|
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows.
|
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows.
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery)
Returns the number of rows that match the dynamic query.
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
Returns the number of rows that match the dynamic query.
|
DLFileEntry |
fetchDLFileEntry(long fileEntryId) |
DLFileEntry |
fetchDLFileEntryByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns the document library file entry with the matching UUID and company.
|
DLFileEntry |
fetchDLFileEntryByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the document library file entry matching the UUID and group.
|
DLFileEntry |
fetchFileEntry(long groupId,
long folderId,
java.lang.String title) |
DLFileEntry |
fetchFileEntryByAnyImageId(long imageId) |
DLFileEntry |
fetchFileEntryByName(long groupId,
long folderId,
java.lang.String name) |
java.lang.String |
getBeanIdentifier()
Returns the Spring bean ID for this bean.
|
java.util.List<DLFileEntry> |
getDDMStructureFileEntries(long[] ddmStructureIds) |
java.util.List<DLFileEntry> |
getDDMStructureFileEntries(long groupId,
long[] ddmStructureIds) |
java.util.List<DLFileEntry> |
getDLFileEntries(int start,
int end)
Returns a range of all the document library file entries.
|
int |
getDLFileEntriesCount()
Returns the number of document library file entries.
|
DLFileEntry |
getDLFileEntry(long fileEntryId)
Returns the document library file entry with the primary key.
|
DLFileEntry |
getDLFileEntryByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns the document library file entry with the matching UUID and company.
|
DLFileEntry |
getDLFileEntryByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the document library file entry matching the UUID and group.
|
java.util.List<DLFileEntry> |
getExtraSettingsFileEntries(int start,
int end) |
int |
getExtraSettingsFileEntriesCount() |
java.io.File |
getFile(long userId,
long fileEntryId,
java.lang.String version,
boolean incrementCounter) |
java.io.File |
getFile(long userId,
long fileEntryId,
java.lang.String version,
boolean incrementCounter,
int increment) |
java.io.InputStream |
getFileAsStream(long userId,
long fileEntryId,
java.lang.String version) |
java.io.InputStream |
getFileAsStream(long userId,
long fileEntryId,
java.lang.String version,
boolean incrementCounter) |
java.io.InputStream |
getFileAsStream(long userId,
long fileEntryId,
java.lang.String version,
boolean incrementCounter,
int increment) |
java.util.List<DLFileEntry> |
getFileEntries(int start,
int end) |
java.util.List<DLFileEntry> |
getFileEntries(long groupId,
long folderId) |
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 userId,
java.util.List<java.lang.Long> repositoryIds,
java.util.List<java.lang.Long> folderIds,
java.lang.String[] mimeTypes,
QueryDefinition queryDefinition) |
java.util.List<DLFileEntry> |
getFileEntries(long groupId,
long userId,
java.util.List<java.lang.Long> folderIds,
java.lang.String[] mimeTypes,
QueryDefinition queryDefinition) |
java.util.List<DLFileEntry> |
getFileEntries(long folderId,
java.lang.String name) |
int |
getFileEntriesCount() |
int |
getFileEntriesCount(long groupId,
DateRange dateRange,
long repositoryId,
QueryDefinition queryDefinition) |
int |
getFileEntriesCount(long groupId,
long folderId) |
int |
getFileEntriesCount(long groupId,
long folderId,
int status) |
int |
getFileEntriesCount(long groupId,
long userId,
java.util.List<java.lang.Long> repositoryIds,
java.util.List<java.lang.Long> folderIds,
java.lang.String[] mimeTypes,
QueryDefinition queryDefinition) |
int |
getFileEntriesCount(long groupId,
long userId,
java.util.List<java.lang.Long> folderIds,
java.lang.String[] mimeTypes,
QueryDefinition queryDefinition) |
DLFileEntry |
getFileEntry(long fileEntryId) |
DLFileEntry |
getFileEntry(long groupId,
long folderId,
java.lang.String title) |
DLFileEntry |
getFileEntryByName(long groupId,
long folderId,
java.lang.String name) |
DLFileEntry |
getFileEntryByUuidAndGroupId(java.lang.String uuid,
long groupId) |
java.util.List<DLFileEntry> |
getGroupFileEntries(long groupId,
int start,
int end) |
java.util.List<DLFileEntry> |
getGroupFileEntries(long groupId,
int start,
int end,
OrderByComparator obc) |
java.util.List<DLFileEntry> |
getGroupFileEntries(long groupId,
long userId,
int start,
int end) |
java.util.List<DLFileEntry> |
getGroupFileEntries(long groupId,
long userId,
int start,
int end,
OrderByComparator obc) |
int |
getGroupFileEntriesCount(long groupId) |
int |
getGroupFileEntriesCount(long groupId,
long userId) |
java.util.List<DLFileEntry> |
getMisversionedFileEntries() |
java.util.List<DLFileEntry> |
getNoAssetFileEntries() |
java.util.List<DLFileEntry> |
getOrphanedFileEntries() |
PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
DLFileEntryLocalService |
getWrappedDLFileEntryLocalService()
Deprecated.
As of 6.1.0, replaced by
getWrappedService() |
DLFileEntryLocalService |
getWrappedService() |
boolean |
hasExtraSettings() |
boolean |
hasFileEntryLock(long userId,
long fileEntryId) |
void |
incrementViewCounter(DLFileEntry dlFileEntry,
int increment) |
boolean |
isFileEntryCheckedOut(long fileEntryId) |
Lock |
lockFileEntry(long userId,
long fileEntryId) |
DLFileEntry |
moveFileEntry(long userId,
long fileEntryId,
long newFolderId,
ServiceContext serviceContext) |
void |
rebuildTree(long companyId) |
void |
revertFileEntry(long userId,
long fileEntryId,
java.lang.String version,
ServiceContext serviceContext) |
Hits |
search(long groupId,
long userId,
long creatorUserId,
int status,
int start,
int end) |
Hits |
search(long groupId,
long userId,
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.
|
void |
setWrappedDLFileEntryLocalService(DLFileEntryLocalService dlFileEntryLocalService)
Deprecated.
As of 6.1.0, replaced by
setWrappedService(com.liferay.portlet.documentlibrary.service.DLFileEntryLocalService) |
void |
setWrappedService(DLFileEntryLocalService dlFileEntryLocalService) |
void |
unlockFileEntry(long fileEntryId) |
DLFileEntry |
updateDLFileEntry(DLFileEntry dlFileEntry)
Updates the document library file entry in the database or adds it if it does not yet exist.
|
DLFileEntry |
updateFileEntry(long userId,
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) |
void |
updateSmallImage(long smallImageId,
long largeImageId) |
DLFileEntry |
updateStatus(long userId,
long fileVersionId,
int status,
java.util.Map<java.lang.String,java.io.Serializable> workflowContext,
ServiceContext serviceContext) |
void |
validateFile(long groupId,
long folderId,
long fileEntryId,
java.lang.String title,
java.lang.String extension) |
boolean |
verifyFileEntryCheckOut(long fileEntryId,
java.lang.String lockUuid) |
boolean |
verifyFileEntryLock(long fileEntryId,
java.lang.String lockUuid) |
public DLFileEntryLocalServiceWrapper(DLFileEntryLocalService dlFileEntryLocalService)
public DLFileEntry addDLFileEntry(DLFileEntry dlFileEntry) throws SystemException
addDLFileEntry in interface DLFileEntryLocalServicedlFileEntry - the document library file entrySystemException - if a system exception occurredpublic DLFileEntry createDLFileEntry(long fileEntryId)
createDLFileEntry in interface DLFileEntryLocalServicefileEntryId - the primary key for the new document library file entrypublic DLFileEntry deleteDLFileEntry(long fileEntryId) throws PortalException, SystemException
deleteDLFileEntry in interface DLFileEntryLocalServicefileEntryId - the primary key of the document library file entryPortalException - if a document library file entry with the primary key could not be foundSystemException - if a system exception occurredpublic DLFileEntry deleteDLFileEntry(DLFileEntry dlFileEntry) throws SystemException
deleteDLFileEntry in interface DLFileEntryLocalServicedlFileEntry - the document library file entrySystemException - if a system exception occurredpublic DynamicQuery dynamicQuery()
dynamicQuery in interface DLFileEntryLocalServicepublic java.util.List dynamicQuery(DynamicQuery dynamicQuery) throws SystemException
dynamicQuery in interface DLFileEntryLocalServicedynamicQuery - the dynamic querySystemException - if a system exception occurredpublic java.util.List dynamicQuery(DynamicQuery dynamicQuery, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
dynamicQuery in interface DLFileEntryLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)SystemException - if a system exception occurredpublic java.util.List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
dynamicQuery in interface DLFileEntryLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic long dynamicQueryCount(DynamicQuery dynamicQuery) throws SystemException
dynamicQueryCount in interface DLFileEntryLocalServicedynamicQuery - the dynamic querySystemException - if a system exception occurredpublic long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection) throws SystemException
dynamicQueryCount in interface DLFileEntryLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the querySystemException - if a system exception occurredpublic DLFileEntry fetchDLFileEntry(long fileEntryId) throws SystemException
fetchDLFileEntry in interface DLFileEntryLocalServiceSystemExceptionpublic DLFileEntry fetchDLFileEntryByUuidAndCompanyId(java.lang.String uuid, long companyId) throws SystemException
fetchDLFileEntryByUuidAndCompanyId in interface DLFileEntryLocalServiceuuid - the document library file entry's UUIDcompanyId - the primary key of the companynull if a matching document library file entry could not be foundSystemException - if a system exception occurredpublic DLFileEntry fetchDLFileEntryByUuidAndGroupId(java.lang.String uuid, long groupId) throws SystemException
fetchDLFileEntryByUuidAndGroupId in interface DLFileEntryLocalServiceuuid - the document library file entry's UUIDgroupId - the primary key of the groupnull if a matching document library file entry could not be foundSystemException - if a system exception occurredpublic DLFileEntry getDLFileEntry(long fileEntryId) throws PortalException, SystemException
getDLFileEntry in interface DLFileEntryLocalServicefileEntryId - the primary key of the document library file entryPortalException - if a document library file entry with the primary key could not be foundSystemException - if a system exception occurredpublic PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj) throws PortalException, SystemException
getPersistedModel in interface PersistedModelLocalServicegetPersistedModel in interface DLFileEntryLocalServicePortalExceptionSystemExceptionpublic DLFileEntry getDLFileEntryByUuidAndCompanyId(java.lang.String uuid, long companyId) throws PortalException, SystemException
getDLFileEntryByUuidAndCompanyId in interface DLFileEntryLocalServiceuuid - the document library file entry's UUIDcompanyId - the primary key of the companyPortalException - if a matching document library file entry could not be foundSystemException - if a system exception occurredpublic DLFileEntry getDLFileEntryByUuidAndGroupId(java.lang.String uuid, long groupId) throws PortalException, SystemException
getDLFileEntryByUuidAndGroupId in interface DLFileEntryLocalServiceuuid - the document library file entry's UUIDgroupId - the primary key of the groupPortalException - if a matching document library file entry could not be foundSystemException - if a system exception occurredpublic java.util.List<DLFileEntry> getDLFileEntries(int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
getDLFileEntries in interface DLFileEntryLocalServicestart - the lower bound of the range of document library file entriesend - the upper bound of the range of document library file entries (not inclusive)SystemException - if a system exception occurredpublic int getDLFileEntriesCount()
throws SystemException
getDLFileEntriesCount in interface DLFileEntryLocalServiceSystemException - if a system exception occurredpublic DLFileEntry updateDLFileEntry(DLFileEntry dlFileEntry) throws SystemException
updateDLFileEntry in interface DLFileEntryLocalServicedlFileEntry - the document library file entrySystemException - if a system exception occurredpublic java.lang.String getBeanIdentifier()
getBeanIdentifier in interface DLFileEntryLocalServicepublic void setBeanIdentifier(java.lang.String beanIdentifier)
setBeanIdentifier in interface DLFileEntryLocalServicebeanIdentifier - the Spring bean ID for this beanpublic DLFileEntry addFileEntry(long userId, 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
addFileEntry in interface DLFileEntryLocalServicePortalExceptionSystemExceptionpublic DLFileVersion cancelCheckOut(long userId, long fileEntryId) throws PortalException, SystemException
cancelCheckOut in interface DLFileEntryLocalServicePortalExceptionSystemExceptionpublic void checkInFileEntry(long userId,
long fileEntryId,
boolean majorVersion,
java.lang.String changeLog,
ServiceContext serviceContext)
throws PortalException,
SystemException
checkInFileEntry in interface DLFileEntryLocalServicePortalExceptionSystemExceptionpublic void checkInFileEntry(long userId,
long fileEntryId,
java.lang.String lockUuid)
throws PortalException,
SystemException
checkInFileEntry(long, long,
String, ServiceContext)checkInFileEntry in interface DLFileEntryLocalServicePortalExceptionSystemExceptionpublic void checkInFileEntry(long userId,
long fileEntryId,
java.lang.String lockUuid,
ServiceContext serviceContext)
throws PortalException,
SystemException
checkInFileEntry in interface DLFileEntryLocalServicePortalExceptionSystemExceptionpublic DLFileEntry checkOutFileEntry(long userId, long fileEntryId) throws PortalException, SystemException
checkOutFileEntry(long,
long, ServiceContext)checkOutFileEntry in interface DLFileEntryLocalServicePortalExceptionSystemExceptionpublic DLFileEntry checkOutFileEntry(long userId, long fileEntryId, ServiceContext serviceContext) throws PortalException, SystemException
checkOutFileEntry in interface DLFileEntryLocalServicePortalExceptionSystemExceptionpublic DLFileEntry checkOutFileEntry(long userId, long fileEntryId, java.lang.String owner, long expirationTime) throws PortalException, SystemException
checkOutFileEntry(long,
long, String, long, ServiceContext)checkOutFileEntry in interface DLFileEntryLocalServicePortalExceptionSystemExceptionpublic DLFileEntry checkOutFileEntry(long userId, long fileEntryId, java.lang.String owner, long expirationTime, ServiceContext serviceContext) throws PortalException, SystemException
checkOutFileEntry in interface DLFileEntryLocalServicePortalExceptionSystemExceptionpublic void convertExtraSettings(java.lang.String[] keys)
throws PortalException,
SystemException
convertExtraSettings in interface DLFileEntryLocalServicePortalExceptionSystemExceptionpublic void copyFileEntryMetadata(long companyId,
long fileEntryTypeId,
long fileEntryId,
long fromFileVersionId,
long toFileVersionId,
ServiceContext serviceContext)
throws PortalException,
SystemException
copyFileEntryMetadata in interface DLFileEntryLocalServicePortalExceptionSystemExceptionpublic void deleteFileEntries(long groupId,
long folderId)
throws PortalException,
SystemException
deleteFileEntries in interface DLFileEntryLocalServicePortalExceptionSystemExceptionpublic void deleteFileEntries(long groupId,
long folderId,
boolean includeTrashedEntries)
throws PortalException,
SystemException
deleteFileEntries in interface DLFileEntryLocalServicePortalExceptionSystemExceptionpublic DLFileEntry deleteFileEntry(DLFileEntry dlFileEntry) throws PortalException, SystemException
deleteFileEntry in interface DLFileEntryLocalServicePortalExceptionSystemExceptionpublic DLFileEntry deleteFileEntry(long fileEntryId) throws PortalException, SystemException
deleteFileEntry in interface DLFileEntryLocalServicePortalExceptionSystemExceptionpublic DLFileEntry deleteFileEntry(long userId, long fileEntryId) throws PortalException, SystemException
deleteFileEntry in interface DLFileEntryLocalServicePortalExceptionSystemExceptionpublic DLFileEntry deleteFileVersion(long userId, long fileEntryId, java.lang.String version) throws PortalException, SystemException
deleteFileVersion in interface DLFileEntryLocalServicePortalExceptionSystemExceptionpublic void deleteRepositoryFileEntries(long repositoryId,
long folderId)
throws PortalException,
SystemException
deleteRepositoryFileEntries in interface DLFileEntryLocalServicePortalExceptionSystemExceptionpublic void deleteRepositoryFileEntries(long repositoryId,
long folderId,
boolean includeTrashedEntries)
throws PortalException,
SystemException
deleteRepositoryFileEntries in interface DLFileEntryLocalServicePortalExceptionSystemExceptionpublic DLFileEntry fetchFileEntry(long groupId, long folderId, java.lang.String title) throws SystemException
fetchFileEntry in interface DLFileEntryLocalServiceSystemExceptionpublic DLFileEntry fetchFileEntryByAnyImageId(long imageId) throws SystemException
fetchFileEntryByAnyImageId in interface DLFileEntryLocalServiceSystemExceptionpublic DLFileEntry fetchFileEntryByName(long groupId, long folderId, java.lang.String name) throws SystemException
fetchFileEntryByName in interface DLFileEntryLocalServiceSystemExceptionpublic java.util.List<DLFileEntry> getDDMStructureFileEntries(long groupId, long[] ddmStructureIds) throws SystemException
getDDMStructureFileEntries in interface DLFileEntryLocalServiceSystemExceptionpublic java.util.List<DLFileEntry> getDDMStructureFileEntries(long[] ddmStructureIds) throws SystemException
getDDMStructureFileEntries in interface DLFileEntryLocalServiceSystemExceptionpublic java.util.List<DLFileEntry> getExtraSettingsFileEntries(int start, int end) throws SystemException
getExtraSettingsFileEntries in interface DLFileEntryLocalServiceSystemExceptionpublic int getExtraSettingsFileEntriesCount()
throws SystemException
getExtraSettingsFileEntriesCount in interface DLFileEntryLocalServiceSystemExceptionpublic java.io.File getFile(long userId,
long fileEntryId,
java.lang.String version,
boolean incrementCounter)
throws PortalException,
SystemException
getFile in interface DLFileEntryLocalServicePortalExceptionSystemExceptionpublic java.io.File getFile(long userId,
long fileEntryId,
java.lang.String version,
boolean incrementCounter,
int increment)
throws PortalException,
SystemException
getFile in interface DLFileEntryLocalServicePortalExceptionSystemExceptionpublic java.io.InputStream getFileAsStream(long userId,
long fileEntryId,
java.lang.String version)
throws PortalException,
SystemException
getFileAsStream in interface DLFileEntryLocalServicePortalExceptionSystemExceptionpublic java.io.InputStream getFileAsStream(long userId,
long fileEntryId,
java.lang.String version,
boolean incrementCounter)
throws PortalException,
SystemException
getFileAsStream in interface DLFileEntryLocalServicePortalExceptionSystemExceptionpublic java.io.InputStream getFileAsStream(long userId,
long fileEntryId,
java.lang.String version,
boolean incrementCounter,
int increment)
throws PortalException,
SystemException
getFileAsStream in interface DLFileEntryLocalServicePortalExceptionSystemExceptionpublic java.util.List<DLFileEntry> getFileEntries(int start, int end) throws SystemException
getFileEntries in interface DLFileEntryLocalServiceSystemExceptionpublic java.util.List<DLFileEntry> getFileEntries(long groupId, long folderId) throws SystemException
getFileEntries in interface DLFileEntryLocalServiceSystemExceptionpublic java.util.List<DLFileEntry> getFileEntries(long groupId, long folderId, int status, int start, int end, OrderByComparator obc) throws SystemException
getFileEntries in interface DLFileEntryLocalServiceSystemExceptionpublic java.util.List<DLFileEntry> getFileEntries(long groupId, long folderId, int start, int end, OrderByComparator obc) throws SystemException
getFileEntries in interface DLFileEntryLocalServiceSystemExceptionpublic java.util.List<DLFileEntry> getFileEntries(long groupId, long userId, java.util.List<java.lang.Long> folderIds, java.lang.String[] mimeTypes, QueryDefinition queryDefinition) throws java.lang.Exception
getFileEntries in interface DLFileEntryLocalServicejava.lang.Exceptionpublic java.util.List<DLFileEntry> getFileEntries(long groupId, long userId, java.util.List<java.lang.Long> repositoryIds, java.util.List<java.lang.Long> folderIds, java.lang.String[] mimeTypes, QueryDefinition queryDefinition) throws java.lang.Exception
getFileEntries in interface DLFileEntryLocalServicejava.lang.Exceptionpublic java.util.List<DLFileEntry> getFileEntries(long folderId, java.lang.String name) throws SystemException
getFileEntries in interface DLFileEntryLocalServiceSystemExceptionpublic int getFileEntriesCount()
throws SystemException
getFileEntriesCount in interface DLFileEntryLocalServiceSystemExceptionpublic int getFileEntriesCount(long groupId,
DateRange dateRange,
long repositoryId,
QueryDefinition queryDefinition)
throws SystemException
getFileEntriesCount in interface DLFileEntryLocalServiceSystemExceptionpublic int getFileEntriesCount(long groupId,
long folderId)
throws SystemException
getFileEntriesCount in interface DLFileEntryLocalServiceSystemExceptionpublic int getFileEntriesCount(long groupId,
long folderId,
int status)
throws SystemException
getFileEntriesCount in interface DLFileEntryLocalServiceSystemExceptionpublic int getFileEntriesCount(long groupId,
long userId,
java.util.List<java.lang.Long> folderIds,
java.lang.String[] mimeTypes,
QueryDefinition queryDefinition)
throws java.lang.Exception
getFileEntriesCount in interface DLFileEntryLocalServicejava.lang.Exceptionpublic int getFileEntriesCount(long groupId,
long userId,
java.util.List<java.lang.Long> repositoryIds,
java.util.List<java.lang.Long> folderIds,
java.lang.String[] mimeTypes,
QueryDefinition queryDefinition)
throws java.lang.Exception
getFileEntriesCount in interface DLFileEntryLocalServicejava.lang.Exceptionpublic DLFileEntry getFileEntry(long fileEntryId) throws PortalException, SystemException
getFileEntry in interface DLFileEntryLocalServicePortalExceptionSystemExceptionpublic DLFileEntry getFileEntry(long groupId, long folderId, java.lang.String title) throws PortalException, SystemException
getFileEntry in interface DLFileEntryLocalServicePortalExceptionSystemExceptionpublic DLFileEntry getFileEntryByName(long groupId, long folderId, java.lang.String name) throws PortalException, SystemException
getFileEntryByName in interface DLFileEntryLocalServicePortalExceptionSystemExceptionpublic DLFileEntry getFileEntryByUuidAndGroupId(java.lang.String uuid, long groupId) throws PortalException, SystemException
getFileEntryByUuidAndGroupId in interface DLFileEntryLocalServicePortalExceptionSystemExceptionpublic java.util.List<DLFileEntry> getGroupFileEntries(long groupId, int start, int end) throws SystemException
getGroupFileEntries in interface DLFileEntryLocalServiceSystemExceptionpublic java.util.List<DLFileEntry> getGroupFileEntries(long groupId, int start, int end, OrderByComparator obc) throws SystemException
getGroupFileEntries in interface DLFileEntryLocalServiceSystemExceptionpublic java.util.List<DLFileEntry> getGroupFileEntries(long groupId, long userId, int start, int end) throws SystemException
getGroupFileEntries in interface DLFileEntryLocalServiceSystemExceptionpublic java.util.List<DLFileEntry> getGroupFileEntries(long groupId, long userId, int start, int end, OrderByComparator obc) throws SystemException
getGroupFileEntries in interface DLFileEntryLocalServiceSystemExceptionpublic int getGroupFileEntriesCount(long groupId)
throws SystemException
getGroupFileEntriesCount in interface DLFileEntryLocalServiceSystemExceptionpublic int getGroupFileEntriesCount(long groupId,
long userId)
throws SystemException
getGroupFileEntriesCount in interface DLFileEntryLocalServiceSystemExceptionpublic java.util.List<DLFileEntry> getMisversionedFileEntries() throws SystemException
getMisversionedFileEntries in interface DLFileEntryLocalServiceSystemExceptionpublic java.util.List<DLFileEntry> getNoAssetFileEntries() throws SystemException
getNoAssetFileEntries in interface DLFileEntryLocalServiceSystemExceptionpublic java.util.List<DLFileEntry> getOrphanedFileEntries() throws SystemException
getOrphanedFileEntries in interface DLFileEntryLocalServiceSystemExceptionpublic boolean hasExtraSettings()
throws SystemException
hasExtraSettings in interface DLFileEntryLocalServiceSystemExceptionpublic boolean hasFileEntryLock(long userId,
long fileEntryId)
throws PortalException,
SystemException
hasFileEntryLock in interface DLFileEntryLocalServicePortalExceptionSystemExceptionpublic void incrementViewCounter(DLFileEntry dlFileEntry, int increment) throws SystemException
incrementViewCounter in interface DLFileEntryLocalServiceSystemExceptionpublic boolean isFileEntryCheckedOut(long fileEntryId)
throws PortalException,
SystemException
isFileEntryCheckedOut in interface DLFileEntryLocalServicePortalExceptionSystemExceptionpublic Lock lockFileEntry(long userId, long fileEntryId) throws PortalException, SystemException
lockFileEntry in interface DLFileEntryLocalServicePortalExceptionSystemExceptionpublic DLFileEntry moveFileEntry(long userId, long fileEntryId, long newFolderId, ServiceContext serviceContext) throws PortalException, SystemException
moveFileEntry in interface DLFileEntryLocalServicePortalExceptionSystemExceptionpublic void rebuildTree(long companyId)
throws SystemException
rebuildTree in interface DLFileEntryLocalServiceSystemExceptionpublic void revertFileEntry(long userId,
long fileEntryId,
java.lang.String version,
ServiceContext serviceContext)
throws PortalException,
SystemException
revertFileEntry in interface DLFileEntryLocalServicePortalExceptionSystemExceptionpublic Hits search(long groupId, long userId, long creatorUserId, int status, int start, int end) throws PortalException, SystemException
search in interface DLFileEntryLocalServicePortalExceptionSystemExceptionpublic Hits search(long groupId, long userId, long creatorUserId, long folderId, java.lang.String[] mimeTypes, int status, int start, int end) throws PortalException, SystemException
search in interface DLFileEntryLocalServicePortalExceptionSystemExceptionpublic void unlockFileEntry(long fileEntryId)
throws SystemException
unlockFileEntry in interface DLFileEntryLocalServiceSystemExceptionpublic DLFileEntry updateFileEntry(long userId, 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
updateFileEntry in interface DLFileEntryLocalServicePortalExceptionSystemExceptionpublic void updateSmallImage(long smallImageId,
long largeImageId)
throws PortalException,
SystemException
updateSmallImage in interface DLFileEntryLocalServicePortalExceptionSystemExceptionpublic DLFileEntry updateStatus(long userId, long fileVersionId, int status, java.util.Map<java.lang.String,java.io.Serializable> workflowContext, ServiceContext serviceContext) throws PortalException, SystemException
updateStatus in interface DLFileEntryLocalServicePortalExceptionSystemExceptionpublic boolean verifyFileEntryCheckOut(long fileEntryId,
java.lang.String lockUuid)
throws PortalException,
SystemException
verifyFileEntryCheckOut in interface DLFileEntryLocalServicePortalExceptionSystemExceptionpublic boolean verifyFileEntryLock(long fileEntryId,
java.lang.String lockUuid)
throws PortalException,
SystemException
verifyFileEntryLock in interface DLFileEntryLocalServicePortalExceptionSystemExceptionpublic void validateFile(long groupId,
long folderId,
long fileEntryId,
java.lang.String title,
java.lang.String extension)
throws PortalException,
SystemException
validateFile in interface DLFileEntryLocalServicePortalExceptionSystemExceptionpublic DLFileEntryLocalService getWrappedDLFileEntryLocalService()
getWrappedService()public void setWrappedDLFileEntryLocalService(DLFileEntryLocalService dlFileEntryLocalService)
setWrappedService(com.liferay.portlet.documentlibrary.service.DLFileEntryLocalService)public DLFileEntryLocalService getWrappedService()
getWrappedService in interface ServiceWrapper<DLFileEntryLocalService>public void setWrappedService(DLFileEntryLocalService dlFileEntryLocalService)
setWrappedService in interface ServiceWrapper<DLFileEntryLocalService>