com.ptc.windchill.enterprise.change2.validators
Class ChangeMgmtCreateWizardsValidator

java.lang.Object
  extended by com.ptc.core.ui.validation.DefaultValidationFilter
      extended by com.ptc.core.ui.validation.DefaultUIComponentValidator
          extended by com.ptc.core.components.validators.DefaultCreateValidator
              extended by com.ptc.windchill.enterprise.change2.validators.ChangeMgmtCreateWizardsValidator
All Implemented Interfaces:
com.ptc.core.ui.validation.UIComponentValidator, com.ptc.core.ui.validation.ValidationFilter

public class ChangeMgmtCreateWizardsValidator
extends com.ptc.core.components.validators.DefaultCreateValidator

This validator is used to validate whether the "Create" Change wizard actions are shown.

Supported API: true


Method Summary
protected  boolean isCreateChangeActivity2Valid(Object object)
          This validation method is used to validate whether the "New Change Task" action is shown.
protected  boolean isCreateChangeIssueValid(Object object)
          This validation method is used to validate whether the "New Problem Report" action is shown.
protected  boolean isCreateChangeRequest2Valid(Object object)
          This validation method is used to validate whether the "New Change Request" action is shown.
protected  boolean isCreateWTVarianceValid(Object object)
          This validation method is used to validate whether the "New Variance" action is shown.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isCreateChangeActivity2Valid

protected boolean isCreateChangeActivity2Valid(Object object)
                                        throws WTException
This validation method is used to validate whether the "New Change Task" action is shown.

Supported API: true

Parameters:
object - validation context object
Returns:
true for action enabled
Throws:
WTException

isCreateChangeRequest2Valid

protected boolean isCreateChangeRequest2Valid(Object object)
This validation method is used to validate whether the "New Change Request" action is shown.

Supported API: true

Parameters:
object - validation context object
Returns:
true for action enabled

isCreateWTVarianceValid

protected boolean isCreateWTVarianceValid(Object object)
This validation method is used to validate whether the "New Variance" action is shown.

Supported API: true

Parameters:
object - validation context object
Returns:
true for action enabled

isCreateChangeIssueValid

protected boolean isCreateChangeIssueValid(Object object)
This validation method is used to validate whether the "New Problem Report" action is shown.

Supported API: true

Parameters:
object - validation context object
Returns:
true for action enabled