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

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

public class BookmarksEntryServiceEJBImpl
extends java.lang.Object
implements BookmarksEntryService, javax.ejb.SessionBean

View Source

Author:
Brian Wing Shun Chan
See Also:
Serialized Form

Field Summary
static java.lang.String CLASS_NAME
           
 
Constructor Summary
BookmarksEntryServiceEJBImpl()
           
 
Method Summary
 BookmarksEntry addEntry(java.lang.String folderId, java.lang.String name, java.lang.String url, java.lang.String comments, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 void deleteEntry(java.lang.String entryId)
           
 void ejbActivate()
           
 void ejbCreate()
           
 void ejbPassivate()
           
 void ejbRemove()
           
 BookmarksEntry getEntry(java.lang.String entryId)
           
static BookmarksEntryService getService()
           
 javax.ejb.SessionContext getSessionContext()
           
 BookmarksEntry openEntry(java.lang.String entryId)
           
 void setSessionContext(javax.ejb.SessionContext sc)
           
 BookmarksEntry updateEntry(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

BookmarksEntryServiceEJBImpl

public BookmarksEntryServiceEJBImpl()
Method Detail

getService

public static BookmarksEntryService getService()

addEntry

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

deleteEntry

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

getEntry

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

openEntry

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

updateEntry

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

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