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:
- com.liferay.portlet.bookmarks.service.BookmarksFolderLocalService
public class BookmarksFolderLocalServiceImpl
- extends BookmarksFolderLocalServiceBaseImpl
View Source
- Author:
- Brian Wing Shun Chan, Wesley Gong
Fields inherited from class com.liferay.portlet.bookmarks.service.base.BookmarksFolderLocalServiceBaseImpl |
bookmarksEntryFinder, bookmarksEntryLocalService, bookmarksEntryPersistence, bookmarksEntryService, bookmarksFolderLocalService, bookmarksFolderPersistence, bookmarksFolderService, counterLocalService, counterService, expandoValueLocalService, expandoValuePersistence, expandoValueService, groupFinder, groupLocalService, groupPersistence, groupService, resourceFinder, resourceLocalService, resourcePersistence, resourceService, userFinder, userLocalService, userPersistence, userService |
Method Summary |
com.liferay.portlet.bookmarks.model.BookmarksFolder |
addFolder(java.lang.String uuid,
long userId,
long parentFolderId,
java.lang.String name,
java.lang.String description,
com.liferay.portal.service.ServiceContext serviceContext)
|
void |
addFolderResources(com.liferay.portlet.bookmarks.model.BookmarksFolder folder,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
void |
addFolderResources(com.liferay.portlet.bookmarks.model.BookmarksFolder folder,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
void |
addFolderResources(long folderId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
void |
addFolderResources(long folderId,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
void |
deleteFolder(com.liferay.portlet.bookmarks.model.BookmarksFolder folder)
|
void |
deleteFolder(long folderId)
|
void |
deleteFolders(long groupId)
|
java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> |
getCompanyFolders(long companyId,
int start,
int end)
|
int |
getCompanyFoldersCount(long companyId)
|
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)
|
protected long |
getParentFolderId(com.liferay.portlet.bookmarks.model.BookmarksFolder folder,
long parentFolderId)
|
protected long |
getParentFolderId(long groupId,
long parentFolderId)
|
void |
getSubfolderIds(java.util.List<java.lang.Long> folderIds,
long groupId,
long folderId)
|
protected void |
mergeFolders(com.liferay.portlet.bookmarks.model.BookmarksFolder fromFolder,
long toFolderId)
|
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)
|
protected void |
validate(java.lang.String name)
|
Methods inherited from class com.liferay.portlet.bookmarks.service.base.BookmarksFolderLocalServiceBaseImpl |
addBookmarksFolder, createBookmarksFolder, deleteBookmarksFolder, deleteBookmarksFolder, dynamicQuery, dynamicQuery, getBookmarksEntryFinder, getBookmarksEntryLocalService, getBookmarksEntryPersistence, getBookmarksEntryService, getBookmarksFolder, getBookmarksFolderLocalService, getBookmarksFolderPersistence, getBookmarksFolders, getBookmarksFoldersCount, getBookmarksFolderService, getCounterLocalService, getCounterService, getExpandoValueLocalService, getExpandoValuePersistence, getExpandoValueService, getGroupFinder, getGroupLocalService, getGroupPersistence, getGroupService, getResourceFinder, getResourceLocalService, getResourcePersistence, getResourceService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, runSQL, setBookmarksEntryFinder, setBookmarksEntryLocalService, setBookmarksEntryPersistence, setBookmarksEntryService, setBookmarksFolderLocalService, setBookmarksFolderPersistence, setBookmarksFolderService, setCounterLocalService, setCounterService, 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 com.liferay.portlet.bookmarks.model.BookmarksFolder addFolder(java.lang.String uuid,
long userId,
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
addFolderResources
public void addFolderResources(com.liferay.portlet.bookmarks.model.BookmarksFolder folder,
boolean addCommunityPermissions,
boolean addGuestPermissions)
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
addFolderResources
public void addFolderResources(com.liferay.portlet.bookmarks.model.BookmarksFolder folder,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
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
addFolderResources
public void addFolderResources(long folderId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
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
addFolderResources
public void addFolderResources(long folderId,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
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(com.liferay.portlet.bookmarks.model.BookmarksFolder folder)
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
deleteFolders
public void deleteFolders(long groupId)
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
getCompanyFolders
public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> getCompanyFolders(long companyId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getCompanyFoldersCount
public int getCompanyFoldersCount(long companyId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
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
getParentFolderId
protected long getParentFolderId(com.liferay.portlet.bookmarks.model.BookmarksFolder folder,
long parentFolderId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getParentFolderId
protected long getParentFolderId(long groupId,
long parentFolderId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
mergeFolders
protected void mergeFolders(com.liferay.portlet.bookmarks.model.BookmarksFolder fromFolder,
long toFolderId)
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
validate
protected void validate(java.lang.String name)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException