Liferay 6.2-ce-ga5

com.liferay.portlet.journal.service
Class JournalFolderServiceUtil

java.lang.Object
  extended by com.liferay.portlet.journal.service.JournalFolderServiceUtil

@ProviderType
public class JournalFolderServiceUtil
extends Object

Provides the remote service utility for JournalFolder. This utility wraps 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.

See Also:
JournalFolderService, com.liferay.portlet.journal.service.base.JournalFolderServiceBaseImpl, com.liferay.portlet.journal.service.impl.JournalFolderServiceImpl

Constructor Summary
JournalFolderServiceUtil()
           
 
Method Summary
static JournalFolder addFolder(long groupId, long parentFolderId, String name, String description, ServiceContext serviceContext)
           
static void deleteFolder(long folderId)
           
static void deleteFolder(long folderId, boolean includeTrashedEntries)
           
static JournalFolder fetchFolder(long folderId)
           
static String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
static JournalFolder getFolder(long folderId)
           
static List<Long> 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)
           
static List<Object> getFoldersAndArticles(long groupId, long folderId, int status, int start, int end, OrderByComparator obc)
           
static List<Object> getFoldersAndArticles(long groupId, long folderId, int start, int end, OrderByComparator obc)
           
static List<Object> getFoldersAndArticles(long groupId, long userId, long folderId, int status, int start, int end, OrderByComparator obc)
           
static int getFoldersAndArticlesCount(long groupId, List<Long> folderIds, int status)
           
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 getFoldersCount(long groupId, long parentFolderId)
           
static int getFoldersCount(long groupId, long parentFolderId, int status)
           
static JournalFolderService getService()
           
static void getSubfolderIds(List<Long> folderIds, long groupId, long folderId)
          Deprecated. As of 7.0.0, replaced by getSubfolderIds(List, long, long, boolean)
static void getSubfolderIds(List<Long> folderIds, long groupId, long folderId, boolean recurse)
           
