net.nplus1.anduril.server.services
Class PersonManagerBean

java.lang.Object
  extended bynet.nplus1.anduril.server.services.PersonManagerBean
All Implemented Interfaces:
javax.ejb.EnterpriseBean, java.io.Serializable, javax.ejb.SessionBean
Direct Known Subclasses:
PersonManagerSession

public abstract class PersonManagerBean
extends java.lang.Object
implements javax.ejb.SessionBean

See Also:
Serialized Form

Constructor Summary
PersonManagerBean()
           
 
Method Summary
 PersonDTO addPerson(PersonDTO person)
          Service method for the Add Person use case.
 void ejbCreate()
           
 java.util.Collection getActivePeople()
          Service method for the List People use case.
 java.util.Collection getPeople()
          Service method for the List People use case.
 PersonDTO getPerson(java.lang.Integer id)
          Service method for the View Person use case.
 void removePerson(java.lang.Integer id)
          Service method for the Remove Person use case.
 void updatePerson(PersonDTO person)
          Service method for the Update Person use case.
 PersonDTO userLogin(java.lang.String username)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.ejb.SessionBean
ejbActivate, ejbPassivate, ejbRemove, setSessionContext
 

Constructor Detail

PersonManagerBean

public PersonManagerBean()
Method Detail

ejbCreate

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

addPerson

public PersonDTO addPerson(PersonDTO person)
                    throws javax.ejb.CreateException
Service method for the Add Person use case.

Throws:
javax.ejb.CreateException

updatePerson

public void updatePerson(PersonDTO person)
                  throws UpdateException
Service method for the Update Person use case.

Throws:
UpdateException

removePerson

public void removePerson(java.lang.Integer id)
                  throws javax.ejb.RemoveException
Service method for the Remove Person use case.

Throws:
javax.ejb.RemoveException

getPerson

public PersonDTO getPerson(java.lang.Integer id)
                    throws javax.ejb.FinderException
Service method for the View Person use case.

Throws:
javax.ejb.FinderException

userLogin

public PersonDTO userLogin(java.lang.String username)
                    throws javax.ejb.FinderException
Throws:
javax.ejb.FinderException

getPeople

public java.util.Collection getPeople()
                               throws javax.ejb.FinderException
Service method for the List People use case.

Throws:
javax.ejb.FinderException

getActivePeople

public java.util.Collection getActivePeople()
                                     throws javax.ejb.FinderException
Service method for the List People use case.

Throws:
javax.ejb.FinderException