com.liferay.portlet.bookmarks.service.impl
Class BookmarksEntryLocalServiceImpl
java.lang.Object
com.liferay.portlet.bookmarks.service.base.BookmarksEntryLocalServiceBaseImpl
com.liferay.portlet.bookmarks.service.impl.BookmarksEntryLocalServiceImpl
- All Implemented Interfaces:
- com.liferay.portlet.bookmarks.service.BookmarksEntryLocalService
public class BookmarksEntryLocalServiceImpl
- extends BookmarksEntryLocalServiceBaseImpl
View Source
- Author:
- Brian Wing Shun Chan, Raymond Augé
Fields inherited from class com.liferay.portlet.bookmarks.service.base.BookmarksEntryLocalServiceBaseImpl |
bookmarksEntryFinder, bookmarksEntryLocalService, bookmarksEntryPersistence, bookmarksEntryService, bookmarksFolderLocalService, bookmarksFolderPersistence, bookmarksFolderService, counterLocalService, counterService, resourceFinder, resourceLocalService, resourcePersistence, resourceService, tagsAssetFinder, tagsAssetLocalService, tagsAssetPersistence, tagsAssetService, tagsEntryFinder, tagsEntryLocalService, tagsEntryPersistence, tagsEntryService, userFinder, userLocalService, userPersistence, userService |
Method Summary |
com.liferay.portlet.bookmarks.model.BookmarksEntry |
addEntry(long userId,
long folderId,
java.lang.String name,
java.lang.String url,
java.lang.String comments,
com.liferay.portal.service.ServiceContext serviceContext)
|
com.liferay.portlet.bookmarks.model.BookmarksEntry |
addEntry(java.lang.String uuid,
long userId,
long folderId,
java.lang.String name,
java.lang.String url,
java.lang.String comments,
com.liferay.portal.service.ServiceContext serviceContext)
|
void |
addEntryResources(com.liferay.portlet.bookmarks.model.BookmarksFolder folder,
com.liferay.portlet.bookmarks.model.BookmarksEntry entry,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
void |
addEntryResources(com.liferay.portlet.bookmarks.model.BookmarksFolder folder,
com.liferay.portlet.bookmarks.model.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 |
deleteEntries(long folderId)
|
void |
deleteEntry(com.liferay.portlet.bookmarks.model.BookmarksEntry entry)
|
void |
deleteEntry(long entryId)
|
java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> |
getEntries(long folderId,
int start,
int end)
|
java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> |
getEntries(long folderId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
int |
getEntriesCount(long folderId)
|
com.liferay.portlet.bookmarks.model.BookmarksEntry |
getEntry(long entryId)
|
protected com.liferay.portlet.bookmarks.model.BookmarksFolder |
getFolder(com.liferay.portlet.bookmarks.model.BookmarksEntry entry,
long folderId)
|
int |
getFoldersEntriesCount(java.util.List<java.lang.Long> folderIds)
|
java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> |
getGroupEntries(long groupId,
int start,
int end)
|
java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> |
getGroupEntries(long groupId,
long userId,
int start,
int end)
|
int |
getGroupEntriesCount(long groupId)
|
int |
getGroupEntriesCount(long groupId,
long userId)
|
java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> |
getNoAssetEntries()
|
com.liferay.portlet.bookmarks.model.BookmarksEntry |
openEntry(long entryId)
|
void |
reIndex(long entryId)
|
com.liferay.portlet.bookmarks.model.BookmarksEntry |
updateEntry(long userId,
long entryId,
long folderId,
java.lang.String name,
java.lang.String url,
java.lang.String comments,
com.liferay.portal.service.ServiceContext serviceContext)
|
void |
updateTagsAsset(long userId,
com.liferay.portlet.bookmarks.model.BookmarksEntry entry,
java.lang.String[] tagsEntries)
|
protected void |
validate(java.lang.String url)
|
Methods inherited from class com.liferay.portlet.bookmarks.service.base.BookmarksEntryLocalServiceBaseImpl |
addBookmarksEntry, createBookmarksEntry, deleteBookmarksEntry, deleteBookmarksEntry, dynamicQuery, dynamicQuery, getBookmarksEntries, getBookmarksEntriesCount, getBookmarksEntry, getBookmarksEntryFinder, getBookmarksEntryLocalService, getBookmarksEntryPersistence, getBookmarksEntryService, getBookmarksFolderLocalService, getBookmarksFolderPersistence, getBookmarksFolderService, getCounterLocalService, getCounterService, getResourceFinder, getResourceLocalService, getResourcePersistence, getResourceService, getTagsAssetFinder, getTagsAssetLocalService, getTagsAssetPersistence, getTagsAssetService, getTagsEntryFinder, getTagsEntryLocalService, getTagsEntryPersistence, getTagsEntryService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, setBookmarksEntryFinder, setBookmarksEntryLocalService, setBookmarksEntryPersistence, setBookmarksEntryService, setBookmarksFolderLocalService, setBookmarksFolderPersistence, setBookmarksFolderService, setCounterLocalService, setCounterService, setResourceFinder, setResourceLocalService, setResourcePersistence, setResourceService, setTagsAssetFinder, setTagsAssetLocalService, setTagsAssetPersistence, setTagsAssetService, setTagsEntryFinder, setTagsEntryLocalService, setTagsEntryPersistence, setTagsEntryService, setUserFinder, setUserLocalService, setUserPersistence, setUserService, updateBookmarksEntry |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BookmarksEntryLocalServiceImpl
public BookmarksEntryLocalServiceImpl()
addEntry
public com.liferay.portlet.bookmarks.model.BookmarksEntry addEntry(long userId,
long folderId,
java.lang.String name,
java.lang.String url,
java.lang.String comments,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addEntry
public com.liferay.portlet.bookmarks.model.BookmarksEntry addEntry(java.lang.String uuid,
long userId,
long folderId,
java.lang.String name,
java.lang.String url,
java.lang.String comments,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addEntryResources
public void addEntryResources(long folderId,
long entryId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addEntryResources
public void addEntryResources(com.liferay.portlet.bookmarks.model.BookmarksFolder folder,
com.liferay.portlet.bookmarks.model.BookmarksEntry entry,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addEntryResources
public void addEntryResources(long folderId,
long entryId,
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
addEntryResources
public void addEntryResources(com.liferay.portlet.bookmarks.model.BookmarksFolder folder,
com.liferay.portlet.bookmarks.model.BookmarksEntry entry,
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
deleteEntries
public void deleteEntries(long folderId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteEntry
public void deleteEntry(long entryId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteEntry
public void deleteEntry(com.liferay.portlet.bookmarks.model.BookmarksEntry entry)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getEntries
public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> getEntries(long folderId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getEntries
public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> getEntries(long folderId,
int start,
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 com.liferay.portlet.bookmarks.model.BookmarksEntry getEntry(long entryId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getFoldersEntriesCount
public int getFoldersEntriesCount(java.util.List<java.lang.Long> folderIds)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getGroupEntries
public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> getGroupEntries(long groupId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getGroupEntries
public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> getGroupEntries(long groupId,
long userId,
int start,
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<com.liferay.portlet.bookmarks.model.BookmarksEntry> getNoAssetEntries()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
openEntry
public com.liferay.portlet.bookmarks.model.BookmarksEntry openEntry(long entryId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
reIndex
public void reIndex(long entryId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateEntry
public com.liferay.portlet.bookmarks.model.BookmarksEntry updateEntry(long userId,
long entryId,
long folderId,
java.lang.String name,
java.lang.String url,
java.lang.String comments,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateTagsAsset
public void updateTagsAsset(long userId,
com.liferay.portlet.bookmarks.model.BookmarksEntry entry,
java.lang.String[] tagsEntries)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getFolder
protected com.liferay.portlet.bookmarks.model.BookmarksFolder getFolder(com.liferay.portlet.bookmarks.model.BookmarksEntry entry,
long folderId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
validate
protected void validate(java.lang.String url)
throws com.liferay.portal.PortalException
- Throws:
com.liferay.portal.PortalException