|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.fc.WTObject
wt.enterprise.IteratedFolderResident
wt.lifecycle.LifeCycleTemplate
LifeCycleTemplate holds a Life Cycle specification. It is composed of an ordered sequence of PhaseTemplates. It is paired with the Life Cycle Template Master object to provide the concept of an iterated and workable Life Cycle.
A LifeCycleTemplate is valid for a specific class and its subclasses.
Use the newLifeCycleTemplate
static factory method(s), not
the LifeCycleTemplate
constructor, to construct instances
of this class. Instances must be constructed using the static factory(s),
in order to ensure proper initialization of the instance.
Supported API: false
Extendable: false
PhaseTemplate
,
LifeCycleDefinition
,
LifeCycleTemplateMaster
,
Serialized FormField Summary | |
private boolean |
basic
|
static String |
BASIC
Label for the attribute; This attribute is used to specify if the lifecycle template is basic (no roles, ad hoc access, workflows or criteria) or advanced (may contain roles, ad hoc access, access, workfow and criteria). |
private static String |
CLASSNAME
|
static String |
CONTAINER_REFERENCE
Label for the attribute; Life Cycle description. |
static String |
DESCRIPTION
Label for the attribute; Life Cycle description. |
static String |
ENABLED
Label for the attribute; A boolean that notates whether the Life Cycle Template is enabled or disabled. |
static long |
EXTERNALIZATION_VERSION_UID
|
static String |
NAME
Label for the attribute; Unique template name. |
protected static long |
OLD_FORMAT_VERSION_UID
|
static String |
PHASE_TEMPLATE_ID
Label for the attribute. |
private ObjectReference |
phaseTemplateId
|
private static String |
RESOURCE
|
static String |
ROUTING
Label for the attribute; A boolean that notates whether the Life Cycle Template can be used to route objects. |
(package private) static long |
serialVersionUID
|
static String |
SUPPORTED_CLASS
Label for the attribute; The class of object this template will accept. |
Fields inherited from class wt.enterprise.IteratedFolderResident |
CREATOR, CREATOR_EMAIL, CREATOR_FULL_NAME, CREATOR_NAME, MASTER |
Fields inherited from class wt.fc.WTObject |
CREATE_TIMESTAMP, MODIFY_TIMESTAMP |
Fields inherited from interface wt.vc.wip.Workable |
CHECKOUT_INFO |
Fields inherited from interface wt.vc.Iterated |
BRANCH_IDENTIFIER, CONTROL_BRANCH, ITERATION_IDENTIFIER, ITERATION_INFO, ITERATION_NOTE, LATEST_ITERATION, MASTER_REFERENCE, MODIFIER, MODIFIER_EMAIL, MODIFIER_FULL_NAME, MODIFIER_NAME |
Fields inherited from interface wt.fc.Persistable |
IDENTITY, PERSIST_INFO, TYPE |
Fields inherited from interface wt.locks.Lockable |
LOCK, LOCK_DATE, LOCK_NOTE, LOCKED, LOCKER, LOCKER_EMAIL, LOCKER_FULL_NAME, LOCKER_NAME |
Fields inherited from interface wt.ownership.Ownable |
OWNERSHIP |
Fields inherited from interface wt.notify.Notifiable |
EVENT_SET |
Fields inherited from interface wt.admin.DomainAdministered |
DOMAIN_REF, INHERITED_DOMAIN |
Fields inherited from interface wt.folder.Foldered |
CABINET, CABINET_NAME, FOLDERING_INFO |
Fields inherited from interface wt.folder.CabinetBased |
CABINET_REFERENCE, FOLDER_PATH, LOCATION |
Fields inherited from interface wt.identity.DisplayIdentification |
DISPLAY_IDENTIFIER, DISPLAY_IDENTITY, DISPLAY_TYPE |
Constructor Summary | |
LifeCycleTemplate()
|
Method Summary | |
void |
checkAttributes()
Validate the values of this Persistable object's attributes. |
boolean |
equals(Object obj)
Indicates whether the given object is equal to this object from a persistence perspective, by comparing the two objects ObjectIdentifier s. |
String |
getConceptualClassname()
Deprecated. |
WTContainer |
getContainer()
Supported API: false |
WTContainerRef |
getContainerReference()
Gets the value of the attribute: CONTAINER_REFERENCE. |
String |
getDescription()
Gets the value of the attribute: DESCRIPTION. |
String |
getIdentity()
Returns a string that can be displayed to the user to identify the object. |
LifeCycleTemplate |
getLifeCycleTemplate()
Depending on the specific object type, return the appropriate Life Cycle Template object. |
LifeCycleTemplateReference |
getLifeCycleTemplateReference()
Depending on the specific object type, return a reference to the appropriate Life Cycle Template object. |
String |
getName()
Gets the value of the attribute: NAME. |
ObjectReference |
getPhaseTemplateId()
Gets the object for the association that plays role: PHASE_TEMPLATE_ID. |
String |
getSupportedClass()
Gets the value of the attribute: SUPPORTED_CLASS. |
AdminDomainRef |
getSystemDomainReference()
Supported API: false |
int |
hashCode()
Returns a hash code for this object based upon its ObjectIdentifier . |
boolean |
isBasic()
Gets the value of the attribute: BASIC. |
boolean |
isEnabled()
Gets the value of the attribute: ENABLED. |
boolean |
isRouting()
Gets the value of the attribute: ROUTING. |
private void |
masterReferenceValidate(ObjectReference a_MasterReference)
|
static LifeCycleTemplate |
newLifeCycleTemplate()
Default factory for the class. |
private void |
phaseTemplateIdValidate(ObjectReference a_PhaseTemplateId)
|
void |
readExternal(ObjectInput input)
Reads the non-transient fields of this class from an external source. |
void |
readExternal(PersistentRetrieveIfc input)
Used by Persistent Data Service to populate the persistent attributes of this class from a persistent store. |
private boolean |
readOldVersion(ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source, which is not the current version. |
protected boolean |
readVersion(LifeCycleTemplate thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
void |
setBasic(boolean a_Basic)
Sets the value of the attribute: BASIC. |
void |
setContainer(WTContainerRef container)
Supported API: false |
void |
setContainerReference(WTContainerRef a_ContainerReference)
Sets the value of the attribute: CONTAINER_REFERENCE. |
void |
setDescription(String a_Description)
Sets the value of the attribute: DESCRIPTION. |
void |
setEnabled(boolean a_Enabled)
Sets the value of the attribute: ENABLED. |
void |
setMaster(Mastered a_Master)
Sets the object for the association that plays role: MASTER. |
void |
setMasterReference(ObjectReference a_MasterReference)
Sets the value of the attribute: MASTER_REFERENCE. |
void |
setName(String a_Name)
Sets the value of the attribute: NAME. |
void |
setPhaseTemplateId(ObjectReference a_PhaseTemplateId)
Sets the object for the association that plays role: PHASE_TEMPLATE_ID. |
void |
setRouting(boolean a_Routing)
Sets the value of the attribute: ROUTING. |
void |
setSupportedClass(String a_SupportedClass)
Sets the value of the attribute: SUPPORTED_CLASS. |
void |
writeExternal(ObjectOutput output)
Writes the non-transient fields of this class to an external source. |
void |
writeExternal(PersistentStoreIfc output)
Used by Persistent Data Service to obtain the values of the persistent attributes of this class, so they can be written to a persistent store. |
Methods inherited from class wt.fc.WTObject |
duplicate, finalize, getClassInfo, getCreateTimestamp, getDisplayIdentifier, getDisplayIdentity, getDisplayType, getModifyTimestamp, getPersistInfo, getType, readVersion, setPersistInfo, toString |
Methods inherited from class java.lang.Object |
clone, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface wt.fc.Persistable |
getPersistInfo, getType, setPersistInfo |
Methods inherited from interface wt.fc.NetFactor |
getClassInfo |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
public static final String NAME
public static final String ENABLED
public static final String DESCRIPTION
public static final String SUPPORTED_CLASS
public static final String CONTAINER_REFERENCE
public static final String ROUTING
public static final String BASIC
private boolean basic
public static final String PHASE_TEMPLATE_ID
private ObjectReference phaseTemplateId
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
Constructor Detail |
public LifeCycleTemplate()
Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class IteratedFolderResident
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class IteratedFolderResident
input
-
IOException
ClassNotFoundException
protected boolean readVersion(LifeCycleTemplate thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
thisObject
- input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
private boolean readOldVersion(ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
public void writeExternal(PersistentStoreIfc output) throws SQLException, DatastoreException
(Not intended for general use.)
Supported API: false
writeExternal
in interface ObjectMappable
writeExternal
in class IteratedFolderResident
output
-
SQLException
DatastoreException
public void readExternal(PersistentRetrieveIfc input) throws SQLException, DatastoreException
(Not intended for general
use.)
Supported API: false
readExternal
in interface ObjectMappable
readExternal
in class IteratedFolderResident
input
-
SQLException
DatastoreException
public String getConceptualClassname()
getConceptualClassname
in interface NetFactor
public String getName()
getName
in interface CabinetBased
getName
in class IteratedFolderResident
public void setName(String a_Name) throws WTPropertyVetoException
a_Name
-
WTPropertyVetoException
public boolean isEnabled()
public void setEnabled(boolean a_Enabled) throws WTPropertyVetoException
a_Enabled
-
WTPropertyVetoException
public String getDescription()
public void setDescription(String a_Description) throws WTPropertyVetoException
a_Description
-
WTPropertyVetoException
public String getSupportedClass()
public void setSupportedClass(String a_SupportedClass) throws WTPropertyVetoException
a_SupportedClass
-
WTPropertyVetoException
public WTContainerRef getContainerReference()
public void setContainerReference(WTContainerRef a_ContainerReference) throws WTPropertyVetoException
a_ContainerReference
-
WTPropertyVetoException
public boolean isRouting()
public void setRouting(boolean a_Routing) throws WTPropertyVetoException
a_Routing
-
WTPropertyVetoException
public boolean isBasic()
public void setBasic(boolean a_Basic) throws WTPropertyVetoException
a_Basic
-
WTPropertyVetoException
public ObjectReference getPhaseTemplateId()
public void setPhaseTemplateId(ObjectReference a_PhaseTemplateId) throws WTPropertyVetoException
a_PhaseTemplateId
-
WTPropertyVetoException
private void phaseTemplateIdValidate(ObjectReference a_PhaseTemplateId) throws WTPropertyVetoException
a_PhaseTemplateId
-
WTPropertyVetoException
public void setMaster(Mastered a_Master) throws WTPropertyVetoException, WTException
setMaster
in interface Iterated
setMaster
in class IteratedFolderResident
a_Master
-
WTPropertyVetoException
WTException
Mastered
public void setMasterReference(ObjectReference a_MasterReference) throws WTPropertyVetoException
setMasterReference
in interface Iterated
setMasterReference
in class IteratedFolderResident
a_MasterReference
-
WTPropertyVetoException
Mastered
private void masterReferenceValidate(ObjectReference a_MasterReference) throws WTPropertyVetoException
a_MasterReference
-
WTPropertyVetoException
public String getIdentity()
getIdentity
in interface Persistable
getIdentity
in class WTObject
public WTContainer getContainer()
public void setContainer(WTContainerRef container) throws WTPropertyVetoException, WTException
container
-
WTPropertyVetoException
WTException
public AdminDomainRef getSystemDomainReference()
public static LifeCycleTemplate newLifeCycleTemplate() throws WTException
WTException
public LifeCycleTemplate getLifeCycleTemplate() throws WTException
getLifeCycleTemplate
in interface LifeCycleDefinition
WTException
public LifeCycleTemplateReference getLifeCycleTemplateReference() throws WTException
getLifeCycleTemplateReference
in interface LifeCycleDefinition
WTException
public boolean equals(Object obj)
ObjectIdentifier
s.
Changed or stale copies are still considered equal by this method.
Delegates to PersistenceHelper.equals(Persistable,Object)
.
Warning: Certain core Windchill operations may depend upon
equals
being ObjectIdentifier
-based. Changes
to the default implementation should be done with care, if at all.
Supported API: false
equals
in class IteratedFolderResident
obj
-
public int hashCode()
ObjectIdentifier
.
Delegates to PersistenceHelper.hashCode(Persistable)
.
Warning: Certain core Windchill operations may depend upon
hashCode
being ObjectIdentifier-based
. Changes
to the default implementation should be done with care, if at all.
Supported API: false
hashCode
in class IteratedFolderResident
public void checkAttributes() throws InvalidAttributeException
Persistable
checkAttributes
in interface Persistable
checkAttributes
in class WTObject
InvalidAttributeException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |