Liferay 7.0-ce-m2

com.liferay.portlet.bookmarks.service.impl
Class BookmarksFolderServiceImpl

java.lang.Object
  extended by com.liferay.portal.service.BaseServiceImpl
      extended by com.liferay.portlet.bookmarks.service.base.BookmarksFolderServiceBaseImpl
          extended by com.liferay.portlet.bookmarks.service.impl.BookmarksFolderServiceImpl
All Implemented Interfaces:
IdentifiableBean, BaseService, BookmarksFolderService

public class BookmarksFolderServiceImpl
extends BookmarksFolderServiceBaseImpl


Field Summary
 
Fields inherited from class com.liferay.portlet.bookmarks.service.base.BookmarksFolderServiceBaseImpl
assetEntryFinder, assetEntryLocalService, assetEntryPersistence, assetEntryService, assetLinkLocalService, assetLinkPersistence, bookmarksEntryFinder, bookmarksEntryLocalService, bookmarksEntryPersistence, bookmarksEntryService, bookmarksFolderFinder, bookmarksFolderLocalService, bookmarksFolderPersistence, bookmarksFolderService, classNameLocalService, classNamePersistence, classNameService, counterLocalService, expandoRowLocalService, expandoRowPersistence, groupFinder, groupLocalService, groupPersistence, groupService, resourceLocalService, socialActivityFinder, socialActivityLocalService, socialActivityPersistence, socialActivityService, subscriptionLocalService, subscriptionPersistence, trashEntryLocalService, trashEntryPersistence, trashEntryService, trashVersionLocalService, trashVersionPersistence, userFinder, userLocalService, userPersistence, userService
 
Fields inherited from class com.liferay.portal.service.BaseServiceImpl
ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS
 
Constructor Summary
BookmarksFolderServiceImpl()
           
 
Method Summary
 BookmarksFolder addFolder(long parentFolderId, String name, String description, ServiceContext serviceContext)
           
 void deleteFolder(long folderId)
           
 void deleteFolder(long folderId, boolean includeTrashedEntries)
           
 BookmarksFolder getFolder(long folderId)
           
 List<Long> getFolderIds(long groupId, long folderId)
           
 List<BookmarksFolder> getFolders(long groupId)
           
 List<BookmarksFolder> getFolders(long groupId, long parentFolderId)
           
 List<BookmarksFolder> getFolders(long groupId, long parentFolderId, int start, int end)
           
 List<BookmarksFolder> getFolders(long groupId, long parentFolderId, int status, int start, int end)
           
 List<Object> getFoldersAndEntries(long groupId, long folderId)
           
 List<Object> getFoldersAndEntries(long groupId, long folderId, int status)
           
 List<Object> getFoldersAndEntries(long groupId, long folderId, int status, int start, int end)
           
 int getFoldersAndEntriesCount(long groupId, long folderId)
           
 int getFoldersAndEntriesCount(long groupId, long folderId, int status)
           
 int getFoldersCount(long groupId, long parentFolderId)
           
 int getFoldersCount(long groupId, long parentFolderId, int status)
           
 void getSubfolderIds(List<Long> folderIds, long groupId, long folderId)
          Deprecated. As of 7.0.0, replaced by getSubfolderIds(List, long, long, boolean)
 void getSubfolderIds(List<Long> folderIds, long groupId, long folderId, boolean recurse)
           
 List<Long> getSubfolderIds(long groupId, long folderId, boolean recurse)
           
 BookmarksFolder moveFolder(long folderId, long parentFolderId)
           
 BookmarksFolder moveFolderFromTrash(long folderId, long parentFolderId)
           
 BookmarksFolder moveFolderToTrash(long folderId)
           
 void restoreFolderFromTrash(long folderId)
           
 void subscribeFolder(long groupId, long folderId)
           
 void unsubscribeFolder(long groupId, long folderId)
           
 BookmarksFolder updateFolder(long folderId, long parentFolderId, String name, String description, boolean mergeWithParentFolder, ServiceContext serviceContext)
           
 