static List<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(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, String name, String description, boolean mergeWithParentFolder, ServiceContext serviceContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JournalFolderServiceUtil

public JournalFolderServiceUtil()
Method Detail

getBeanIdentifier

public static String getBeanIdentifier()
Returns the Spring bean ID for this bean.

Returns:
the Spring bean ID for this bean

setBeanIdentifier

public static void setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean.

Parameters:
beanIdentifier - the Spring bean ID for this bean

addFolder

public static JournalFolder addFolder(long groupId,
                                      long parentFolderId,
                                      String name,
                                      String description,
                                      ServiceContext serviceContext)
                               throws PortalException,
                                      SystemException
Throws:
PortalException
SystemException

deleteFolder

public static void deleteFolder(long folderId)
                         throws PortalException,
                                SystemException
Throws:
PortalException
SystemException

deleteFolder

public static void deleteFolder(long folderId,
                                boolean includeTrashedEntries)
                         throws PortalException,
                                SystemException
Throws:
PortalException
SystemException

fetchFolder

public static JournalFolder fetchFolder(long folderId)
                                 throws PortalException,
                                        SystemException
Throws:
PortalException
SystemException

getFolder

public static JournalFolder getFolder(long folderId)
                               throws PortalException,
                                      SystemException
Throws:
PortalException
SystemException

getFolderIds

public static List<Long> getFolderIds(long groupId,
                                      long folderId)
                               throws PortalException,
                                      SystemException
Throws:
PortalException
SystemException

getFolders

public static List<JournalFolder> getFolders(long groupId)
                                      throws SystemException
Throws:
SystemException

getFolders

public static List<JournalFolder> getFolders(long groupId,
                                             long parentFolderId)
                                      throws SystemException
Throws:
SystemException

getFolders

public static List<JournalFolder> getFolders(long groupId,
                                             long parentFolderId,
                                             int status)
                                      throws SystemException
Throws:
SystemException

getFolders

public static List<JournalFolder> getFolders(long groupId,
                                             long parentFolderId,
                                             int start,
                                             int end)
                                      throws SystemException
Throws:
SystemException

getFolders

public static List<JournalFolder> getFolders(long groupId,
                                             long parentFolderId,
                                             int status,
                                             int start,
                                             int end)
                                      throws SystemException
Throws:
SystemException

getFoldersAndArticles

public static List<Object> getFoldersAndArticles(long groupId,
                                                 long folderId,
                                                 int status,
                                                 int start,
                                                 int end,
                                                 OrderByComparator obc)
                                          throws SystemException
Throws:
SystemException

getFoldersAndArticles

public static List<Object> getFoldersAndArticles(long groupId,
                                                 long folderId,
                                                 int start,
                                                 int end,
                                                 OrderByComparator obc)
                                          throws SystemException
Throws:
SystemException

getFoldersAndArticles

public static List<Object> getFoldersAndArticles(long groupId,
                                                 long userId,
                                                 long folderId,
                                                 int status,
                                                 int start,
                                                 int end,
                                                 OrderByComparator obc)
                                          throws SystemException
Throws:
SystemException

getFoldersAndArticlesCount

public static int getFoldersAndArticlesCount(long groupId,
                                             List<Long> folderIds,
                                             int status)
                                      throws SystemException
Throws:
SystemException

getFoldersAndArticlesCount

public static int getFoldersAndArticlesCount(long groupId,
                                             long folderId)
                                      throws SystemException
Throws:
SystemException

getFoldersAndArticlesCount

public static int getFoldersAndArticlesCount(long groupId,
                                             long folderId,
                                             int status)
                                      throws SystemException
Throws:
SystemException

getFoldersAndArticlesCount

public static int getFoldersAndArticlesCount(long groupId,
                                             long userId,
                                             long folderId,
                                             int status)
                                      throws SystemException
Throws:
SystemException

getFoldersCount

public static int getFoldersCount(long groupId,
                                  long parentFolderId)
                           throws SystemException
Throws:
SystemException

getFoldersCount

public static int getFoldersCount(long groupId,
                                  long parentFolderId,
                                  int status)
                           throws SystemException
Throws:
SystemException

getSubfolderIds

public static void getSubfolderIds(List<Long> folderIds,
                                   long groupId,
                                   long folderId)
                            throws SystemException
Deprecated. As of 7.0.0, replaced by getSubfolderIds(List, long, long, boolean)

Throws:
SystemException

getSubfolderIds

public static void getSubfolderIds(List<Long> folderIds,
                                   long groupId,
                                   long folderId,
                                   boolean recurse)
                            throws SystemException
Throws:
SystemException

getSubfolderIds

public static List<Long> getSubfolderIds(long groupId,
                                         long folderId,
                                         boolean recurse)
                                  throws SystemException
Throws:
SystemException

moveFolder

public static JournalFolder moveFolder(long folderId,
                                       long parentFolderId,
                                       ServiceContext serviceContext)
                                throws PortalException,
                                       SystemException
Throws:
PortalException
SystemException

moveFolderFromTrash

public static JournalFolder moveFolderFromTrash(long folderId,
                                                long parentFolderId,
                                                ServiceContext serviceContext)
                                         throws PortalException,
                                                SystemException
Throws:
PortalException
SystemException

moveFolderToTrash

public static JournalFolder moveFolderToTrash(long folderId)
                                       throws PortalException,
                                              SystemException
Throws:
PortalException
SystemException

restoreFolderFromTrash

public static void restoreFolderFromTrash(long folderId)
                                   throws PortalException,
                                          SystemException
Throws:
PortalException
SystemException

updateFolder

public static JournalFolder updateFolder(long folderId,
                                         long parentFolderId,
                                         String name,
                                         String description,
                                         boolean mergeWithParentFolder,
                                         ServiceContext serviceContext)
                                  throws PortalException,
                                         SystemException
Throws:
PortalException
SystemException

getService

public static JournalFolderService getService()

setService

public void setService(JournalFolderService service)
Deprecated. As of 6.2.0


Liferay 6.2-ce-ga5