Liferay 6.1.2-ce-ga3

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

java.lang.Object
  extended by com.liferay.portal.service.BaseLocalServiceImpl
      extended by com.liferay.portlet.bookmarks.service.base.BookmarksFolderLocalServiceBaseImpl
          extended by com.liferay.portlet.bookmarks.service.impl.BookmarksFolderLocalServiceImpl
All Implemented Interfaces:
IdentifiableBean, BaseLocalService, PermissionedModelLocalService, PersistedModelLocalService, BookmarksFolderLocalService

public class BookmarksFolderLocalServiceImpl
extends BookmarksFolderLocalServiceBaseImpl


Field Summary
 
Fields inherited from class com.liferay.portlet.bookmarks.service.base.BookmarksFolderLocalServiceBaseImpl
bookmarksEntryFinder, bookmarksEntryLocalService, bookmarksEntryPersistence, bookmarksEntryService, bookmarksFolderFinder, bookmarksFolderLocalService, bookmarksFolderPersistence, bookmarksFolderService, counterLocalService, expandoValueLocalService, expandoValuePersistence, expandoValueService, groupFinder, groupLocalService, groupPersistence, groupService, persistedModelLocalServiceRegistry, resourceFinder, resourceLocalService, resourcePersistence, resourceService, userFinder, userLocalService, userPersistence, userService
 
Constructor Summary
BookmarksFolderLocalServiceImpl()
           
 
Method Summary
 BookmarksFolder addFolder(long userId, long parentFolderId, String name, String description, ServiceContext serviceContext)
           
 void deleteFolder(BookmarksFolder folder)
           
 void deleteFolder(long folderId)
           
 void deleteFolders(long groupId)
           
 List<BookmarksFolder> getCompanyFolders(long companyId, int start, int end)
           
 int getCompanyFoldersCount(long companyId)
           
 BookmarksFolder getFolder(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)
           
 int getFoldersCount(long groupId, long parentFolderId)
           
 List<BookmarksFolder> getNoResourceBlockFolders()
           
protected  long getParentFolderId(BookmarksFolder folder, long parentFolderId)
           
protected  long getParentFolderId(long groupId, long parentFolderId)
           
 void getSubfolderIds(List<Long> folderIds, long groupId, long folderId)
           
protected  void mergeFolders(BookmarksFolder fromFolder, long toFolderId)
           
 BookmarksFolder updateFolder(long folderId, long parentFolderId, String name, String description, boolean mergeWithParentFolder, ServiceContext serviceContext)
           
protected  void validate(String name)
           
 
Methods inherited from class com.liferay.portlet.bookmarks.service.base.BookmarksFolderLocalServiceBaseImpl
addBookmarksFolder, afterPropertiesSet, createBookmarksFolder, deleteBookmarksFolder, deleteBookmarksFolder, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, fetchBookmarksFolder, getBeanIdentifier, getBookmarksEntryFinder, getBookmarksEntryLocalService, getBookmarksEntryPersistence, getBookmarksEntryService, getBookmarksFolder, getBookmarksFolderByUuidAndGroupId, getBookmarksFolderFinder, getBookmarksFolderLocalService, getBookmarksFolderPersistence, getBookmarksFolders, getBookmarksFoldersCount, getBookmarksFolderService, getCounterLocalService, getExpandoValueLocalService, getExpandoValuePersistence, getExpandoValueService, getGroupFinder, getGroupLocalService, getGroupPersistence, getGroupService, getModelClass, getModelClassName, getPersistedModel, getResourceFinder, getResourceLocalService, getResourcePersistence, getResourceService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, runSQL, setBeanIdentifier, setBookmarksEntryFinder, setBookmarksEntryLocalService, setBookmarksEntryPersistence, setBookmarksEntryService, setBookmarksFolderFinder, setBookmarksFolderLocalService, setBookmarksFolderPersistence, setBookmarksFolderService, setCounterLocalService, setExpandoValueLocalService, setExpandoValuePersistence, setExpandoValueService, setGroupFinder, setGroupLocalService, setGroupPersistence, setGroupService, setResourceFinder, setResourceLocalService, setResourcePersistence, setResourceService, setUserFinder, setUserLocalService, setUserPersistence, setUserService, updateBookmarksFolder, updateBookmarksFolder
 
Methods inherited from class com.liferay.portal.service.BaseLocalServiceImpl
getClassLoader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BookmarksFolderLocalServiceImpl

public BookmarksFolderLocalServiceImpl()
Method Detail

addFolder

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

deleteFolder

public void deleteFolder(BookmarksFolder folder)
                  throws PortalException,
                         SystemException
Throws:
PortalException
SystemException

deleteFolder

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

deleteFolders

public void deleteFolders(long groupId)
                   throws PortalException,
                          SystemException
Throws:
PortalException
SystemException

getCompanyFolders

public List<BookmarksFolder> getCompanyFolders(long companyId,
                                               int start,
                                               int end)
                                        throws SystemException
Throws:
SystemException

getCompanyFoldersCount

public int getCompanyFoldersCount(long companyId)
                           throws SystemException
Throws:
SystemException

getFolder

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

getFolders

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

getFolders

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

getFolders

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

getFoldersCount

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

getNoResourceBlockFolders

public List<BookmarksFolder> getNoResourceBlockFolders()
                                                throws SystemException
Throws:
SystemException

getSubfolderIds

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

updateFolder

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

getParentFolderId

protected long getParentFolderId(BookmarksFolder folder,
                                 long parentFolderId)
                          throws SystemException
Throws:
SystemException

getParentFolderId

protected long getParentFolderId(long groupId,
                                 long parentFolderId)
                          throws SystemException
Throws:
SystemException

mergeFolders

protected void mergeFolders(BookmarksFolder fromFolder,
                            long toFolderId)
                     throws PortalException,
                            SystemException
Throws:
PortalException
SystemException

validate

protected void validate(String name)
                 throws PortalException
Throws:
PortalException

Liferay 6.1.2-ce-ga3