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 JournalFolderaddFolder(String externalReferenceCode, long groupId, long parentFolderId, String name, String description, com.liferay.portal.kernel.service.ServiceContext serviceContext) static voiddeleteFolder(long folderId) static voiddeleteFolder(long folderId, boolean includeTrashedEntries) static JournalFolderfetchFolder(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 JournalFoldergetFolder(long folderId) static JournalFoldergetFolderByExternalReferenceCode(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 intgetFoldersAndArticlesCount(long groupId, long folderId) static intgetFoldersAndArticlesCount(long groupId, long folderId, int status) static intgetFoldersAndArticlesCount(long groupId, long userId, long folderId, int status) static intgetFoldersAndArticlesCount(long groupId, long userId, long folderId, long ddmStructureId, int status) static intgetFoldersAndArticlesCount(long groupId, long userId, long folderId, long ddmStructureId, int[] excludedStatuses, int status) static intgetFoldersAndArticlesCount(long groupId, List<Long> folderIds, int status) static intgetFoldersCount(long groupId, long parentFolderId) static intgetFoldersCount(long groupId, long parentFolderId, int status) static StringReturns the OSGi service identifier.static JournalFolderServicegetSubfolderIds(long groupId, long folderId, boolean recurse) static voidgetSubfolderIds(List<Long> folderIds, long groupId, long folderId, boolean recurse) static JournalFoldermoveFolder(long folderId, long parentFolderId, com.liferay.portal.kernel.service.ServiceContext serviceContext) static JournalFoldermoveFolderFromTrash(long folderId, long parentFolderId, com.liferay.portal.kernel.service.ServiceContext serviceContext) static JournalFoldermoveFolderToTrash(long folderId) static voidrestoreFolderFromTrash(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 intsearchDDMStructuresCount(long companyId, long[] groupIds, long folderId, int restrictionType, String keywords) static voidsubscribe(long groupId, long folderId) static voidunsubscribe(long groupId, long folderId) static JournalFolderupdateFolder(long groupId, long folderId, long parentFolderId, String name, String description, boolean mergeWithParentFolder, com.liferay.portal.kernel.service.ServiceContext serviceContext) static JournalFolderupdateFolder(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
-