com.liferay.portlet.bookmarks.service
Interface BookmarksEntryLocalService
- public interface BookmarksEntryLocalService
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.BookmarksEntryLocalServiceImpl
.
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:
BookmarksEntryLocalServiceFactory
,
BookmarksEntryLocalServiceUtil
Method Summary |
BookmarksEntry |
addBookmarksEntry(BookmarksEntry model)
|
BookmarksEntry |
addEntry(long userId,
long folderId,
java.lang.String name,
java.lang.String url,
java.lang.String comments,
java.lang.String[] tagsEntries,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
BookmarksEntry |
addEntry(long userId,
long folderId,
java.lang.String name,
java.lang.String url,
java.lang.String comments,
java.lang.String[] tagsEntries,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
BookmarksEntry |
addEntry(java.lang.String uuid,
long userId,
long folderId,
java.lang.String name,
java.lang.String url,
java.lang.String comments,
java.lang.String[] tagsEntries,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
BookmarksEntry |
addEntry(java.lang.String uuid,
long userId,
long folderId,
java.lang.String name,
java.lang.String url,
java.lang.String comments,
java.lang.String[] tagsEntries,
java.lang.Boolean addCommunityPermissions,
java.lang.Boolean addGuestPermissions,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
void |
addEntryResources(BookmarksFolder folder,
BookmarksEntry entry,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
void |
addEntryResources(BookmarksFolder folder,
BookmarksEntry entry,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
void |
addEntryResources(long folderId,
long entryId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
void |
addEntryResources(long folderId,
long entryId,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
void |
afterPropertiesSet()
|
void |
deleteEntries(long folderId)
|
void |
deleteEntry(BookmarksEntry entry)
|
void |
deleteEntry(long entryId)
|
java.util.List |
dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
|
java.util.List |
dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
|
BookmarksEntryFinder |
getBookmarksEntryFinder()
|
BookmarksEntryPersistence |
getBookmarksEntryPersistence()
|
BookmarksFolderPersistence |
getBookmarksFolderPersistence()
|
java.util.List |
getEntries(long folderId,
int begin,
int end)
|
java.util.List |
getEntries(long folderId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
int |
getEntriesCount(long folderId)
|
BookmarksEntry |
getEntry(long entryId)
|
int |
getFoldersEntriesCount(java.util.List folderIds)
|
java.util.List |
getGroupEntries(long groupId,
int begin,
int end)
|
java.util.List |
getGroupEntries(long groupId,
long userId,
int begin,
int end)
|
int |
getGroupEntriesCount(long groupId)
|
int |
getGroupEntriesCount(long groupId,
long userId)
|
java.util.List |
getNoAssetEntries()
|
ResourceFinder |
getResourceFinder()
|
ResourcePersistence |
getResourcePersistence()
|
TagsAssetFinder |
getTagsAssetFinder()
|
TagsAssetPersistence |
getTagsAssetPersistence()
|
UserFinder |
getUserFinder()
|
UserPersistence |
getUserPersistence()
|
BookmarksEntry |
openEntry(long entryId)
|
void |
setBookmarksEntryFinder(BookmarksEntryFinder bookmarksEntryFinder)
|
void |
setBookmarksEntryPersistence(BookmarksEntryPersistence bookmarksEntryPersistence)
|
void |
setBookmarksFolderPersistence(BookmarksFolderPersistence bookmarksFolderPersistence)
|
void |
setResourceFinder(ResourceFinder resourceFinder)
|
void |
setResourcePersistence(ResourcePersistence resourcePersistence)
|
void |
setTagsAssetFinder(TagsAssetFinder tagsAssetFinder)
|
void |
setTagsAssetPersistence(TagsAssetPersistence tagsAssetPersistence)
|
void |
setUserFinder(UserFinder userFinder)
|
void |
setUserPersistence(UserPersistence userPersistence)
|
BookmarksEntry |
updateBookmarksEntry(BookmarksEntry model)
|
BookmarksEntry |
updateEntry(long userId,
long entryId,
long folderId,
java.lang.String name,
java.lang.String url,
java.lang.String comments,
java.lang.String[] tagsEntries)
|
void |
updateTagsAsset(long userId,
BookmarksEntry entry,
java.lang.String[] tagsEntries)
|
addBookmarksEntry
public BookmarksEntry addBookmarksEntry(BookmarksEntry model)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateBookmarksEntry
public BookmarksEntry updateBookmarksEntry(BookmarksEntry model)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getBookmarksEntryPersistence
public BookmarksEntryPersistence getBookmarksEntryPersistence()
setBookmarksEntryPersistence
public void setBookmarksEntryPersistence(BookmarksEntryPersistence bookmarksEntryPersistence)
getBookmarksEntryFinder
public BookmarksEntryFinder getBookmarksEntryFinder()
setBookmarksEntryFinder
public void setBookmarksEntryFinder(BookmarksEntryFinder bookmarksEntryFinder)
getBookmarksFolderPersistence
public BookmarksFolderPersistence getBookmarksFolderPersistence()
setBookmarksFolderPersistence
public void setBookmarksFolderPersistence(BookmarksFolderPersistence bookmarksFolderPersistence)
getResourcePersistence
public ResourcePersistence getResourcePersistence()
setResourcePersistence
public void setResourcePersistence(ResourcePersistence resourcePersistence)
getResourceFinder
public ResourceFinder getResourceFinder()
setResourceFinder
public void setResourceFinder(ResourceFinder resourceFinder)
getUserPersistence
public UserPersistence getUserPersistence()
setUserPersistence
public void setUserPersistence(UserPersistence userPersistence)
getUserFinder
public UserFinder getUserFinder()
setUserFinder
public void setUserFinder(UserFinder userFinder)
getTagsAssetPersistence
public TagsAssetPersistence getTagsAssetPersistence()
setTagsAssetPersistence
public void setTagsAssetPersistence(TagsAssetPersistence tagsAssetPersistence)
getTagsAssetFinder
public TagsAssetFinder getTagsAssetFinder()
setTagsAssetFinder
public void setTagsAssetFinder(TagsAssetFinder tagsAssetFinder)
afterPropertiesSet
public void afterPropertiesSet()
addEntry
public BookmarksEntry addEntry(long userId,
long folderId,
java.lang.String name,
java.lang.String url,
java.lang.String comments,
java.lang.String[] tagsEntries,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
addEntry
public BookmarksEntry addEntry(java.lang.String uuid,
long userId,
long folderId,
java.lang.String name,
java.lang.String url,
java.lang.String comments,
java.lang.String[] tagsEntries,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
addEntry
public BookmarksEntry addEntry(long userId,
long folderId,
java.lang.String name,
java.lang.String url,
java.lang.String comments,
java.lang.String[] tagsEntries,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
addEntry
public BookmarksEntry addEntry(java.lang.String uuid,
long userId,
long folderId,
java.lang.String name,
java.lang.String url,
java.lang.String comments,
java.lang.String[] tagsEntries,
java.lang.Boolean addCommunityPermissions,
java.lang.Boolean addGuestPermissions,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
addEntryResources
public void addEntryResources(long folderId,
long entryId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
addEntryResources
public void addEntryResources(BookmarksFolder folder,
BookmarksEntry entry,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
addEntryResources
public void addEntryResources(long folderId,
long entryId,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
addEntryResources
public void addEntryResources(BookmarksFolder folder,
BookmarksEntry entry,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
deleteEntries
public void deleteEntries(long folderId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
deleteEntry
public void deleteEntry(long entryId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
deleteEntry
public void deleteEntry(BookmarksEntry entry)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getEntries
public java.util.List getEntries(long folderId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getEntries
public java.util.List getEntries(long folderId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getEntriesCount
public int getEntriesCount(long folderId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getEntry
public BookmarksEntry getEntry(long entryId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getFoldersEntriesCount
public int getFoldersEntriesCount(java.util.List folderIds)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getGroupEntries
public java.util.List getGroupEntries(long groupId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getGroupEntries
public java.util.List getGroupEntries(long groupId,
long userId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getGroupEntriesCount
public int getGroupEntriesCount(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getGroupEntriesCount
public int getGroupEntriesCount(long groupId,
long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getNoAssetEntries
public java.util.List getNoAssetEntries()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
openEntry
public BookmarksEntry openEntry(long entryId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
updateEntry
public BookmarksEntry updateEntry(long userId,
long entryId,
long folderId,
java.lang.String name,
java.lang.String url,
java.lang.String comments,
java.lang.String[] tagsEntries)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
updateTagsAsset
public void updateTagsAsset(long userId,
BookmarksEntry entry,
java.lang.String[] tagsEntries)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException