public class DLFolderLocalServiceImpl extends DLFolderLocalServiceBaseImpl
counterLocalService, dlFileEntryTypePersistence, dlFolderFinder, dlFolderLocalService, dlFolderPersistence, persistedModelLocalServiceRegistry
Constructor and Description |
---|
DLFolderLocalServiceImpl() |
Modifier and Type | Method and Description |
---|---|
com.liferay.document.library.kernel.model.DLFolder |
addFolder(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(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) |
protected void |
addFolderResources(long folderId,
boolean addGroupPermissions,
boolean addGuestPermissions) |
protected void |
addFolderResources(long folderId,
com.liferay.portal.kernel.service.permission.ModelPermissions modelPermissions) |
void |
deleteAllByGroup(long groupId) |
void |
deleteAllByRepository(long repositoryId) |
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) |
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) |
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) |
List<Object> |
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) |
protected Set<Long> |
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 |
getFolder(long groupId,
long parentFolderId,
String name) |
protected static long |
getFolderId(com.liferay.document.library.kernel.service.persistence.DLFolderPersistence dlFolderPersistence,
long companyId,
long folderId) |
long |
getFolderId(long companyId,
long folderId) |
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<Object> |
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.
As of Athanasius (7.3.x), replaced by
getFoldersCount(long, long, boolean, int) |
List<Long> |
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> |
getNoAssetFolders() |
protected long |
getParentFolderId(com.liferay.document.library.kernel.model.DLFolder dlFolder,
long parentFolderId) |
protected long |
getParentFolderId(long groupId,
long repositoryId,
long parentFolderId) |
List<Long> |
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) |
String |
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) |
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, fetchDLFolderByUuidAndGroupId, getActionableDynamicQuery, getBasePersistence, getCounterLocalService, getCTPersistence, getDLFileEntryTypeDLFolders, getDLFileEntryTypeDLFolders, getDLFileEntryTypeDLFolders, getDLFileEntryTypeDLFoldersCount, getDLFileEntryTypePrimaryKeys, getDLFolder, 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
public com.liferay.document.library.kernel.model.DLFolder addFolder(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
com.liferay.portal.kernel.exception.PortalException
public void deleteAllByGroup(long groupId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public void deleteAllByRepository(long repositoryId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@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
com.liferay.portal.kernel.exception.PortalException
@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
com.liferay.portal.kernel.exception.PortalException
@Indexable(type=DELETE) public com.liferay.document.library.kernel.model.DLFolder deleteFolder(long folderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Indexable(type=DELETE) public com.liferay.document.library.kernel.model.DLFolder deleteFolder(long folderId, boolean includeTrashedEntries) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@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
com.liferay.portal.kernel.exception.PortalException
public com.liferay.document.library.kernel.model.DLFolder fetchFolder(long folderId)
public com.liferay.document.library.kernel.model.DLFolder fetchFolder(long groupId, long parentFolderId, String name)
public com.liferay.document.library.kernel.model.DLFolder fetchFolder(String uuid, long groupId)
public List<com.liferay.document.library.kernel.model.DLFolder> getCompanyFolders(long companyId, int start, int end)
public int getCompanyFoldersCount(long companyId)
public List<Object> getFileEntriesAndFileShortcuts(long groupId, long folderId, com.liferay.portal.kernel.dao.orm.QueryDefinition<?> queryDefinition)
public int getFileEntriesAndFileShortcutsCount(long groupId, long folderId, com.liferay.portal.kernel.dao.orm.QueryDefinition<?> queryDefinition)
public com.liferay.document.library.kernel.model.DLFolder getFolder(long folderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.document.library.kernel.model.DLFolder getFolder(long groupId, long parentFolderId, String name) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public long getFolderId(long companyId, long folderId)
public List<com.liferay.document.library.kernel.model.DLFolder> getFolders(long groupId, long parentFolderId)
public List<com.liferay.document.library.kernel.model.DLFolder> getFolders(long groupId, long parentFolderId, boolean includeMountfolders)
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)
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)
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)
public List<Object> getFoldersAndFileEntriesAndFileShortcuts(long groupId, long folderId, String[] mimeTypes, boolean includeMountFolders, com.liferay.portal.kernel.dao.orm.QueryDefinition<?> queryDefinition)
public int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId, long folderId, String[] mimeTypes, boolean includeMountFolders, com.liferay.portal.kernel.dao.orm.QueryDefinition<?> queryDefinition)
public int getFoldersCount(long groupId, long parentFolderId)
public int getFoldersCount(long groupId, long parentFolderId, boolean includeMountfolders)
public int getFoldersCount(long groupId, long parentFolderId, boolean includeMountfolders, int status)
@Deprecated public int getFoldersCount(long groupId, long parentFolderId, int status, boolean includeMountfolders)
getFoldersCount(long, long, boolean, int)
public List<Long> getGroupFolderIds(long groupId, long parentFolderId)
public void getGroupSubfolderIds(List<Long> folderIds, long groupId, long folderId)
public com.liferay.document.library.kernel.model.DLFolder getMountFolder(long repositoryId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
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)
public int getMountFoldersCount(long groupId, long parentFolderId)
public List<com.liferay.document.library.kernel.model.DLFolder> getNoAssetFolders()
public List<Long> getRepositoryFolderIds(long repositoryId, long parentFolderId)
public List<com.liferay.document.library.kernel.model.DLFolder> getRepositoryFolders(long repositoryId, int start, int end)
public int getRepositoryFoldersCount(long repositoryId)
public void getRepositorySubfolderIds(List<Long> folderIds, long repositoryId, long folderId)
public String getUniqueFolderName(String uuid, long groupId, long parentFolderId, String name, int count)
public boolean hasFolderLock(long userId, long folderId)
public boolean hasInheritableLock(long folderId)
public com.liferay.portal.kernel.lock.Lock lockFolder(long userId, long folderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
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
com.liferay.portal.kernel.exception.PortalException
@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
com.liferay.portal.kernel.exception.PortalException
public void rebuildTree(long companyId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public void rebuildTree(long companyId, long parentFolderId, String parentTreePath, boolean reindex) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public void unlockFolder(long groupId, long parentFolderId, String name, String lockUuid) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public void unlockFolder(long folderId, String lockUuid) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@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
com.liferay.portal.kernel.exception.PortalException
@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
com.liferay.portal.kernel.exception.PortalException
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
com.liferay.portal.kernel.exception.PortalException
@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
com.liferay.portal.kernel.exception.PortalException
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
com.liferay.portal.kernel.exception.PortalException
public boolean verifyInheritableLock(long folderId, String lockUuid) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
protected static long getFolderId(com.liferay.document.library.kernel.service.persistence.DLFolderPersistence dlFolderPersistence, long companyId, long folderId)
protected void addFolderResources(com.liferay.document.library.kernel.model.DLFolder dlFolder, boolean addGroupPermissions, boolean addGuestPermissions) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
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
com.liferay.portal.kernel.exception.PortalException
protected void addFolderResources(long folderId, boolean addGroupPermissions, boolean addGuestPermissions) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
protected void addFolderResources(long folderId, com.liferay.portal.kernel.service.permission.ModelPermissions modelPermissions) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
protected void deleteFolderDependencies(com.liferay.document.library.kernel.model.DLFolder dlFolder, boolean includeTrashedEntries) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
protected void deleteSubfolders(com.liferay.document.library.kernel.model.DLFolder dlFolder, boolean includeTrashedEntries) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
protected Set<Long> getFileEntryTypeIds(List<com.liferay.document.library.kernel.model.DLFileEntryType> dlFileEntryTypes)
protected long getParentFolderId(com.liferay.document.library.kernel.model.DLFolder dlFolder, long parentFolderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
protected long getParentFolderId(long groupId, long repositoryId, long parentFolderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
protected void validateFolder(long folderId, long groupId, long parentFolderId, String name) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
protected void validateFolder(long groupId, long parentFolderId, String name) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
protected void validateFolderName(String folderName) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException