com.liferay.portlet.bookmarks.service
Interface BookmarksFolderLocalService
@Transactional(rollbackFor={com.liferay.portal.PortalException.class,com.liferay.portal.SystemException.class})
public interface BookmarksFolderLocalService
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This interface defines the service. The default implementation is
com.liferay.portlet.bookmarks.service.impl.BookmarksFolderLocalServiceImpl
.
Modify methods in that class and rerun ServiceBuilder to populate this class
and all other generated classes.
This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.
- Author:
- Brian Wing Shun Chan
- See Also:
BookmarksFolderLocalServiceUtil
Method Summary |
BookmarksFolder |
addBookmarksFolder(BookmarksFolder bookmarksFolder)
|
BookmarksFolder |
addFolder(long userId,
long parentFolderId,
java.lang.String name,
java.lang.String description,
ServiceContext serviceContext)
|
BookmarksFolder |
addFolder(java.lang.String uuid,
long userId,
long parentFolderId,
java.lang.String name,
java.lang.String description,
ServiceContext serviceContext)
|
void |
addFolderResources(BookmarksFolder folder,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
void |
addFolderResources(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)
|
BookmarksFolder |
createBookmarksFolder(long folderId)
|
void |
deleteBookmarksFolder(BookmarksFolder bookmarksFolder)
|
void |
deleteBookmarksFolder(long folderId)
|
void |
deleteFolder(BookmarksFolder folder)
|
void |
deleteFolder(long folderId)
|
void |
deleteFolders(long groupId)
|
java.util.List<java.lang.Object> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
java.util.List<java.lang.Object> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
BookmarksFolder |
getBookmarksFolder(long folderId)
|
java.util.List<BookmarksFolder> |
getBookmarksFolders(int start,
int end)
|
int |
getBookmarksFoldersCount()
|
BookmarksFolder |
getFolder(long folderId)
|
java.util.List<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)
|
void |
reIndex(java.lang.String[] ids)
|
com.liferay.portal.kernel.search.Hits |
search(long companyId,
long groupId,
long userId,
long[] folderIds,
java.lang.String keywords,
int start,
int end)
|
BookmarksFolder |
updateBookmarksFolder(BookmarksFolder bookmarksFolder)
|
BookmarksFolder |
updateFolder(long folderId,
long parentFolderId,
java.lang.String name,
java.lang.String description,
boolean mergeWithParentFolder)
|
addBookmarksFolder
BookmarksFolder addBookmarksFolder(BookmarksFolder bookmarksFolder)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
createBookmarksFolder
BookmarksFolder createBookmarksFolder(long folderId)
deleteBookmarksFolder
void deleteBookmarksFolder(long folderId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
deleteBookmarksFolder
void deleteBookmarksFolder(BookmarksFolder bookmarksFolder)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getBookmarksFolder
@Transactional(propagation=SUPPORTS,
readOnly=true)
BookmarksFolder getBookmarksFolder(long folderId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getBookmarksFolders
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<BookmarksFolder> getBookmarksFolders(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getBookmarksFoldersCount
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getBookmarksFoldersCount()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateBookmarksFolder
BookmarksFolder updateBookmarksFolder(BookmarksFolder bookmarksFolder)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addFolder
BookmarksFolder addFolder(long userId,
long parentFolderId,
java.lang.String name,
java.lang.String description,
ServiceContext serviceContext)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addFolder
BookmarksFolder addFolder(java.lang.String uuid,
long userId,
long parentFolderId,
java.lang.String name,
java.lang.String description,
ServiceContext serviceContext)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addFolderResources
void addFolderResources(long folderId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addFolderResources
void addFolderResources(BookmarksFolder folder,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addFolderResources
void addFolderResources(long folderId,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addFolderResources
void addFolderResources(BookmarksFolder folder,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteFolder
void deleteFolder(long folderId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteFolder
void deleteFolder(BookmarksFolder folder)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteFolders
void deleteFolders(long groupId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getFolder
@Transactional(propagation=SUPPORTS,
readOnly=true)
BookmarksFolder getFolder(long folderId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getFolders
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<BookmarksFolder> getFolders(long groupId,
long parentFolderId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getFoldersCount
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getFoldersCount(long groupId,
long parentFolderId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getSubfolderIds
@Transactional(propagation=SUPPORTS,
readOnly=true)
void getSubfolderIds(java.util.List<java.lang.Long> folderIds,
long groupId,
long folderId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
reIndex
void reIndex(java.lang.String[] ids)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
search
@Transactional(propagation=SUPPORTS,
readOnly=true)
com.liferay.portal.kernel.search.Hits search(long companyId,
long groupId,
long userId,
long[] folderIds,
java.lang.String keywords,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateFolder
BookmarksFolder updateFolder(long folderId,
long parentFolderId,
java.lang.String name,
java.lang.String description,
boolean mergeWithParentFolder)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException