|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ptc.windchill.cadx.common.util.BaselineUtilities
Field Summary | |
private static String |
EPMASSTOREDMEMBER_OWNER
|
private static boolean |
VERBOSE
|
Constructor Summary | |
BaselineUtilities()
|
Method Summary | |
private Baseline |
addToBaseline(Object[] objects,
Baseline baseline)
|
Baseline |
createBaseline(CreationDefaults defaults,
Baselineable[] objects)
Deprecated. Use createBaseline(CreationDefaults defaults, Baselineable[] objects, WTContainer container ) |
Baseline |
createBaseline(CreationDefaults defaults,
Baselineable[] objects,
WTContainer container)
|
static Baseline |
createBaseline(String name,
String number,
Folder folder,
String lifecycle)
|
boolean |
doesBaselineExist(String number,
WTContainer container)
|
static String |
generateBaselineNumber()
Utility function that will generate a number for a baseline using user name and date. |
static ManagedBaseline[] |
getAllBaselines()
|
static EPMAsStoredConfig |
getAsStoredConfig(Baselineable seedObject)
return the AsStoredConfig associated with specified seedObject |
static EPMAsStoredConfig |
getAsStoredConfig(String seedObjectNumber)
Deprecated. For large set of objects, using this method is very expensive as it needs to get object for oid one by one. Use getAsStoredConfig(EPMDocument seedObject) instead. |
static Integer |
getAsStoredConfigCount(Collection baselineables)
For the specified baselineables collection, return count of EPMAsStoredMember rows |
static Vector |
getAsStoredIterationsForItem(Baselineable a_baselineable)
|
static ManagedBaseline |
getBaseline(String baselineNumber,
WTContainer container)
|
static Folder |
getBaselineDefaultFolder(WTContainer container)
|
static Vector |
getBaselineLifecycleCandidates(WTContainer container)
Utility method that will return a list of lifecycle Templates that can be used in the creation of a baseline |
static ManagedBaseline[] |
getBaselinesForItem(Object object)
Deprecated. This method does not provide good data retrieval performance. Instead use getBaselinesForItemBranchId() for improved performance. |
static QueryResult |
getBaselinesForItemBranchId(Baselineable a_baselineable,
long branchIdentifier)
For the specified Baselineable object, get all the ManagedBaseline(s) to which this Baselineable is part of. |
static QueryResult |
getBaselinesForItemBranchId(Object object)
For the specified Baselineable object, get all the ManagedBaseline(s) to which this Baselineable is part of. |
static Vector |
navigateAsStoredForItem(Baselineable a_baselineable,
EPMAsStoredConfigSpec a_configspec)
|
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 EPMASSTOREDMEMBER_OWNER
Constructor Detail |
public BaselineUtilities()
Method Detail |
public Baseline createBaseline(CreationDefaults defaults, Baselineable[] objects)
public Baseline createBaseline(CreationDefaults defaults, Baselineable[] objects, WTContainer container)
public boolean doesBaselineExist(String number, WTContainer container)
private Baseline addToBaseline(Object[] objects, Baseline baseline) throws WTException
WTException
public static ManagedBaseline[] getAllBaselines() throws WTException
WTException
public static ManagedBaseline getBaseline(String baselineNumber, WTContainer container) throws WTException
WTException
public static ManagedBaseline[] getBaselinesForItem(Object object) throws WTException, WTPropertyVetoException
WTException
WTPropertyVetoException
public static QueryResult getBaselinesForItemBranchId(Object object) throws WTException, WTPropertyVetoException
WTException
WTPropertyVetoException
public static QueryResult getBaselinesForItemBranchId(Baselineable a_baselineable, long branchIdentifier) throws WTException, WTPropertyVetoException
WTException
WTPropertyVetoException
public static String generateBaselineNumber() throws WTException
WTException
public static Vector getBaselineLifecycleCandidates(WTContainer container) throws WTException
WTException
public static Folder getBaselineDefaultFolder(WTContainer container) throws WTException
WTException
public static Baseline createBaseline(String name, String number, Folder folder, String lifecycle) throws WTException
WTException
public static Vector getAsStoredIterationsForItem(Baselineable a_baselineable) throws PersistenceException, WTException
PersistenceException
WTException
public static Vector navigateAsStoredForItem(Baselineable a_baselineable, EPMAsStoredConfigSpec a_configspec)
public static EPMAsStoredConfig getAsStoredConfig(String seedObjectNumber) throws WTException
seedObjectNumber
-
WTException
public static EPMAsStoredConfig getAsStoredConfig(Baselineable seedObject) throws WTException
seedObject
-
WTException
public static Integer getAsStoredConfigCount(Collection baselineables) throws WTException
baselineables
-
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |