Class DLFolderLocalServiceWrapper
- All Implemented Interfaces:
DLFolderLocalService,BaseLocalService,CTService<DLFolder>,PersistedModelLocalService,ServiceWrapper<DLFolderLocalService>
DLFolderLocalService.- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddDLFileEntryTypeDLFolder(long fileEntryTypeId, long folderId) booleanaddDLFileEntryTypeDLFolder(long fileEntryTypeId, DLFolder dlFolder) booleanaddDLFileEntryTypeDLFolders(long fileEntryTypeId, long[] folderIds) booleanaddDLFileEntryTypeDLFolders(long fileEntryTypeId, List<DLFolder> dlFolders) addDLFolder(DLFolder dlFolder) Adds the document library folder to the database.addFolder(String externalReferenceCode, long userId, long groupId, long repositoryId, boolean mountPoint, long parentFolderId, String name, String description, boolean hidden, ServiceContext serviceContext) voidclearDLFileEntryTypeDLFolders(long fileEntryTypeId) createDLFolder(long folderId) Creates a new document library folder with the primary key.createPersistedModel(Serializable primaryKeyObj) voiddeleteAllByGroup(long groupId) voiddeleteAllByRepository(long repositoryId) voiddeleteDLFileEntryTypeDLFolder(long fileEntryTypeId, long folderId) voiddeleteDLFileEntryTypeDLFolder(long fileEntryTypeId, DLFolder dlFolder) voiddeleteDLFileEntryTypeDLFolders(long fileEntryTypeId, long[] folderIds) voiddeleteDLFileEntryTypeDLFolders(long fileEntryTypeId, List<DLFolder> dlFolders) deleteDLFolder(long folderId) Deletes the document library folder with the primary key from the database.deleteDLFolder(DLFolder dlFolder) Deletes the document library folder from the database.deleteFolder(long folderId) deleteFolder(long folderId, boolean includeTrashedEntries) deleteFolder(long userId, long folderId, boolean includeTrashedEntries) deleteFolder(DLFolder dlFolder) deleteFolder(DLFolder dlFolder, boolean includeTrashedEntries) deletePersistedModel(PersistedModel persistedModel) <T> TdslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) intdslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) <T> List<T>dynamicQuery(DynamicQuery dynamicQuery) Performs a dynamic query on the database and returns the matching rows.<T> List<T>dynamicQuery(DynamicQuery dynamicQuery, int start, int end) Performs a dynamic query on the database and returns a range of the matching rows.<T> List<T>dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<T> orderByComparator) Performs a dynamic query on the database and returns an ordered range of the matching rows.longdynamicQueryCount(DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.longdynamicQueryCount(DynamicQuery dynamicQuery, Projection projection) Returns the number of rows matching the dynamic query.fetchDLFolder(long folderId) fetchDLFolderByExternalReferenceCode(String externalReferenceCode, long groupId) fetchDLFolderByUuidAndGroupId(String uuid, long groupId) Returns the document library folder matching the UUID and group.fetchFolder(long folderId) fetchFolder(long groupId, long parentFolderId, String name) fetchFolder(String uuid, long groupId) getCompanyFolders(long companyId, int start, int end) intgetCompanyFoldersCount(long companyId) getDLFileEntryTypeDLFolders(long fileEntryTypeId) getDLFileEntryTypeDLFolders(long fileEntryTypeId, int start, int end) getDLFileEntryTypeDLFolders(long fileEntryTypeId, int start, int end, OrderByComparator<DLFolder> orderByComparator) intgetDLFileEntryTypeDLFoldersCount(long fileEntryTypeId) long[]getDLFileEntryTypePrimaryKeys(long folderId) Returns the fileEntryTypeIds of the document library file entry types associated with the document library folder.getDLFolder(long folderId) Returns the document library folder with the primary key.getDLFolderByExternalReferenceCode(String externalReferenceCode, long groupId) getDLFolderByUuidAndGroupId(String uuid, long groupId) Returns the document library folder matching the UUID and group.getDLFolders(int start, int end) Returns a range of all the document library folders.getDLFoldersByUuidAndCompanyId(String uuid, long companyId) Returns all the document library folders matching the UUID and company.getDLFoldersByUuidAndCompanyId(String uuid, long companyId, int start, int end, OrderByComparator<DLFolder> orderByComparator) Returns a range of document library folders matching the UUID and company.intReturns the number of document library folders.getExportActionableDynamicQuery(PortletDataContext portletDataContext) getFileEntriesAndFileShortcuts(long groupId, long folderId, QueryDefinition<?> queryDefinition) intgetFileEntriesAndFileShortcutsCount(long groupId, long folderId, QueryDefinition<?> queryDefinition) getFolder(long folderId) longgetFolderId(long companyId, long folderId) getFolders(long groupId, boolean mountPoint, String treePath, boolean hidden) getFolders(long groupId, long parentFolderId) getFolders(long groupId, long parentFolderId, boolean includeMountfolders) getFolders(long groupId, long parentFolderId, boolean includeMountfolders, int status, int start, int end, OrderByComparator<DLFolder> orderByComparator) getFolders(long groupId, long parentFolderId, boolean includeMountfolders, int start, int end, OrderByComparator<DLFolder> orderByComparator) getFolders(long groupId, long parentFolderId, int start, int end, OrderByComparator<DLFolder> orderByComparator) getFolders(long classNameId, String treePath) getFoldersAndFileEntriesAndFileShortcuts(long groupId, long folderId, String[] mimeTypes, boolean includeMountFolders, QueryDefinition<?> queryDefinition) intgetFoldersAndFileEntriesAndFileShortcutsCount(long groupId, long folderId, String[] mimeTypes, boolean includeMountFolders, QueryDefinition<?> queryDefinition) intgetFoldersCount(long groupId, long parentFolderId) intgetFoldersCount(long groupId, long parentFolderId, boolean includeMountfolders) intgetFoldersCount(long groupId, long parentFolderId, boolean includeMountfolders, int status) intgetFoldersCount(long groupId, long parentFolderId, int status, boolean includeMountfolders) Deprecated.longgetFolderSize(long companyId, long groupId, String treePath) getGroupFolderIds(long groupId, long parentFolderId) voidgetGroupSubfolderIds(List<Long> folderIds, long groupId, long folderId) getMountFolder(long repositoryId) getMountFolders(long groupId, long parentFolderId, int start, int end, OrderByComparator<DLFolder> orderByComparator) intgetMountFoldersCount(long groupId, long parentFolderId) getNotInTrashFolders(long groupId, boolean mountPoint, String treePath, boolean hidden) Returns the OSGi service identifier.getPersistedModel(Serializable primaryKeyObj) getRepositoryFolderIds(long repositoryId, long parentFolderId) getRepositoryFolders(long repositoryId, int start, int end) intgetRepositoryFoldersCount(long repositoryId) voidgetRepositorySubfolderIds(List<Long> folderIds, long repositoryId, long folderId) getUniqueFolderName(String uuid, long groupId, long parentFolderId, String name, int count) booleanhasDLFileEntryTypeDLFolder(long fileEntryTypeId, long folderId) booleanhasDLFileEntryTypeDLFolders(long fileEntryTypeId) booleanhasFolderLock(long userId, long folderId) booleanhasInheritableLock(long folderId) lockFolder(long userId, long folderId) lockFolder(long userId, long folderId, String owner, boolean inheritable, long expirationTime) moveFolder(long userId, long folderId, long parentFolderId, ServiceContext serviceContext) voidrebuildTree(long companyId) voidrebuildTree(long companyId, long parentFolderId, String parentTreePath, boolean reindex) voidsetDLFileEntryTypeDLFolders(long fileEntryTypeId, long[] folderIds) voidsetWrappedService(DLFolderLocalService dlFolderLocalService) voidunlockFolder(long groupId, long parentFolderId, String name, String lockUuid) voidunlockFolder(long folderId, String lockUuid) updateDLFolder(DLFolder dlFolder) Updates the document library folder in the database or adds it if it does not yet exist.updateFolder(long folderId, long parentFolderId, String name, String description, long defaultFileEntryTypeId, List<Long> fileEntryTypeIds, int restrictionType, ServiceContext serviceContext) updateFolder(long folderId, String name, String description, long defaultFileEntryTypeId, List<Long> fileEntryTypeIds, int restrictionType, ServiceContext serviceContext) updateFolderAndFileEntryTypes(long userId, long folderId, long parentFolderId, String name, String description, long defaultFileEntryTypeId, List<Long> fileEntryTypeIds, int restrictionType, ServiceContext serviceContext) voidupdateLastPostDate(long folderId, Date lastPostDate) updateStatus(long userId, long folderId, int status, Map<String, Serializable> workflowContext, ServiceContext serviceContext) <R,E extends Throwable>
RupdateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<CTPersistence<DLFolder>, R, E> updateUnsafeFunction) booleanverifyInheritableLock(long folderId, String lockUuid) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.liferay.portal.kernel.service.PersistedModelLocalService
fetchPersistedModel
-
Constructor Details
-
DLFolderLocalServiceWrapper
public DLFolderLocalServiceWrapper() -
DLFolderLocalServiceWrapper
-
-
Method Details
-
addDLFileEntryTypeDLFolder
- Specified by:
addDLFileEntryTypeDLFolderin interfaceDLFolderLocalService
-
addDLFileEntryTypeDLFolder
public boolean addDLFileEntryTypeDLFolder(long fileEntryTypeId, long folderId) - Specified by:
addDLFileEntryTypeDLFolderin interfaceDLFolderLocalService
-
addDLFileEntryTypeDLFolders
- Specified by:
addDLFileEntryTypeDLFoldersin interfaceDLFolderLocalService
-
addDLFileEntryTypeDLFolders
public boolean addDLFileEntryTypeDLFolders(long fileEntryTypeId, long[] folderIds) - Specified by:
addDLFileEntryTypeDLFoldersin interfaceDLFolderLocalService
-
addDLFolder
Adds the document library folder to the database. Also notifies the appropriate model listeners.Important: Inspect DLFolderLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Specified by:
addDLFolderin interfaceDLFolderLocalService- Parameters:
dlFolder- the document library folder- Returns:
- the document library folder that was added
-
addFolder
public DLFolder addFolder(String externalReferenceCode, long userId, long groupId, long repositoryId, boolean mountPoint, long parentFolderId, String name, String description, boolean hidden, ServiceContext serviceContext) throws PortalException - Specified by:
addFolderin interfaceDLFolderLocalService- Throws:
PortalException
-
clearDLFileEntryTypeDLFolders
public void clearDLFileEntryTypeDLFolders(long fileEntryTypeId) - Specified by:
clearDLFileEntryTypeDLFoldersin interfaceDLFolderLocalService
-
createDLFolder
Creates a new document library folder with the primary key. Does not add the document library folder to the database.- Specified by:
createDLFolderin interfaceDLFolderLocalService- Parameters:
folderId- the primary key for the new document library folder- Returns:
- the new document library folder
-
createPersistedModel
- Specified by:
createPersistedModelin interfaceDLFolderLocalService- Specified by:
createPersistedModelin interfacePersistedModelLocalService- Throws:
PortalExceptionPortalException
-
deleteAllByGroup
- Specified by:
deleteAllByGroupin interfaceDLFolderLocalService- Throws:
PortalException
-
deleteAllByRepository
- Specified by:
deleteAllByRepositoryin interfaceDLFolderLocalService- Throws:
PortalException
-
deleteDLFileEntryTypeDLFolder
- Specified by:
deleteDLFileEntryTypeDLFolderin interfaceDLFolderLocalService
-
deleteDLFileEntryTypeDLFolder
public void deleteDLFileEntryTypeDLFolder(long fileEntryTypeId, long folderId) - Specified by:
deleteDLFileEntryTypeDLFolderin interfaceDLFolderLocalService
-
deleteDLFileEntryTypeDLFolders
- Specified by:
deleteDLFileEntryTypeDLFoldersin interfaceDLFolderLocalService
-
deleteDLFileEntryTypeDLFolders
public void deleteDLFileEntryTypeDLFolders(long fileEntryTypeId, long[] folderIds) - Specified by:
deleteDLFileEntryTypeDLFoldersin interfaceDLFolderLocalService
-
deleteDLFolder
Deletes the document library folder from the database. Also notifies the appropriate model listeners.Important: Inspect DLFolderLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Specified by:
deleteDLFolderin interfaceDLFolderLocalService- Parameters:
dlFolder- the document library folder- Returns:
- the document library folder that was removed
-
deleteDLFolder
Deletes the document library folder with the primary key from the database. Also notifies the appropriate model listeners.Important: Inspect DLFolderLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Specified by:
deleteDLFolderin interfaceDLFolderLocalService- Parameters:
folderId- the primary key of the document library folder- Returns:
- the document library folder that was removed
- Throws:
PortalException- if a document library folder with the primary key could not be foundPortalException
-
deleteFolder
- Specified by:
deleteFolderin interfaceDLFolderLocalService- Throws:
PortalException
-
deleteFolder
public DLFolder deleteFolder(DLFolder dlFolder, boolean includeTrashedEntries) throws PortalException - Specified by:
deleteFolderin interfaceDLFolderLocalService- Throws:
PortalException
-
deleteFolder
- Specified by:
deleteFolderin interfaceDLFolderLocalService- Throws:
PortalException
-
deleteFolder
- Specified by:
deleteFolderin interfaceDLFolderLocalService- Throws:
PortalException
-
deleteFolder
public DLFolder deleteFolder(long userId, long folderId, boolean includeTrashedEntries) throws PortalException - Specified by:
deleteFolderin interfaceDLFolderLocalService- Throws:
PortalException
-
deletePersistedModel
- Specified by:
deletePersistedModelin interfaceDLFolderLocalService- Specified by:
deletePersistedModelin interfacePersistedModelLocalService- Throws:
PortalExceptionPortalException
-
dslQuery
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryin interfaceDLFolderLocalService- Specified by:
dslQueryin interfacePersistedModelLocalService
-
dslQueryCount
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCountin interfaceDLFolderLocalService- Specified by:
dslQueryCountin interfacePersistedModelLocalService
-
dynamicQuery
- Specified by:
dynamicQueryin interfaceDLFolderLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQueryin interfaceDLFolderLocalService- Parameters:
dynamicQuery- the dynamic query- Returns:
- the matching rows
-
dynamicQuery
Performs a dynamic query on the database and returns a range of the matching rows.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portlet.documentlibrary.model.impl.DLFolderModelImpl.- Specified by:
dynamicQueryin interfaceDLFolderLocalService- Parameters:
dynamicQuery- the dynamic querystart- the lower bound of the range of model instancesend- the upper bound of the range of model instances (not inclusive)- Returns:
- the range of matching rows
-
dynamicQuery
public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<T> orderByComparator) Performs a dynamic query on the database and returns an ordered range of the matching rows.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portlet.documentlibrary.model.impl.DLFolderModelImpl.- Specified by:
dynamicQueryin interfaceDLFolderLocalService- Parameters:
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 (optionallynull)- Returns:
- the ordered range of matching rows
-
dynamicQueryCount
Returns the number of rows matching the dynamic query.- Specified by:
dynamicQueryCountin interfaceDLFolderLocalService- Parameters:
dynamicQuery- the dynamic query- Returns:
- the number of rows matching the dynamic query
-
dynamicQueryCount
Returns the number of rows matching the dynamic query.- Specified by:
dynamicQueryCountin interfaceDLFolderLocalService- Parameters:
dynamicQuery- the dynamic queryprojection- the projection to apply to the query- Returns:
- the number of rows matching the dynamic query
-
fetchDLFolder
- Specified by:
fetchDLFolderin interfaceDLFolderLocalService
-
fetchDLFolderByExternalReferenceCode
- Specified by:
fetchDLFolderByExternalReferenceCodein interfaceDLFolderLocalService
-
fetchDLFolderByUuidAndGroupId
Returns the document library folder matching the UUID and group.- Specified by:
fetchDLFolderByUuidAndGroupIdin interfaceDLFolderLocalService- Parameters:
uuid- the document library folder's UUIDgroupId- the primary key of the group- Returns:
- the matching document library folder, or
nullif a matching document library folder could not be found
-
fetchFolder
- Specified by:
fetchFolderin interfaceDLFolderLocalService
-
fetchFolder
- Specified by:
fetchFolderin interfaceDLFolderLocalService
-
fetchFolder
- Specified by:
fetchFolderin interfaceDLFolderLocalService
-
getActionableDynamicQuery
- Specified by:
getActionableDynamicQueryin interfaceDLFolderLocalService
-
getCompanyFolders
- Specified by:
getCompanyFoldersin interfaceDLFolderLocalService
-
getCompanyFoldersCount
public int getCompanyFoldersCount(long companyId) - Specified by:
getCompanyFoldersCountin interfaceDLFolderLocalService
-
getDLFileEntryTypeDLFolders
- Specified by:
getDLFileEntryTypeDLFoldersin interfaceDLFolderLocalService
-
getDLFileEntryTypeDLFolders
- Specified by:
getDLFileEntryTypeDLFoldersin interfaceDLFolderLocalService
-
getDLFileEntryTypeDLFolders
public List<DLFolder> getDLFileEntryTypeDLFolders(long fileEntryTypeId, int start, int end, OrderByComparator<DLFolder> orderByComparator) - Specified by:
getDLFileEntryTypeDLFoldersin interfaceDLFolderLocalService
-
getDLFileEntryTypeDLFoldersCount
public int getDLFileEntryTypeDLFoldersCount(long fileEntryTypeId) - Specified by:
getDLFileEntryTypeDLFoldersCountin interfaceDLFolderLocalService
-
getDLFileEntryTypePrimaryKeys
public long[] getDLFileEntryTypePrimaryKeys(long folderId) Returns the fileEntryTypeIds of the document library file entry types associated with the document library folder.- Specified by:
getDLFileEntryTypePrimaryKeysin interfaceDLFolderLocalService- Parameters:
folderId- the folderId of the document library folder- Returns:
- long[] the fileEntryTypeIds of document library file entry types associated with the document library folder
-
getDLFolder
Returns the document library folder with the primary key.- Specified by:
getDLFolderin interfaceDLFolderLocalService- Parameters:
folderId- the primary key of the document library folder- Returns:
- the document library folder
- Throws:
PortalException- if a document library folder with the primary key could not be foundPortalException
-
getDLFolderByExternalReferenceCode
public DLFolder getDLFolderByExternalReferenceCode(String externalReferenceCode, long groupId) throws PortalException - Specified by:
getDLFolderByExternalReferenceCodein interfaceDLFolderLocalService- Throws:
PortalException
-
getDLFolderByUuidAndGroupId
Returns the document library folder matching the UUID and group.- Specified by:
getDLFolderByUuidAndGroupIdin interfaceDLFolderLocalService- Parameters:
uuid- the document library folder's UUIDgroupId- the primary key of the group- Returns:
- the matching document library folder
- Throws:
PortalException- if a matching document library folder could not be foundPortalException
-
getDLFolders
Returns a range of all the document library folders.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portlet.documentlibrary.model.impl.DLFolderModelImpl.- Specified by:
getDLFoldersin interfaceDLFolderLocalService- Parameters:
start- the lower bound of the range of document library foldersend- the upper bound of the range of document library folders (not inclusive)- Returns:
- the range of document library folders
-
getDLFoldersByUuidAndCompanyId
Returns all the document library folders matching the UUID and company.- Specified by:
getDLFoldersByUuidAndCompanyIdin interfaceDLFolderLocalService- Parameters:
uuid- the UUID of the document library folderscompanyId- the primary key of the company- Returns:
- the matching document library folders, or an empty list if no matches were found
-
getDLFoldersByUuidAndCompanyId
public List<DLFolder> getDLFoldersByUuidAndCompanyId(String uuid, long companyId, int start, int end, OrderByComparator<DLFolder> orderByComparator) Returns a range of document library folders matching the UUID and company.- Specified by:
getDLFoldersByUuidAndCompanyIdin interfaceDLFolderLocalService- Parameters:
uuid- the UUID of the document library folderscompanyId- the primary key of the companystart- the lower bound of the range of document library foldersend- the upper bound of the range of document library folders (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the range of matching document library folders, or an empty list if no matches were found
-
getDLFoldersCount
public int getDLFoldersCount()Returns the number of document library folders.- Specified by:
getDLFoldersCountin interfaceDLFolderLocalService- Returns:
- the number of document library folders
-
getExportActionableDynamicQuery
public ExportActionableDynamicQuery getExportActionableDynamicQuery(PortletDataContext portletDataContext) - Specified by:
getExportActionableDynamicQueryin interfaceDLFolderLocalService
-
getFileEntriesAndFileShortcuts
public List<Object> getFileEntriesAndFileShortcuts(long groupId, long folderId, QueryDefinition<?> queryDefinition) - Specified by:
getFileEntriesAndFileShortcutsin interfaceDLFolderLocalService
-
getFileEntriesAndFileShortcutsCount
public int getFileEntriesAndFileShortcutsCount(long groupId, long folderId, QueryDefinition<?> queryDefinition) - Specified by:
getFileEntriesAndFileShortcutsCountin interfaceDLFolderLocalService
-
getFolder
- Specified by:
getFolderin interfaceDLFolderLocalService- Throws:
PortalException
-
getFolder
- Specified by:
getFolderin interfaceDLFolderLocalService- Throws:
PortalException
-
getFolderId
public long getFolderId(long companyId, long folderId) - Specified by:
getFolderIdin interfaceDLFolderLocalService
-
getFolders
- Specified by:
getFoldersin interfaceDLFolderLocalService
-
getFolders
- Specified by:
getFoldersin interfaceDLFolderLocalService
-
getFolders
- Specified by:
getFoldersin interfaceDLFolderLocalService
-
getFolders
public List<DLFolder> getFolders(long groupId, long parentFolderId, boolean includeMountfolders, int status, int start, int end, OrderByComparator<DLFolder> orderByComparator) - Specified by:
getFoldersin interfaceDLFolderLocalService
-
getFolders
public List<DLFolder> getFolders(long groupId, long parentFolderId, boolean includeMountfolders, int start, int end, OrderByComparator<DLFolder> orderByComparator) - Specified by:
getFoldersin interfaceDLFolderLocalService
-
getFolders
public List<DLFolder> getFolders(long groupId, long parentFolderId, int start, int end, OrderByComparator<DLFolder> orderByComparator) - Specified by:
getFoldersin interfaceDLFolderLocalService
-
getFolders
- Specified by:
getFoldersin interfaceDLFolderLocalService
-
getFoldersAndFileEntriesAndFileShortcuts
public List<Object> getFoldersAndFileEntriesAndFileShortcuts(long groupId, long folderId, String[] mimeTypes, boolean includeMountFolders, QueryDefinition<?> queryDefinition) - Specified by:
getFoldersAndFileEntriesAndFileShortcutsin interfaceDLFolderLocalService
-
getFoldersAndFileEntriesAndFileShortcutsCount
public int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId, long folderId, String[] mimeTypes, boolean includeMountFolders, QueryDefinition<?> queryDefinition) - Specified by:
getFoldersAndFileEntriesAndFileShortcutsCountin interfaceDLFolderLocalService
-
getFoldersCount
public int getFoldersCount(long groupId, long parentFolderId) - Specified by:
getFoldersCountin interfaceDLFolderLocalService
-
getFoldersCount
public int getFoldersCount(long groupId, long parentFolderId, boolean includeMountfolders) - Specified by:
getFoldersCountin interfaceDLFolderLocalService
-
getFoldersCount
public int getFoldersCount(long groupId, long parentFolderId, boolean includeMountfolders, int status) - Specified by:
getFoldersCountin interfaceDLFolderLocalService
-
getFoldersCount
@Deprecated public int getFoldersCount(long groupId, long parentFolderId, int status, boolean includeMountfolders) Deprecated.As of Athanasius (7.3.x), replaced bygetFoldersCount(long, long, boolean, int)- Specified by:
getFoldersCountin interfaceDLFolderLocalService
-
getFolderSize
- Specified by:
getFolderSizein interfaceDLFolderLocalService
-
getGroupFolderIds
- Specified by:
getGroupFolderIdsin interfaceDLFolderLocalService
-
getGroupSubfolderIds
- Specified by:
getGroupSubfolderIdsin interfaceDLFolderLocalService
-
getIndexableActionableDynamicQuery
- Specified by:
getIndexableActionableDynamicQueryin interfaceDLFolderLocalService
-
getMountFolder
- Specified by:
getMountFolderin interfaceDLFolderLocalService- Throws:
PortalException
-
getMountFolders
public List<DLFolder> getMountFolders(long groupId, long parentFolderId, int start, int end, OrderByComparator<DLFolder> orderByComparator) - Specified by:
getMountFoldersin interfaceDLFolderLocalService
-
getMountFoldersCount
public int getMountFoldersCount(long groupId, long parentFolderId) - Specified by:
getMountFoldersCountin interfaceDLFolderLocalService
-
getNoAssetFolders
- Specified by:
getNoAssetFoldersin interfaceDLFolderLocalService
-
getNotInTrashFolders
public List<DLFolder> getNotInTrashFolders(long groupId, boolean mountPoint, String treePath, boolean hidden) - Specified by:
getNotInTrashFoldersin interfaceDLFolderLocalService
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifierin interfaceDLFolderLocalService- Returns:
- the OSGi service identifier
-
getPersistedModel
- Specified by:
getPersistedModelin interfaceDLFolderLocalService- Specified by:
getPersistedModelin interfacePersistedModelLocalService- Throws:
PortalExceptionPortalException
-
getRepositoryFolderIds
- Specified by:
getRepositoryFolderIdsin interfaceDLFolderLocalService
-
getRepositoryFolders
- Specified by:
getRepositoryFoldersin interfaceDLFolderLocalService
-
getRepositoryFoldersCount
public int getRepositoryFoldersCount(long repositoryId) - Specified by:
getRepositoryFoldersCountin interfaceDLFolderLocalService
-
getRepositorySubfolderIds
- Specified by:
getRepositorySubfolderIdsin interfaceDLFolderLocalService
-
getUniqueFolderName
public String getUniqueFolderName(String uuid, long groupId, long parentFolderId, String name, int count) - Specified by:
getUniqueFolderNamein interfaceDLFolderLocalService
-
hasDLFileEntryTypeDLFolder
public boolean hasDLFileEntryTypeDLFolder(long fileEntryTypeId, long folderId) - Specified by:
hasDLFileEntryTypeDLFolderin interfaceDLFolderLocalService
-
hasDLFileEntryTypeDLFolders
public boolean hasDLFileEntryTypeDLFolders(long fileEntryTypeId) - Specified by:
hasDLFileEntryTypeDLFoldersin interfaceDLFolderLocalService
-
hasFolderLock
public boolean hasFolderLock(long userId, long folderId) - Specified by:
hasFolderLockin interfaceDLFolderLocalService
-
hasInheritableLock
public boolean hasInheritableLock(long folderId) - Specified by:
hasInheritableLockin interfaceDLFolderLocalService
-
lockFolder
- Specified by:
lockFolderin interfaceDLFolderLocalService- Throws:
PortalException
-
lockFolder
public Lock lockFolder(long userId, long folderId, String owner, boolean inheritable, long expirationTime) throws PortalException - Specified by:
lockFolderin interfaceDLFolderLocalService- Throws:
PortalException
-
moveFolder
public DLFolder moveFolder(long userId, long folderId, long parentFolderId, ServiceContext serviceContext) throws PortalException - Specified by:
moveFolderin interfaceDLFolderLocalService- Throws:
PortalException
-
rebuildTree
- Specified by:
rebuildTreein interfaceDLFolderLocalService- Throws:
PortalException
-
rebuildTree
public void rebuildTree(long companyId, long parentFolderId, String parentTreePath, boolean reindex) throws PortalException - Specified by:
rebuildTreein interfaceDLFolderLocalService- Throws:
PortalException
-
setDLFileEntryTypeDLFolders
public void setDLFileEntryTypeDLFolders(long fileEntryTypeId, long[] folderIds) - Specified by:
setDLFileEntryTypeDLFoldersin interfaceDLFolderLocalService
-
unlockFolder
public void unlockFolder(long groupId, long parentFolderId, String name, String lockUuid) throws PortalException - Specified by:
unlockFolderin interfaceDLFolderLocalService- Throws:
PortalException
-
unlockFolder
- Specified by:
unlockFolderin interfaceDLFolderLocalService- Throws:
PortalException
-
updateDLFolder
Updates the document library folder in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.Important: Inspect DLFolderLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Specified by:
updateDLFolderin interfaceDLFolderLocalService- Parameters:
dlFolder- the document library folder- Returns:
- the document library folder that was updated
-
updateFolder
public DLFolder updateFolder(long folderId, long parentFolderId, String name, String description, long defaultFileEntryTypeId, List<Long> fileEntryTypeIds, int restrictionType, ServiceContext serviceContext) throws PortalException - Specified by:
updateFolderin interfaceDLFolderLocalService- Throws:
PortalException
-
updateFolder
public DLFolder updateFolder(long folderId, String name, String description, long defaultFileEntryTypeId, List<Long> fileEntryTypeIds, int restrictionType, ServiceContext serviceContext) throws PortalException - Specified by:
updateFolderin interfaceDLFolderLocalService- Throws:
PortalException
-
updateFolderAndFileEntryTypes
public DLFolder updateFolderAndFileEntryTypes(long userId, long folderId, long parentFolderId, String name, String description, long defaultFileEntryTypeId, List<Long> fileEntryTypeIds, int restrictionType, ServiceContext serviceContext) throws PortalException - Specified by:
updateFolderAndFileEntryTypesin interfaceDLFolderLocalService- Throws:
PortalException
-
updateLastPostDate
- Specified by:
updateLastPostDatein interfaceDLFolderLocalService- Throws:
PortalException
-
updateStatus
public DLFolder updateStatus(long userId, long folderId, int status, Map<String, Serializable> workflowContext, ServiceContext serviceContext) throws PortalException- Specified by:
updateStatusin interfaceDLFolderLocalService- Throws:
PortalException
-
verifyInheritableLock
- Specified by:
verifyInheritableLockin interfaceDLFolderLocalService- Throws:
PortalException
-
getBasePersistence
- Specified by:
getBasePersistencein interfacePersistedModelLocalService
-
getCTPersistence
- Specified by:
getCTPersistencein interfaceCTService<DLFolder>- Specified by:
getCTPersistencein interfaceDLFolderLocalService
-
getModelClass
- Specified by:
getModelClassin interfaceCTService<DLFolder>- Specified by:
getModelClassin interfaceDLFolderLocalService
-
updateWithUnsafeFunction
public <R,E extends Throwable> R updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<CTPersistence<DLFolder>, R, throws EE> updateUnsafeFunction) - Specified by:
updateWithUnsafeFunctionin interfaceCTService<DLFolder>- Specified by:
updateWithUnsafeFunctionin interfaceDLFolderLocalService- Throws:
E extends Throwable
-
getWrappedService
- Specified by:
getWrappedServicein interfaceServiceWrapper<DLFolderLocalService>
-
setWrappedService
- Specified by:
setWrappedServicein interfaceServiceWrapper<DLFolderLocalService>
-
getFoldersCount(long, long, boolean, int)