|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectwt.services.StandardManager
wt.vc.baseline.StandardBaselineService
public class StandardBaselineService
This implementation of the BaselineService interface add listeners
via performStartupProcess().
Use the newStandardBaselineService static factory method(s),
not the StandardBaselineService constructor, to construct
instances of this class. Instances must be constructed using the static
factory(s), in order to ensure proper initialization of the instance.
Supported API: true
Extendable: true
| Method Summary | |
|---|---|
Baseline |
addToBaseline(Baselineable a_baselineable,
Baseline a_baseline)
Adds the Baselineable item to the Baseline. |
Baseline |
addToBaseline(WTCollection baselineables,
Baseline baseline)
Adds the collection of Baselineable items to the Baseline. |
protected void |
dispatchVetoableEvent(String a_eventType,
Baselineable a_baselineable,
Baseline a_baseline)
This method dispatches a BaselineServiceEvent. |
protected void |
dispatchVetoableEvent(String a_eventType,
Baselineable a_baselineable,
Baseline a_baseline,
Baselineable a_replacedBaselineable)
This method dispatches a BaselineServiceEvent. |
QueryResult |
getBaselineItems(Baseline a_baseline)
Returns a QueryResult of Baselineable item iterations that are part of the Baseline. |
QueryResult |
getBaselines(Baselineable a_baselineable)
Returns a QueryResult of Baseline objects that this Baselineable item iteration is part of. |
QueryResult |
getBaselines(Baselineable a_baselineable,
Class baselineClass)
Returns a QueryResult of Baseline objects of a specified class that this Baselineable item iteration is part of. |
WTKeyedMap |
getBaselines(WTCollection baselineables)
Returns a map of baselineables (as keys) to the collection of Baselines they're members of. |
WTKeyedMap |
getBaselines(WTCollection baselineables,
Class baselineClass)
Returns a map of baselineables (as keys) to the collection of baselines (of the given class) they're members of. |
QueryResult |
getBaselinesTop(Baselineable a_baselineable)
Returns a QueryResult of ManagedBaseline objects that this Baselineable item iteration is top object of. |
WTKeyedMap |
getBaselinesTop(WTCollection baselineables)
Returns a map of baselineables (as keys) to the collection of ManagedBaselines they're top object of. |
QueryResult |
getManagedBaselines(Baselineable a_baselineable)
Returns a QueryResult of ManagedBaseline objects that this Baselineable item iteration is part of. |
boolean |
isAnyIterationInBaseline(Baselineable a_baselineable,
Baseline a_baseline)
Returns true, if for this Baselineable, any items with the same Master are part of the Baseline. |
boolean |
isInBaseline(Baselineable a_baselineable,
Baseline a_baseline)
Returns true, if the Baselineable item iteration is part of the Baseline. |
Baseline |
populateBaseline(Persistable a_object,
Baseline a_baseline,
ConfigSpec a_configSpec)
Adds the Baselineable item iterations to the Baseline by navigating recursively from the object using the ConfigSpec. |
Baseline |
populateBaseline(Persistable a_object,
Baseline a_baseline,
wt.visitor.Navigator a_navigator)
Adds the Baselineable item iterations to the Baseline by navigating recursively from the object using the Navigator. |
Baseline |
removeFromBaseline(Baselineable a_baselineable,
Baseline a_baseline)
Removes the Baselineable item iteration from the Baseline. |
Baseline |
removeFromBaseline(WTCollection baselineables,
Baseline baseline)
Removes the collection of Baselineable item iterations from the Baseline. |
| Methods inherited from class wt.services.StandardManager |
|---|
getManagerService, getManagerStatus, getName, getStartupType |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
protected void dispatchVetoableEvent(String a_eventType,
Baselineable a_baselineable,
Baseline a_baseline)
throws WTException
a_eventType - a_baselineable - a_baseline -
WTException
protected void dispatchVetoableEvent(String a_eventType,
Baselineable a_baselineable,
Baseline a_baseline,
Baselineable a_replacedBaselineable)
throws WTException
a_eventType - a_baselineable - a_baseline - a_replacedBaselineable -
WTException
public QueryResult getBaselines(Baselineable a_baselineable)
throws WTException
Note that the Baselineable is considered a member of an IteratedPartialBaseline
only if it is a member of its latest iteration(s).
getBaselines in interface BaselineServicea_baselineable -
WTException
public WTKeyedMap getBaselines(WTCollection baselineables)
throws WTException
Note that the Baselineable is considered a member of an IteratedPartialBaseline
only if it is a member of its latest iteration(s).
getBaselines in interface BaselineServicebaselineables -
WTException
public QueryResult getBaselines(Baselineable a_baselineable,
Class baselineClass)
throws WTException
Note that the Baselineable is considered a member of an IteratedPartialBaseline
only if it is a member of its latest iteration(s).
getBaselines in interface BaselineServicea_baselineable - baselineClass -
WTException
public WTKeyedMap getBaselines(WTCollection baselineables,
Class baselineClass)
throws WTException
Note that the Baselineable is considered a member of an IteratedPartialBaseline
only if it is a member of its latest iteration(s).
getBaselines in interface BaselineServicebaselineables - baselineClass -
WTException
public QueryResult getManagedBaselines(Baselineable a_baselineable)
throws WTException
getManagedBaselines in interface BaselineServicea_baselineable -
WTException
public QueryResult getBaselineItems(Baseline a_baseline)
throws WTException
getBaselineItems in interface BaselineServicea_baseline -
WTException
public boolean isInBaseline(Baselineable a_baselineable,
Baseline a_baseline)
throws WTException
isInBaseline in interface BaselineServicea_baselineable - a_baseline -
WTException
public boolean isAnyIterationInBaseline(Baselineable a_baselineable,
Baseline a_baseline)
throws WTException
isAnyIterationInBaseline in interface BaselineServicea_baselineable - a_baseline -
WTException
public Baseline addToBaseline(Baselineable a_baselineable,
Baseline a_baseline)
throws WTException
addToBaseline in interface BaselineServicea_baselineable - a_baseline -
WTException
public Baseline addToBaseline(WTCollection baselineables,
Baseline baseline)
throws WTException
addToBaseline in interface BaselineServicebaselineables - baseline -
WTException
public Baseline removeFromBaseline(Baselineable a_baselineable,
Baseline a_baseline)
throws WTException
removeFromBaseline in interface BaselineServicea_baselineable - a_baseline -
WTException
public Baseline populateBaseline(Persistable a_object,
Baseline a_baseline,
wt.visitor.Navigator a_navigator)
throws WTException
populateBaseline in interface BaselineServicea_object - a_baseline - a_navigator -
WTException
public Baseline populateBaseline(Persistable a_object,
Baseline a_baseline,
ConfigSpec a_configSpec)
throws WTException
populateBaseline in interface BaselineServicea_object - a_baseline - a_configSpec -
WTException
public Baseline removeFromBaseline(WTCollection baselineables,
Baseline baseline)
throws WTException
removeFromBaseline in interface BaselineServicebaselineables - baseline -
WTException
public QueryResult getBaselinesTop(Baselineable a_baselineable)
throws WTException
getBaselinesTop in interface BaselineServicea_baselineable -
WTException
public WTKeyedMap getBaselinesTop(WTCollection baselineables)
throws WTException
getBaselinesTop in interface BaselineServicebaselineables -
WTException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||