java.lang.Object
org.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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PriorityBean
public PriorityBean()
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