|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.change2.process.ProcessHelper
This class contains static methods to support the Change Management objects'
workflow processes.
These methods are intended to be called by routing expressions and synchronization
robot expressions.
Supported API: true
Extendable: false
Field Summary | |
static String |
CANCELLED
Supported API: true |
private static String |
CLASSNAME
|
static String |
COMPLETE
Supported API: true |
static String |
CRITICAL
Supported API: true |
static long |
EXTERNALIZATION_VERSION_UID
|
static String |
NO_SUBORDINATES
Supported API: true |
static String |
NON_CRITICAL
Supported API: true |
static String |
NOT_ASSOCIATED
Supported API: true |
static String |
NOT_FINISHED
Supported API: true |
static String |
NOT_SUBMITTED
Supported API: true |
protected static long |
OLD_FORMAT_VERSION_UID
|
private static WTPreferences |
pref
|
static String |
RELEASE_NOTICE_NAME
The PTC-defined name of the Release Notice Soft-Type Supported API: true |
private static String |
RESOURCE
|
(package private) static long |
serialVersionUID
|
static String |
SIMPLIFIED_CHANGE_PREFERENCE_KEY_NAME
|
static String |
SIMPLIFIED_CHANGE_PREFERENCE_NODE_NAME
|
Constructor Summary | |
ProcessHelper()
|
Method Summary | |
static String |
checkAnalysisActivitiesFinished(ChangeAnalysis cAnalysis)
Determine if the passed Change Analysis (Change Proposal or Change Investigation) has any pending Analysis Activities. |
static String |
checkAnalysisActivitiesFinished(ChangeInvestigation cInvestigation)
Determine if the associated Change Investigation has any pending Analysis Activities. |
static String |
checkChangeActivitiesFinished(ChangeOrder2 cOrder)
Determine if the passed Change Order has any pending Change Activities. |
static String |
checkInvestigationsFinished(ChangeRequest2 cRequest)
Determine if the passed Change Request has any pending Change Investigations. |
static Boolean |
checkIssueFormalized(WTChangeIssue cIssue)
Determine if the passed Change Issue has been formalized into a Change Request. |
static String |
checkLifeCycleManagedFinished(LifeCycleManaged life_cycle_managed)
|
private static String |
checkLifeCycleManagedFinished(QueryResult result)
|
static String |
checkOrdersFinished(ChangeRequest2 cRequest)
Determine if the passed Change Request has any pending Change Orders. |
static String |
checkProposalsFinished(ChangeRequest2 cRequest)
Determine if the passed Change Request has any pending Change Proposals. |
static String |
checkRequestFinished(WTChangeIssue cIssue)
Determine if the parent Change Request is in state "Complete" or "Cancelled." Returns ProcessHelper.COMPLETE if the parent Change Request is in state "Complete." Returns ProcessHelper.CANCELLED if the parent Change Request is in state "Cancelled." Returns ProcessHelper.NOT_ASSOCIATED if the Change Issue has no parent Change Request. |
static String |
checkRequestFinished(WTChangeRequest2 cRequest)
Determine if the passed Change Request is in state "Complete" or "Cancelled." Returns ProcessHelper.COMPLETE if the Change Request is in state "Complete." Returns ProcessHelper.CANCELLED if the Change Request is in state "Cancelled." Supported API: false |
static String |
checkRequestSubmitted(ChangeItem cItem)
Determine if the parent Change Request has been submitted and returns the complexity of the change. |
static String |
getComplexity(ChangeItem cItem)
Determine the complexity of the change based on parent Change Request of the passed Change Item. |
static String |
getIssuePriority(WTChangeIssue cIssue)
Determine if the passed Change Issue is critical or non-critical. |
static boolean |
isCMIIDefaultChangeProcess()
This method will return whether the Default Change Process is the CMII Closed-Loop change process or the default Change2 implementation. |
static boolean |
isCMIIStandAlone()
This method will return whether CMII is stand alone or is running within a PDMLink environment. |
static boolean |
isSimplifiedChangeEnabled()
This method will return whether Simplified Change process is present in the system. |
static boolean |
isSimplifiedChangeStandAlone()
This method will return whether the Simplified Change is the only Change system present in the system, or if the system is configured as Simplified Change and the CMII process. |
static void |
main(String[] args)
|
void |
readExternal(ObjectInput input)
Reads the non-transient fields of this class from an external source. |
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(ProcessHelper thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
static void |
setSimplifiedChangeStandAlone(boolean standalone)
This method will set whether the Simplified Change System is the only change system in the infrastructure, or if it is shared with the Windchill CMII process. |
void |
writeExternal(ObjectOutput output)
Writes the non-transient fields of this class to an external source. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
public static final String CRITICAL
public static final String NON_CRITICAL
public static final String COMPLETE
public static final String CANCELLED
public static final String NOT_ASSOCIATED
public static final String NOT_FINISHED
public static final String NO_SUBORDINATES
public static final String NOT_SUBMITTED
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
public static final String RELEASE_NOTICE_NAME
private static WTPreferences pref
public static final String SIMPLIFIED_CHANGE_PREFERENCE_NODE_NAME
public static final String SIMPLIFIED_CHANGE_PREFERENCE_KEY_NAME
Constructor Detail |
public ProcessHelper()
Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
input
-
IOException
ClassNotFoundException
protected boolean readVersion(ProcessHelper 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 static String getIssuePriority(WTChangeIssue cIssue)
cIssue
-
public static Boolean checkIssueFormalized(WTChangeIssue cIssue) throws ChangeException2, WTException
cIssue
-
ChangeException2
WTException
public static String checkRequestFinished(WTChangeIssue cIssue) throws ChangeException2, WTException
cIssue
-
ChangeException2
WTException
public static String getComplexity(ChangeItem cItem) throws ChangeException2, WTException
cItem
-
ChangeException2
WTException
public static String checkAnalysisActivitiesFinished(ChangeInvestigation cInvestigation) throws ChangeException2, WTException
cInvestigation
-
ChangeException2
WTException
public static String checkAnalysisActivitiesFinished(ChangeAnalysis cAnalysis) throws ChangeException2, WTException
cAnalysis
-
ChangeException2
WTException
public static String checkProposalsFinished(ChangeRequest2 cRequest) throws ChangeException2, WTException
cRequest
-
ChangeException2
WTException
public static String checkOrdersFinished(ChangeRequest2 cRequest) throws ChangeException2, WTException
cRequest
-
ChangeException2
WTException
public static String checkRequestSubmitted(ChangeItem cItem) throws ChangeException2, WTException
cItem
-
ChangeException2
WTException
public static String checkChangeActivitiesFinished(ChangeOrder2 cOrder) throws ChangeException2, WTException
cOrder
-
ChangeException2
WTException
public static String checkInvestigationsFinished(ChangeRequest2 cRequest) throws ChangeException2, WTException
cRequest
-
ChangeException2
WTException
public static String checkRequestFinished(WTChangeRequest2 cRequest) throws ChangeException2, WTException
cRequest
-
ChangeException2
WTException
private static String checkLifeCycleManagedFinished(QueryResult result)
public static String checkLifeCycleManagedFinished(LifeCycleManaged life_cycle_managed)
public static boolean isCMIIDefaultChangeProcess()
wt.change2.process.cmii=false
in wt.properties.
public static boolean isCMIIStandAlone()
public static boolean isSimplifiedChangeEnabled()
public static boolean isSimplifiedChangeStandAlone()
public static void setSimplifiedChangeStandAlone(boolean standalone) throws WTException
WTException
public static void main(String[] args)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |