|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nih.nci.caarray.services.util.AbstractSessionBean
gov.nih.nci.caarray.services.contact.ejb.ContactManagerEJB
public class ContactManagerEJB
This class contains the implemention of the ContactManagerEJB.
Field Summary |
---|
Fields inherited from class gov.nih.nci.caarray.services.util.AbstractSessionBean |
---|
logger_, sessionCtx_ |
Constructor Summary | |
---|---|
ContactManagerEJB()
|
Method Summary | |
---|---|
long |
addOrganization(OrganizationData orgData)
Adds a new organization to the persistence store with the specified data. |
long |
addPerson(PersonData personData)
Adds a new person to the persistence store with the specified data. |
void |
deleteOrganization(long id)
|
void |
deletePerson(long id)
|
void |
ejbCreate()
|
void |
ejbRemove()
called when remove method is called. |
OrganizationData |
getOrganization(long id)
|
OrganizationData[] |
getOrganizations()
|
PersonData |
getPerson(long id)
|
PersonData[] |
getPersons()
Gets a list of all contact users in and returns a PersonData object for each. |
OrganizationDesc[] |
searchOrganizations(OrganizationSearchCriteria criteria)
Gets a list of users matching the criteria and returns a OrganizationDesc object for each. |
PersonDesc[] |
searchPersons(PersonSearchCriteria criteria)
Gets a list of users matching the criteria and returns a PersonDesc object for each. |
void |
updateOrganization(OrganizationData orgData)
Updates an existing organization in the persistence store with the specified data. |
void |
updatePerson(PersonData personData)
Updates an existing person in the persistence store with the specified data. |
Methods inherited from class gov.nih.nci.caarray.services.util.AbstractSessionBean |
---|
disableAndRememberPreviousValueForCollectionDescriptorCascadeRetrieve, disableAndRememberPreviousValueForObjectDescriptorCascadeRetrieve, ejbActivate, ejbPassivate, getUserTransaction, resetCollectionDescriptorCascadeToPreviousValue, resetObjectDescriptorCascadeToPreviousValue, setSessionContext |
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, setSessionContext |
Constructor Detail |
---|
public ContactManagerEJB()
Method Detail |
---|
public void ejbCreate() throws java.rmi.RemoteException, javax.ejb.CreateException
ejbCreate
in class AbstractSessionBean
javax.ejb.CreateException
java.rmi.RemoteException
public void ejbRemove() throws javax.ejb.EJBException, java.rmi.RemoteException
ejbRemove
in interface javax.ejb.SessionBean
ejbRemove
in class AbstractSessionBean
javax.ejb.EJBException
java.rmi.RemoteException
public long addPerson(PersonData personData) throws java.lang.Exception
personData
- - The data for the new person.
java.lang.Exception
public void updatePerson(PersonData personData) throws java.lang.Exception
personData
- - The data for the existing person.
java.lang.Exception
public PersonDesc[] searchPersons(PersonSearchCriteria criteria) throws java.lang.Exception
java.lang.Exception
public PersonData[] getPersons() throws java.lang.Exception
java.lang.Exception
public PersonData getPerson(long id) throws java.lang.Exception
java.lang.Exception
public OrganizationData[] getOrganizations() throws java.lang.Exception
java.lang.Exception
public OrganizationDesc[] searchOrganizations(OrganizationSearchCriteria criteria) throws java.lang.Exception
java.lang.Exception
public OrganizationData getOrganization(long id) throws java.lang.Exception
java.lang.Exception
public long addOrganization(OrganizationData orgData) throws java.lang.Exception
orgData
- - The data for the new organization.
java.lang.Exception
public void updateOrganization(OrganizationData orgData) throws java.lang.Exception
orgData
- - The data for the existing organization.
java.lang.Exception
public void deleteOrganization(long id) throws java.lang.Exception
java.lang.Exception
public void deletePerson(long id) throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |