|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ptc.windchill.cadx.common.util.RuleUtilities
Field Summary | |
private static String |
FOLDER_ID
|
private static String |
LIFE_CYCLE_ID
|
private static String |
RULE_RESOURCE
|
private static String |
TEAM_TEMPLATE_ID
|
private static boolean |
VERBOSE
|
private static String |
VIEW_ID
|
Constructor Summary | |
RuleUtilities()
|
Method Summary | |
private static Object |
evaluateInitRuleAttrValue(AttrValue attrValue,
Class revisionControlledObjectClass,
WTContainerRef containerRef)
For the specified AttrValue and for specified business object's Type (Class), evaluate the attribute's value from the init rule from the specified container. |
static Rule |
getBusinessObjectInitRule(Class objectClass,
WTContainer container)
Get the container based Rule for initializing the specified type of object for the specified container |
static Rule |
getCADDocInitRule(WTContainer container)
Get the container based Rule for initializing the new EPMDocument object for the specified container |
static String |
getFolderLocation(CabinetBased cb)
For the specified CabinetBased object, return back the string form of the default folder location. |
static String |
getLifeCycle(LifeCycleManaged lcm)
Deprecated. Use getLifeCycleName() |
static String |
getLifeCycleName(LifeCycleManaged lcm)
For the specified LifeCycleManaged object, return back the life cycle template name. |
static String |
getLifeCycleName(WTContainer container,
Class revisionControlledObjectClass)
For the specified container, find out the default life cycle name for the specified type (class) of RevisionControlled objects |
private static LifeCycleTemplate |
getLifeCycleTemplate(WTContainer container,
Class revisionControlledObjectClass)
For the specified container, find out the default life cycle template for the specified type (class) of RevisionControlled objects |
static LifeCycleTemplateMaster |
getLifeCycleTemplateMaster(LifeCycleManaged lcm,
WTContainer container)
For the specified LifeCycleManaged object, return back the life cycle template master. |
private static LifeCycleTemplateMaster |
getLifeCycleTemplateMaster(LifeCycleTemplate lifeCycleTemplate,
WTContainer container)
For the specified LifeCycleTemplate object, return back the life cycle template master. |
static LifeCycleTemplateMaster |
getLifeCycleTemplateMaster(WTContainer container,
Class revisionControlledObjectClass)
For the specified container, find out the default life cycle for the specified type (class) of RevisionControlled objects |
static Rule |
getPartInitRule(WTContainer container)
Get the container based Rule for initializing the new WTPart object for the specified container |
static Folder |
getTargetFolder(WTContainer container,
Class revisionControlledObjectClass)
For the specified container, find out the default target folder for the specified type (class) of RevisionControlled objects |
static String |
getTeam(TeamManaged tm)
For the specified TeamManaged object, return back it's team template identity. |
static TeamTemplate |
getTeamTemplate(WTContainer container,
Class revisionControlledObjectClass)
For the specified container, find out the default team template for the specified type (class) of RevisionControlled objects |
static String |
getTeamTemplateIdentity(WTContainer container,
Class revisionControlledObjectClass)
For the specified container, find out the default team template identity for the specified type (class) of RevisionControlled objects |
static View |
getView(WTContainer container,
Class revisionControlledObjectClass)
For the specified container, find out the view for the specified type (class) of RevisionControlled objects. |
static String |
getViewName(WTContainer container,
Class revisionControlledObjectClass)
For the specified container, find out the view for the specified type (class) of RevisionControlled objects. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static boolean VERBOSE
private static final String RULE_RESOURCE
private static final String FOLDER_ID
private static final String LIFE_CYCLE_ID
private static final String TEAM_TEMPLATE_ID
private static final String VIEW_ID
Constructor Detail |
public RuleUtilities()
Method Detail |
public static Rule getCADDocInitRule(WTContainer container) throws WTException, RuleException
WTException
RuleException
public static Rule getPartInitRule(WTContainer container) throws WTException, RuleException
WTException
RuleException
public static Rule getBusinessObjectInitRule(Class objectClass, WTContainer container) throws WTException, RuleException
WTException
RuleException
public static String getTeam(TeamManaged tm)
public static String getLifeCycle(LifeCycleManaged lcm)
public static String getLifeCycleName(LifeCycleManaged lcm)
public static LifeCycleTemplateMaster getLifeCycleTemplateMaster(LifeCycleManaged lcm, WTContainer container) throws WTException, LifeCycleException
WTException
LifeCycleException
private static LifeCycleTemplateMaster getLifeCycleTemplateMaster(LifeCycleTemplate lifeCycleTemplate, WTContainer container) throws WTException, LifeCycleException
WTException
LifeCycleException
public static String getFolderLocation(CabinetBased cb) throws WTException
WTException
public static String getTeamTemplateIdentity(WTContainer container, Class revisionControlledObjectClass) throws WTException
WTException
public static TeamTemplate getTeamTemplate(WTContainer container, Class revisionControlledObjectClass) throws WTException
WTException
public static String getLifeCycleName(WTContainer container, Class revisionControlledObjectClass) throws WTException
WTException
public static LifeCycleTemplateMaster getLifeCycleTemplateMaster(WTContainer container, Class revisionControlledObjectClass) throws WTException
WTException
private static LifeCycleTemplate getLifeCycleTemplate(WTContainer container, Class revisionControlledObjectClass) throws WTException
WTException
public static Folder getTargetFolder(WTContainer container, Class revisionControlledObjectClass) throws WTException
WTException
public static String getViewName(WTContainer container, Class revisionControlledObjectClass) throws WTException
WTException
public static View getView(WTContainer container, Class revisionControlledObjectClass) throws WTException
WTException
private static Object evaluateInitRuleAttrValue(AttrValue attrValue, Class revisionControlledObjectClass, WTContainerRef containerRef) throws WTException
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |