com.liferay.portlet.bookmarks.service.impl
Class BookmarksEntryLocalServiceImpl
java.lang.Object
com.liferay.portal.service.BaseLocalServiceImpl
com.liferay.portlet.bookmarks.service.base.BookmarksEntryLocalServiceBaseImpl
com.liferay.portlet.bookmarks.service.impl.BookmarksEntryLocalServiceImpl
- All Implemented Interfaces:
- IdentifiableBean, BaseLocalService, PermissionedModelLocalService, PersistedModelLocalService, BookmarksEntryLocalService
public class BookmarksEntryLocalServiceImpl
- extends BookmarksEntryLocalServiceBaseImpl
Fields inherited from class com.liferay.portlet.bookmarks.service.base.BookmarksEntryLocalServiceBaseImpl |
assetEntryFinder, assetEntryLocalService, assetEntryPersistence, assetEntryService, assetLinkLocalService, assetLinkPersistence, assetTagFinder, assetTagLocalService, assetTagPersistence, assetTagService, bookmarksEntryFinder, bookmarksEntryLocalService, bookmarksEntryPersistence, bookmarksEntryService, bookmarksFolderFinder, bookmarksFolderLocalService, bookmarksFolderPersistence, bookmarksFolderService, counterLocalService, expandoRowLocalService, expandoRowPersistence, groupFinder, groupLocalService, groupPersistence, groupService, persistedModelLocalServiceRegistry, portletPreferencesFinder, portletPreferencesLocalService, portletPreferencesPersistence, portletPreferencesService, resourceLocalService, socialActivityFinder, socialActivityLocalService, socialActivityPersistence, socialActivityService, subscriptionLocalService, subscriptionPersistence, trashEntryLocalService, trashEntryPersistence, trashEntryService, trashVersionLocalService, trashVersionPersistence, userFinder, userLocalService, userPersistence, userService |
Method Summary |
BookmarksEntry |
addEntry(long userId,
long groupId,
long folderId,
String name,
String url,
String description,
ServiceContext serviceContext)
|
void |
deleteEntries(long groupId,
long folderId)
|
void |
deleteEntries(long groupId,
long folderId,
boolean includeTrashedEntries)
|
BookmarksEntry |
deleteEntry(BookmarksEntry entry)
|
BookmarksEntry |
deleteEntry(long entryId)
|
List<BookmarksEntry> |
getEntries(long groupId,
long folderId,
int start,
int end)
|
List<BookmarksEntry> |
getEntries(long groupId,
long folderId,
int status,
int start,
int end)
|
List<BookmarksEntry> |
getEntries(long groupId,
long folderId,
int status,
int start,
int end,
OrderByComparator orderByComparator)
|
List<BookmarksEntry> |
getEntries(long groupId,
long folderId,
int start,
int end,
OrderByComparator orderByComparator)
|
int |
getEntriesCount(long groupId,
long folderId)
|
int |
getEntriesCount(long groupId,
long folderId,
int status)
|
BookmarksEntry |
getEntry(long entryId)
|
protected long |
getFolder(BookmarksEntry entry,
long folderId)
|
int |
getFoldersEntriesCount(long groupId,
List<Long> folderIds)
|
List<BookmarksEntry> |
getGroupEntries(long groupId,
int start,
int end)
|
List<BookmarksEntry> |
getGroupEntries(long groupId,
long userId,
int start,
int end)
|
int |
getGroupEntriesCount(long groupId)
|
int |
getGroupEntriesCount(long groupId,
long userId)
|
List<BookmarksEntry> |
getNoAssetEntries()
|
BookmarksEntry |
moveEntry(long entryId,
long parentFolderId)
|
BookmarksEntry |
moveEntryFromTrash(long userId,
long entryId,
long parentFolderId)
|
BookmarksEntry |
moveEntryToTrash(long userId,
BookmarksEntry entry)
|
BookmarksEntry |
moveEntryToTrash(long userId,
long entryId)
|
protected void |
notify(SubscriptionSender subscriptionSender)
|
protected void |
notifySubscribers(BookmarksEntry entry,
ServiceContext serviceContext)
|
BookmarksEntry |
openEntry(long userId,
BookmarksEntry entry)
|
BookmarksEntry |
openEntry(long userId,
long entryId)
|
void |
rebuildTree(long companyId)
|
BookmarksEntry |
restoreEntryFromTrash(long userId,
long entryId)
|
Hits |
search(long groupId,
long userId,
long creatorUserId,
int status,
int start,
int end)
|
void |
setTreePaths(long folderId,
String treePath,
boolean reindex)
|
void |
subscribeEntry(long userId,
long entryId)
|
void |
unsubscribeEntry(long userId,
long entryId)
|
void |
updateAsset(long userId,
BookmarksEntry entry,
long[] assetCategoryIds,
String[] assetTagNames,
long[] assetLinkEntryIds)
|
BookmarksEntry |
updateEntry(long userId,
long entryId,
long groupId,
long folderId,
String name,
String url,
String description,
ServiceContext serviceContext)
|
BookmarksEntry |
updateStatus(long userId,
BookmarksEntry entry,
int status)
|
protected void |
validate(String url)
|
Methods inherited from class com.liferay.portlet.bookmarks.service.base.BookmarksEntryLocalServiceBaseImpl |
addBookmarksEntry, afterPropertiesSet, createBookmarksEntry, deleteBookmarksEntry, deleteBookmarksEntry, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchBookmarksEntry, fetchBookmarksEntryByUuidAndCompanyId, fetchBookmarksEntryByUuidAndGroupId, getAssetEntryFinder, getAssetEntryLocalService, getAssetEntryPersistence, getAssetEntryService, getAssetLinkLocalService, getAssetLinkPersistence, getAssetTagFinder, getAssetTagLocalService, getAssetTagPersistence, getAssetTagService, getBeanIdentifier, getBookmarksEntries, getBookmarksEntriesCount, getBookmarksEntry, getBookmarksEntryByUuidAndCompanyId, getBookmarksEntryByUuidAndGroupId, getBookmarksEntryFinder, getBookmarksEntryLocalService, getBookmarksEntryPersistence, getBookmarksEntryService, getBookmarksFolderFinder, getBookmarksFolderLocalService, getBookmarksFolderPersistence, getBookmarksFolderService, getCounterLocalService, getExpandoRowLocalService, getExpandoRowPersistence, getGroupFinder, getGroupLocalService, getGroupPersistence, getGroupService, getModelClass, getModelClassName, getPersistedModel, getPortletPreferencesFinder, getPortletPreferencesLocalService, getPortletPreferencesPersistence, getPortletPreferencesService, getResourceLocalService, getSocialActivityFinder, getSocialActivityLocalService, getSocialActivityPersistence, getSocialActivityService, getSubscriptionLocalService, getSubscriptionPersistence, getTrashEntryLocalService, getTrashEntryPersistence, getTrashEntryService, getTrashVersionLocalService, getTrashVersionPersistence, getUserFinder, getUserLocalService, getUserPersistence, getUserService, runSQL, setAssetEntryFinder, setAssetEntryLocalService, setAssetEntryPersistence, setAssetEntryService, setAssetLinkLocalService, setAssetLinkPersistence, setAssetTagFinder, setAssetTagLocalService, setAssetTagPersistence, setAssetTagService, setBeanIdentifier, setBookmarksEntryFinder, setBookmarksEntryLocalService, setBookmarksEntryPersistence, setBookmarksEntryService, setBookmarksFolderFinder, setBookmarksFolderLocalService, setBookmarksFolderPersistence, setBookmarksFolderService, setCounterLocalService, setExpandoRowLocalService, setExpandoRowPersistence, setGroupFinder, setGroupLocalService, setGroupPersistence, setGroupService, setPortletPreferencesFinder, setPortletPreferencesLocalService, setPortletPreferencesPersistence, setPortletPreferencesService, setResourceLocalService, setSocialActivityFinder, setSocialActivityLocalService, setSocialActivityPersistence, setSocialActivityService, setSubscriptionLocalService, setSubscriptionPersistence, setTrashEntryLocalService, setTrashEntryPersistence, setTrashEntryService, setTrashVersionLocalService, setTrashVersionPersistence, 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
@Indexable(type=REINDEX)
public BookmarksEntry addEntry(long userId,
long groupId,
long folderId,
String name,
String url,
String description,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteEntries
public void deleteEntries(long groupId,
long folderId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteEntries
public void deleteEntries(long groupId,
long folderId,
boolean includeTrashedEntries)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteEntry
@Indexable(type=DELETE)
public BookmarksEntry deleteEntry(BookmarksEntry entry)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteEntry
@Indexable(type=DELETE)
public BookmarksEntry deleteEntry(long entryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getEntries
public List<BookmarksEntry> getEntries(long groupId,
long folderId,
int start,
int end)
throws SystemException
- Throws:
SystemException
getEntries
public List<BookmarksEntry> getEntries(long groupId,
long folderId,
int status,
int start,
int end)
throws SystemException
- Throws:
SystemException
getEntries
public List<BookmarksEntry> getEntries(long groupId,
long folderId,
int status,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
getEntries
public List<BookmarksEntry> getEntries(long groupId,
long folderId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
getEntriesCount
public int getEntriesCount(long groupId,
long folderId)
throws SystemException
- Throws:
SystemException
getEntriesCount
public int getEntriesCount(long groupId,
long folderId,
int status)
throws SystemException
- Throws:
SystemException
getEntry
public BookmarksEntry getEntry(long entryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getFoldersEntriesCount
public int getFoldersEntriesCount(long groupId,
List<Long> folderIds)
throws SystemException
- Throws:
SystemException
getGroupEntries
public List<BookmarksEntry> getGroupEntries(long groupId,
int start,
int end)
throws SystemException
- Throws:
SystemException
getGroupEntries
public List<BookmarksEntry> getGroupEntries(long groupId,
long userId,
int start,
int end)
throws SystemException
- Throws:
SystemException
getGroupEntriesCount
public int getGroupEntriesCount(long groupId)
throws SystemException
- Throws:
SystemException
getGroupEntriesCount
public int getGroupEntriesCount(long groupId,
long userId)
throws SystemException
- Throws:
SystemException
getNoAssetEntries
public List<BookmarksEntry> getNoAssetEntries()
throws SystemException
- Throws:
SystemException
moveEntry
@Indexable(type=REINDEX)
public BookmarksEntry moveEntry(long entryId,
long parentFolderId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
moveEntryFromTrash
public BookmarksEntry moveEntryFromTrash(long userId,
long entryId,
long parentFolderId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
moveEntryToTrash
@Indexable(type=REINDEX)
public BookmarksEntry moveEntryToTrash(long userId,
BookmarksEntry entry)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
moveEntryToTrash
@Indexable(type=REINDEX)
public BookmarksEntry moveEntryToTrash(long userId,
long entryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
openEntry
public BookmarksEntry openEntry(long userId,
BookmarksEntry entry)
throws SystemException
- Throws:
SystemException
openEntry
public BookmarksEntry openEntry(long userId,
long entryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
rebuildTree
public void rebuildTree(long companyId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
restoreEntryFromTrash
@Indexable(type=REINDEX)
public BookmarksEntry restoreEntryFromTrash(long userId,
long entryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
search
public Hits search(long groupId,
long userId,
long creatorUserId,
int status,
int start,
int end)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
setTreePaths
public void setTreePaths(long folderId,
String treePath,
boolean reindex)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
subscribeEntry
public void subscribeEntry(long userId,
long entryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
unsubscribeEntry
public void unsubscribeEntry(long userId,
long entryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updateAsset
public void updateAsset(long userId,
BookmarksEntry entry,
long[] assetCategoryIds,
String[] assetTagNames,
long[] assetLinkEntryIds)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updateEntry
@Indexable(type=REINDEX)
public BookmarksEntry updateEntry(long userId,
long entryId,
long groupId,
long folderId,
String name,
String url,
String description,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updateStatus
public BookmarksEntry updateStatus(long userId,
BookmarksEntry entry,
int status)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getFolder
protected long getFolder(BookmarksEntry entry,
long folderId)
throws SystemException
- Throws:
SystemException
notify
protected void notify(SubscriptionSender subscriptionSender)
notifySubscribers
protected void notifySubscribers(BookmarksEntry entry,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
validate
protected void validate(String url)
throws PortalException
- Throws:
PortalException