Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.jeteam.bean.config
Class StatusServiceBean  view StatusServiceBean download StatusServiceBean.java

java.lang.Object
  extended byorg.jeteam.bean.config.StatusServiceBean
All Implemented Interfaces:
javax.ejb.EnterpriseBean, java.io.Serializable, javax.ejb.SessionBean
Direct Known Subclasses:
StatusServiceBeanImpl

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

This bean is a service to Status CRUD operations.

A status is an indicator telling you the status of a certain task or other item, this is not really like the progress, rather it will tell you if a project is suspended, closed, deleted, etc...


Constructor Summary
StatusServiceBean()
           
 
Method Summary
abstract  StatusDTO createStatus(StatusDTO status)
           Create a new status entry, the name of the status must be unique.
 void ejbCreate()
           
 void ejbPostCreate()
           
abstract  StatusDTO[] getStatusses()
           Returns a collection of all status entries found in the data source.
abstract  void removeStatus(StatusDTO status)
           Physically removes the status from the data source.
abstract  void updateStatus(StatusDTO status)
           Updates the properties of the status, the name can be changed but must be unique.
 
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

StatusServiceBean

public StatusServiceBean()
Method Detail

createStatus

public abstract StatusDTO createStatus(StatusDTO status)
                                throws StatusException

Create a new status entry, the name of the status must be unique.


removeStatus

public abstract void removeStatus(StatusDTO status)
                           throws StatusException

Physically removes the status from the data source.


getStatusses

public abstract StatusDTO[] getStatusses()
                                  throws StatusException

Returns a collection of all status entries found in the data source.


updateStatus

public abstract void updateStatus(StatusDTO status)
                           throws StatusException

Updates the properties of the status, the name can be changed but must be unique.


ejbCreate

public void ejbCreate()
               throws javax.ejb.CreateException

ejbPostCreate

public void ejbPostCreate()
                   throws javax.ejb.CreateException