Methods inherited from class com.liferay.portlet.bookmarks.service.base.BookmarksFolderServiceBaseImpl
afterPropertiesSet, destroy, getAssetEntryFinder, getAssetEntryLocalService, getAssetEntryPersistence, getAssetEntryService, getAssetLinkLocalService, getAssetLinkPersistence, getBeanIdentifier, getBookmarksEntryFinder, getBookmarksEntryLocalService, getBookmarksEntryPersistence, getBookmarksEntryService, getBookmarksFolderFinder, getBookmarksFolderLocalService, getBookmarksFolderPersistence, getBookmarksFolderService, getClassNameLocalService, getClassNamePersistence, getClassNameService, getCounterLocalService, getExpandoRowLocalService, getExpandoRowPersistence, getGroupFinder, getGroupLocalService, getGroupPersistence, getGroupService, getModelClass, getModelClassName, getResourceLocalService, getSocialActivityFinder, getSocialActivityLocalService, getSocialActivityPersistence, getSocialActivityService, getSubscriptionLocalService, getSubscriptionPersistence, getTrashEntryLocalService, getTrashEntryPersistence, getTrashEntryService, getTrashVersionLocalService, getTrashVersionPersistence, getUserFinder, getUserLocalService, getUserPersistence, getUserService, runSQL, setAssetEntryFinder, setAssetEntryLocalService, setAssetEntryPersistence, setAssetEntryService, setAssetLinkLocalService, setAssetLinkPersistence, setBeanIdentifier, setBookmarksEntryFinder, setBookmarksEntryLocalService, setBookmarksEntryPersistence, setBookmarksEntryService, setBookmarksFolderFinder, setBookmarksFolderLocalService, setBookmarksFolderPersistence, setBookmarksFolderService, setClassNameLocalService, setClassNamePersistence, setClassNameService, setCounterLocalService, setExpandoRowLocalService, setExpandoRowPersistence, setGroupFinder, setGroupLocalService, setGroupPersistence, setGroupService, setResourceLocalService, setSocialActivityFinder, setSocialActivityLocalService, setSocialActivityPersistence, setSocialActivityService, setSubscriptionLocalService, setSubscriptionPersistence, setTrashEntryLocalService, setTrashEntryPersistence, setTrashEntryService, setTrashVersionLocalService, setTrashVersionPersistence, setUserFinder, setUserLocalService, setUserPersistence, setUserService
 
Methods inherited from class com.liferay.portal.service.BaseServiceImpl
getClassLoader, getGuestOrUser, getGuestOrUserId, getPermissionChecker, getUser, getUserId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BookmarksFolderServiceImpl

public BookmarksFolderServiceImpl()
Method Detail

addFolder

public BookmarksFolder addFolder(long parentFolderId,
                                 String name,
                                 String description,
                                 ServiceContext serviceContext)
                          throws PortalException
Throws:
PortalException

deleteFolder

public void deleteFolder(long folderId)
                  throws PortalException
Throws:
PortalException

deleteFolder

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

getFolder

public BookmarksFolder getFolder(long folderId)
                          throws PortalException
Throws:
PortalException

getFolderIds

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

getFolders

public List<BookmarksFolder> getFolders(long groupId)

getFolders

public List<BookmarksFolder> getFolders(long groupId,
                                        long parentFolderId)

getFolders

public List<BookmarksFolder> getFolders(long groupId,
                                        long parentFolderId,
                                        int start,
                                        int end)

getFolders

public List<BookmarksFolder> getFolders(long groupId,
                                        long parentFolderId,
                                        int status,
                                        int start,
                                        int end)

getFoldersAndEntries

public List<Object> getFoldersAndEntries(long groupId,
                                         long folderId)

getFoldersAndEntries

public List<Object> getFoldersAndEntries(long groupId,
                                         long folderId,
                                         int status)

getFoldersAndEntries

public List<Object> getFoldersAndEntries(long groupId,
                                         long folderId,
                                         int status,
                                         int start,
                                         int end)

getFoldersAndEntriesCount

public int getFoldersAndEntriesCount(long groupId,
                                     long folderId)

getFoldersAndEntriesCount

public int getFoldersAndEntriesCount(long groupId,
                                     long folderId,
                                     int status)

getFoldersCount

public int getFoldersCount(long groupId,
                           long parentFolderId)

getFoldersCount

public int getFoldersCount(long groupId,
                           long parentFolderId,
                           int status)

getSubfolderIds

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


getSubfolderIds

public void getSubfolderIds(List<Long> folderIds,
                            long groupId,
                            long folderId,
                            boolean recurse)

getSubfolderIds

public List<Long> getSubfolderIds(long groupId,
                                  long folderId,
                                  boolean recurse)

moveFolder

public BookmarksFolder moveFolder(long folderId,
                                  long parentFolderId)
                           throws PortalException
Throws:
PortalException

moveFolderFromTrash

public BookmarksFolder moveFolderFromTrash(long folderId,
                                           long parentFolderId)
                                    throws PortalException
Throws:
PortalException

moveFolderToTrash

public BookmarksFolder moveFolderToTrash(long folderId)
                                  throws PortalException
Throws:
PortalException

restoreFolderFromTrash

public void restoreFolderFromTrash(long folderId)
                            throws PortalException
Throws:
PortalException

subscribeFolder

public void subscribeFolder(long groupId,
                            long folderId)
                     throws PortalException
Throws:
PortalException

unsubscribeFolder

public void unsubscribeFolder(long groupId,
                              long folderId)
                       throws PortalException
Throws:
PortalException

updateFolder

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

Liferay 7.0-ce-m2