|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.bibalex.daf.entities.AdminModuleBase
org.bibalex.daf.entities.JobType
public class JobType
| Field Summary | |
|---|---|
private DBConnection |
conn
|
private int |
id
|
private java.lang.String |
JT_Description
|
private int |
JT_LifeTime
|
private java.lang.String |
JT_Name
|
private java.lang.String |
JT_NamingConvention
|
| Constructor Summary | |
|---|---|
JobType()
Class Constructor |
|
JobType(DataTable table)
|
|
JobType(int JTID)
|
|
| Method Summary | |
|---|---|
OperationInfo |
add()
Add new JobType |
OperationInfo |
delete()
delete JobType |
OperationInfo |
deleteCascade()
delete JobType in cascade |
OperationInfo |
deleteMediaTypes(int mediaTypeID)
delete assigned media type |
OperationInfo |
getAllPhases()
Select all phases related to a JobType |
OperationInfo |
getAvailablePhases()
Loads all phases that are available but not in job type sequence |
static OperationInfo |
getByID(int recID)
select JobType |
int |
getID()
Gets the JobType ID. |
java.lang.String |
getJTDescription()
get JobType Description |
int |
getJTLifeTime()
get JobType LifeTime |
java.lang.String |
getJTName()
get JobType Name |
java.lang.String |
getJTNamingConvention()
get JobType NamingConvention |
OperationInfo |
getMediaTypes()
get all media types assigned to job type |
OperationInfo |
getNotAutoPhases()
Loads all phases that are not auto |
OperationInfo |
getPhases()
Loads all phases |
OperationInfo |
getRateTableSchema()
|
OperationInfo |
getSeqPhases()
Loads all phases taht have sequence |
static OperationInfo |
loadAll()
Load all JobType |
void |
setFieldsFromDataTable(DataTable table)
|
void |
setID(int typeID)
Sets the jobType ID |
void |
setJTDescription(java.lang.String Value)
set JobType Description |
void |
setJTLifeTime(int Value)
set JobType LifeTime |
void |
setJTName(java.lang.String Value)
set JobType Name |
void |
setJTNamingConvention(java.lang.String Value)
set JobType NamingConvention |
OperationInfo |
update()
update JobType |
OperationInfo |
updateMediaTypes(int mediaTypeID)
update assigned media types |
OperationInfo |
updateMediaTypes(java.lang.Object[] MTIDs)
Update Media Types assigned to jobtype |
OperationInfo |
updatePhasesSeq(java.lang.Object[] phasesIDs)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private DBConnection conn
private int id
private java.lang.String JT_Name
private java.lang.String JT_Description
private java.lang.String JT_NamingConvention
private int JT_LifeTime
| Constructor Detail |
|---|
public JobType()
public JobType(int JTID)
throws java.lang.Exception
java.lang.Exception
public JobType(DataTable table)
throws java.lang.Exception
java.lang.Exception| Method Detail |
|---|
public void setFieldsFromDataTable(DataTable table)
public static OperationInfo loadAll()
public OperationInfo getRateTableSchema()
public static OperationInfo getByID(int recID)
recID - is the record to be selected
public OperationInfo add()
add in class AdminModuleBasepublic OperationInfo updatePhasesSeq(java.lang.Object[] phasesIDs)
public OperationInfo delete()
delete in class AdminModuleBasepublic OperationInfo deleteCascade()
public OperationInfo update()
update in class AdminModuleBasepublic OperationInfo getMediaTypes()
public OperationInfo updateMediaTypes(int mediaTypeID)
public OperationInfo updateMediaTypes(java.lang.Object[] MTIDs)
MTIDs -
public OperationInfo deleteMediaTypes(int mediaTypeID)
public OperationInfo getAllPhases()
public OperationInfo getPhases()
public OperationInfo getNotAutoPhases()
public OperationInfo getSeqPhases()
public OperationInfo getAvailablePhases()
public void setID(int typeID)
public void setJTName(java.lang.String Value)
Value - is the JobType Namepublic void setJTDescription(java.lang.String Value)
Value - is the JobType Descriptionpublic void setJTNamingConvention(java.lang.String Value)
Value - is the JobType NamingConventionpublic void setJTLifeTime(int Value)
Value - is the JobType LifeTimepublic int getID()
public java.lang.String getJTName()
public java.lang.String getJTDescription()
public java.lang.String getJTNamingConvention()
public int getJTLifeTime()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||