public class DLFolderLocalServiceImpl extends DLFolderLocalServiceBaseImpl
assetEntryFinder, assetEntryLocalService, assetEntryPersistence, counterLocalService, dlAppHelperLocalService, dlFileEntryFinder, dlFileEntryLocalService, dlFileEntryPersistence, dlFileEntryTypeFinder, dlFileEntryTypeLocalService, dlFileEntryTypePersistence, dlFileShortcutLocalService, dlFileShortcutPersistence, dlFileVersionLocalService, dlFileVersionPersistence, dlFolderFinder, dlFolderLocalService, dlFolderPersistence, expandoRowLocalService, expandoRowPersistence, groupFinder, groupLocalService, groupPersistence, persistedModelLocalServiceRegistry, ratingsStatsFinder, ratingsStatsLocalService, ratingsStatsPersistence, repositoryLocalService, repositoryPersistence, resourceLocalService, trashEntryLocalService, trashEntryPersistence, userFinder, userLocalService, userPersistence, webDAVPropsLocalService, webDAVPropsPersistence, workflowDefinitionLinkLocalService, workflowDefinitionLinkPersistence, workflowInstanceLinkLocalService, workflowInstanceLinkPersistence
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 |
deleteAll(long groupId)
Deprecated.
As of Wilberforce (7.0.x), replaced by
deleteAllByGroup(long) |
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) |
long |
getFolderId(long companyId,
long folderId) |
List<Long> |
getFolderIds(long groupId,
long parentFolderId)
Deprecated.
As of Wilberforce (7.0.x), replaced by
getGroupFolderIds(long, long) |
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 start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFolder> obc) |
List<com.liferay.document.library.kernel.model.DLFolder> |
getFolders(long groupId,
long parentFolderId,
int status,
boolean includeMountfolders,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFolder> obc) |
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> obc) |
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,
int status,
boolean includeMountfolders) |
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> obc) |
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) |
void |
getSubfolderIds(List<Long> folderIds,
long groupId,
long folderId)
Deprecated.
As of Wilberforce (7.0.x), replaced by
getGroupSubfolderIds(List, long, long) |
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,
boolean overrideFileEntryTypes,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
Deprecated.
As of Wilberforce (7.0.x), replaced by
updateFolder(long, long, String, String, long, List, int,
ServiceContext) |
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,
boolean overrideFileEntryTypes,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
Deprecated.
As of Wilberforce (7.0.x), replaced
updateFolder(long, long, String, String, long, List, int,
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,
boolean overrideFileEntryTypes,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
Deprecated.
As of Wilberforce (7.0.x), replaced by
updateFolderAndFileEntryTypes(long, long, long, String,
String, long, List, int, 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, deleteDLFileEntryTypeDLFolder, deleteDLFileEntryTypeDLFolder, deleteDLFileEntryTypeDLFolders, deleteDLFileEntryTypeDLFolders, deleteDLFolder, deleteDLFolder, deletePersistedModel, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchDLFolder, fetchDLFolderByUuidAndGroupId, getActionableDynamicQuery, getAssetEntryFinder, getAssetEntryLocalService, getAssetEntryPersistence, getCounterLocalService, getDLAppHelperLocalService, getDLFileEntryFinder, getDLFileEntryLocalService, getDLFileEntryPersistence, getDLFileEntryTypeDLFolders, getDLFileEntryTypeDLFolders, getDLFileEntryTypeDLFolders, getDLFileEntryTypeDLFoldersCount, getDLFileEntryTypeFinder, getDLFileEntryTypeLocalService, getDLFileEntryTypePersistence, getDLFileEntryTypePrimaryKeys, getDLFileShortcutLocalService, getDLFileShortcutPersistence, getDLFileVersionLocalService, getDLFileVersionPersistence, getDLFolder, getDLFolderByUuidAndGroupId, getDLFolderFinder, getDLFolderLocalService, getDLFolderPersistence, getDLFolders, getDLFoldersByUuidAndCompanyId, getDLFoldersByUuidAndCompanyId, getDLFoldersCount, getExpandoRowLocalService, getExpandoRowPersistence, getExportActionableDynamicQuery, getGroupFinder, getGroupLocalService, getGroupPersistence, getIndexableActionableDynamicQuery, getModelClass, getModelClassName, getOSGiServiceIdentifier, getPersistedModel, getRatingsStatsFinder, getRatingsStatsLocalService, getRatingsStatsPersistence, getRepositoryLocalService, getRepositoryPersistence, getResourceLocalService, getTrashEntryLocalService, getTrashEntryPersistence, getUserFinder, getUserLocalService, getUserPersistence, getWebDAVPropsLocalService, getWebDAVPropsPersistence, getWorkflowDefinitionLinkLocalService, getWorkflowDefinitionLinkPersistence, getWorkflowInstanceLinkLocalService, getWorkflowInstanceLinkPersistence, hasDLFileEntryTypeDLFolder, hasDLFileEntryTypeDLFolders, initActionableDynamicQuery, runSQL, setAssetEntryFinder, setAssetEntryLocalService, setAssetEntryPersistence, setCounterLocalService, setDLAppHelperLocalService, setDLFileEntryFinder, setDLFileEntryLocalService, setDLFileEntryPersistence, setDLFileEntryTypeDLFolders, setDLFileEntryTypeFinder, setDLFileEntryTypeLocalService, setDLFileEntryTypePersistence, setDLFileShortcutLocalService, setDLFileShortcutPersistence, setDLFileVersionLocalService, setDLFileVersionPersistence, setDLFolderFinder, setDLFolderLocalService, setDLFolderPersistence, setExpandoRowLocalService, setExpandoRowPersistence, setGroupFinder, setGroupLocalService, setGroupPersistence, setRatingsStatsFinder, setRatingsStatsLocalService, setRatingsStatsPersistence, setRepositoryLocalService, setRepositoryPersistence, setResourceLocalService, setTrashEntryLocalService, setTrashEntryPersistence, setUserFinder, setUserLocalService, setUserPersistence, setWebDAVPropsLocalService, setWebDAVPropsPersistence, setWorkflowDefinitionLinkLocalService, setWorkflowDefinitionLinkPersistence, setWorkflowInstanceLinkLocalService, setWorkflowInstanceLinkPersistence, updateDLFolder
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
@Deprecated public void deleteAll(long groupId) throws com.liferay.portal.kernel.exception.PortalException
deleteAllByGroup(long)
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)
@Deprecated public List<Long> getFolderIds(long groupId, long parentFolderId)
getGroupFolderIds(long, long)
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 start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFolder> obc)
public List<com.liferay.document.library.kernel.model.DLFolder> getFolders(long groupId, long parentFolderId, int status, boolean includeMountfolders, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFolder> obc)
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> obc)
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, int status, boolean includeMountfolders)
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> obc)
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)
@Deprecated public void getSubfolderIds(List<Long> folderIds, long groupId, long folderId)
getGroupSubfolderIds(List, long, long)
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
@Deprecated public com.liferay.document.library.kernel.model.DLFolder updateFolder(long folderId, long parentFolderId, String name, String description, long defaultFileEntryTypeId, List<Long> fileEntryTypeIds, boolean overrideFileEntryTypes, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
updateFolder(long, long, String, String, long, List, int,
ServiceContext)
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
@Deprecated public com.liferay.document.library.kernel.model.DLFolder updateFolder(long folderId, String name, String description, long defaultFileEntryTypeId, List<Long> fileEntryTypeIds, boolean overrideFileEntryTypes, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
updateFolder(long, long, String, String, long, List, int,
ServiceContext)
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
@Deprecated public com.liferay.document.library.kernel.model.DLFolder updateFolderAndFileEntryTypes(long userId, long folderId, long parentFolderId, String name, String description, long defaultFileEntryTypeId, List<Long> fileEntryTypeIds, boolean overrideFileEntryTypes, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
updateFolderAndFileEntryTypes(long, long, long, String,
String, long, List, int, ServiceContext)
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 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