com.liferay.portlet.bookmarks.service.ejb
Class BookmarksEntryLocalServiceEJBImpl

java.lang.Object
  extended bycom.liferay.portlet.bookmarks.service.ejb.BookmarksEntryLocalServiceEJBImpl
All Implemented Interfaces:
BookmarksEntryLocalService, javax.ejb.EnterpriseBean, java.io.Serializable, javax.ejb.SessionBean

public class BookmarksEntryLocalServiceEJBImpl
extends java.lang.Object
implements BookmarksEntryLocalService, javax.ejb.SessionBean

View Source

Author:
Brian Wing Shun Chan
See Also:
Serialized Form

Field Summary
static java.lang.String CLASS_NAME
           
 
Constructor Summary
BookmarksEntryLocalServiceEJBImpl()
           
 
Method Summary
 BookmarksEntry addEntry(java.lang.String userId, java.lang.String folderId, java.lang.String name, java.lang.String url, java.lang.String comments, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 void addEntryResources(BookmarksFolder folder, BookmarksEntry entry, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 void addEntryResources(java.lang.String folderId, java.lang.String entryId, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 void deleteEntries(java.lang.String folderId)
           
 void deleteEntry(BookmarksEntry entry)
           
 void deleteEntry(java.lang.String entryId)
           
 void ejbActivate()
           
 void ejbCreate()
           
 void ejbPassivate()
           
 void ejbRemove()
           
 java.util.List getEntries(java.lang.String folderId, int begin, int end)
           
 int getEntriesCount(java.lang.String folderId)
           
 BookmarksEntry getEntry(java.lang.String entryId)
           
 int getFoldersEntriesCount(java.util.List folderIds)
           
static BookmarksEntryLocalService getService()
           
 javax.ejb.SessionContext getSessionContext()
           
 BookmarksEntry openEntry(java.lang.String entryId)
           
 void setSessionContext(javax.ejb.SessionContext sc)
           
 BookmarksEntry updateEntry(java.lang.String companyId, java.lang.String entryId, java.lang.String folderId, java.lang.String name, java.lang.String url, java.lang.String comments)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASS_NAME

public static final java.lang.String CLASS_NAME
Constructor Detail

BookmarksEntryLocalServiceEJBImpl

public BookmarksEntryLocalServiceEJBImpl()
Method Detail

getService

public static BookmarksEntryLocalService getService()

addEntry

public BookmarksEntry addEntry(java.lang.String userId,
                               java.lang.String folderId,
                               java.lang.String name,
                               java.lang.String url,
                               java.lang.String comments,
                               boolean addCommunityPermissions,
                               boolean addGuestPermissions)
                        throws PortalException,
                               SystemException
Specified by:
addEntry in interface BookmarksEntryLocalService
Throws:
PortalException
SystemException

addEntryResources

public void addEntryResources(java.lang.String folderId,
                              java.lang.String entryId,
                              boolean addCommunityPermissions,
                              boolean addGuestPermissions)
                       throws PortalException,
                              SystemException
Specified by:
addEntryResources in interface BookmarksEntryLocalService
Throws:
PortalException
SystemException

addEntryResources

public void addEntryResources(BookmarksFolder folder,
                              BookmarksEntry entry,
                              boolean addCommunityPermissions,
                              boolean addGuestPermissions)
                       throws PortalException,
                              SystemException
Specified by:
addEntryResources in interface BookmarksEntryLocalService
Throws:
PortalException
SystemException

deleteEntries

public void deleteEntries(java.lang.String folderId)
                   throws PortalException,
                          SystemException
Specified by:
deleteEntries in interface BookmarksEntryLocalService
Throws:
PortalException
SystemException

deleteEntry

public void deleteEntry(java.lang.String entryId)
                 throws PortalException,
                        SystemException
Specified by:
deleteEntry in interface BookmarksEntryLocalService
Throws:
PortalException
SystemException

deleteEntry

public void deleteEntry(BookmarksEntry entry)
                 throws PortalException,
                        SystemException
Specified by:
deleteEntry in interface BookmarksEntryLocalService
Throws:
PortalException
SystemException

getEntries

public java.util.List getEntries(java.lang.String folderId,
                                 int begin,
                                 int end)
                          throws SystemException
Specified by:
getEntries in interface BookmarksEntryLocalService
Throws:
SystemException

getEntriesCount

public int getEntriesCount(java.lang.String folderId)
                    throws SystemException
Specified by:
getEntriesCount in interface BookmarksEntryLocalService
Throws:
SystemException

getEntry

public BookmarksEntry getEntry(java.lang.String entryId)
                        throws PortalException,
                               SystemException
Specified by:
getEntry in interface BookmarksEntryLocalService
Throws:
PortalException
SystemException

getFoldersEntriesCount

public int getFoldersEntriesCount(java.util.List folderIds)
                           throws SystemException
Specified by:
getFoldersEntriesCount in interface BookmarksEntryLocalService
Throws:
SystemException

openEntry

public BookmarksEntry openEntry(java.lang.String entryId)
                         throws PortalException,
                                SystemException
Specified by:
openEntry in interface BookmarksEntryLocalService
Throws:
PortalException
SystemException

updateEntry

public BookmarksEntry updateEntry(java.lang.String companyId,
                                  java.lang.String entryId,
                                  java.lang.String folderId,
                                  java.lang.String name,
                                  java.lang.String url,
                                  java.lang.String comments)
                           throws PortalException,
                                  SystemException
Specified by:
updateEntry in interface BookmarksEntryLocalService
Throws:
PortalException
SystemException

ejbCreate

public void ejbCreate()
               throws javax.ejb.CreateException
Throws:
javax.ejb.CreateException

ejbRemove

public void ejbRemove()
Specified by:
ejbRemove in interface javax.ejb.SessionBean

ejbActivate

public void ejbActivate()
Specified by:
ejbActivate in interface javax.ejb.SessionBean

ejbPassivate

public void ejbPassivate()
Specified by:
ejbPassivate in interface javax.ejb.SessionBean

getSessionContext

public javax.ejb.SessionContext getSessionContext()

setSessionContext

public void setSessionContext(javax.ejb.SessionContext sc)
Specified by:
setSessionContext in interface javax.ejb.SessionBean