Liferay 7.0-ce-m2

com.liferay.portlet.bookmarks.service.impl
Class BookmarksEntryLocalServiceImpl

java.lang.Object
  extended by com.liferay.portal.service.BaseLocalServiceImpl
      extended by com.liferay.portlet.bookmarks.service.base.BookmarksEntryLocalServiceBaseImpl
          extended by com.liferay.portlet.bookmarks.service.impl.BookmarksEntryLocalServiceImpl
All Implemented Interfaces:
IdentifiableBean, BaseLocalService, PermissionedModelLocalService, PersistedModelLocalService, BookmarksEntryLocalService

public class BookmarksEntryLocalServiceImpl
extends BookmarksEntryLocalServiceBaseImpl


Field Summary
 
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, classNameLocalService, classNamePersistence, classNameService, 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
 
Fields inherited from class com.liferay.portal.service.BaseLocalServiceImpl
layoutPersistence
 
Constructor Summary
BookmarksEntryLocalServiceImpl()
           
 
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<BookmarksEntry> orderByComparator)
           
 List<BookmarksEntry> getEntries(long groupId, long folderId, int start, int end, OrderByComparator<BookmarksEntry> 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 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, deletePersistedModel, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchBookmarksEntry, fetchBookmarksEntryByUuidAndGroupId, getActionableDynamicQuery, getAssetEntryFinder, getAssetEntryLocalService, getAssetEntryPersistence, getAssetEntryService, getAssetLinkLocalService, getAssetLinkPersistence, getAssetTagFinder, getAssetTagLocalService, getAssetTagPersistence, getAssetTagService, getBeanIdentifier, getBookmarksEntries, getBookmarksEntriesByUuidAndCompanyId, getBookmarksEntriesByUuidAndCompanyId, getBookmarksEntriesCount, getBookmarksEntry, getBookmarksEntryByUuidAndGroupId, getBookmarksEntryFinder, getBookmarksEntryLocalService, getBookmarksEntryPersistence, getBookmarksEntryService, getBookmarksFolderFinder, getBookmarksFolderLocalService, getBookmarksFolderPersistence, getBookmarksFolderService, getClassNameLocalService, getClassNamePersistence, getClassNameService, getCounterLocalService, getExpandoRowLocalService, getExpandoRowPersistence, getExportActionableDynamicQuery, 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, initActionableDynamicQuery, runSQL, setAssetEntryFinder, setAssetEntryLocalService, setAssetEntryPersistence, setAssetEntryService, setAssetLinkLocalService, setAssetLinkPersistence, setAssetTagFinder, setAssetTagLocalService, setAssetTagPersistence, setAssetTagService, setBeanIdentifier, setBookmarksEntryFinder, setBookmarksEntryLocalService, setBookmarksEntryPersistence, setBookmarksEntryService, setBookmarksFolderFinder, setBookmarksFolderLocalService, setBookmarksFolderPersistence, setBookmarksFolderService, setClassNameLocalService, setClassNamePersistence, setClassNameService, 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 com.liferay.portal.service.BaseLocalServiceImpl
getClassLoader, getLayoutURL, getLayoutURL
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BookmarksEntryLocalServiceImpl

public BookmarksEntryLocalServiceImpl()
Method Detail

addEntry

@Indexable(type=REINDEX)
public BookmarksEntry addEntry(long userId,
                                                    long groupId,
                                                    long folderId,
                                                    String name,
                                                    String url,
                                                    String description,
                                                    ServiceContext serviceContext)
                        throws PortalException
Throws:
PortalException

deleteEntries

public void deleteEntries(long groupId,
                          long folderId)
                   throws PortalException
Throws:
PortalException

deleteEntries

public void deleteEntries(long groupId,
                          long folderId,
                          boolean includeTrashedEntries)
                   throws PortalException
Throws:
PortalException

deleteEntry

@Indexable(type=DELETE)
@SystemEvent(type=1)
public BookmarksEntry deleteEntry(BookmarksEntry entry)
                           throws PortalException
Throws:
PortalException

deleteEntry

@Indexable(type=DELETE)
public BookmarksEntry deleteEntry(long entryId)
                           throws PortalException
Throws:
PortalException

getEntries

public List<BookmarksEntry> getEntries(long groupId,
                                       long folderId,
                                       int start,
                                       int end)

getEntries

public List<BookmarksEntry> getEntries(long groupId,
                                       long folderId,
                                       int status,
                                       int start,
                                       int end)

getEntries

public List<BookmarksEntry> getEntries(long groupId,
                                       long folderId,
                                       int status,
                                       int start,
                                       int end,
                                       OrderByComparator<BookmarksEntry> orderByComparator)

getEntries

public List<BookmarksEntry> getEntries(long groupId,
                                       long folderId,
                                       int start,
                                       int end,
                                       OrderByComparator<BookmarksEntry> orderByComparator)

getEntriesCount

public int getEntriesCount(long groupId,
                           long folderId)

getEntriesCount

public int getEntriesCount(long groupId,
                           long folderId,
                           int status)

getEntry

public BookmarksEntry getEntry(long entryId)
                        throws PortalException
Throws:
PortalException

getFoldersEntriesCount

public int getFoldersEntriesCount(long groupId,
                                  List<Long> folderIds)

getGroupEntries

public List<BookmarksEntry> getGroupEntries(long groupId,
                                            int start,
                                            int end)

getGroupEntries

public List<BookmarksEntry> getGroupEntries(long groupId,
                                            long userId,
                                            int start,
                                            int end)

getGroupEntriesCount

public int getGroupEntriesCount(long groupId)

getGroupEntriesCount

public int getGroupEntriesCount(long groupId,
                                long userId)

getNoAssetEntries

public List<BookmarksEntry> getNoAssetEntries()

moveEntry

@Indexable(type=REINDEX)
public BookmarksEntry moveEntry(long entryId,
                                                     long parentFolderId)
                         throws PortalException
Throws:
PortalException

moveEntryFromTrash

public BookmarksEntry moveEntryFromTrash(long userId,
                                         long entryId,
                                         long parentFolderId)
                                  throws PortalException
Throws:
PortalException

moveEntryToTrash

@Indexable(type=REINDEX)
public BookmarksEntry moveEntryToTrash(long userId,
                                                            BookmarksEntry entry)
                                throws PortalException
Throws:
PortalException

moveEntryToTrash

@Indexable(type=REINDEX)
public BookmarksEntry moveEntryToTrash(long userId,
                                                            long entryId)
                                throws PortalException
Throws:
PortalException

openEntry

public BookmarksEntry openEntry(long userId,
                                BookmarksEntry entry)

openEntry

public BookmarksEntry openEntry(long userId,
                                long entryId)
                         throws PortalException
Throws:
PortalException

rebuildTree

public void rebuildTree(long companyId)
                 throws PortalException
Throws:
PortalException

restoreEntryFromTrash

@Indexable(type=REINDEX)
public BookmarksEntry restoreEntryFromTrash(long userId,
                                                                 long entryId)
                                     throws PortalException
Throws:
PortalException

search

public Hits search(long groupId,
                   long userId,
                   long creatorUserId,
                   int status,
                   int start,
                   int end)
            throws PortalException
Throws:
PortalException

setTreePaths

public void setTreePaths(long folderId,
                         String treePath,
                         boolean reindex)
                  throws PortalException
Throws:
PortalException

subscribeEntry

public void subscribeEntry(long userId,
                           long entryId)
                    throws PortalException
Throws:
PortalException

unsubscribeEntry

public void unsubscribeEntry(long userId,
                             long entryId)
                      throws PortalException
Throws:
PortalException

updateAsset

public void updateAsset(long userId,
                        BookmarksEntry entry,
                        long[] assetCategoryIds,
                        String[] assetTagNames,
                        long[] assetLinkEntryIds)
                 throws PortalException
Throws:
PortalException

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
Throws:
PortalException

updateStatus

public BookmarksEntry updateStatus(long userId,
                                   BookmarksEntry entry,
                                   int status)
                            throws PortalException
Throws:
PortalException

getFolder

protected long getFolder(BookmarksEntry entry,
                         long folderId)

notifySubscribers

protected void notifySubscribers(BookmarksEntry entry,
                                 ServiceContext serviceContext)
                          throws PortalException
Throws:
PortalException

validate

protected void validate(String url)
                 throws PortalException
Throws:
PortalException

Liferay 7.0-ce-m2