com.liferay.portlet.bookmarks.service.impl
Class BookmarksFolderLocalServiceImpl
java.lang.Object
com.liferay.portlet.bookmarks.service.base.BookmarksFolderLocalServiceBaseImpl
com.liferay.portlet.bookmarks.service.impl.BookmarksFolderLocalServiceImpl
- All Implemented Interfaces:
- BookmarksFolderLocalService
public class BookmarksFolderLocalServiceImpl
- extends BookmarksFolderLocalServiceBaseImpl
Fields inherited from class com.liferay.portlet.bookmarks.service.base.BookmarksFolderLocalServiceBaseImpl |
bookmarksEntryFinder, bookmarksEntryLocalService, bookmarksEntryPersistence, bookmarksEntryService, bookmarksFolderLocalService, bookmarksFolderPersistence, bookmarksFolderService, counterLocalService, expandoValueLocalService, expandoValuePersistence, expandoValueService, groupFinder, groupLocalService, groupPersistence, groupService, resourceFinder, resourceLocalService, resourcePersistence, resourceService, userFinder, userLocalService, userPersistence, userService |
Method Summary |
BookmarksFolder |
addFolder(long userId,
long parentFolderId,
String name,
String description,
ServiceContext serviceContext)
|
void |
addFolderResources(BookmarksFolder folder,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
void |
addFolderResources(BookmarksFolder folder,
String[] communityPermissions,
String[] guestPermissions)
|
void |
addFolderResources(long folderId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
void |
addFolderResources(long folderId,
String[] communityPermissions,
String[] guestPermissions)
|
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)
|
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, createBookmarksFolder, deleteBookmarksFolder, deleteBookmarksFolder, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, getBookmarksEntryFinder, getBookmarksEntryLocalService, getBookmarksEntryPersistence, getBookmarksEntryService, getBookmarksFolder, getBookmarksFolderByUuidAndGroupId, getBookmarksFolderLocalService, getBookmarksFolderPersistence, getBookmarksFolders, getBookmarksFoldersCount, getBookmarksFolderService, getCounterLocalService, getExpandoValueLocalService, getExpandoValuePersistence, getExpandoValueService, getGroupFinder, getGroupLocalService, getGroupPersistence, getGroupService, getResourceFinder, getResourceLocalService, getResourcePersistence, getResourceService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, runSQL, setBookmarksEntryFinder, setBookmarksEntryLocalService, setBookmarksEntryPersistence, setBookmarksEntryService, 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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BookmarksFolderLocalServiceImpl
public BookmarksFolderLocalServiceImpl()
addFolder
public BookmarksFolder addFolder(long userId,
long parentFolderId,
String name,
String description,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addFolderResources
public void addFolderResources(BookmarksFolder folder,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addFolderResources
public void addFolderResources(BookmarksFolder folder,
String[] communityPermissions,
String[] guestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addFolderResources
public void addFolderResources(long folderId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addFolderResources
public void addFolderResources(long folderId,
String[] communityPermissions,
String[] guestPermissions)
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
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