Class DLFolderLocalServiceImpl
Object
com.liferay.portal.kernel.service.BaseLocalServiceImpl
com.liferay.portlet.documentlibrary.service.base.DLFolderLocalServiceBaseImpl
com.liferay.portlet.documentlibrary.service.impl.DLFolderLocalServiceImpl
- All Implemented Interfaces:
com.liferay.document.library.kernel.service.DLFolderLocalService
,com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService
,com.liferay.portal.kernel.service.BaseLocalService
,com.liferay.portal.kernel.service.change.tracking.CTService<com.liferay.document.library.kernel.model.DLFolder>
,com.liferay.portal.kernel.service.PersistedModelLocalService
- Author:
- Brian Wing Shun Chan, Alexander Chow
-
Field Summary
Fields inherited from class com.liferay.portlet.documentlibrary.service.base.DLFolderLocalServiceBaseImpl
counterLocalService, dlFileEntryTypePersistence, dlFolderFinder, dlFolderLocalService, dlFolderPersistence
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.liferay.document.library.kernel.model.DLFolder
addFolder
(String externalReferenceCode, long userId, long groupId, long repositoryId, boolean mountPoint, long parentFolderId, String name, String description, boolean hidden, com.liferay.portal.kernel.service.ServiceContext serviceContext) protected void
addFolderResources
(long folderId, boolean addGroupPermissions, boolean addGuestPermissions) protected void
addFolderResources
(long folderId, com.liferay.portal.kernel.service.permission.ModelPermissions modelPermissions) protected void
addFolderResources
(com.liferay.document.library.kernel.model.DLFolder dlFolder, boolean addGroupPermissions, boolean addGuestPermissions) protected void
addFolderResources
(com.liferay.document.library.kernel.model.DLFolder dlFolder, com.liferay.portal.kernel.service.permission.ModelPermissions modelPermissions) void
deleteAllByGroup
(long groupId) void
deleteAllByRepository
(long repositoryId) com.liferay.document.library.kernel.model.DLFolder
deleteFolder
(long folderId) com.liferay.document.library.kernel.model.DLFolder
deleteFolder
(long folderId, boolean includeTrashedEntries) com.liferay.document.library.kernel.model.DLFolder
deleteFolder
(long userId, long folderId, boolean includeTrashedEntries) com.liferay.document.library.kernel.model.DLFolder
deleteFolder
(com.liferay.document.library.kernel.model.DLFolder dlFolder) com.liferay.document.library.kernel.model.DLFolder
deleteFolder
(com.liferay.document.library.kernel.model.DLFolder dlFolder, boolean includeTrashedEntries) protected void
deleteFolderDependencies
(com.liferay.document.library.kernel.model.DLFolder dlFolder, boolean includeTrashedEntries) protected void
deleteSubfolders
(com.liferay.document.library.kernel.model.DLFolder dlFolder, boolean includeTrashedEntries) com.liferay.document.library.kernel.model.DLFolder
fetchFolder
(long folderId) com.liferay.document.library.kernel.model.DLFolder
fetchFolder
(long groupId, long parentFolderId, String name) com.liferay.document.library.kernel.model.DLFolder
fetchFolder
(String uuid, long groupId) List<com.liferay.document.library.kernel.model.DLFolder>
getCompanyFolders
(long companyId, int start, int end) int
getCompanyFoldersCount
(long companyId) getFileEntriesAndFileShortcuts
(long groupId, long folderId, com.liferay.portal.kernel.dao.orm.QueryDefinition<?> queryDefinition) int
getFileEntriesAndFileShortcutsCount
(long groupId, long folderId, com.liferay.portal.kernel.dao.orm.QueryDefinition<?> queryDefinition) getFileEntryTypeIds
(List<com.liferay.document.library.kernel.model.DLFileEntryType> dlFileEntryTypes) com.liferay.document.library.kernel.model.DLFolder
getFolder
(long folderId) com.liferay.document.library.kernel.model.DLFolder
long
getFolderId
(long companyId, long folderId) protected static long
getFolderId
(com.liferay.document.library.kernel.service.persistence.DLFolderPersistence dlFolderPersistence, long companyId, long folderId) List<com.liferay.document.library.kernel.model.DLFolder>
getFolders
(long groupId, boolean mountPoint, String treePath, boolean hidden) List<com.liferay.document.library.kernel.model.DLFolder>
getFolders
(long groupId, long parentFolderId) List<com.liferay.document.library.kernel.model.DLFolder>
getFolders
(long groupId, long parentFolderId, boolean includeMountfolders) List<com.liferay.document.library.kernel.model.DLFolder>
getFolders
(long groupId, long parentFolderId, boolean includeMountfolders, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFolder> orderByComparator) List<com.liferay.document.library.kernel.model.DLFolder>
getFolders
(long groupId, long parentFolderId, boolean includeMountfolders, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFolder> orderByComparator) List<com.liferay.document.library.kernel.model.DLFolder>
getFolders
(long groupId, long parentFolderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFolder> orderByComparator) List<com.liferay.document.library.kernel.model.DLFolder>
getFolders
(long classNameId, String treePath) getFoldersAndFileEntriesAndFileShortcuts
(long groupId, long folderId, String[] mimeTypes, boolean includeMountFolders, com.liferay.portal.kernel.dao.orm.QueryDefinition<?> queryDefinition) int
getFoldersAndFileEntriesAndFileShortcutsCount
(long groupId, long folderId, String[] mimeTypes, boolean includeMountFolders, com.liferay.portal.kernel.dao.orm.QueryDefinition<?> queryDefinition) int
getFoldersCount
(long groupId, long parentFolderId) int
getFoldersCount
(long groupId, long parentFolderId, boolean includeMountfolders) int
getFoldersCount
(long groupId, long parentFolderId, boolean includeMountfolders, int status) int
getFoldersCount
(long groupId, long parentFolderId, int status, boolean includeMountfolders) Deprecated.long
getFolderSize
(long companyId, long groupId, String treePath) getGroupFolderIds
(long groupId, long parentFolderId) void
getGroupSubfolderIds
(List<Long> folderIds, long groupId, long folderId) com.liferay.document.library.kernel.model.DLFolder
getMountFolder
(long repositoryId) List<com.liferay.document.library.kernel.model.DLFolder>
getMountFolders
(long groupId, long parentFolderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFolder> orderByComparator) int
getMountFoldersCount
(long groupId, long parentFolderId) List<com.liferay.document.library.kernel.model.DLFolder>
List<com.liferay.document.library.kernel.model.DLFolder>
getNotInTrashFolders
(long groupId, boolean mountPoint, String treePath, boolean hidden) protected long
getParentFolderId
(long groupId, long repositoryId, long parentFolderId) protected long
getParentFolderId
(com.liferay.document.library.kernel.model.DLFolder dlFolder, long parentFolderId) getRepositoryFolderIds
(long repositoryId, long parentFolderId) List<com.liferay.document.library.kernel.model.DLFolder>
getRepositoryFolders
(long repositoryId, int start, int end) int
getRepositoryFoldersCount
(long repositoryId) void
getRepositorySubfolderIds
(List<Long> folderIds, long repositoryId, long folderId) getUniqueFolderName
(String uuid, long groupId, long parentFolderId, String name, int count) boolean
hasFolderLock
(long userId, long folderId) boolean
hasInheritableLock
(long folderId) com.liferay.portal.kernel.lock.Lock
lockFolder
(long userId, long folderId) com.liferay.portal.kernel.lock.Lock
lockFolder
(long userId, long folderId, String owner, boolean inheritable, long expirationTime) com.liferay.document.library.kernel.model.DLFolder
moveFolder
(long userId, long folderId, long parentFolderId, com.liferay.portal.kernel.service.ServiceContext serviceContext) void
rebuildTree
(long companyId) void
rebuildTree
(long companyId, long parentFolderId, String parentTreePath, boolean reindex) void
unlockFolder
(long groupId, long parentFolderId, String name, String lockUuid) void
unlockFolder
(long folderId, String lockUuid) com.liferay.document.library.kernel.model.DLFolder
updateFolder
(long folderId, long parentFolderId, String name, String description, long defaultFileEntryTypeId, List<Long> fileEntryTypeIds, int restrictionType, com.liferay.portal.kernel.service.ServiceContext serviceContext) com.liferay.document.library.kernel.model.DLFolder
updateFolder
(long folderId, String name, String description, long defaultFileEntryTypeId, List<Long> fileEntryTypeIds, int restrictionType, com.liferay.portal.kernel.service.ServiceContext serviceContext) com.liferay.document.library.kernel.model.DLFolder
updateFolderAndFileEntryTypes
(long userId, long folderId, long parentFolderId, String name, String description, long defaultFileEntryTypeId, List<Long> fileEntryTypeIds, int restrictionType, com.liferay.portal.kernel.service.ServiceContext serviceContext) void
updateLastPostDate
(long folderId, Date lastPostDate) com.liferay.document.library.kernel.model.DLFolder
updateStatus
(long userId, long folderId, int status, Map<String, Serializable> workflowContext, com.liferay.portal.kernel.service.ServiceContext serviceContext) protected void
validateFolder
(long folderId, long groupId, long parentFolderId, String name) protected void
validateFolder
(long groupId, long parentFolderId, String name) protected void
validateFolderName
(String folderName) boolean
verifyInheritableLock
(long folderId, String lockUuid) Methods inherited from class com.liferay.portlet.documentlibrary.service.base.DLFolderLocalServiceBaseImpl
addDLFileEntryTypeDLFolder, addDLFileEntryTypeDLFolder, addDLFileEntryTypeDLFolders, addDLFileEntryTypeDLFolders, addDLFolder, afterPropertiesSet, clearDLFileEntryTypeDLFolders, createDLFolder, createPersistedModel, deleteDLFileEntryTypeDLFolder, deleteDLFileEntryTypeDLFolder, deleteDLFileEntryTypeDLFolders, deleteDLFileEntryTypeDLFolders, deleteDLFolder, deleteDLFolder, deletePersistedModel, destroy, dslQuery, dslQueryCount, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchDLFolder, fetchDLFolderByExternalReferenceCode, fetchDLFolderByUuidAndGroupId, getActionableDynamicQuery, getBasePersistence, getCounterLocalService, getCTPersistence, getDLFileEntryTypeDLFolders, getDLFileEntryTypeDLFolders, getDLFileEntryTypeDLFolders, getDLFileEntryTypeDLFoldersCount, getDLFileEntryTypePrimaryKeys, getDLFolder, getDLFolderByExternalReferenceCode, getDLFolderByUuidAndGroupId, getDLFolderFinder, getDLFolderLocalService, getDLFolderPersistence, getDLFolders, getDLFoldersByUuidAndCompanyId, getDLFoldersByUuidAndCompanyId, getDLFoldersCount, getExportActionableDynamicQuery, getIndexableActionableDynamicQuery, getModelClass, getModelClassName, getOSGiServiceIdentifier, getPersistedModel, hasDLFileEntryTypeDLFolder, hasDLFileEntryTypeDLFolders, initActionableDynamicQuery, runSQL, setCounterLocalService, setDLFileEntryTypeDLFolders, setDLFolderFinder, setDLFolderLocalService, setDLFolderPersistence, updateDLFolder, updateWithUnsafeFunction
Methods inherited from class com.liferay.portal.kernel.service.BaseLocalServiceImpl
getClassLoader, getLocalizationMap
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.service.PersistedModelLocalService
fetchPersistedModel
-
Constructor Details
-
DLFolderLocalServiceImpl
public DLFolderLocalServiceImpl()
-
-
Method Details
-
addFolder
public com.liferay.document.library.kernel.model.DLFolder addFolder(String externalReferenceCode, long userId, long groupId, long repositoryId, boolean mountPoint, long parentFolderId, String name, String description, boolean hidden, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteAllByGroup
public void deleteAllByGroup(long groupId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteAllByRepository
public void deleteAllByRepository(long repositoryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteFolder
@Indexable(type=DELETE) @SystemEvent(action=1, type=1) public com.liferay.document.library.kernel.model.DLFolder deleteFolder(com.liferay.document.library.kernel.model.DLFolder dlFolder) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteFolder
@Indexable(type=DELETE) @SystemEvent(action=1, type=1) public com.liferay.document.library.kernel.model.DLFolder deleteFolder(com.liferay.document.library.kernel.model.DLFolder dlFolder, boolean includeTrashedEntries) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteFolder
@Indexable(type=DELETE) public com.liferay.document.library.kernel.model.DLFolder deleteFolder(long folderId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteFolder
@Indexable(type=DELETE) public com.liferay.document.library.kernel.model.DLFolder deleteFolder(long folderId, boolean includeTrashedEntries) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteFolder
@Indexable(type=DELETE) public com.liferay.document.library.kernel.model.DLFolder deleteFolder(long userId, long folderId, boolean includeTrashedEntries) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchFolder
public com.liferay.document.library.kernel.model.DLFolder fetchFolder(long folderId) -
fetchFolder
public com.liferay.document.library.kernel.model.DLFolder fetchFolder(long groupId, long parentFolderId, String name) -
fetchFolder
-
getCompanyFolders
public List<com.liferay.document.library.kernel.model.DLFolder> getCompanyFolders(long companyId, int start, int end) -
getCompanyFoldersCount
public int getCompanyFoldersCount(long companyId) -
getFileEntriesAndFileShortcuts
-
getFileEntriesAndFileShortcutsCount
public int getFileEntriesAndFileShortcutsCount(long groupId, long folderId, com.liferay.portal.kernel.dao.orm.QueryDefinition<?> queryDefinition) -
getFolder
public com.liferay.document.library.kernel.model.DLFolder getFolder(long folderId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getFolder
public com.liferay.document.library.kernel.model.DLFolder getFolder(long groupId, long parentFolderId, String name) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getFolderId
public long getFolderId(long companyId, long folderId) -
getFolders
-
getFolders
public List<com.liferay.document.library.kernel.model.DLFolder> getFolders(long groupId, long parentFolderId) -
getFolders
public List<com.liferay.document.library.kernel.model.DLFolder> getFolders(long groupId, long parentFolderId, boolean includeMountfolders) -
getFolders
public List<com.liferay.document.library.kernel.model.DLFolder> getFolders(long groupId, long parentFolderId, boolean includeMountfolders, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFolder> orderByComparator) -
getFolders
public List<com.liferay.document.library.kernel.model.DLFolder> getFolders(long groupId, long parentFolderId, boolean includeMountfolders, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFolder> orderByComparator) -
getFolders
public List<com.liferay.document.library.kernel.model.DLFolder> getFolders(long groupId, long parentFolderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFolder> orderByComparator) -
getFolders
-
getFoldersAndFileEntriesAndFileShortcuts
-
getFoldersAndFileEntriesAndFileShortcutsCount
public int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId, long folderId, String[] mimeTypes, boolean includeMountFolders, com.liferay.portal.kernel.dao.orm.QueryDefinition<?> queryDefinition) -
getFoldersCount
public int getFoldersCount(long groupId, long parentFolderId) -
getFoldersCount
public int getFoldersCount(long groupId, long parentFolderId, boolean includeMountfolders) -
getFoldersCount
public int getFoldersCount(long groupId, long parentFolderId, boolean includeMountfolders, int status) -
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)
-
getFolderSize
-
getGroupFolderIds
-
getGroupSubfolderIds
-
getMountFolder
public com.liferay.document.library.kernel.model.DLFolder getMountFolder(long repositoryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getMountFolders
public List<com.liferay.document.library.kernel.model.DLFolder> getMountFolders(long groupId, long parentFolderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFolder> orderByComparator) -
getMountFoldersCount
public int getMountFoldersCount(long groupId, long parentFolderId) -
getNoAssetFolders
-
getNotInTrashFolders
-
getRepositoryFolderIds
-
getRepositoryFolders
public List<com.liferay.document.library.kernel.model.DLFolder> getRepositoryFolders(long repositoryId, int start, int end) -
getRepositoryFoldersCount
public int getRepositoryFoldersCount(long repositoryId) -
getRepositorySubfolderIds
-
getUniqueFolderName
-
hasFolderLock
public boolean hasFolderLock(long userId, long folderId) -
hasInheritableLock
public boolean hasInheritableLock(long folderId) -
lockFolder
public com.liferay.portal.kernel.lock.Lock lockFolder(long userId, long folderId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
lockFolder
public com.liferay.portal.kernel.lock.Lock lockFolder(long userId, long folderId, String owner, boolean inheritable, long expirationTime) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
moveFolder
@Indexable(type=REINDEX) public com.liferay.document.library.kernel.model.DLFolder moveFolder(long userId, long folderId, long parentFolderId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
rebuildTree
public void rebuildTree(long companyId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
rebuildTree
public void rebuildTree(long companyId, long parentFolderId, String parentTreePath, boolean reindex) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
unlockFolder
public void unlockFolder(long groupId, long parentFolderId, String name, String lockUuid) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
unlockFolder
public void unlockFolder(long folderId, String lockUuid) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateFolder
@Indexable(type=REINDEX) public com.liferay.document.library.kernel.model.DLFolder updateFolder(long folderId, long parentFolderId, String name, String description, long defaultFileEntryTypeId, List<Long> fileEntryTypeIds, int restrictionType, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateFolder
@Indexable(type=REINDEX) public com.liferay.document.library.kernel.model.DLFolder updateFolder(long folderId, String name, String description, long defaultFileEntryTypeId, List<Long> fileEntryTypeIds, int restrictionType, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateFolderAndFileEntryTypes
public com.liferay.document.library.kernel.model.DLFolder updateFolderAndFileEntryTypes(long userId, long folderId, long parentFolderId, String name, String description, long defaultFileEntryTypeId, List<Long> fileEntryTypeIds, int restrictionType, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateLastPostDate
@BufferedIncrement(configuration="DLFolderEntry", incrementClass=com.liferay.portal.kernel.increment.DateOverrideIncrement.class) public void updateLastPostDate(long folderId, Date lastPostDate) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateStatus
public com.liferay.document.library.kernel.model.DLFolder updateStatus(long userId, long folderId, int status, Map<String, Serializable> workflowContext, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
verifyInheritableLock
public boolean verifyInheritableLock(long folderId, String lockUuid) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getFolderId
protected static long getFolderId(com.liferay.document.library.kernel.service.persistence.DLFolderPersistence dlFolderPersistence, long companyId, long folderId) -
addFolderResources
protected void addFolderResources(com.liferay.document.library.kernel.model.DLFolder dlFolder, boolean addGroupPermissions, boolean addGuestPermissions) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
addFolderResources
protected void addFolderResources(com.liferay.document.library.kernel.model.DLFolder dlFolder, com.liferay.portal.kernel.service.permission.ModelPermissions modelPermissions) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
addFolderResources
protected void addFolderResources(long folderId, boolean addGroupPermissions, boolean addGuestPermissions) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
addFolderResources
protected void addFolderResources(long folderId, com.liferay.portal.kernel.service.permission.ModelPermissions modelPermissions) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteFolderDependencies
protected void deleteFolderDependencies(com.liferay.document.library.kernel.model.DLFolder dlFolder, boolean includeTrashedEntries) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteSubfolders
protected void deleteSubfolders(com.liferay.document.library.kernel.model.DLFolder dlFolder, boolean includeTrashedEntries) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getFileEntryTypeIds
-
getParentFolderId
protected long getParentFolderId(com.liferay.document.library.kernel.model.DLFolder dlFolder, long parentFolderId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getParentFolderId
protected long getParentFolderId(long groupId, long repositoryId, long parentFolderId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
validateFolder
protected void validateFolder(long folderId, long groupId, long parentFolderId, String name) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
validateFolder
protected void validateFolder(long groupId, long parentFolderId, String name) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
validateFolderName
protected void validateFolderName(String folderName) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getFoldersCount(long, long, boolean, int)