com.ptc.hli.ecad.behaviors
Class AbstractHLIAction

java.lang.Object
  extended bycom.ptc.hli.ecad.behaviors.AbstractHLIAction
Direct Known Subclasses:
AbstractBaselineAction, BehaviorRoot, CheckinAction, CheckoutAction, DownloadContentItemAction, ItemAction, ItemGroupAction, PrintAction, ReviseAction, TestAction, UndoCheckoutAction, VerifyAction

public abstract class AbstractHLIAction
extends Object


Field Summary
protected  ArrayList children
           
protected static String CONTEXT_ATTR
           
protected static String CONTEXT_ATTR_VALUE
           
protected static String DOWNLOAD_PATH_ATTR
           
protected static String DOWNLOAD_PATH_ATTR_VALUE
           
private static String ECADHLIRESOURCE
           
protected static String FALSE_ATTR_VALUE
           
protected static String NUMBER_ATTR
           
protected static String NUMBER_ATTR_VALUE
           
protected  HashMap parameters
           
protected  AbstractHLIAction parent
           
protected static String REVISION_ATTR
           
protected static String REVISION_ATTR_VALUE
           
protected static String SOLUTION_ATTR
           
protected static String SOLUTION_ATTR_VALUE
           
protected static String TRUE_ATTR_VALUE
           
protected static String XML_FILE_NAME_ATTR
           
protected static String XML_FILE_NAME_ATTR_VALUE
           
protected static String ZIP_FILE_NAME_ATTR
           
protected static String ZIP_FILE_NAME_ATTR_VALUE
           
 
Constructor Summary
protected AbstractHLIAction(HashMap _parameters)
           
 
Method Summary
 void addChild(AbstractHLIAction action)
           
protected  void destroy()
           
 void executeEnd()
           
 void executeStart()
           
protected  Baseline getBaseline()
           
protected  String getBehaviorParameter(String name, String defaultParameterName)
           
protected  BehaviorRoot getBehaviorRoot()
           
protected  EPMDocument getEPMDocument(String number, String revision)
           
 String getName()
           
protected  String getParameter(String name)
           
 AbstractHLIAction getParent()
           
protected  EPMDocument getTargetEPMDocument()
           
protected  String getWorkspaceName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ECADHLIRESOURCE

private static final String ECADHLIRESOURCE
See Also:
Constant Field Values

NUMBER_ATTR

protected static final String NUMBER_ATTR
See Also:
Constant Field Values

REVISION_ATTR

protected static final String REVISION_ATTR
See Also:
Constant Field Values

DOWNLOAD_PATH_ATTR

protected static final String DOWNLOAD_PATH_ATTR
See Also:
Constant Field Values

ZIP_FILE_NAME_ATTR

protected static final String ZIP_FILE_NAME_ATTR
See Also:
Constant Field Values

XML_FILE_NAME_ATTR

protected static final String XML_FILE_NAME_ATTR
See Also:
Constant Field Values

SOLUTION_ATTR

protected static final String SOLUTION_ATTR
See Also:
Constant Field Values

CONTEXT_ATTR

protected static final String CONTEXT_ATTR
See Also:
Constant Field Values

TRUE_ATTR_VALUE

protected static final String TRUE_ATTR_VALUE
See Also:
Constant Field Values

FALSE_ATTR_VALUE

protected static final String FALSE_ATTR_VALUE
See Also:
Constant Field Values

NUMBER_ATTR_VALUE

protected static final String NUMBER_ATTR_VALUE
See Also:
Constant Field Values

REVISION_ATTR_VALUE

protected static final String REVISION_ATTR_VALUE
See Also:
Constant Field Values

DOWNLOAD_PATH_ATTR_VALUE

protected static final String DOWNLOAD_PATH_ATTR_VALUE
See Also:
Constant Field Values

ZIP_FILE_NAME_ATTR_VALUE

protected static final String ZIP_FILE_NAME_ATTR_VALUE
See Also:
Constant Field Values

XML_FILE_NAME_ATTR_VALUE

protected static final String XML_FILE_NAME_ATTR_VALUE
See Also:
Constant Field Values

SOLUTION_ATTR_VALUE

protected static final String SOLUTION_ATTR_VALUE
See Also:
Constant Field Values

CONTEXT_ATTR_VALUE

protected static final String CONTEXT_ATTR_VALUE
See Also:
Constant Field Values

children

protected ArrayList children

parent

protected AbstractHLIAction parent

parameters

protected HashMap parameters
Constructor Detail

AbstractHLIAction

protected AbstractHLIAction(HashMap _parameters)
Method Detail

addChild

public void addChild(AbstractHLIAction action)

getParent

public AbstractHLIAction getParent()

getName

public String getName()

executeStart

public void executeStart()
                  throws WTException
Throws:
WTException

executeEnd

public void executeEnd()
                throws WTException,
                       WTPropertyVetoException
Throws:
WTException
WTPropertyVetoException

destroy

protected void destroy()

getParameter

protected String getParameter(String name)

getBehaviorParameter

protected String getBehaviorParameter(String name,
                                      String defaultParameterName)
                               throws WTException
Throws:
WTException

getBehaviorRoot

protected BehaviorRoot getBehaviorRoot()

getBaseline

protected Baseline getBaseline()
                        throws WTException
Throws:
WTException

getWorkspaceName

protected String getWorkspaceName()
                           throws WTException
Throws:
WTException

getEPMDocument

protected EPMDocument getEPMDocument(String number,
                                     String revision)
                              throws WTException
Throws:
WTException

getTargetEPMDocument

protected EPMDocument getTargetEPMDocument()
                                    throws WTException
Throws:
WTException