gov.nih.nci.caarray.services.protocol.ejb
Class SoftwareManagerEJB
java.lang.Object
gov.nih.nci.caarray.services.util.AbstractSessionBean
gov.nih.nci.caarray.services.protocol.ejb.SoftwareManagerEJB
- All Implemented Interfaces:
- java.io.Serializable, javax.ejb.EnterpriseBean, javax.ejb.SessionBean
public class SoftwareManagerEJB
- extends AbstractSessionBean
- implements javax.ejb.SessionBean
SoftwareManagerEJB
- Author:
- dickersC, TranP
- See Also:
- Serialized Form
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 |
SoftwareManagerEJB
public SoftwareManagerEJB()
ejbCreate
public void ejbCreate()
throws java.rmi.RemoteException,
javax.ejb.CreateException
- Overrides:
ejbCreate
in class AbstractSessionBean
- Throws:
javax.ejb.CreateException
java.rmi.RemoteException
ejbRemove
public void ejbRemove()
throws javax.ejb.EJBException,
java.rmi.RemoteException
- called when remove method is called.
- Specified by:
ejbRemove
in interface javax.ejb.SessionBean
- Overrides:
ejbRemove
in class AbstractSessionBean
- Throws:
javax.ejb.EJBException
java.rmi.RemoteException
getSoftware
public SoftwareData getSoftware(long softwareId)
throws java.lang.Exception
- Get a
Software
that has the specified ID.
- Returns:
- - A
Software
object.
- Throws:
java.lang.Exception
search
public SoftwareDesc[] search(SoftwareSearchCriteria criteria)
throws java.lang.Exception
- Throws:
java.lang.Exception
addSoftware
public long addSoftware(SoftwareData softwareData)
throws java.lang.Exception
- Throws:
java.lang.Exception
deleteSoftware
public void deleteSoftware(long softwareId)
throws java.lang.Exception
- Throws:
java.lang.Exception
updateSoftware
public void updateSoftware(SoftwareData softwareData)
throws java.lang.Exception
- Throws:
java.lang.Exception
getSoftwareManufacturers
public OrganizationData[] getSoftwareManufacturers()
throws java.lang.Exception
- Throws:
java.lang.Exception
addParameter
public long addParameter(long softwareId,
ParameterData parameterData)
throws java.lang.Exception
- Throws:
java.lang.Exception
deleteParameterFromSoftware
public void deleteParameterFromSoftware(long softwareId,
long parameterId)
throws java.lang.Exception
- Throws:
java.lang.Exception
addSoftwareToSoftware
public void addSoftwareToSoftware(long softwareId,
long theOtherSoftwareId)
throws java.lang.Exception
- Throws:
java.lang.Exception
removeSoftwareFromSoftware
public void removeSoftwareFromSoftware(long softwareId,
long theOtherSoftwareId)
throws java.lang.Exception
- Throws:
java.lang.Exception
addHardwareToSoftware
public void addHardwareToSoftware(long softwareId,
long hardwareId)
throws java.lang.Exception
- Throws:
java.lang.Exception
removeHardwareFromSoftware
public void removeHardwareFromSoftware(long softwareId,
long hardwareId)
throws java.lang.Exception
- Throws:
java.lang.Exception