Package com.liferay.journal.service
Class JournalFolderServiceUtil
java.lang.Object
com.liferay.journal.service.JournalFolderServiceUtil
Provides the remote service utility for JournalFolder. This utility wraps
com.liferay.journal.service.impl.JournalFolderServiceImpl
and is an
access point for service operations in application layer code running on a
remote server. Methods of this service are expected to have security checks
based on the propagated JAAS credentials because this service can be
accessed remotely.- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic JournalFolder
addFolder
(String externalReferenceCode, long groupId, long parentFolderId, String name, String description, com.liferay.portal.kernel.service.ServiceContext serviceContext) static void
deleteFolder
(long folderId) static void
deleteFolder
(long folderId, boolean includeTrashedEntries) static JournalFolder
fetchFolder
(long folderId) static List<com.liferay.dynamic.data.mapping.model.DDMStructure>
getDDMStructures
(long[] groupIds, long folderId, int restrictionType) static List<com.liferay.dynamic.data.mapping.model.DDMStructure>
getDDMStructures
(long[] groupIds, long folderId, int restrictionType, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.dynamic.data.mapping.model.DDMStructure> orderByComparator) static JournalFolder
getFolder
(long folderId) static JournalFolder
getFolderByExternalReferenceCode
(long groupId, String externalReferenceCode) getFolderIds
(long groupId, long folderId) static List<JournalFolder>
getFolders
(long groupId) static List<JournalFolder>
getFolders
(long groupId, long parentFolderId) static List<JournalFolder>
getFolders
(long groupId, long parentFolderId, int status) static List<JournalFolder>
getFolders
(long groupId, long parentFolderId, int start, int end) static List<JournalFolder>
getFolders
(long groupId, long parentFolderId, int status, int start, int end) getFoldersAndArticles
(long groupId, long folderId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<?> orderByComparator) getFoldersAndArticles
(long groupId, long folderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<?> orderByComparator) getFoldersAndArticles
(long groupId, long userId, long folderId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<?> orderByComparator) getFoldersAndArticles
(long groupId, long userId, long folderId, int status, Locale locale, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<?> orderByComparator) getFoldersAndArticles
(long groupId, long userId, long folderId, long ddmStructureId, int status, Locale locale, int[] excludedStatuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<?> orderByComparator) getFoldersAndArticles
(long groupId, long userId, long folderId, long ddmStructureId, int status, Locale locale, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<?> orderByComparator) static int
getFoldersAndArticlesCount
(long groupId, long folderId) static int
getFoldersAndArticlesCount
(long groupId, long folderId, int status) static int
getFoldersAndArticlesCount
(long groupId, long userId, long folderId, int status) static int
getFoldersAndArticlesCount
(long groupId, long userId, long folderId, long ddmStructureId, int status) static int
getFoldersAndArticlesCount
(long groupId, long userId, long folderId, long ddmStructureId, int[] excludedStatuses, int status) static int
getFoldersAndArticlesCount
(long groupId, List<Long> folderIds, int status) static int
getFoldersCount
(long groupId, long parentFolderId) static int
getFoldersCount
(long groupId, long parentFolderId, int status) static String
Returns the OSGi service identifier.static JournalFolderService
getSubfolderIds
(long groupId, long folderId, boolean recurse) static void
getSubfolderIds
(List<Long> folderIds, long groupId, long folderId, boolean recurse) static JournalFolder
moveFolder
(long folderId, long parentFolderId, com.liferay.portal.kernel.service.ServiceContext serviceContext) static JournalFolder
moveFolderFromTrash
(long folderId, long parentFolderId, com.liferay.portal.kernel.service.ServiceContext serviceContext) static JournalFolder
moveFolderToTrash
(long folderId) static void
restoreFolderFromTrash
(long folderId) static List<com.liferay.dynamic.data.mapping.model.DDMStructure>
searchDDMStructures
(long companyId, long[] groupIds, long folderId, int restrictionType, String keywords, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.dynamic.data.mapping.model.DDMStructure> orderByComparator) static int
searchDDMStructuresCount
(long companyId, long[] groupIds, long folderId, int restrictionType, String keywords) static void
subscribe
(long groupId, long folderId) static void
unsubscribe
(long groupId, long folderId) static JournalFolder
updateFolder
(long groupId, long folderId, long parentFolderId, String name, String description, boolean mergeWithParentFolder, com.liferay.portal.kernel.service.ServiceContext serviceContext) static JournalFolder
updateFolder
(long groupId, long folderId, long parentFolderId, String name, String description, long[] ddmStructureIds, int restrictionType, boolean mergeWithParentFolder, com.liferay.portal.kernel.service.ServiceContext serviceContext)
-
Constructor Details
-
JournalFolderServiceUtil
public JournalFolderServiceUtil()
-
-
Method Details
-
addFolder
public static JournalFolder addFolder(String externalReferenceCode, long groupId, long parentFolderId, String name, String description, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteFolder
public static void deleteFolder(long folderId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteFolder
public static void deleteFolder(long folderId, boolean includeTrashedEntries) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchFolder
public static JournalFolder fetchFolder(long folderId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getDDMStructures
public static List<com.liferay.dynamic.data.mapping.model.DDMStructure> getDDMStructures(long[] groupIds, long folderId, int restrictionType) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getDDMStructures
public static List<com.liferay.dynamic.data.mapping.model.DDMStructure> getDDMStructures(long[] groupIds, long folderId, int restrictionType, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.dynamic.data.mapping.model.DDMStructure> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getFolder
public static JournalFolder getFolder(long folderId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getFolderByExternalReferenceCode
public static JournalFolder getFolderByExternalReferenceCode(long groupId, String externalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getFolderIds
public static List<Long> getFolderIds(long groupId, long folderId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getFolders
-
getFolders
-
getFolders
-
getFolders
-
getFolders
public static List<JournalFolder> getFolders(long groupId, long parentFolderId, int status, int start, int end) -
getFoldersAndArticles
-
getFoldersAndArticles
-
getFoldersAndArticles
-
getFoldersAndArticles
-
getFoldersAndArticles
-
getFoldersAndArticles
-
getFoldersAndArticlesCount
-
getFoldersAndArticlesCount
public static int getFoldersAndArticlesCount(long groupId, long folderId) -
getFoldersAndArticlesCount
public static int getFoldersAndArticlesCount(long groupId, long folderId, int status) -
getFoldersAndArticlesCount
public static int getFoldersAndArticlesCount(long groupId, long userId, long folderId, int status) -
getFoldersAndArticlesCount
public static int getFoldersAndArticlesCount(long groupId, long userId, long folderId, long ddmStructureId, int status) -
getFoldersAndArticlesCount
public static int getFoldersAndArticlesCount(long groupId, long userId, long folderId, long ddmStructureId, int[] excludedStatuses, int status) -
getFoldersCount
public static int getFoldersCount(long groupId, long parentFolderId) -
getFoldersCount
public static int getFoldersCount(long groupId, long parentFolderId, int status) -
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
getSubfolderIds
-
getSubfolderIds
-
moveFolder
public static JournalFolder moveFolder(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
-
moveFolderFromTrash
public static JournalFolder moveFolderFromTrash(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
-
moveFolderToTrash
public static JournalFolder moveFolderToTrash(long folderId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
restoreFolderFromTrash
public static void restoreFolderFromTrash(long folderId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
searchDDMStructures
public static List<com.liferay.dynamic.data.mapping.model.DDMStructure> searchDDMStructures(long companyId, long[] groupIds, long folderId, int restrictionType, String keywords, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.dynamic.data.mapping.model.DDMStructure> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
searchDDMStructuresCount
public static int searchDDMStructuresCount(long companyId, long[] groupIds, long folderId, int restrictionType, String keywords) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
subscribe
public static void subscribe(long groupId, long folderId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
unsubscribe
public static void unsubscribe(long groupId, long folderId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateFolder
public static JournalFolder updateFolder(long groupId, long folderId, long parentFolderId, String name, String description, boolean mergeWithParentFolder, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateFolder
public static JournalFolder updateFolder(long groupId, long folderId, long parentFolderId, String name, String description, long[] ddmStructureIds, int restrictionType, boolean mergeWithParentFolder, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getService
-