Liferay 6.1.2-ce-ga3

com.liferay.portlet.bookmarks.service
Class BookmarksFolderServiceUtil

java.lang.Object
  extended by com.liferay.portlet.bookmarks.service.BookmarksFolderServiceUtil

public class BookmarksFolderServiceUtil
extends Object

The utility for the bookmarks folder remote service. This utility wraps BookmarksFolderServiceImpl and is the primary access point for service operations in application layer code running on a remote server.

This is a remote service. 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:
BookmarksFolderService, BookmarksFolderServiceBaseImpl, BookmarksFolderServiceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Constructor Summary
BookmarksFolderServiceUtil()
           
 
Method Summary
static BookmarksFolder addFolder(long parentFolderId, String name, String description, ServiceContext serviceContext)
           
static void deleteFolder(long folderId)
           
static String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
static BookmarksFolder getFolder(long folderId)
           
static List<BookmarksFolder> getFolders(long groupId)
           
static List<BookmarksFolder> getFolders(long groupId, long parentFolderId)
           
static List<BookmarksFolder> getFolders(long groupId, long parentFolderId, int start, int end)
           
static int getFoldersCount(long groupId, long parentFolderId)
           
static BookmarksFolderService getService()
           
static void getSubfolderIds(List<Long> folderIds, long groupId, long folderId)
           
static void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 void setService(BookmarksFolderService service)
          Deprecated.  
static BookmarksFolder 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

BookmarksFolderServiceUtil

public BookmarksFolderServiceUtil()
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 BookmarksFolder addFolder(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

getFolder

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

getFolders

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

getFolders

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

getFolders

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

getFoldersCount

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

getSubfolderIds

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

updateFolder

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

getService

public static BookmarksFolderService getService()

setService

public void setService(BookmarksFolderService service)
Deprecated. 


Liferay 6.1.2-ce-ga3