|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The EPMBaselineService interface identifies the set of methods that applications use to manage the set of objects included in the workspace. While all of the methods declared by this interface execute on the server, they are accessable to client application through a helper class.
See EPMBaselineHelper.
Supported API: true
Extendable: false
Method Summary | |
EPMWorkspace |
add(EPMWorkspace workspace,
Vector baselineable)
Deprecated. at 8.0 Use EPMWorkspaceManager.addToWorkspace |
Baseline |
addMembers(Vector members,
Baseline baseline)
Deprecated. |
Baseline |
addToBaseline(Vector members,
Baseline baseline)
Deprecated. |
QueryResult |
checkinOrMove(EPMWorkspace workspace,
Vector objects)
Deprecated. at R8.0. Use EPMWorkspaceManager.checkin |
QueryResult |
checkinOrMove(EPMWorkspace workspace,
Vector objects,
Vector familyTablesToCheckin)
Deprecated. at R8.0. Use EPMWorkspaceManager.checkin |
Baseline |
copyToBaseline(EPMWorkspace workspace,
Baseline baseline)
Copy the baseline in the workspace to the baseline provided. |
EPMAsStoredConfig |
createEPMAsStoredConfig(EPMConfigurationType type,
Vector owners,
Vector members)
This method creates an EPMAsStoredConfig with the given owners, members and type. |
void |
dispatchNewBaselineEvent(Baseline baseline,
Vector baselineable,
EPMWorkspace workspace)
Dispatches a NEW_BASELINE event. |
EPMCheckpoint |
getAssociatedCheckpoint(EPMWorkspace workspace)
This gets the checkpoint associated with a Workspace. |
QueryResult |
getBaselineItems(EPMWorkspace workspace)
Deprecated. at R8.0. Use EPMWorkspaceManager.getObjectsInWorkspace |
QueryResult |
getBaselines(EPMFamilyTable familyTable)
Supported API: false |
QueryResult |
getBaselines(EPMFamilyTable familyTable,
Class baselineClass)
Supported API: false |
QueryResult |
getFTBaselineItems(Baseline baseline)
Supported API: false |
List |
getNewObjects(List objects,
boolean ignorePrivateIterations)
This method returns List of ObjectIdentifiers which are new in the given input list. |
QueryResult |
getPartsAndDocs(Vector baselineable,
EPMWorkspace workspace,
EPMPopulateRule rule)
Return a QueryResult of EPMDocuments and WTParts which are related to the input set of WTParts subject to the ConfigSpecs of the EPMWorkspace and the given EPMPopulateRule. |
QueryResult |
getRelatedItems(EPMWorkspace workspace,
EPMPopulateRule rule,
Vector baselineable)
Return a QueryResult of EPMDocuments that the given objects are related to by EPMDependencyLinks subject to the EPMDocConfigSpec of the given EPMWorkspace and the given EPMPopulateRule. |
QueryResult |
getStatus(EPMWorkspace workspace)
Determine which objects in the workspace have been checked out to a different folder. |
boolean |
isAnyIterationInBaseline(EPMFamilyTable familyTable,
Baseline baseline)
Supported API: false |
boolean |
isInBaseline(EPMFamilyTable familyTable,
Baseline baseline)
Supported API: false |
EPMWorkspace |
populate(EPMWorkspace workspace,
Vector baselineable,
EPMPopulateRule populateRule)
Adds the Baselineable item iterations to the Workspace. |
EPMWorkspace |
populateAll(EPMWorkspace workspace,
Vector baselineable)
Adds the Baselineable item iterations to the Workspace by navigating recursively from the object using the EPMDocConfigSpecNavigator. |
EPMWorkspace |
populateRequired(EPMWorkspace workspace,
Vector baselineable)
Adds the Baselineable item iterations to the Workspace by navigating recursively from the object using the EPMDocConfigSpecNavigator. |
QueryResult |
refresh(EPMWorkspace workspace,
EPMPopulateRule rule)
Deprecated. in 7.0 Use refreshDocsAndParts |
QueryResult |
refreshWorkspace(EPMWorkspace workspace)
Return a QueryResult of EPMDocuments and WTParts which represent the set of objects which need to be updated in the EPMWorkspace. |
QueryResult |
refreshWorkspace(EPMWorkspace workspace,
Vector baselineable)
Return a QueryResult of EPMDocuments and WTParts which represent the set of objects which need to be updated in the EPMWorkspace restricted to the input vector. |
EPMWorkspace |
remove(EPMWorkspace workspace,
Vector baselinable)
Deprecated. at 8.0 Use EPMWorkspaceManager.removeFromWorkspace |
Baseline |
removeFromBaseline(Vector members,
Baseline baseline)
Deprecated. |
Collection |
undoCheckout(EPMWorkspace workspace,
Collection objects,
Collection familyTablesToUndoCheckout)
Supported API: false |
QueryResult |
update(EPMWorkspace workspace,
EPMPopulateRule rule)
Deprecated. in 7.0 Use updateDocsAndParts |
QueryResult |
update(EPMWorkspace workspace,
Vector baselinable,
EPMPopulateRule rule)
Deprecated. in 7.0 Use updateDocsAndParts |
QueryResult |
updateWorkspace(EPMWorkspace workspace)
Update the objects in the EPMWorkspace. |
QueryResult |
updateWorkspace(EPMWorkspace workspace,
Vector baselineable)
Update the objects given as parameters. |
Method Detail |
public QueryResult refresh(EPMWorkspace workspace, EPMPopulateRule rule) throws WTException
workspace
- The workspace to be affected by the call.rule
- The EPMPopulateRule which determines what dependent objets are also entered into the Baseline.
WTException
public QueryResult update(EPMWorkspace workspace, EPMPopulateRule rule) throws WTException
workspace
- The workspace to be affected by the call.rule
- The EPMPopulateRule which determines what dependent objects are also entered into the Baseline.
WTException
public QueryResult update(EPMWorkspace workspace, Vector baselinable, EPMPopulateRule rule) throws WTException
workspace
- The workspace to be affected by the call.baselinable
- The set of objects with which to populate the baseline (and whose dependencies will be used with the EPMPopulateRule).rule
- The EPMPopulateRule which determines what dependent objects are also entered into the Baseline.
WTException
public EPMWorkspace remove(EPMWorkspace workspace, Vector baselinable) throws WTException
workspace
- The workspace to be affected by the call.baselinable
-
WTException
public EPMWorkspace populate(EPMWorkspace workspace, Vector baselineable, EPMPopulateRule populateRule) throws WTException
workspace
- The workspace to be affected by the call.baselineable
- A Vector of objects to be added (together with the related items determined by the populareRule) to the workspace.populateRule
-
WTException
public EPMWorkspace add(EPMWorkspace workspace, Vector baselineable) throws WTException
workspace
- The workspace to be affected by the call.baselineable
-
WTException
public EPMWorkspace populateAll(EPMWorkspace workspace, Vector baselineable) throws WTException
workspace
- The workspace to be affected by the call.baselineable
- A Vector of objects to be added to the workspace.
WTException
public EPMWorkspace populateRequired(EPMWorkspace workspace, Vector baselineable) throws WTException
workspace
- The workspace to be affected by the call.baselineable
- A Vector of objects to be added to the workspace.
WTException
public Baseline copyToBaseline(EPMWorkspace workspace, Baseline baseline) throws WTException
workspace
- The workspace referenced by the call.baseline
- The baseline to be filled in.
WTException
public QueryResult getBaselineItems(EPMWorkspace workspace) throws WTException
workspace
- The workspace referenced by the call.
WTException
public QueryResult getRelatedItems(EPMWorkspace workspace, EPMPopulateRule rule, Vector baselineable) throws WTException
workspace
- The workspace referenced by the call.rule
- baselineable
- A Vector of objects whose related items are to be returned.
WTException
public QueryResult getStatus(EPMWorkspace workspace) throws WTException
workspace
- The workspace referenced by the call.
WTException
public void dispatchNewBaselineEvent(Baseline baseline, Vector baselineable, EPMWorkspace workspace) throws WTException
baseline
- Newly created baseline, referred by the call.baselineable
- Vector of baselineable objects checkedin by the client.workspace
- EPM Workspace referred by the call.
WTException
public QueryResult checkinOrMove(EPMWorkspace workspace, Vector objects) throws WTException, WTPropertyVetoException
All of this is accomplished within the bounds of a transaction.
The result returned is the objects in their new locations.
Supported API: false
workspace
- objects
-
WTException
WTPropertyVetoException
public EPMCheckpoint getAssociatedCheckpoint(EPMWorkspace workspace) throws WTException
workspace
-
WTException
public QueryResult getPartsAndDocs(Vector baselineable, EPMWorkspace workspace, EPMPopulateRule rule) throws WTException
baselineable
- workspace
- rule
-
WTException
public EPMAsStoredConfig createEPMAsStoredConfig(EPMConfigurationType type, Vector owners, Vector members) throws WTPropertyVetoException, WTException
type
- Any of the EPMConfiguration Typeowners
- a list of unique EPMDocuments that do not belong to any EPMAsStoredConfig as ownermembers
- a list of unique EPMDocuments or WTDocuments
WTPropertyVetoException
WTException
public QueryResult refreshWorkspace(EPMWorkspace workspace, Vector baselineable) throws WTException
workspace
- baselineable
-
WTException
public QueryResult refreshWorkspace(EPMWorkspace workspace) throws WTException
workspace
-
WTException
public QueryResult updateWorkspace(EPMWorkspace workspace) throws WTException
workspace
-
WTException
public QueryResult updateWorkspace(EPMWorkspace workspace, Vector baselineable) throws WTException
workspace
- baselineable
-
WTException
public List getNewObjects(List objects, boolean ignorePrivateIterations) throws WTException
objects
- ignorePrivateIterations
-
WTException
public QueryResult checkinOrMove(EPMWorkspace workspace, Vector objects, Vector familyTablesToCheckin) throws WTException, WTPropertyVetoException
workspace
- objects
- familyTablesToCheckin
-
WTException
WTPropertyVetoException
public Collection undoCheckout(EPMWorkspace workspace, Collection objects, Collection familyTablesToUndoCheckout) throws WTException, WTPropertyVetoException
workspace
- objects
- familyTablesToUndoCheckout
-
WTException
WTPropertyVetoException
public QueryResult getBaselines(EPMFamilyTable familyTable) throws WTException
familyTable
-
WTException
public QueryResult getBaselines(EPMFamilyTable familyTable, Class baselineClass) throws WTException
familyTable
- baselineClass
-
WTException
public QueryResult getFTBaselineItems(Baseline baseline) throws WTException
baseline
-
WTException
public boolean isInBaseline(EPMFamilyTable familyTable, Baseline baseline) throws WTException
familyTable
- baseline
-
WTException
public boolean isAnyIterationInBaseline(EPMFamilyTable familyTable, Baseline baseline) throws WTException
familyTable
- baseline
-
WTException
public Baseline addToBaseline(Vector members, Baseline baseline) throws WTException
members
- baseline
-
WTException
public Baseline removeFromBaseline(Vector members, Baseline baseline) throws WTException
members
- baseline
-
WTException
public Baseline addMembers(Vector members, Baseline baseline) throws WTException
members
- baseline
-
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |