@ProviderType
public class JournalFolderServiceUtil
extends java.lang.Object
com.liferay.portlet.journal.service.impl.JournalFolderServiceImpl and is the
primary 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.JournalFolderService,
com.liferay.portlet.journal.service.base.JournalFolderServiceBaseImpl,
com.liferay.portlet.journal.service.impl.JournalFolderServiceImpl| Constructor and Description |
|---|
JournalFolderServiceUtil() |
| Modifier and Type | Method and Description |
|---|---|
static JournalFolder |
addFolder(long groupId,
long parentFolderId,
java.lang.String name,
java.lang.String description,
ServiceContext serviceContext) |
static void |
deleteFolder(long folderId) |
static void |
deleteFolder(long folderId,
boolean includeTrashedEntries) |
static java.lang.String |
getBeanIdentifier()
Returns the Spring bean ID for this bean.
|
static JournalFolder |
getFolder(long folderId) |
static java.util.List<java.lang.Long> |
getFolderIds(long groupId,
long folderId) |
static java.util.List<JournalFolder> |
getFolders(long groupId) |
static java.util.List<JournalFolder> |
getFolders(long groupId,
long parentFolderId) |
static java.util.List<JournalFolder> |
getFolders(long groupId,
long parentFolderId,
int status) |
static java.util.List<JournalFolder> |
getFolders(long groupId,
long parentFolderId,
int start,
int end) |
static java.util.List<JournalFolder> |
getFolders(long groupId,
long parentFolderId,
int status,
int start,
int end) |
static java.util.List<java.lang.Object> |
getFoldersAndArticles(long groupId,
long folderId,
int status,
int start,
int end,
OrderByComparator obc) |
static java.util.List<java.lang.Object> |
getFoldersAndArticles(long groupId,
long folderId,
int start,
int end,
OrderByComparator obc) |
static int |
getFoldersAndArticlesCount(long groupId,
java.util.List<java.lang.Long> folderIds,
int status) |
static int |
getFoldersAndArticlesCount(long groupId,
long folderId) |
static int |
getFoldersAndArticlesCount(long groupId,
long folderId,
int status) |
static int |
getFoldersCount(long groupId,
long parentFolderId) |
static int |
getFoldersCount(long groupId,
long parentFolderId,
int status) |
static JournalFolderService |
getService() |
static void |
getSubfolderIds(java.util.List<java.lang.Long> folderIds,
long groupId,
long folderId) |
static java.util.List<java.lang.Long> |
getSubfolderIds(long groupId,
long folderId,
boolean recurse) |
static JournalFolder |
moveFolder(long folderId,
long parentFolderId,
ServiceContext serviceContext) |
static JournalFolder |
moveFolderFromTrash(long folderId,
long parentFolderId,
ServiceContext serviceContext) |
static JournalFolder |
moveFolderToTrash(long folderId) |
static void |
restoreFolderFromTrash(long folderId) |
static void |
setBeanIdentifier(java.lang.String beanIdentifier)
Sets the Spring bean ID for this bean.
|
void |
setService(JournalFolderService service)
Deprecated.
As of 6.2.0
|
static JournalFolder |
updateFolder(long folderId,
long parentFolderId,
java.lang.String name,
java.lang.String description,
boolean mergeWithParentFolder,
ServiceContext serviceContext) |
public static java.lang.String getBeanIdentifier()
public static void setBeanIdentifier(java.lang.String beanIdentifier)
beanIdentifier - the Spring bean ID for this beanpublic static JournalFolder addFolder(long groupId, long parentFolderId, java.lang.String name, java.lang.String description, ServiceContext serviceContext) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static void deleteFolder(long folderId)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static void deleteFolder(long folderId,
boolean includeTrashedEntries)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static JournalFolder getFolder(long folderId) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static java.util.List<java.lang.Long> getFolderIds(long groupId,
long folderId)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static java.util.List<JournalFolder> getFolders(long groupId) throws SystemException
SystemExceptionpublic static java.util.List<JournalFolder> getFolders(long groupId, long parentFolderId) throws SystemException
SystemExceptionpublic static java.util.List<JournalFolder> getFolders(long groupId, long parentFolderId, int status) throws SystemException
SystemExceptionpublic static java.util.List<JournalFolder> getFolders(long groupId, long parentFolderId, int start, int end) throws SystemException
SystemExceptionpublic static java.util.List<JournalFolder> getFolders(long groupId, long parentFolderId, int status, int start, int end) throws SystemException
SystemExceptionpublic static java.util.List<java.lang.Object> getFoldersAndArticles(long groupId,
long folderId,
int status,
int start,
int end,
OrderByComparator obc)
throws SystemException
SystemExceptionpublic static java.util.List<java.lang.Object> getFoldersAndArticles(long groupId,
long folderId,
int start,
int end,
OrderByComparator obc)
throws SystemException
SystemExceptionpublic static int getFoldersAndArticlesCount(long groupId,
java.util.List<java.lang.Long> folderIds,
int status)
throws SystemException
SystemExceptionpublic static int getFoldersAndArticlesCount(long groupId,
long folderId)
throws SystemException
SystemExceptionpublic static int getFoldersAndArticlesCount(long groupId,
long folderId,
int status)
throws SystemException
SystemExceptionpublic static int getFoldersCount(long groupId,
long parentFolderId)
throws SystemException
SystemExceptionpublic static int getFoldersCount(long groupId,
long parentFolderId,
int status)
throws SystemException
SystemExceptionpublic static void getSubfolderIds(java.util.List<java.lang.Long> folderIds,
long groupId,
long folderId)
throws SystemException
SystemExceptionpublic static java.util.List<java.lang.Long> getSubfolderIds(long groupId,
long folderId,
boolean recurse)
throws SystemException
SystemExceptionpublic static JournalFolder moveFolder(long folderId, long parentFolderId, ServiceContext serviceContext) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static JournalFolder moveFolderFromTrash(long folderId, long parentFolderId, ServiceContext serviceContext) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static JournalFolder moveFolderToTrash(long folderId) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static void restoreFolderFromTrash(long folderId)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static JournalFolder updateFolder(long folderId, long parentFolderId, java.lang.String name, java.lang.String description, boolean mergeWithParentFolder, ServiceContext serviceContext) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static JournalFolderService getService()
public void setService(JournalFolderService service)