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

Quick Search    Search Deep

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

java.lang.Object
  extended byorg.jeteam.bean.config.PriorityBean
All Implemented Interfaces:
javax.ejb.EnterpriseBean, javax.ejb.EntityBean, java.io.Serializable
Direct Known Subclasses:
PriorityBeanImpl

public abstract class PriorityBean
extends java.lang.Object
implements javax.ejb.EntityBean

The priority of a task denotes the urgency, this is a way of making it easier for users to choose which task to work on first.

The level is an integer value formally indicating the level of priority, the higher the value, the higher the priority. Normally this value is hidden from the user and should only be seen by users that create or update the priority. All other users will only see the names but sorted in order of their priority level.


Constructor Summary
PriorityBean()
           
 
Method Summary
 java.lang.String ejbCreate(org.jeteam.bean.config.PriorityData data)
           
 java.lang.String ejbCreate(java.lang.String name, java.lang.String description, int level)
           
 void ejbPostCreate(org.jeteam.bean.config.PriorityData data)
           
 void ejbPostCreate(java.lang.String name, java.lang.String description, int level)
           
 void ejbRemove()
           
abstract  java.lang.String getDescription()
           
abstract  java.lang.String getId()
           
abstract  int getLevel()
           
abstract  java.lang.String getName()
           
 org.jeteam.bean.config.PriorityData getPriorityData()
           
abstract  void setDescription(java.lang.String newValue)
           
abstract  void setId(java.lang.String newValue)
           
abstract  void setLevel(int newValue)
           
abstract  void setName(java.lang.String newValue)
           
 void setPriorityData(org.jeteam.bean.config.PriorityData value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.ejb.EntityBean
ejbActivate, ejbLoad, ejbPassivate, ejbStore, setEntityContext, unsetEntityContext
 

Constructor Detail

PriorityBean

public PriorityBean()
Method Detail

getId

public abstract java.lang.String getId()

setId

public abstract void setId(java.lang.String newValue)

getName

public abstract java.lang.String getName()

setName

public abstract void setName(java.lang.String newValue)

getDescription

public abstract java.lang.String getDescription()

setDescription

public abstract void setDescription(java.lang.String newValue)

getLevel

public abstract int getLevel()

setLevel

public abstract void setLevel(int newValue)

getPriorityData

public org.jeteam.bean.config.PriorityData getPriorityData()

setPriorityData

public void setPriorityData(org.jeteam.bean.config.PriorityData value)

ejbCreate

public java.lang.String ejbCreate(java.lang.String name,
                                  java.lang.String description,
                                  int level)
                           throws javax.ejb.CreateException

ejbPostCreate

public void ejbPostCreate(java.lang.String name,
                          java.lang.String description,
                          int level)
                   throws javax.ejb.CreateException

ejbCreate

public java.lang.String ejbCreate(org.jeteam.bean.config.PriorityData data)
                           throws javax.ejb.CreateException

ejbPostCreate

public void ejbPostCreate(org.jeteam.bean.config.PriorityData data)
                   throws javax.ejb.CreateException

ejbRemove

public void ejbRemove()
               throws javax.ejb.RemoveException
Specified by:
ejbRemove in interface javax.ejb.EntityBean