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

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

public class BookmarksFolderServiceImpl
extends BookmarksFolderServiceBaseImpl

Author:
Brian Wing Shun Chan

Field Summary
 
Fields inherited from class com.liferay.portlet.bookmarks.service.base.BookmarksFolderServiceBaseImpl
bookmarksEntryFinder, bookmarksEntryLocalService, bookmarksEntryPersistence, bookmarksEntryService, bookmarksFolderLocalService, bookmarksFolderPersistence, bookmarksFolderService, counterLocalService, expandoValueLocalService, expandoValuePersistence, expandoValueService, groupFinder, groupLocalService, groupPersistence, groupService, resourceFinder, resourceLocalService, resourcePersistence, resourceService, userFinder, userLocalService, userPersistence, userService
 
Fields inherited from class com.liferay.portal.service.base.PrincipalBean
ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS
 
Constructor Summary
BookmarksFolderServiceImpl()
           
 
Method Summary
 com.liferay.portlet.bookmarks.model.BookmarksFolder addFolder(long parentFolderId, java.lang.String name, java.lang.String description, com.liferay.portal.service.ServiceContext serviceContext)
           
 void deleteFolder(long folderId)
           
 com.liferay.portlet.bookmarks.model.BookmarksFolder getFolder(long folderId)
           
 java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> getFolders(long groupId)
           
 java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> getFolders(long groupId, long parentFolderId)
           
 java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> getFolders(long groupId, long parentFolderId, int start, int end)
           
 int getFoldersCount(long groupId, long parentFolderId)
           
 void getSubfolderIds(java.util.List<java.lang.Long> folderIds, long groupId, long folderId)
           
 com.liferay.portlet.bookmarks.model.BookmarksFolder updateFolder(long folderId, long parentFolderId, java.lang.String name, java.lang.String description, boolean mergeWithParentFolder, com.liferay.portal.service.ServiceContext serviceContext)
           
 
Methods inherited from class com.liferay.portlet.bookmarks.service.base.BookmarksFolderServiceBaseImpl
afterPropertiesSet, destroy, getBeanIdentifier, getBookmarksEntryFinder, getBookmarksEntryLocalService, getBookmarksEntryPersistence, getBookmarksEntryService, getBookmarksFolderLocalService, getBookmarksFolderPersistence, getBookmarksFolderService, getCounterLocalService, getExpandoValueLocalService, getExpandoValuePersistence, getExpandoValueService, getGroupFinder, getGroupLocalService, getGroupPersistence, getGroupService, getModelClass, getModelClassName, getResourceFinder, getResourceLocalService, getResourcePersistence, getResourceService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, runSQL, setBeanIdentifier, setBookmarksEntryFinder, setBookmarksEntryLocalService, setBookmarksEntryPersistence, setBookmarksEntryService, setBookmarksFolderLocalService, setBookmarksFolderPersistence, setBookmarksFolderService, setCounterLocalService, setExpandoValueLocalService, setExpandoValuePersistence, setExpandoValueService, setGroupFinder, setGroupLocalService, setGroupPersistence, setGroupService, setResourceFinder, setResourceLocalService, setResourcePersistence, setResourceService, setUserFinder, setUserLocalService, setUserPersistence, setUserService
 
Methods inherited from class com.liferay.portal.service.base.PrincipalBean
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 com.liferay.portlet.bookmarks.model.BookmarksFolder addFolder(long parentFolderId,
                                                                     java.lang.String name,
                                                                     java.lang.String description,
                                                                     com.liferay.portal.service.ServiceContext serviceContext)
                                                              throws com.liferay.portal.kernel.exception.PortalException,
                                                                     com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

deleteFolder

public void deleteFolder(long folderId)
                  throws com.liferay.portal.kernel.exception.PortalException,
                         com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getFolder

public com.liferay.portlet.bookmarks.model.BookmarksFolder getFolder(long folderId)
                                                              throws com.liferay.portal.kernel.exception.PortalException,
                                                                     com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getFolders

public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> getFolders(long groupId)
                                                                               throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getFolders

public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> getFolders(long groupId,
                                                                                      long parentFolderId)
                                                                               throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getFolders

public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> getFolders(long groupId,
                                                                                      long parentFolderId,
                                                                                      int start,
                                                                                      int end)
                                                                               throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getFoldersCount

public int getFoldersCount(long groupId,
                           long parentFolderId)
                    throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getSubfolderIds

public void getSubfolderIds(java.util.List<java.lang.Long> folderIds,
                            long groupId,
                            long folderId)
                     throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

updateFolder

public com.liferay.portlet.bookmarks.model.BookmarksFolder updateFolder(long folderId,
                                                                        long parentFolderId,
                                                                        java.lang.String name,
                                                                        java.lang.String description,
                                                                        boolean mergeWithParentFolder,
                                                                        com.liferay.portal.service.ServiceContext serviceContext)
                                                                 throws com.liferay.portal.kernel.exception.PortalException,
                                                                        com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException