@ProviderType public class DLFolderLocalServiceWrapper extends java.lang.Object implements DLFolderLocalService, ServiceWrapper<DLFolderLocalService>
DLFolderLocalService.DLFolderLocalService| Constructor and Description |
|---|
DLFolderLocalServiceWrapper(DLFolderLocalService dlFolderLocalService) |
| Modifier and Type | Method and Description |
|---|---|
void |
addDLFileEntryTypeDLFolder(long fileEntryTypeId,
DLFolder dlFolder) |
void |
addDLFileEntryTypeDLFolder(long fileEntryTypeId,
long folderId) |
void |
addDLFileEntryTypeDLFolders(long fileEntryTypeId,
java.util.List<DLFolder> DLFolders) |
void |
addDLFileEntryTypeDLFolders(long fileEntryTypeId,
long[] folderIds) |
DLFolder |
addDLFolder(DLFolder dlFolder)
Adds the document library folder to the database.
|
DLFolder |
addFolder(long userId,
long groupId,
long repositoryId,
boolean mountPoint,
long parentFolderId,
java.lang.String name,
java.lang.String description,
boolean hidden,
ServiceContext serviceContext) |
DLFolder |
addFolder(long userId,
long groupId,
long repositoryId,
boolean mountPoint,
long parentFolderId,
java.lang.String name,
java.lang.String description,
ServiceContext serviceContext)
Deprecated.
As of 6.2.0, replaced by more general
addFolder(long,
long, long, boolean, long, String, String, boolean,
ServiceContext) |
void |
clearDLFileEntryTypeDLFolders(long fileEntryTypeId) |
DLFolder |
createDLFolder(long folderId)
Creates a new document library folder with the primary key.
|
void |
deleteAll(long groupId)
Deprecated.
As of 7.0.0, replaced by
deleteAllByGroup(long) |
void |
deleteAllByGroup(long groupId) |
void |
deleteAllByRepository(long repositoryId) |
void |
deleteDLFileEntryTypeDLFolder(long fileEntryTypeId,
DLFolder dlFolder) |
void |
deleteDLFileEntryTypeDLFolder(long fileEntryTypeId,
long folderId) |
void |
deleteDLFileEntryTypeDLFolders(long fileEntryTypeId,
java.util.List<DLFolder> DLFolders) |
void |
deleteDLFileEntryTypeDLFolders(long fileEntryTypeId,
long[] folderIds) |
DLFolder |
deleteDLFolder(DLFolder dlFolder)
Deletes the document library folder from the database.
|
DLFolder |
deleteDLFolder(long folderId)
Deletes the document library folder with the primary key from the database.
|
DLFolder |
deleteFolder(DLFolder dlFolder) |
DLFolder |
deleteFolder(DLFolder dlFolder,
boolean includeTrashedEntries) |
DLFolder |
deleteFolder(long folderId) |
DLFolder |
deleteFolder(long folderId,
boolean includeTrashedEntries) |
DLFolder |
deleteFolder(long userId,
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.
|
DLFolder |
fetchDLFolder(long folderId) |
DLFolder |
fetchDLFolderByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns the document library folder with the matching UUID and company.
|
DLFolder |
fetchDLFolderByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the document library folder matching the UUID and group.
|
DLFolder |
fetchFolder(long folderId) |
DLFolder |
fetchFolder(long groupId,
long parentFolderId,
java.lang.String name) |
java.lang.String |
getBeanIdentifier()
Returns the Spring bean ID for this bean.
|
java.util.List<DLFolder> |
getCompanyFolders(long companyId,
int start,
int end) |
int |
getCompanyFoldersCount(long companyId) |
java.util.List<DLFolder> |
getDLFileEntryTypeDLFolders(long fileEntryTypeId) |
java.util.List<DLFolder> |
getDLFileEntryTypeDLFolders(long fileEntryTypeId,
int start,
int end) |
java.util.List<DLFolder> |
getDLFileEntryTypeDLFolders(long fileEntryTypeId,
int start,
int end,
OrderByComparator orderByComparator) |
int |
getDLFileEntryTypeDLFoldersCount(long fileEntryTypeId) |
DLFolder |
getDLFolder(long folderId)
Returns the document library folder with the primary key.
|
DLFolder |
getDLFolderByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns the document library folder with the matching UUID and company.
|
DLFolder |
getDLFolderByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the document library folder matching the UUID and group.
|
java.util.List<DLFolder> |
getDLFolders(int start,
int end)
Returns a range of all the document library folders.
|
int |
getDLFoldersCount()
Returns the number of document library folders.
|
java.util.List<java.lang.Object> |
getFileEntriesAndFileShortcuts(long groupId,
long folderId,
int status,
int start,
int end)
Deprecated.
As of 6.2.0, replaced by
getFileEntriesAndFileShortcuts(long, long, QueryDefinition) |
java.util.List<java.lang.Object> |
getFileEntriesAndFileShortcuts(long groupId,
long folderId,
QueryDefinition queryDefinition) |
int |
getFileEntriesAndFileShortcutsCount(long groupId,
long folderId,
int status)
Deprecated.
As of 6.2.0, replaced by
getFileEntriesAndFileShortcutsCount(long, long,
QueryDefinition) |
int |
getFileEntriesAndFileShortcutsCount(long groupId,
long folderId,
QueryDefinition queryDefinition) |
DLFolder |
getFolder(long folderId) |
DLFolder |
getFolder(long groupId,
long parentFolderId,
java.lang.String name) |
long |
getFolderId(long companyId,
long folderId) |
java.util.List<DLFolder> |
getFolders(long groupId,
long parentFolderId) |
java.util.List<DLFolder> |
getFolders(long groupId,
long parentFolderId,
boolean includeMountfolders) |
java.util.List<DLFolder> |
getFolders(long groupId,
long parentFolderId,
boolean includeMountfolders,
int start,
int end,
OrderByComparator obc) |
java.util.List<DLFolder> |
getFolders(long groupId,
long parentFolderId,
int start,
int end,
OrderByComparator obc) |
java.util.List<java.lang.Object> |
getFoldersAndFileEntriesAndFileShortcuts(long groupId,
long folderId,
int status,
boolean includeMountFolders,
int start,
int end,
OrderByComparator obc)
Deprecated.
As of 6.2.0, replaced by
getFoldersAndFileEntriesAndFileShortcuts(long, long,
String[], boolean, QueryDefinition) |
java.util.List<java.lang.Object> |
getFoldersAndFileEntriesAndFileShortcuts(long groupId,
long folderId,
int status,
java.lang.String[] mimeTypes,
boolean includeMountFolders,
int start,
int end,
OrderByComparator obc)
Deprecated.
As of 6.2.0, replaced by
getFoldersAndFileEntriesAndFileShortcutsCount(long, long,
String[], boolean, QueryDefinition) |
java.util.List<java.lang.Object> |
getFoldersAndFileEntriesAndFileShortcuts(long groupId,
long folderId,
java.lang.String[] mimeTypes,
boolean includeMountFolders,
QueryDefinition queryDefinition) |
int |
getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
long folderId,
int status,
boolean includeMountFolders)
Deprecated.
As of 6.2.0, replaced by
getFoldersAndFileEntriesAndFileShortcutsCount(long, long,
String[], boolean, QueryDefinition) |
int |
getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
long folderId,
int status,
java.lang.String[] mimeTypes,
boolean includeMountFolders)
Deprecated.
As of 6.2.0, replaced by
getFoldersAndFileEntriesAndFileShortcutsCount(long, long,
String[], boolean, QueryDefinition) |
int |
getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
long folderId,
java.lang.String[] mimeTypes,
boolean includeMountFolders,
QueryDefinition queryDefinition) |
int |
getFoldersCount(long groupId,
long parentFolderId) |
int |
getFoldersCount(long groupId,
long parentFolderId,
boolean includeMountfolders) |
int |
getFoldersCount(long groupId,
long parentFolderId,
int status,
boolean includeMountfolders) |
DLFolder |
getMountFolder(long repositoryId) |
java.util.List<DLFolder> |
getMountFolders(long groupId,
long parentFolderId,
int start,
int end,
OrderByComparator obc) |
int |
getMountFoldersCount(long groupId,
long parentFolderId) |
java.util.List<DLFolder> |
getNoAssetFolders() |
PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
void |
getSubfolderIds(java.util.List<java.lang.Long> folderIds,
long groupId,
long folderId) |
DLFolderLocalService |
getWrappedDLFolderLocalService()
Deprecated.
As of 6.1.0, replaced by
getWrappedService() |
DLFolderLocalService |
getWrappedService() |
boolean |
hasDLFileEntryTypeDLFolder(long fileEntryTypeId,
long folderId) |
boolean |
hasDLFileEntryTypeDLFolders(long fileEntryTypeId) |
boolean |
hasFolderLock(long userId,
long folderId) |
Lock |
lockFolder(long userId,
long folderId) |
Lock |
lockFolder(long userId,
long folderId,
java.lang.String owner,
boolean inheritable,
long expirationTime) |
DLFolder |
moveFolder(long userId,
long folderId,
long parentFolderId,
ServiceContext serviceContext) |
void |
rebuildTree(long companyId) |
void |
setBeanIdentifier(java.lang.String beanIdentifier)
Sets the Spring bean ID for this bean.
|
void |
setDLFileEntryTypeDLFolders(long fileEntryTypeId,
long[] folderIds) |
void |
setWrappedDLFolderLocalService(DLFolderLocalService dlFolderLocalService)
Deprecated.
As of 6.1.0, replaced by
setWrappedService(com.liferay.portlet.documentlibrary.service.DLFolderLocalService) |
void |
setWrappedService(DLFolderLocalService dlFolderLocalService) |
void |
unlockFolder(long groupId,
long parentFolderId,
java.lang.String name,
java.lang.String lockUuid) |
void |
unlockFolder(long folderId,
java.lang.String lockUuid) |
DLFolder |
updateDLFolder(DLFolder dlFolder)
Updates the document library folder in the database or adds it if it does not yet exist.
|
DLFolder |
updateFolder(long folderId,
long parentFolderId,
java.lang.String name,
java.lang.String description,
long defaultFileEntryTypeId,
java.util.List<java.lang.Long> fileEntryTypeIds,
boolean overrideFileEntryTypes,
ServiceContext serviceContext) |
DLFolder |
updateFolder(long folderId,
java.lang.String name,
java.lang.String description,
long defaultFileEntryTypeId,
java.util.List<java.lang.Long> fileEntryTypeIds,
boolean overrideFileEntryTypes,
ServiceContext serviceContext) |
DLFolder |
updateFolderAndFileEntryTypes(long userId,
long folderId,
long parentFolderId,
java.lang.String name,
java.lang.String description,
long defaultFileEntryTypeId,
java.util.List<java.lang.Long> fileEntryTypeIds,
boolean overrideFileEntryTypes,
ServiceContext serviceContext) |
void |
updateLastPostDate(long folderId,
java.util.Date lastPostDate) |
DLFolder |
updateStatus(long userId,
long folderId,
int status,
java.util.Map<java.lang.String,java.io.Serializable> workflowContext,
ServiceContext serviceContext) |
public DLFolderLocalServiceWrapper(DLFolderLocalService dlFolderLocalService)
public DLFolder addDLFolder(DLFolder dlFolder) throws SystemException
addDLFolder in interface DLFolderLocalServicedlFolder - the document library folderSystemException - if a system exception occurredpublic DLFolder createDLFolder(long folderId)
createDLFolder in interface DLFolderLocalServicefolderId - the primary key for the new document library folderpublic DLFolder deleteDLFolder(long folderId) throws PortalException, SystemException
deleteDLFolder in interface DLFolderLocalServicefolderId - the primary key of the document library folderPortalException - if a document library folder with the primary key could not be foundSystemException - if a system exception occurredpublic DLFolder deleteDLFolder(DLFolder dlFolder) throws SystemException
deleteDLFolder in interface DLFolderLocalServicedlFolder - the document library folderSystemException - if a system exception occurredpublic DynamicQuery dynamicQuery()
dynamicQuery in interface DLFolderLocalServicepublic java.util.List dynamicQuery(DynamicQuery dynamicQuery) throws SystemException
dynamicQuery in interface DLFolderLocalServicedynamicQuery - 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 DLFolderModelImpl. 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 DLFolderLocalServicedynamicQuery - 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 DLFolderModelImpl. 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 DLFolderLocalServicedynamicQuery - 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 DLFolderLocalServicedynamicQuery - the dynamic querySystemException - if a system exception occurredpublic long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection) throws SystemException
dynamicQueryCount in interface DLFolderLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the querySystemException - if a system exception occurredpublic DLFolder fetchDLFolder(long folderId) throws SystemException
fetchDLFolder in interface DLFolderLocalServiceSystemExceptionpublic DLFolder fetchDLFolderByUuidAndCompanyId(java.lang.String uuid, long companyId) throws SystemException
fetchDLFolderByUuidAndCompanyId in interface DLFolderLocalServiceuuid - the document library folder's UUIDcompanyId - the primary key of the companynull if a matching document library folder could not be foundSystemException - if a system exception occurredpublic DLFolder fetchDLFolderByUuidAndGroupId(java.lang.String uuid, long groupId) throws SystemException
fetchDLFolderByUuidAndGroupId in interface DLFolderLocalServiceuuid - the document library folder's UUIDgroupId - the primary key of the groupnull if a matching document library folder could not be foundSystemException - if a system exception occurredpublic DLFolder getDLFolder(long folderId) throws PortalException, SystemException
getDLFolder in interface DLFolderLocalServicefolderId - the primary key of the document library folderPortalException - if a document library folder 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 DLFolderLocalServicePortalExceptionSystemExceptionpublic DLFolder getDLFolderByUuidAndCompanyId(java.lang.String uuid, long companyId) throws PortalException, SystemException
getDLFolderByUuidAndCompanyId in interface DLFolderLocalServiceuuid - the document library folder's UUIDcompanyId - the primary key of the companyPortalException - if a matching document library folder could not be foundSystemException - if a system exception occurredpublic DLFolder getDLFolderByUuidAndGroupId(java.lang.String uuid, long groupId) throws PortalException, SystemException
getDLFolderByUuidAndGroupId in interface DLFolderLocalServiceuuid - the document library folder's UUIDgroupId - the primary key of the groupPortalException - if a matching document library folder could not be foundSystemException - if a system exception occurredpublic java.util.List<DLFolder> getDLFolders(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 DLFolderModelImpl. 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.
getDLFolders in interface DLFolderLocalServicestart - the lower bound of the range of document library foldersend - the upper bound of the range of document library folders (not inclusive)SystemException - if a system exception occurredpublic int getDLFoldersCount()
throws SystemException
getDLFoldersCount in interface DLFolderLocalServiceSystemException - if a system exception occurredpublic DLFolder updateDLFolder(DLFolder dlFolder) throws SystemException
updateDLFolder in interface DLFolderLocalServicedlFolder - the document library folderSystemException - if a system exception occurredpublic void addDLFileEntryTypeDLFolder(long fileEntryTypeId,
long folderId)
throws SystemException
addDLFileEntryTypeDLFolder in interface DLFolderLocalServiceSystemException - if a system exception occurredpublic void addDLFileEntryTypeDLFolder(long fileEntryTypeId,
DLFolder dlFolder)
throws SystemException
addDLFileEntryTypeDLFolder in interface DLFolderLocalServiceSystemException - if a system exception occurredpublic void addDLFileEntryTypeDLFolders(long fileEntryTypeId,
long[] folderIds)
throws SystemException
addDLFileEntryTypeDLFolders in interface DLFolderLocalServiceSystemException - if a system exception occurredpublic void addDLFileEntryTypeDLFolders(long fileEntryTypeId,
java.util.List<DLFolder> DLFolders)
throws SystemException
addDLFileEntryTypeDLFolders in interface DLFolderLocalServiceSystemException - if a system exception occurredpublic void clearDLFileEntryTypeDLFolders(long fileEntryTypeId)
throws SystemException
clearDLFileEntryTypeDLFolders in interface DLFolderLocalServiceSystemException - if a system exception occurredpublic void deleteDLFileEntryTypeDLFolder(long fileEntryTypeId,
long folderId)
throws SystemException
deleteDLFileEntryTypeDLFolder in interface DLFolderLocalServiceSystemException - if a system exception occurredpublic void deleteDLFileEntryTypeDLFolder(long fileEntryTypeId,
DLFolder dlFolder)
throws SystemException
deleteDLFileEntryTypeDLFolder in interface DLFolderLocalServiceSystemException - if a system exception occurredpublic void deleteDLFileEntryTypeDLFolders(long fileEntryTypeId,
long[] folderIds)
throws SystemException
deleteDLFileEntryTypeDLFolders in interface DLFolderLocalServiceSystemException - if a system exception occurredpublic void deleteDLFileEntryTypeDLFolders(long fileEntryTypeId,
java.util.List<DLFolder> DLFolders)
throws SystemException
deleteDLFileEntryTypeDLFolders in interface DLFolderLocalServiceSystemException - if a system exception occurredpublic java.util.List<DLFolder> getDLFileEntryTypeDLFolders(long fileEntryTypeId) throws SystemException
getDLFileEntryTypeDLFolders in interface DLFolderLocalServiceSystemException - if a system exception occurredpublic java.util.List<DLFolder> getDLFileEntryTypeDLFolders(long fileEntryTypeId, int start, int end) throws SystemException
getDLFileEntryTypeDLFolders in interface DLFolderLocalServiceSystemException - if a system exception occurredpublic java.util.List<DLFolder> getDLFileEntryTypeDLFolders(long fileEntryTypeId, int start, int end, OrderByComparator orderByComparator) throws SystemException
getDLFileEntryTypeDLFolders in interface DLFolderLocalServiceSystemException - if a system exception occurredpublic int getDLFileEntryTypeDLFoldersCount(long fileEntryTypeId)
throws SystemException
getDLFileEntryTypeDLFoldersCount in interface DLFolderLocalServiceSystemException - if a system exception occurredpublic boolean hasDLFileEntryTypeDLFolder(long fileEntryTypeId,
long folderId)
throws SystemException
hasDLFileEntryTypeDLFolder in interface DLFolderLocalServiceSystemException - if a system exception occurredpublic boolean hasDLFileEntryTypeDLFolders(long fileEntryTypeId)
throws SystemException
hasDLFileEntryTypeDLFolders in interface DLFolderLocalServiceSystemException - if a system exception occurredpublic void setDLFileEntryTypeDLFolders(long fileEntryTypeId,
long[] folderIds)
throws SystemException
setDLFileEntryTypeDLFolders in interface DLFolderLocalServiceSystemException - if a system exception occurredpublic java.lang.String getBeanIdentifier()
getBeanIdentifier in interface DLFolderLocalServicepublic void setBeanIdentifier(java.lang.String beanIdentifier)
setBeanIdentifier in interface DLFolderLocalServicebeanIdentifier - the Spring bean ID for this beanpublic DLFolder addFolder(long userId, long groupId, long repositoryId, boolean mountPoint, long parentFolderId, java.lang.String name, java.lang.String description, boolean hidden, ServiceContext serviceContext) throws PortalException, SystemException
addFolder in interface DLFolderLocalServicePortalExceptionSystemExceptionpublic DLFolder addFolder(long userId, long groupId, long repositoryId, boolean mountPoint, long parentFolderId, java.lang.String name, java.lang.String description, ServiceContext serviceContext) throws PortalException, SystemException
addFolder(long,
long, long, boolean, long, String, String, boolean,
ServiceContext)addFolder in interface DLFolderLocalServicePortalExceptionSystemExceptionpublic void deleteAll(long groupId)
throws PortalException,
SystemException
deleteAllByGroup(long)deleteAll in interface DLFolderLocalServicePortalExceptionSystemExceptionpublic void deleteAllByGroup(long groupId)
throws PortalException,
SystemException
deleteAllByGroup in interface DLFolderLocalServicePortalExceptionSystemExceptionpublic void deleteAllByRepository(long repositoryId)
throws PortalException,
SystemException
deleteAllByRepository in interface DLFolderLocalServicePortalExceptionSystemExceptionpublic DLFolder deleteFolder(DLFolder dlFolder) throws PortalException, SystemException
deleteFolder in interface DLFolderLocalServicePortalExceptionSystemExceptionpublic DLFolder deleteFolder(DLFolder dlFolder, boolean includeTrashedEntries) throws PortalException, SystemException
deleteFolder in interface DLFolderLocalServicePortalExceptionSystemExceptionpublic DLFolder deleteFolder(long folderId) throws PortalException, SystemException
deleteFolder in interface DLFolderLocalServicePortalExceptionSystemExceptionpublic DLFolder deleteFolder(long folderId, boolean includeTrashedEntries) throws PortalException, SystemException
deleteFolder in interface DLFolderLocalServicePortalExceptionSystemExceptionpublic DLFolder deleteFolder(long userId, long folderId, boolean includeTrashedEntries) throws PortalException, SystemException
deleteFolder in interface DLFolderLocalServicePortalExceptionSystemExceptionpublic DLFolder fetchFolder(long folderId) throws SystemException
fetchFolder in interface DLFolderLocalServiceSystemExceptionpublic DLFolder fetchFolder(long groupId, long parentFolderId, java.lang.String name) throws SystemException
fetchFolder in interface DLFolderLocalServiceSystemExceptionpublic java.util.List<DLFolder> getCompanyFolders(long companyId, int start, int end) throws SystemException
getCompanyFolders in interface DLFolderLocalServiceSystemExceptionpublic int getCompanyFoldersCount(long companyId)
throws SystemException
getCompanyFoldersCount in interface DLFolderLocalServiceSystemExceptionpublic java.util.List<java.lang.Object> getFileEntriesAndFileShortcuts(long groupId,
long folderId,
int status,
int start,
int end)
throws SystemException
getFileEntriesAndFileShortcuts(long, long, QueryDefinition)getFileEntriesAndFileShortcuts in interface DLFolderLocalServiceSystemExceptionpublic java.util.List<java.lang.Object> getFileEntriesAndFileShortcuts(long groupId,
long folderId,
QueryDefinition queryDefinition)
throws SystemException
getFileEntriesAndFileShortcuts in interface DLFolderLocalServiceSystemExceptionpublic int getFileEntriesAndFileShortcutsCount(long groupId,
long folderId,
int status)
throws SystemException
getFileEntriesAndFileShortcutsCount(long, long,
QueryDefinition)getFileEntriesAndFileShortcutsCount in interface DLFolderLocalServiceSystemExceptionpublic int getFileEntriesAndFileShortcutsCount(long groupId,
long folderId,
QueryDefinition queryDefinition)
throws SystemException
getFileEntriesAndFileShortcutsCount in interface DLFolderLocalServiceSystemExceptionpublic DLFolder getFolder(long folderId) throws PortalException, SystemException
getFolder in interface DLFolderLocalServicePortalExceptionSystemExceptionpublic DLFolder getFolder(long groupId, long parentFolderId, java.lang.String name) throws PortalException, SystemException
getFolder in interface DLFolderLocalServicePortalExceptionSystemExceptionpublic long getFolderId(long companyId,
long folderId)
throws SystemException
getFolderId in interface DLFolderLocalServiceSystemExceptionpublic java.util.List<DLFolder> getFolders(long groupId, long parentFolderId) throws SystemException
getFolders in interface DLFolderLocalServiceSystemExceptionpublic java.util.List<DLFolder> getFolders(long groupId, long parentFolderId, boolean includeMountfolders) throws SystemException
getFolders in interface DLFolderLocalServiceSystemExceptionpublic java.util.List<DLFolder> getFolders(long groupId, long parentFolderId, boolean includeMountfolders, int start, int end, OrderByComparator obc) throws SystemException
getFolders in interface DLFolderLocalServiceSystemExceptionpublic java.util.List<DLFolder> getFolders(long groupId, long parentFolderId, int start, int end, OrderByComparator obc) throws SystemException
getFolders in interface DLFolderLocalServiceSystemExceptionpublic java.util.List<java.lang.Object> getFoldersAndFileEntriesAndFileShortcuts(long groupId,
long folderId,
int status,
boolean includeMountFolders,
int start,
int end,
OrderByComparator obc)
throws SystemException
getFoldersAndFileEntriesAndFileShortcuts(long, long,
String[], boolean, QueryDefinition)getFoldersAndFileEntriesAndFileShortcuts in interface DLFolderLocalServiceSystemExceptionpublic java.util.List<java.lang.Object> getFoldersAndFileEntriesAndFileShortcuts(long groupId,
long folderId,
int status,
java.lang.String[] mimeTypes,
boolean includeMountFolders,
int start,
int end,
OrderByComparator obc)
throws SystemException
getFoldersAndFileEntriesAndFileShortcutsCount(long, long,
String[], boolean, QueryDefinition)getFoldersAndFileEntriesAndFileShortcuts in interface DLFolderLocalServiceSystemExceptionpublic java.util.List<java.lang.Object> getFoldersAndFileEntriesAndFileShortcuts(long groupId,
long folderId,
java.lang.String[] mimeTypes,
boolean includeMountFolders,
QueryDefinition queryDefinition)
throws SystemException
getFoldersAndFileEntriesAndFileShortcuts in interface DLFolderLocalServiceSystemExceptionpublic int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
long folderId,
int status,
boolean includeMountFolders)
throws SystemException
getFoldersAndFileEntriesAndFileShortcutsCount(long, long,
String[], boolean, QueryDefinition)getFoldersAndFileEntriesAndFileShortcutsCount in interface DLFolderLocalServiceSystemExceptionpublic int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
long folderId,
int status,
java.lang.String[] mimeTypes,
boolean includeMountFolders)
throws SystemException
getFoldersAndFileEntriesAndFileShortcutsCount(long, long,
String[], boolean, QueryDefinition)getFoldersAndFileEntriesAndFileShortcutsCount in interface DLFolderLocalServiceSystemExceptionpublic int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
long folderId,
java.lang.String[] mimeTypes,
boolean includeMountFolders,
QueryDefinition queryDefinition)
throws SystemException
getFoldersAndFileEntriesAndFileShortcutsCount in interface DLFolderLocalServiceSystemExceptionpublic int getFoldersCount(long groupId,
long parentFolderId)
throws SystemException
getFoldersCount in interface DLFolderLocalServiceSystemExceptionpublic int getFoldersCount(long groupId,
long parentFolderId,
boolean includeMountfolders)
throws SystemException
getFoldersCount in interface DLFolderLocalServiceSystemExceptionpublic int getFoldersCount(long groupId,
long parentFolderId,
int status,
boolean includeMountfolders)
throws SystemException
getFoldersCount in interface DLFolderLocalServiceSystemExceptionpublic DLFolder getMountFolder(long repositoryId) throws PortalException, SystemException
getMountFolder in interface DLFolderLocalServicePortalExceptionSystemExceptionpublic java.util.List<DLFolder> getMountFolders(long groupId, long parentFolderId, int start, int end, OrderByComparator obc) throws SystemException
getMountFolders in interface DLFolderLocalServiceSystemExceptionpublic int getMountFoldersCount(long groupId,
long parentFolderId)
throws SystemException
getMountFoldersCount in interface DLFolderLocalServiceSystemExceptionpublic java.util.List<DLFolder> getNoAssetFolders() throws SystemException
getNoAssetFolders in interface DLFolderLocalServiceSystemExceptionpublic void getSubfolderIds(java.util.List<java.lang.Long> folderIds,
long groupId,
long folderId)
throws SystemException
getSubfolderIds in interface DLFolderLocalServiceSystemExceptionpublic boolean hasFolderLock(long userId,
long folderId)
throws SystemException
hasFolderLock in interface DLFolderLocalServiceSystemExceptionpublic Lock lockFolder(long userId, long folderId) throws PortalException, SystemException
lockFolder in interface DLFolderLocalServicePortalExceptionSystemExceptionpublic Lock lockFolder(long userId, long folderId, java.lang.String owner, boolean inheritable, long expirationTime) throws PortalException, SystemException
lockFolder in interface DLFolderLocalServicePortalExceptionSystemExceptionpublic DLFolder moveFolder(long userId, long folderId, long parentFolderId, ServiceContext serviceContext) throws PortalException, SystemException
moveFolder in interface DLFolderLocalServicePortalExceptionSystemExceptionpublic void rebuildTree(long companyId)
throws SystemException
rebuildTree in interface DLFolderLocalServiceSystemExceptionpublic void unlockFolder(long groupId,
long parentFolderId,
java.lang.String name,
java.lang.String lockUuid)
throws PortalException,
SystemException
unlockFolder in interface DLFolderLocalServicePortalExceptionSystemExceptionpublic void unlockFolder(long folderId,
java.lang.String lockUuid)
throws PortalException,
SystemException
unlockFolder in interface DLFolderLocalServicePortalExceptionSystemExceptionpublic DLFolder updateFolder(long folderId, long parentFolderId, java.lang.String name, java.lang.String description, long defaultFileEntryTypeId, java.util.List<java.lang.Long> fileEntryTypeIds, boolean overrideFileEntryTypes, ServiceContext serviceContext) throws PortalException, SystemException
updateFolder in interface DLFolderLocalServicePortalExceptionSystemExceptionpublic DLFolder updateFolder(long folderId, java.lang.String name, java.lang.String description, long defaultFileEntryTypeId, java.util.List<java.lang.Long> fileEntryTypeIds, boolean overrideFileEntryTypes, ServiceContext serviceContext) throws PortalException, SystemException
updateFolder in interface DLFolderLocalServicePortalExceptionSystemExceptionpublic DLFolder updateFolderAndFileEntryTypes(long userId, long folderId, long parentFolderId, java.lang.String name, java.lang.String description, long defaultFileEntryTypeId, java.util.List<java.lang.Long> fileEntryTypeIds, boolean overrideFileEntryTypes, ServiceContext serviceContext) throws PortalException, SystemException
updateFolderAndFileEntryTypes in interface DLFolderLocalServicePortalExceptionSystemExceptionpublic void updateLastPostDate(long folderId,
java.util.Date lastPostDate)
throws PortalException,
SystemException
updateLastPostDate in interface DLFolderLocalServicePortalExceptionSystemExceptionpublic DLFolder updateStatus(long userId, long folderId, int status, java.util.Map<java.lang.String,java.io.Serializable> workflowContext, ServiceContext serviceContext) throws PortalException, SystemException
updateStatus in interface DLFolderLocalServicePortalExceptionSystemExceptionpublic DLFolderLocalService getWrappedDLFolderLocalService()
getWrappedService()public void setWrappedDLFolderLocalService(DLFolderLocalService dlFolderLocalService)
setWrappedService(com.liferay.portlet.documentlibrary.service.DLFolderLocalService)public DLFolderLocalService getWrappedService()
getWrappedService in interface ServiceWrapper<DLFolderLocalService>public void setWrappedService(DLFolderLocalService dlFolderLocalService)
setWrappedService in interface ServiceWrapper<DLFolderLocalService>