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
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,
java.lang.String[] tagsEntries,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
com.liferay.portlet.bookmarks.model.BookmarksEntry |
addEntry(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)
|
com.liferay.portlet.bookmarks.model.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)
|
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 |
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)
|
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 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()
|
com.liferay.portlet.bookmarks.model.BookmarksEntry |
openEntry(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,
java.lang.String[] tagsEntries)
|
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 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,
java.lang.String[] tagsEntries,
boolean addCommunityPermissions,
boolean addGuestPermissions)
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(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.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
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,
java.lang.String[] tagsEntries,
java.lang.Boolean addCommunityPermissions,
java.lang.Boolean addGuestPermissions,
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(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 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 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 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 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
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,
java.lang.String[] tagsEntries)
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