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

java.lang.Object
  extended bycom.liferay.portal.service.impl.PrincipalBean
      extended bycom.liferay.portlet.bookmarks.service.impl.BookmarksEntryServiceImpl
All Implemented Interfaces:
com.liferay.portlet.bookmarks.service.BookmarksEntryService

public class BookmarksEntryServiceImpl
extends PrincipalBean
implements com.liferay.portlet.bookmarks.service.BookmarksEntryService

View Source

Author:
Brian Wing Shun Chan

Field Summary
 
Fields inherited from class com.liferay.portal.service.impl.PrincipalBean
ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS
 
Constructor Summary
BookmarksEntryServiceImpl()
           
 
Method Summary
 com.liferay.portlet.bookmarks.model.BookmarksEntry addEntry(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 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 deleteEntry(long entryId)
           
 com.liferay.portlet.bookmarks.model.BookmarksEntry getEntry(long entryId)
           
 com.liferay.portlet.bookmarks.model.BookmarksEntry openEntry(long entryId)
           
 com.liferay.portlet.bookmarks.model.BookmarksEntry updateEntry(long entryId, long folderId, java.lang.String name, java.lang.String url, java.lang.String comments, java.lang.String[] tagsEntries)
           
 
Methods inherited from class com.liferay.portal.service.impl.PrincipalBean
getGuestOrUserId, getPermissionChecker, getUser, getUserId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BookmarksEntryServiceImpl

public BookmarksEntryServiceImpl()
Method Detail

addEntry

public com.liferay.portlet.bookmarks.model.BookmarksEntry addEntry(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
Specified by:
addEntry in interface com.liferay.portlet.bookmarks.service.BookmarksEntryService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addEntry

public com.liferay.portlet.bookmarks.model.BookmarksEntry addEntry(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
Specified by:
addEntry in interface com.liferay.portlet.bookmarks.service.BookmarksEntryService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteEntry

public void deleteEntry(long entryId)
                 throws com.liferay.portal.PortalException,
                        com.liferay.portal.SystemException
Specified by:
deleteEntry in interface com.liferay.portlet.bookmarks.service.BookmarksEntryService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getEntry

public com.liferay.portlet.bookmarks.model.BookmarksEntry getEntry(long entryId)
                                                            throws com.liferay.portal.PortalException,
                                                                   com.liferay.portal.SystemException
Specified by:
getEntry in interface com.liferay.portlet.bookmarks.service.BookmarksEntryService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

openEntry

public com.liferay.portlet.bookmarks.model.BookmarksEntry openEntry(long entryId)
                                                             throws com.liferay.portal.PortalException,
                                                                    com.liferay.portal.SystemException
Specified by:
openEntry in interface com.liferay.portlet.bookmarks.service.BookmarksEntryService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

updateEntry

public com.liferay.portlet.bookmarks.model.BookmarksEntry updateEntry(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
Specified by:
updateEntry in interface com.liferay.portlet.bookmarks.service.BookmarksEntryService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException