|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portlet.documentlibrary.service.DLFileEntryLocalServiceWrapper
@ProviderType public class DLFileEntryLocalServiceWrapper
Provides a wrapper for DLFileEntryLocalService
.
DLFileEntryLocalService
Constructor Summary | |
---|---|
DLFileEntryLocalServiceWrapper(DLFileEntryLocalService dlFileEntryLocalService)
|
Method Summary | |
---|---|
DLFileEntry |
addDLFileEntry(DLFileEntry dlFileEntry)
Adds the document library file entry to the database. |
DLFileEntry |
addFileEntry(long userId,
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 userId,
long fileEntryId)
|
void |
checkInFileEntry(long userId,
long fileEntryId,
boolean majorVersion,
String changeLog,
ServiceContext serviceContext)
|
void |
checkInFileEntry(long userId,
long fileEntryId,
String lockUuid)
Deprecated. As of 6.2.0, replaced by checkInFileEntry(long, long,
String, ServiceContext) |
void |
checkInFileEntry(long userId,
long fileEntryId,
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,
String owner,
long expirationTime)
Deprecated. As of 6.2.0, replaced by checkOutFileEntry(long,
long, String, long, ServiceContext) |
DLFileEntry |
checkOutFileEntry(long userId,
long fileEntryId,
String owner,
long expirationTime,
ServiceContext serviceContext)
|
void |
convertExtraSettings(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,
String version)
|
void |
deleteRepositoryFileEntries(long repositoryId,
long folderId)
|
void |
deleteRepositoryFileEntries(long repositoryId,
long folderId,
boolean includeTrashedEntries)
|
DynamicQuery |
dynamicQuery()
|
List |
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows. |
List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows. |
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(String uuid,
long companyId)
Returns the document library file entry with the matching UUID and company. |
DLFileEntry |
fetchDLFileEntryByUuidAndGroupId(String uuid,
long groupId)
Returns the document library file entry matching the UUID and group. |
DLFileEntry |
fetchFileEntry(long groupId,
long folderId,
String title)
|
DLFileEntry |
fetchFileEntryByAnyImageId(long imageId)
|
DLFileEntry |
fetchFileEntryByName(long groupId,
long folderId,
String name)
|
String |
getBeanIdentifier()
Returns the Spring bean ID for this bean. |
List<DLFileEntry> |
getDDMStructureFileEntries(long[] ddmStructureIds)
|
List<DLFileEntry> |
getDDMStructureFileEntries(long groupId,
long[] ddmStructureIds)
|
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(String uuid,
long companyId)
Returns the document library file entry with the matching UUID and company. |
DLFileEntry |
getDLFileEntryByUuidAndGroupId(String uuid,
long groupId)
Returns the document library file entry matching the UUID and group. |
List<DLFileEntry> |
getExtraSettingsFileEntries(int start,
int end)
|
int |
getExtraSettingsFileEntriesCount()
|
File |
getFile(long userId,
long fileEntryId,
String version,
boolean incrementCounter)
|
File |
getFile(long userId,
long fileEntryId,
String version,
boolean incrementCounter,
int increment)
|
InputStream |
getFileAsStream(long userId,
long fileEntryId,
String version)
Deprecated. As of 7.0.0, replaced by getFileAsStream(long,
String) |
InputStream |
getFileAsStream(long userId,
long fileEntryId,
String version,
boolean incrementCounter)
Deprecated. As of 7.0.0, replaced by getFileAsStream(long,
String, boolean) |
InputStream |
getFileAsStream(long userId,
long fileEntryId,
String version,
boolean incrementCounter,
int increment)
Deprecated. As of 7.0.0, replaced by getFileAsStream(long,
String, boolean, int) |
InputStream |
getFileAsStream(long fileEntryId,
String version)
|
InputStream |
getFileAsStream(long fileEntryId,
String version,
boolean incrementCounter)
|
InputStream |
getFileAsStream(long fileEntryId,
String version,
boolean incrementCounter,
int increment)
|
List<DLFileEntry> |
getFileEntries(int start,
int end)
|
List<DLFileEntry> |
getFileEntries(long groupId,
long folderId)
|
List<DLFileEntry> |
getFileEntries(long groupId,
long folderId,
int status,
int start,
int end,
OrderByComparator obc)
|
List<DLFileEntry> |
getFileEntries(long groupId,
long folderId,
int start,
int end,
OrderByComparator obc)
|
List<DLFileEntry> |
getFileEntries(long groupId,
long userId,
List<Long> repositoryIds,
List<Long> folderIds,
String[] mimeTypes,
QueryDefinition queryDefinition)
|
List<DLFileEntry> |
getFileEntries(long groupId,
long userId,
List<Long> folderIds,
String[] mimeTypes,
QueryDefinition queryDefinition)
|
List<DLFileEntry> |
getFileEntries(long folderId,
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,
List<Long> repositoryIds,
List<Long> folderIds,
String[] mimeTypes,
QueryDefinition queryDefinition)
|
int |
getFileEntriesCount(long groupId,
long userId,
List<Long> folderIds,
String[] mimeTypes,
QueryDefinition queryDefinition)
|
DLFileEntry |
getFileEntry(long fileEntryId)
|
DLFileEntry |
getFileEntry(long groupId,
long folderId,
String title)
|
DLFileEntry |
getFileEntryByName(long groupId,
long folderId,
String name)
|
DLFileEntry |
getFileEntryByUuidAndGroupId(String uuid,
long groupId)
|
List<DLFileEntry> |
getGroupFileEntries(long groupId,
int start,
int end)
|
List<DLFileEntry> |
getGroupFileEntries(long groupId,
int start,
int end,
OrderByComparator obc)
|
List<DLFileEntry> |
getGroupFileEntries(long groupId,
long userId,
int start,
int end)
|
List<DLFileEntry> |
getGroupFileEntries(long groupId,
long userId,
int start,
int end,
OrderByComparator obc)
|
int |
getGroupFileEntriesCount(long groupId)
|
int |
getGroupFileEntriesCount(long groupId,
long userId)
|
List<DLFileEntry> |
getMisversionedFileEntries()
|
List<DLFileEntry> |
getNoAssetFileEntries()
|
List<DLFileEntry> |
getOrphanedFileEntries()
|
PersistedModel |
getPersistedModel(Serializable primaryKeyObj)
|
String |
getUniqueTitle(long groupId,
long folderId,
long fileEntryId,
String title,
String extension)
|
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,
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,
String[] mimeTypes,
int status,
int start,
int end)
|
void |
setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean. |
void |
setTreePaths(long folderId,
String treePath,
boolean reindex)
|
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,
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)
|
void |
updateSmallImage(long smallImageId,
long largeImageId)
|
DLFileEntry |
updateStatus(long userId,
long fileVersionId,
int status,
Map<String,Serializable> workflowContext,
ServiceContext serviceContext)
|
void |
validateFile(long groupId,
long folderId,
long fileEntryId,
String title,
String extension)
|
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 DLFileEntryLocalServiceWrapper(DLFileEntryLocalService dlFileEntryLocalService)
Method Detail |
---|
public DLFileEntry addDLFileEntry(DLFileEntry dlFileEntry) throws SystemException
addDLFileEntry
in interface DLFileEntryLocalService
dlFileEntry
- the document library file entry
SystemException
- if a system exception occurredpublic DLFileEntry createDLFileEntry(long fileEntryId)
createDLFileEntry
in interface DLFileEntryLocalService
fileEntryId
- the primary key for the new document library file entry
public DLFileEntry deleteDLFileEntry(long fileEntryId) throws PortalException, SystemException
deleteDLFileEntry
in interface DLFileEntryLocalService
fileEntryId
- the primary key of the document library file entry
PortalException
- if a document library file entry with the primary key could not be found
SystemException
- if a system exception occurredpublic DLFileEntry deleteDLFileEntry(DLFileEntry dlFileEntry) throws SystemException
deleteDLFileEntry
in interface DLFileEntryLocalService
dlFileEntry
- the document library file entry
SystemException
- if a system exception occurredpublic DynamicQuery dynamicQuery()
dynamicQuery
in interface DLFileEntryLocalService
public List dynamicQuery(DynamicQuery dynamicQuery) throws SystemException
dynamicQuery
in interface DLFileEntryLocalService
dynamicQuery
- the dynamic query
SystemException
- if a system exception occurredpublic 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 DLFileEntryLocalService
dynamicQuery
- 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 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 DLFileEntryLocalService
dynamicQuery
- 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 DLFileEntryLocalService
dynamicQuery
- the dynamic query
SystemException
- if a system exception occurredpublic long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection) throws SystemException
dynamicQueryCount
in interface DLFileEntryLocalService
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the query
SystemException
- if a system exception occurredpublic DLFileEntry fetchDLFileEntry(long fileEntryId) throws SystemException
fetchDLFileEntry
in interface DLFileEntryLocalService
SystemException
public DLFileEntry fetchDLFileEntryByUuidAndCompanyId(String uuid, long companyId) throws SystemException
fetchDLFileEntryByUuidAndCompanyId
in interface DLFileEntryLocalService
uuid
- the document library file entry's UUIDcompanyId
- the primary key of the company
null
if a matching document library file entry could not be found
SystemException
- if a system exception occurredpublic DLFileEntry fetchDLFileEntryByUuidAndGroupId(String uuid, long groupId) throws SystemException
fetchDLFileEntryByUuidAndGroupId
in interface DLFileEntryLocalService
uuid
- the document library file entry's UUIDgroupId
- the primary key of the group
null
if a matching document library file entry could not be found
SystemException
- if a system exception occurredpublic DLFileEntry getDLFileEntry(long fileEntryId) throws PortalException, SystemException
getDLFileEntry
in interface DLFileEntryLocalService
fileEntryId
- the primary key of the document library file entry
PortalException
- if a document library file entry with the primary key could not be found
SystemException
- if a system exception occurredpublic PersistedModel getPersistedModel(Serializable primaryKeyObj) throws PortalException, SystemException
getPersistedModel
in interface PersistedModelLocalService
getPersistedModel
in interface DLFileEntryLocalService
PortalException
SystemException
public DLFileEntry getDLFileEntryByUuidAndCompanyId(String uuid, long companyId) throws PortalException, SystemException
getDLFileEntryByUuidAndCompanyId
in interface DLFileEntryLocalService
uuid
- the document library file entry's UUIDcompanyId
- the primary key of the company
PortalException
- if a matching document library file entry could not be found
SystemException
- if a system exception occurredpublic DLFileEntry getDLFileEntryByUuidAndGroupId(String uuid, long groupId) throws PortalException, SystemException
getDLFileEntryByUuidAndGroupId
in interface DLFileEntryLocalService
uuid
- the document library file entry's UUIDgroupId
- the primary key of the group
PortalException
- if a matching document library file entry could not be found
SystemException
- if a system exception occurredpublic 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 DLFileEntryLocalService
start
- 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 DLFileEntryLocalService
SystemException
- if a system exception occurredpublic DLFileEntry updateDLFileEntry(DLFileEntry dlFileEntry) throws SystemException
updateDLFileEntry
in interface DLFileEntryLocalService
dlFileEntry
- the document library file entry
SystemException
- if a system exception occurredpublic String getBeanIdentifier()
getBeanIdentifier
in interface DLFileEntryLocalService
public void setBeanIdentifier(String beanIdentifier)
setBeanIdentifier
in interface DLFileEntryLocalService
beanIdentifier
- the Spring bean ID for this beanpublic DLFileEntry addFileEntry(long userId, 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
addFileEntry
in interface DLFileEntryLocalService
PortalException
SystemException
public DLFileVersion cancelCheckOut(long userId, long fileEntryId) throws PortalException, SystemException
cancelCheckOut
in interface DLFileEntryLocalService
PortalException
SystemException
public void checkInFileEntry(long userId, long fileEntryId, boolean majorVersion, String changeLog, ServiceContext serviceContext) throws PortalException, SystemException
checkInFileEntry
in interface DLFileEntryLocalService
PortalException
SystemException
public void checkInFileEntry(long userId, long fileEntryId, String lockUuid) throws PortalException, SystemException
checkInFileEntry(long, long,
String, ServiceContext)
checkInFileEntry
in interface DLFileEntryLocalService
PortalException
SystemException
public void checkInFileEntry(long userId, long fileEntryId, String lockUuid, ServiceContext serviceContext) throws PortalException, SystemException
checkInFileEntry
in interface DLFileEntryLocalService
PortalException
SystemException
public DLFileEntry checkOutFileEntry(long userId, long fileEntryId) throws PortalException, SystemException
checkOutFileEntry(long,
long, ServiceContext)
checkOutFileEntry
in interface DLFileEntryLocalService
PortalException
SystemException
public DLFileEntry checkOutFileEntry(long userId, long fileEntryId, ServiceContext serviceContext) throws PortalException, SystemException
checkOutFileEntry
in interface DLFileEntryLocalService
PortalException
SystemException
public DLFileEntry checkOutFileEntry(long userId, long fileEntryId, String owner, long expirationTime) throws PortalException, SystemException
checkOutFileEntry(long,
long, String, long, ServiceContext)
checkOutFileEntry
in interface DLFileEntryLocalService
PortalException
SystemException
public DLFileEntry checkOutFileEntry(long userId, long fileEntryId, String owner, long expirationTime, ServiceContext serviceContext) throws PortalException, SystemException
checkOutFileEntry
in interface DLFileEntryLocalService
PortalException
SystemException
public void convertExtraSettings(String[] keys) throws PortalException, SystemException
convertExtraSettings
in interface DLFileEntryLocalService
PortalException
SystemException
public void copyFileEntryMetadata(long companyId, long fileEntryTypeId, long fileEntryId, long fromFileVersionId, long toFileVersionId, ServiceContext serviceContext) throws PortalException, SystemException
copyFileEntryMetadata
in interface DLFileEntryLocalService
PortalException
SystemException
public void deleteFileEntries(long groupId, long folderId) throws PortalException, SystemException
deleteFileEntries
in interface DLFileEntryLocalService
PortalException
SystemException
public void deleteFileEntries(long groupId, long folderId, boolean includeTrashedEntries) throws PortalException, SystemException
deleteFileEntries
in interface DLFileEntryLocalService
PortalException
SystemException
public DLFileEntry deleteFileEntry(DLFileEntry dlFileEntry) throws PortalException, SystemException
deleteFileEntry
in interface DLFileEntryLocalService
PortalException
SystemException
public DLFileEntry deleteFileEntry(long fileEntryId) throws PortalException, SystemException
deleteFileEntry
in interface DLFileEntryLocalService
PortalException
SystemException
public DLFileEntry deleteFileEntry(long userId, long fileEntryId) throws PortalException, SystemException
deleteFileEntry
in interface DLFileEntryLocalService
PortalException
SystemException
public DLFileEntry deleteFileVersion(long userId, long fileEntryId, String version) throws PortalException, SystemException
deleteFileVersion
in interface DLFileEntryLocalService
PortalException
SystemException
public void deleteRepositoryFileEntries(long repositoryId, long folderId) throws PortalException, SystemException
deleteRepositoryFileEntries
in interface DLFileEntryLocalService
PortalException
SystemException
public void deleteRepositoryFileEntries(long repositoryId, long folderId, boolean includeTrashedEntries) throws PortalException, SystemException
deleteRepositoryFileEntries
in interface DLFileEntryLocalService
PortalException
SystemException
public DLFileEntry fetchFileEntry(long groupId, long folderId, String title) throws SystemException
fetchFileEntry
in interface DLFileEntryLocalService
SystemException
public DLFileEntry fetchFileEntryByAnyImageId(long imageId) throws SystemException
fetchFileEntryByAnyImageId
in interface DLFileEntryLocalService
SystemException
public DLFileEntry fetchFileEntryByName(long groupId, long folderId, String name) throws SystemException
fetchFileEntryByName
in interface DLFileEntryLocalService
SystemException
public List<DLFileEntry> getDDMStructureFileEntries(long groupId, long[] ddmStructureIds) throws SystemException
getDDMStructureFileEntries
in interface DLFileEntryLocalService
SystemException
public List<DLFileEntry> getDDMStructureFileEntries(long[] ddmStructureIds) throws SystemException
getDDMStructureFileEntries
in interface DLFileEntryLocalService
SystemException
public List<DLFileEntry> getExtraSettingsFileEntries(int start, int end) throws SystemException
getExtraSettingsFileEntries
in interface DLFileEntryLocalService
SystemException
public int getExtraSettingsFileEntriesCount() throws SystemException
getExtraSettingsFileEntriesCount
in interface DLFileEntryLocalService
SystemException
public File getFile(long userId, long fileEntryId, String version, boolean incrementCounter) throws PortalException, SystemException
getFile
in interface DLFileEntryLocalService
PortalException
SystemException
public File getFile(long userId, long fileEntryId, String version, boolean incrementCounter, int increment) throws PortalException, SystemException
getFile
in interface DLFileEntryLocalService
PortalException
SystemException
public InputStream getFileAsStream(long userId, long fileEntryId, String version) throws PortalException, SystemException
getFileAsStream(long,
String)
getFileAsStream
in interface DLFileEntryLocalService
PortalException
SystemException
public InputStream getFileAsStream(long userId, long fileEntryId, String version, boolean incrementCounter) throws PortalException, SystemException
getFileAsStream(long,
String, boolean)
getFileAsStream
in interface DLFileEntryLocalService
PortalException
SystemException
public InputStream getFileAsStream(long userId, long fileEntryId, String version, boolean incrementCounter, int increment) throws PortalException, SystemException
getFileAsStream(long,
String, boolean, int)
getFileAsStream
in interface DLFileEntryLocalService
PortalException
SystemException
public InputStream getFileAsStream(long fileEntryId, String version) throws PortalException, SystemException
getFileAsStream
in interface DLFileEntryLocalService
PortalException
SystemException
public InputStream getFileAsStream(long fileEntryId, String version, boolean incrementCounter) throws PortalException, SystemException
getFileAsStream
in interface DLFileEntryLocalService
PortalException
SystemException
public InputStream getFileAsStream(long fileEntryId, String version, boolean incrementCounter, int increment) throws PortalException, SystemException
getFileAsStream
in interface DLFileEntryLocalService
PortalException
SystemException
public List<DLFileEntry> getFileEntries(int start, int end) throws SystemException
getFileEntries
in interface DLFileEntryLocalService
SystemException
public List<DLFileEntry> getFileEntries(long groupId, long folderId) throws SystemException
getFileEntries
in interface DLFileEntryLocalService
SystemException
public List<DLFileEntry> getFileEntries(long groupId, long folderId, int status, int start, int end, OrderByComparator obc) throws SystemException
getFileEntries
in interface DLFileEntryLocalService
SystemException
public List<DLFileEntry> getFileEntries(long groupId, long folderId, int start, int end, OrderByComparator obc) throws SystemException
getFileEntries
in interface DLFileEntryLocalService
SystemException
public List<DLFileEntry> getFileEntries(long groupId, long userId, List<Long> folderIds, String[] mimeTypes, QueryDefinition queryDefinition) throws Exception
getFileEntries
in interface DLFileEntryLocalService
Exception
public List<DLFileEntry> getFileEntries(long groupId, long userId, List<Long> repositoryIds, List<Long> folderIds, String[] mimeTypes, QueryDefinition queryDefinition) throws Exception
getFileEntries
in interface DLFileEntryLocalService
Exception
public List<DLFileEntry> getFileEntries(long folderId, String name) throws SystemException
getFileEntries
in interface DLFileEntryLocalService
SystemException
public int getFileEntriesCount() throws SystemException
getFileEntriesCount
in interface DLFileEntryLocalService
SystemException
public int getFileEntriesCount(long groupId, DateRange dateRange, long repositoryId, QueryDefinition queryDefinition) throws SystemException
getFileEntriesCount
in interface DLFileEntryLocalService
SystemException
public int getFileEntriesCount(long groupId, long folderId) throws SystemException
getFileEntriesCount
in interface DLFileEntryLocalService
SystemException
public int getFileEntriesCount(long groupId, long folderId, int status) throws SystemException
getFileEntriesCount
in interface DLFileEntryLocalService
SystemException
public int getFileEntriesCount(long groupId, long userId, List<Long> folderIds, String[] mimeTypes, QueryDefinition queryDefinition) throws Exception
getFileEntriesCount
in interface DLFileEntryLocalService
Exception
public int getFileEntriesCount(long groupId, long userId, List<Long> repositoryIds, List<Long> folderIds, String[] mimeTypes, QueryDefinition queryDefinition) throws Exception
getFileEntriesCount
in interface DLFileEntryLocalService
Exception
public DLFileEntry getFileEntry(long fileEntryId) throws PortalException, SystemException
getFileEntry
in interface DLFileEntryLocalService
PortalException
SystemException
public DLFileEntry getFileEntry(long groupId, long folderId, String title) throws PortalException, SystemException
getFileEntry
in interface DLFileEntryLocalService
PortalException
SystemException
public DLFileEntry getFileEntryByName(long groupId, long folderId, String name) throws PortalException, SystemException
getFileEntryByName
in interface DLFileEntryLocalService
PortalException
SystemException
public DLFileEntry getFileEntryByUuidAndGroupId(String uuid, long groupId) throws PortalException, SystemException
getFileEntryByUuidAndGroupId
in interface DLFileEntryLocalService
PortalException
SystemException
public List<DLFileEntry> getGroupFileEntries(long groupId, int start, int end) throws SystemException
getGroupFileEntries
in interface DLFileEntryLocalService
SystemException
public List<DLFileEntry> getGroupFileEntries(long groupId, int start, int end, OrderByComparator obc) throws SystemException
getGroupFileEntries
in interface DLFileEntryLocalService
SystemException
public List<DLFileEntry> getGroupFileEntries(long groupId, long userId, int start, int end) throws SystemException
getGroupFileEntries
in interface DLFileEntryLocalService
SystemException
public List<DLFileEntry> getGroupFileEntries(long groupId, long userId, int start, int end, OrderByComparator obc) throws SystemException
getGroupFileEntries
in interface DLFileEntryLocalService
SystemException
public int getGroupFileEntriesCount(long groupId) throws SystemException
getGroupFileEntriesCount
in interface DLFileEntryLocalService
SystemException
public int getGroupFileEntriesCount(long groupId, long userId) throws SystemException
getGroupFileEntriesCount
in interface DLFileEntryLocalService
SystemException
public List<DLFileEntry> getMisversionedFileEntries() throws SystemException
getMisversionedFileEntries
in interface DLFileEntryLocalService
SystemException
public List<DLFileEntry> getNoAssetFileEntries() throws SystemException
getNoAssetFileEntries
in interface DLFileEntryLocalService
SystemException
public List<DLFileEntry> getOrphanedFileEntries() throws SystemException
getOrphanedFileEntries
in interface DLFileEntryLocalService
SystemException
public String getUniqueTitle(long groupId, long folderId, long fileEntryId, String title, String extension) throws PortalException, SystemException
getUniqueTitle
in interface DLFileEntryLocalService
PortalException
SystemException
public boolean hasExtraSettings() throws SystemException
hasExtraSettings
in interface DLFileEntryLocalService
SystemException
public boolean hasFileEntryLock(long userId, long fileEntryId) throws PortalException, SystemException
hasFileEntryLock
in interface DLFileEntryLocalService
PortalException
SystemException
public void incrementViewCounter(DLFileEntry dlFileEntry, int increment) throws SystemException
incrementViewCounter
in interface DLFileEntryLocalService
SystemException
public boolean isFileEntryCheckedOut(long fileEntryId) throws PortalException, SystemException
isFileEntryCheckedOut
in interface DLFileEntryLocalService
PortalException
SystemException
public Lock lockFileEntry(long userId, long fileEntryId) throws PortalException, SystemException
lockFileEntry
in interface DLFileEntryLocalService
PortalException
SystemException
public DLFileEntry moveFileEntry(long userId, long fileEntryId, long newFolderId, ServiceContext serviceContext) throws PortalException, SystemException
moveFileEntry
in interface DLFileEntryLocalService
PortalException
SystemException
public void rebuildTree(long companyId) throws PortalException, SystemException
rebuildTree
in interface DLFileEntryLocalService
PortalException
SystemException
public void revertFileEntry(long userId, long fileEntryId, String version, ServiceContext serviceContext) throws PortalException, SystemException
revertFileEntry
in interface DLFileEntryLocalService
PortalException
SystemException
public Hits search(long groupId, long userId, long creatorUserId, int status, int start, int end) throws PortalException, SystemException
search
in interface DLFileEntryLocalService
PortalException
SystemException
public Hits search(long groupId, long userId, long creatorUserId, long folderId, String[] mimeTypes, int status, int start, int end) throws PortalException, SystemException
search
in interface DLFileEntryLocalService
PortalException
SystemException
public void setTreePaths(long folderId, String treePath, boolean reindex) throws PortalException, SystemException
setTreePaths
in interface DLFileEntryLocalService
PortalException
SystemException
public void unlockFileEntry(long fileEntryId) throws SystemException
unlockFileEntry
in interface DLFileEntryLocalService
SystemException
public DLFileEntry updateFileEntry(long userId, 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
updateFileEntry
in interface DLFileEntryLocalService
PortalException
SystemException
public void updateSmallImage(long smallImageId, long largeImageId) throws PortalException, SystemException
updateSmallImage
in interface DLFileEntryLocalService
PortalException
SystemException
public DLFileEntry updateStatus(long userId, long fileVersionId, int status, Map<String,Serializable> workflowContext, ServiceContext serviceContext) throws PortalException, SystemException
updateStatus
in interface DLFileEntryLocalService
PortalException
SystemException
public boolean verifyFileEntryCheckOut(long fileEntryId, String lockUuid) throws PortalException, SystemException
verifyFileEntryCheckOut
in interface DLFileEntryLocalService
PortalException
SystemException
public boolean verifyFileEntryLock(long fileEntryId, String lockUuid) throws PortalException, SystemException
verifyFileEntryLock
in interface DLFileEntryLocalService
PortalException
SystemException
public void validateFile(long groupId, long folderId, long fileEntryId, String title, String extension) throws PortalException, SystemException
validateFile
in interface DLFileEntryLocalService
PortalException
SystemException
public 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>
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |