public class JournalFolderLocalServiceImpl
extends com.liferay.journal.service.base.JournalFolderLocalServiceBaseImpl
Modifier and Type | Field and Description |
---|---|
protected com.liferay.dynamic.data.mapping.service.DDMStructureLinkLocalService |
ddmStructureLinkLocalService |
protected com.liferay.dynamic.data.mapping.service.DDMStructureLocalService |
ddmStructureLocalService |
protected JournalValidator |
journalValidator |
assetEntryLocalService, assetEntryPersistence, assetLinkLocalService, assetLinkPersistence, classNameLocalService, classNamePersistence, counterLocalService, expandoValueLocalService, expandoValuePersistence, groupLocalService, groupPersistence, journalArticleFinder, journalArticleLocalService, journalArticlePersistence, journalFolderFinder, journalFolderLocalService, journalFolderPersistence, persistedModelLocalServiceRegistry, ratingsStatsLocalService, ratingsStatsPersistence, resourceLocalService, subscriptionLocalService, subscriptionPersistence, trashEntryLocalService, trashEntryPersistence, trashVersionLocalService, trashVersionPersistence, userLocalService, userPersistence, workflowDefinitionLinkLocalService, workflowDefinitionLinkPersistence, workflowInstanceLinkLocalService, workflowInstanceLinkPersistence
Constructor and Description |
---|
JournalFolderLocalServiceImpl() |
Modifier and Type | Method and Description |
---|---|
JournalFolder |
addFolder(long userId,
long groupId,
long parentFolderId,
java.lang.String name,
java.lang.String description,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
JournalFolder |
deleteFolder(JournalFolder folder) |
JournalFolder |
deleteFolder(JournalFolder folder,
boolean includeTrashedEntries) |
JournalFolder |
deleteFolder(long folderId) |
JournalFolder |
deleteFolder(long folderId,
boolean includeTrashedEntries) |
void |
deleteFolders(long groupId) |
protected JournalFolder |
doUpdateFolder(long userId,
long folderId,
long parentFolderId,
java.lang.String name,
java.lang.String description,
long[] ddmStructureIds,
int restrictionType,
boolean mergeWithParentFolder,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
JournalFolder |
fetchFolder(long folderId) |
JournalFolder |
fetchFolder(long groupId,
long parentFolderId,
java.lang.String name) |
JournalFolder |
fetchFolder(long groupId,
java.lang.String name) |
java.util.List<JournalFolder> |
getCompanyFolders(long companyId,
int start,
int end) |
int |
getCompanyFoldersCount(long companyId) |
protected java.util.Set<java.lang.Long> |
getDDMStructureIds(java.util.List<com.liferay.dynamic.data.mapping.model.DDMStructureLink> ddmStructureLinks) |
java.util.List<com.liferay.dynamic.data.mapping.model.DDMStructure> |
getDDMStructures(long[] groupIds,
long folderId,
int restrictionType) |
JournalFolder |
getFolder(long folderId) |
java.util.List<JournalFolder> |
getFolders(long groupId) |
java.util.List<JournalFolder> |
getFolders(long groupId,
long parentFolderId) |
java.util.List<JournalFolder> |
getFolders(long groupId,
long parentFolderId,
int status) |
java.util.List<JournalFolder> |
getFolders(long groupId,
long parentFolderId,
int start,
int end) |
java.util.List<JournalFolder> |
getFolders(long groupId,
long parentFolderId,
int status,
int start,
int end) |
java.util.List<java.lang.Object> |
getFoldersAndArticles(long groupId,
long folderId) |
java.util.List<java.lang.Object> |
getFoldersAndArticles(long groupId,
long folderId,
int status) |
java.util.List<java.lang.Object> |
getFoldersAndArticles(long groupId,
long folderId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<?> obc) |
java.util.List<java.lang.Object> |
getFoldersAndArticles(long groupId,
long folderId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<?> obc) |
int |
getFoldersAndArticlesCount(long groupId,
java.util.List<java.lang.Long> folderIds,
int status) |
int |
getFoldersAndArticlesCount(long groupId,
long folderId) |
int |
getFoldersAndArticlesCount(long groupId,
long folderId,
int status) |
int |
getFoldersCount(long groupId,
long parentFolderId) |
int |
getFoldersCount(long groupId,
long parentFolderId,
int status) |
long |
getInheritedWorkflowFolderId(long folderId) |
java.util.List<JournalFolder> |
getNoAssetFolders() |
long |
getOverridedDDMStructuresFolderId(long folderId) |
protected long |
getParentFolderId(JournalFolder folder,
long parentFolderId) |
protected long |
getParentFolderId(long groupId,
long parentFolderId) |
void |
getSubfolderIds(java.util.List<java.lang.Long> folderIds,
long groupId,
long folderId) |
protected void |
mergeFolders(JournalFolder fromFolder,
long toFolderId) |
protected void |
moveDependentsToTrash(java.util.List<java.lang.Object> foldersAndArticles,
long trashEntryId) |
JournalFolder |
moveFolder(long folderId,
long parentFolderId,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
JournalFolder |
moveFolderFromTrash(long userId,
long folderId,
long parentFolderId,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
JournalFolder |
moveFolderToTrash(long userId,
long folderId) |
void |
rebuildTree(long companyId) |
void |
rebuildTree(long companyId,
long parentFolderId,
java.lang.String parentTreePath,
boolean reindex) |
protected void |
restoreDependentsFromTrash(java.util.List<java.lang.Object> foldersAndArticles) |
void |
restoreFolderFromTrash(long userId,
long folderId) |
void |
subscribe(long userId,
long groupId,
long folderId) |
void |
unsubscribe(long userId,
long groupId,
long folderId) |
void |
updateAsset(long userId,
JournalFolder folder,
long[] assetCategoryIds,
java.lang.String[] assetTagNames,
long[] assetLinkEntryIds,
java.lang.Double priority) |
JournalFolder |
updateFolder(long userId,
long groupId,
long folderId,
long parentFolderId,
java.lang.String name,
java.lang.String description,
boolean mergeWithParentFolder,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
JournalFolder |
updateFolder(long userId,
long groupId,
long folderId,
long parentFolderId,
java.lang.String name,
java.lang.String description,
long[] ddmStructureIds,
int restrictionType,
boolean mergeWithParentFolder,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
updateFolderDDMStructures(JournalFolder folder,
long[] ddmStructureIdsArray) |
JournalFolder |
updateStatus(long userId,
JournalFolder folder,
int status) |
protected void |
validateArticleDDMStructures(long folderId,
long[] ddmStructureIds) |
protected void |
validateFolder(long folderId,
long groupId,
long parentFolderId,
java.lang.String name) |
void |
validateFolderDDMStructures(long folderId,
long parentFolderId) |
addJournalFolder, afterPropertiesSet, createJournalFolder, deleteJournalFolder, deleteJournalFolder, deletePersistedModel, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchJournalFolder, fetchJournalFolderByUuidAndGroupId, getActionableDynamicQuery, getAssetEntryLocalService, getAssetEntryPersistence, getAssetLinkLocalService, getAssetLinkPersistence, getClassNameLocalService, getClassNamePersistence, getCounterLocalService, getExpandoValueLocalService, getExpandoValuePersistence, getExportActionableDynamicQuery, getGroupLocalService, getGroupPersistence, getIndexableActionableDynamicQuery, getJournalArticleFinder, getJournalArticleLocalService, getJournalArticlePersistence, getJournalFolder, getJournalFolderByUuidAndGroupId, getJournalFolderFinder, getJournalFolderLocalService, getJournalFolderPersistence, getJournalFolders, getJournalFoldersByUuidAndCompanyId, getJournalFoldersByUuidAndCompanyId, getJournalFoldersCount, getModelClass, getModelClassName, getOSGiServiceIdentifier, getPersistedModel, getRatingsStatsLocalService, getRatingsStatsPersistence, getResourceLocalService, getSubscriptionLocalService, getSubscriptionPersistence, getTrashEntryLocalService, getTrashEntryPersistence, getTrashVersionLocalService, getTrashVersionPersistence, getUserLocalService, getUserPersistence, getWorkflowDefinitionLinkLocalService, getWorkflowDefinitionLinkPersistence, getWorkflowInstanceLinkLocalService, getWorkflowInstanceLinkPersistence, initActionableDynamicQuery, runSQL, setAssetEntryLocalService, setAssetEntryPersistence, setAssetLinkLocalService, setAssetLinkPersistence, setClassNameLocalService, setClassNamePersistence, setCounterLocalService, setExpandoValueLocalService, setExpandoValuePersistence, setGroupLocalService, setGroupPersistence, setJournalArticleFinder, setJournalArticleLocalService, setJournalArticlePersistence, setJournalFolderFinder, setJournalFolderLocalService, setJournalFolderPersistence, setRatingsStatsLocalService, setRatingsStatsPersistence, setResourceLocalService, setSubscriptionLocalService, setSubscriptionPersistence, setTrashEntryLocalService, setTrashEntryPersistence, setTrashVersionLocalService, setTrashVersionPersistence, setUserLocalService, setUserPersistence, setWorkflowDefinitionLinkLocalService, setWorkflowDefinitionLinkPersistence, setWorkflowInstanceLinkLocalService, setWorkflowInstanceLinkPersistence, updateJournalFolder
@ServiceReference(type=com.liferay.dynamic.data.mapping.service.DDMStructureLinkLocalService.class) protected com.liferay.dynamic.data.mapping.service.DDMStructureLinkLocalService ddmStructureLinkLocalService
@ServiceReference(type=com.liferay.dynamic.data.mapping.service.DDMStructureLocalService.class) protected com.liferay.dynamic.data.mapping.service.DDMStructureLocalService ddmStructureLocalService
@ServiceReference(type=JournalValidator.class) protected JournalValidator journalValidator
public JournalFolder addFolder(long userId, long groupId, long parentFolderId, java.lang.String name, java.lang.String description, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Indexable(type=DELETE) @SystemEvent(action=1, type=1) public JournalFolder deleteFolder(JournalFolder folder) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Indexable(type=DELETE) @SystemEvent(action=1, type=1) public JournalFolder deleteFolder(JournalFolder folder, boolean includeTrashedEntries) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Indexable(type=DELETE) public JournalFolder deleteFolder(long folderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Indexable(type=DELETE) public JournalFolder deleteFolder(long folderId, boolean includeTrashedEntries) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public void deleteFolders(long groupId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public JournalFolder fetchFolder(long folderId)
public JournalFolder fetchFolder(long groupId, long parentFolderId, java.lang.String name)
public JournalFolder fetchFolder(long groupId, java.lang.String name)
public java.util.List<JournalFolder> getCompanyFolders(long companyId, int start, int end)
public int getCompanyFoldersCount(long companyId)
public java.util.List<com.liferay.dynamic.data.mapping.model.DDMStructure> getDDMStructures(long[] groupIds, long folderId, int restrictionType) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public JournalFolder getFolder(long folderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public java.util.List<JournalFolder> getFolders(long groupId)
public java.util.List<JournalFolder> getFolders(long groupId, long parentFolderId)
public java.util.List<JournalFolder> getFolders(long groupId, long parentFolderId, int status)
public java.util.List<JournalFolder> getFolders(long groupId, long parentFolderId, int start, int end)
public java.util.List<JournalFolder> getFolders(long groupId, long parentFolderId, int status, int start, int end)
public java.util.List<java.lang.Object> getFoldersAndArticles(long groupId, long folderId)
public java.util.List<java.lang.Object> getFoldersAndArticles(long groupId, long folderId, int status)
public java.util.List<java.lang.Object> getFoldersAndArticles(long groupId, long folderId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<?> obc)
public java.util.List<java.lang.Object> getFoldersAndArticles(long groupId, long folderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<?> obc)
public int getFoldersAndArticlesCount(long groupId, java.util.List<java.lang.Long> folderIds, int status)
public int getFoldersAndArticlesCount(long groupId, long folderId)
public int getFoldersAndArticlesCount(long groupId, long folderId, int status)
public int getFoldersCount(long groupId, long parentFolderId)
public int getFoldersCount(long groupId, long parentFolderId, int status)
public long getInheritedWorkflowFolderId(long folderId) throws NoSuchFolderException
NoSuchFolderException
public java.util.List<JournalFolder> getNoAssetFolders()
public long getOverridedDDMStructuresFolderId(long folderId) throws NoSuchFolderException
NoSuchFolderException
public void getSubfolderIds(java.util.List<java.lang.Long> folderIds, long groupId, long folderId)
@Indexable(type=REINDEX) public JournalFolder moveFolder(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 JournalFolder moveFolderFromTrash(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
@Indexable(type=REINDEX) public JournalFolder moveFolderToTrash(long userId, long folderId) 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, java.lang.String parentTreePath, boolean reindex) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public void restoreFolderFromTrash(long userId, long folderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public void subscribe(long userId, long groupId, long folderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public void unsubscribe(long userId, long groupId, long folderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public void updateAsset(long userId, JournalFolder folder, long[] assetCategoryIds, java.lang.String[] assetTagNames, long[] assetLinkEntryIds, java.lang.Double priority) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Indexable(type=REINDEX) public JournalFolder updateFolder(long userId, long groupId, long folderId, long parentFolderId, java.lang.String name, java.lang.String description, boolean mergeWithParentFolder, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Indexable(type=REINDEX) public JournalFolder updateFolder(long userId, long groupId, long folderId, long parentFolderId, java.lang.String name, java.lang.String description, long[] ddmStructureIds, int restrictionType, boolean mergeWithParentFolder, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public void updateFolderDDMStructures(JournalFolder folder, long[] ddmStructureIdsArray) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public JournalFolder updateStatus(long userId, JournalFolder folder, int status) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public void validateFolderDDMStructures(long folderId, long parentFolderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
protected JournalFolder doUpdateFolder(long userId, long folderId, long parentFolderId, java.lang.String name, java.lang.String description, long[] ddmStructureIds, int restrictionType, boolean mergeWithParentFolder, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
protected java.util.Set<java.lang.Long> getDDMStructureIds(java.util.List<com.liferay.dynamic.data.mapping.model.DDMStructureLink> ddmStructureLinks)
protected long getParentFolderId(JournalFolder folder, long parentFolderId)
protected long getParentFolderId(long groupId, long parentFolderId)
protected void mergeFolders(JournalFolder fromFolder, long toFolderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
protected void moveDependentsToTrash(java.util.List<java.lang.Object> foldersAndArticles, long trashEntryId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
protected void restoreDependentsFromTrash(java.util.List<java.lang.Object> foldersAndArticles) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
protected void validateArticleDDMStructures(long folderId, long[] ddmStructureIds) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
protected void validateFolder(long folderId, long groupId, long parentFolderId, java.lang.String name) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException