|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.clients.util.PersistableItem
wt.clients.lifecycle.administrator.CLifeCycleTemplate
A client wrapper class to handle Life Cycle Templates.
Field Summary | |
(package private) WTContainerRef |
context
|
(package private) CPhaseTemplateList |
cPhaseTemplateList
|
(package private) boolean |
isBasic
|
(package private) LifeCycleTemplate |
lifeCycleTemplate
|
(package private) TransactionContainer |
lifeCycleTransaction
|
(package private) BatchContainer |
mainBatchContainer
|
Fields inherited from class wt.clients.util.PersistableItem |
|
Constructor Summary | |
CLifeCycleTemplate()
Creates a new client life cycle template object. |
|
CLifeCycleTemplate(LifeCycleTemplate life_cycle_template)
Creates a new client life cycle template object given the server life cycle template. |
Method Summary | |
protected void |
delete()
Deletes the life cycle template. |
WTContainerRef |
getContainerRef()
|
protected WTContainerRef |
getContext()
Return the enabled value of the life cycle template. |
protected CPhaseTemplateList |
getCPhaseTemplateList()
Returns the list of phase templates in this life cycle template. |
protected String |
getDescription()
Returns the description of the life cycle template. |
protected LifeCycleTemplate |
getLifeCycleTemplate()
Returns the life cycle template. |
protected BatchContainer |
getMainBatchContainer()
Returns the main batch container for a update or create. |
protected String |
getName()
Returns the name of the life cycle template. |
protected String |
getSupportedClass()
Returns the supported class of the life cycle template. |
protected TransactionContainer |
getTransactionContainer()
Returns the transaction container for the life cycle template. |
protected boolean |
isBasic()
Return the basic value of the life cycle template. |
protected boolean |
isEnabled()
Return the enabled value of the life cycle template. |
protected boolean |
isRouting()
Return the routing value of the life cycle template. |
void |
refresh()
Refreshes this CLifeCycleTemplate to it's database state. |
void |
save()
Saves the life cycle template. |
void |
setBasic(boolean a_Basic)
Sets the routing value of the life cycle template. |
protected void |
setCPhaseTemplateList(CPhaseTemplateList cphase_template_list)
Sets the phase template list of the life cycle template. |
protected void |
setDescription(String description)
Sets the description of the life cycle template. |
protected void |
setEnabled(boolean a_Enabled)
Sets the enabled value of the life cycle template. |
protected void |
setFolder(String folder_name)
Sets the folder of the life cycle template. |
protected void |
setName(String name)
Sets the name of the life cycle template. |
protected void |
setRouting(boolean a_Routing)
Sets the routing value of the life cycle template. |
protected void |
setSupportedClass(String supported_class)
Sets the supported class of the life cycle template. |
Methods inherited from class wt.clients.util.PersistableItem |
isCreated, isModified, setCreated, setModified |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
LifeCycleTemplate lifeCycleTemplate
CPhaseTemplateList cPhaseTemplateList
TransactionContainer lifeCycleTransaction
BatchContainer mainBatchContainer
WTContainerRef context
boolean isBasic
Constructor Detail |
public CLifeCycleTemplate() throws WTException
WTException
- if the object cannot be createdpublic CLifeCycleTemplate(LifeCycleTemplate life_cycle_template)
life_cycle_template
- the real life cycle template object used
to base the wrapper uponMethod Detail |
public WTContainerRef getContainerRef()
protected LifeCycleTemplate getLifeCycleTemplate()
protected BatchContainer getMainBatchContainer()
protected TransactionContainer getTransactionContainer()
public void save() throws WTException
save
in class PersistableItem
WTException
- if the template cannot be savedprotected void delete() throws WTException
WTException
- if the template cannot be deleted.public void refresh() throws WTException, QueryException
refresh
in class PersistableItem
WTException
- if the object cannot be refreshed
QueryException
- if the object cannot be queriedprotected String getSupportedClass()
protected void setSupportedClass(String supported_class) throws WTPropertyVetoException
supported_class
- the supported class name
WTPropertyVetoException
- if the parameter is invalidprotected String getDescription()
protected void setDescription(String description) throws WTPropertyVetoException
description
- the description of the life cycle template
WTPropertyVetoException
- if the parameter is invalidprotected String getName()
protected void setName(String name) throws WTPropertyVetoException
name
- the name of the life cycle template
WTPropertyVetoException
- if the parameter is invalidprotected boolean isEnabled()
protected WTContainerRef getContext()
protected void setEnabled(boolean a_Enabled) throws WTPropertyVetoException
WTPropertyVetoException
- if the parameter is invalidprotected boolean isRouting()
protected void setRouting(boolean a_Routing) throws WTPropertyVetoException
WTPropertyVetoException
- if the parameter is invalidprotected boolean isBasic()
public void setBasic(boolean a_Basic) throws WTPropertyVetoException
WTPropertyVetoException
- if the parameter is invalidprotected void setFolder(String folder_name) throws WTException
folder_name
- the folder name of the life cycle template
WTException
- if the folder cannot be setprotected void setCPhaseTemplateList(CPhaseTemplateList cphase_template_list)
cphase_template_list
- the list of phases in this life cycleprotected CPhaseTemplateList getCPhaseTemplateList() throws WTPropertyVetoException, WTException
WTPropertyVetoException
- if the life cycle template is not found
WTException
- if the phase list could not be returned
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |