public class JournalFolderServiceImpl
extends com.liferay.journal.service.base.JournalFolderServiceBaseImpl
assetEntryLocalService, assetEntryPersistence, assetEntryService, assetLinkLocalService, assetLinkPersistence, classNameLocalService, classNamePersistence, classNameService, counterLocalService, expandoValueLocalService, expandoValuePersistence, expandoValueService, groupLocalService, groupPersistence, groupService, journalArticleFinder, journalArticleLocalService, journalArticlePersistence, journalArticleService, journalFolderFinder, journalFolderLocalService, journalFolderPersistence, journalFolderService, ratingsStatsLocalService, ratingsStatsPersistence, resourceLocalService, subscriptionLocalService, subscriptionPersistence, trashEntryLocalService, trashEntryPersistence, trashEntryService, trashVersionLocalService, trashVersionPersistence, userLocalService, userPersistence, userService, workflowDefinitionLinkLocalService, workflowDefinitionLinkPersistence, workflowInstanceLinkLocalService, workflowInstanceLinkPersistence
Constructor and Description |
---|
JournalFolderServiceImpl() |
Modifier and Type | Method and Description |
---|---|
JournalFolder |
addFolder(long groupId,
long parentFolderId,
java.lang.String name,
java.lang.String description,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
deleteFolder(long folderId) |
void |
deleteFolder(long folderId,
boolean includeTrashedEntries) |
JournalFolder |
fetchFolder(long folderId) |
protected java.util.List<com.liferay.dynamic.data.mapping.model.DDMStructure> |
filterStructures(java.util.List<com.liferay.dynamic.data.mapping.model.DDMStructure> ddmStructures) |
java.util.List<com.liferay.dynamic.data.mapping.model.DDMStructure> |
getDDMStructures(long[] groupIds,
long folderId,
int restrictionType) |
JournalFolder |
getFolder(long folderId) |
java.util.List<java.lang.Long> |
getFolderIds(long groupId,
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,
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) |
java.util.List<java.lang.Object> |
getFoldersAndArticles(long groupId,
long userId,
long folderId,
int status,
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 |
getFoldersAndArticlesCount(long groupId,
long userId,
long folderId,
int status) |
int |
getFoldersCount(long groupId,
long parentFolderId) |
int |
getFoldersCount(long groupId,
long parentFolderId,
int status) |
void |
getSubfolderIds(java.util.List<java.lang.Long> folderIds,
long groupId,
long folderId)
Deprecated.
As of Wilberforce (7.0.x), replaced by
getSubfolderIds(List, long, long, boolean) |
void |
getSubfolderIds(java.util.List<java.lang.Long> folderIds,
long groupId,
long folderId,
boolean recurse) |
java.util.List<java.lang.Long> |
getSubfolderIds(long groupId,
long folderId,
boolean recurse) |
JournalFolder |
moveFolder(long folderId,
long parentFolderId,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
JournalFolder |
moveFolderFromTrash(long folderId,
long parentFolderId,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
JournalFolder |
moveFolderToTrash(long folderId) |
void |
restoreFolderFromTrash(long folderId) |
void |
subscribe(long groupId,
long folderId) |
void |
unsubscribe(long groupId,
long folderId) |
JournalFolder |
updateFolder(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 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) |
afterPropertiesSet, destroy, getAssetEntryLocalService, getAssetEntryPersistence, getAssetEntryService, getAssetLinkLocalService, getAssetLinkPersistence, getClassNameLocalService, getClassNamePersistence, getClassNameService, getCounterLocalService, getExpandoValueLocalService, getExpandoValuePersistence, getExpandoValueService, getGroupLocalService, getGroupPersistence, getGroupService, getJournalArticleFinder, getJournalArticleLocalService, getJournalArticlePersistence, getJournalArticleService, getJournalFolderFinder, getJournalFolderLocalService, getJournalFolderPersistence, getJournalFolderService, getModelClass, getModelClassName, getOSGiServiceIdentifier, getRatingsStatsLocalService, getRatingsStatsPersistence, getResourceLocalService, getSubscriptionLocalService, getSubscriptionPersistence, getTrashEntryLocalService, getTrashEntryPersistence, getTrashEntryService, getTrashVersionLocalService, getTrashVersionPersistence, getUserLocalService, getUserPersistence, getUserService, getWorkflowDefinitionLinkLocalService, getWorkflowDefinitionLinkPersistence, getWorkflowInstanceLinkLocalService, getWorkflowInstanceLinkPersistence, runSQL, setAssetEntryLocalService, setAssetEntryPersistence, setAssetEntryService, setAssetLinkLocalService, setAssetLinkPersistence, setClassNameLocalService, setClassNamePersistence, setClassNameService, setCounterLocalService, setExpandoValueLocalService, setExpandoValuePersistence, setExpandoValueService, setGroupLocalService, setGroupPersistence, setGroupService, setJournalArticleFinder, setJournalArticleLocalService, setJournalArticlePersistence, setJournalArticleService, setJournalFolderFinder, setJournalFolderLocalService, setJournalFolderPersistence, setJournalFolderService, setRatingsStatsLocalService, setRatingsStatsPersistence, setResourceLocalService, setSubscriptionLocalService, setSubscriptionPersistence, setTrashEntryLocalService, setTrashEntryPersistence, setTrashEntryService, setTrashVersionLocalService, setTrashVersionPersistence, setUserLocalService, setUserPersistence, setUserService, setWorkflowDefinitionLinkLocalService, setWorkflowDefinitionLinkPersistence, setWorkflowInstanceLinkLocalService, setWorkflowInstanceLinkPersistence
public JournalFolder addFolder(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
public void deleteFolder(long folderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public void deleteFolder(long folderId, boolean includeTrashedEntries) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public JournalFolder fetchFolder(long folderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
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<java.lang.Long> getFolderIds(long groupId, 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, 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 java.util.List<java.lang.Object> getFoldersAndArticles(long groupId, long userId, long folderId, int status, 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 getFoldersAndArticlesCount(long groupId, long userId, long folderId, int status)
public int getFoldersCount(long groupId, long parentFolderId)
public int getFoldersCount(long groupId, long parentFolderId, int status)
@Deprecated public void getSubfolderIds(java.util.List<java.lang.Long> folderIds, long groupId, long folderId)
getSubfolderIds(List, long, long, boolean)
public void getSubfolderIds(java.util.List<java.lang.Long> folderIds, long groupId, long folderId, boolean recurse)
public java.util.List<java.lang.Long> getSubfolderIds(long groupId, long folderId, boolean recurse)
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 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 moveFolderToTrash(long folderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public void restoreFolderFromTrash(long folderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public void subscribe(long groupId, long folderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public void unsubscribe(long groupId, long folderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public JournalFolder updateFolder(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
public JournalFolder updateFolder(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
protected java.util.List<com.liferay.dynamic.data.mapping.model.DDMStructure> filterStructures(java.util.List<com.liferay.dynamic.data.mapping.model.DDMStructure> ddmStructures) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException