|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectwt.services.StandardManager
wt.maturity.StandardMaturityService
public class StandardMaturityService
Standard server-side implementation of the MaturityService interfaces. The public, static methods in this class are accessed through the syntax:
MaturityHelper.service.[method]
Use the newStandardMaturityService static factory method(s),
not the StandardMaturityService 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: false
MaturityService,
MaturityServiceFwd,
MaturityHelper,
Serialized Form| Method Summary | |
|---|---|
QueryResult |
getBaselineItems(PromotionNotice promotionNotice)
Returns a QueryResult of MaturityVersioned, Baselineable item iterations that are part of the Maturity Baseline associated to the PromotionNotice. |
QueryResult |
getBaselines(Baselineable promotable,
Class promotionNoticeClass)
Returns a QueryResult of MaturityVersioned Baseline objects of a specified class that this Baselineable item iteration is part of. |
QueryResult |
getBaselines(wt.maturity.Promotable promotable)
Returns a QueryResult of MaturityVersioned Baseline objects that this MaturityVersioned Baselineable item iteration is part of. |
WTSet |
getInvalidTargets(WTCollection promotionTargets,
boolean includeLocks)
Returns the set of invalid promotion targets of a given promotion notice. |
WTCollection |
getPromotionNotices(WTCollection promotables)
Supported API: true |
WTKeyedHashMap |
getPromotionNotices(WTSet promotables,
State state)
This method returns a WTKeyedHashMap containing the passed in Promotable as the key and any PromotionNotices that match the passed in state as the values which are contained in a WTSet. |
WTKeyedHashMap |
getPromotionNoticesMap(WTCollection promotables)
This method returns a WTKeyedHashMap containing the passed in Promotable as the key and any PromotionNotices as the values which are contained in a WTSet. |
boolean |
isAnyIterationInBaseline(wt.maturity.Promotable promotable,
PromotionNotice promotionNotice)
Returns true, if for this Maturity Baselineable, any items with the same Master are part of the MaturityBaseline associated to the PromotionNotice. |
boolean |
isInBaseline(wt.maturity.Promotable promotable,
PromotionNotice promotionNotice)
Returns true, if the MaturityVersioned item iteration is part of the MaturityBaseline associated to the PromotionNotice. |
void |
lockTargets(PromotionNotice pn)
Given a PromotionNotice validate and set to the LOCK state the associated PromotionTargets. |
void |
promoteTargets(PromotionNotice pn)
Given a PromotionNotice validate and set to the promotion state defined in the PromotionNotice. |
void |
unattachPromotable(wt.maturity.Promotable refObject,
PromotionNotice promotionNotice,
Class linkClass,
String maturityRole)
Deletes the association between a PromotionNotice and a Promotable. |
void |
unlockTargets(PromotionNotice pn)
Given a PromotionNotice validate and set to the create state the associated PromotionTargets. |
| 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 |
|---|
public void unattachPromotable(wt.maturity.Promotable refObject,
PromotionNotice promotionNotice,
Class linkClass,
String maturityRole)
throws WTException,
MaturityException
unattachPromotable in interface MaturityServicerefObject - A MaturityVersioned object to be disassociatd from a PromotionNoticepromotionNotice - The PromotionNotice associated to the MaturityVersioned.linkClass - The associated link Class, which has a PromotionNotice as role A.maturityRole - The role name.
WTException
MaturityException
public QueryResult getBaselines(wt.maturity.Promotable promotable)
throws WTException
getBaselines in interface MaturityServicepromotable -
WTException
public QueryResult getBaselines(Baselineable promotable,
Class promotionNoticeClass)
throws WTException
getBaselines in interface MaturityServicepromotable - promotionNoticeClass -
WTException
public QueryResult getBaselineItems(PromotionNotice promotionNotice)
throws WTException
getBaselineItems in interface MaturityServicepromotionNotice -
WTException
public boolean isInBaseline(wt.maturity.Promotable promotable,
PromotionNotice promotionNotice)
throws WTException
isInBaseline in interface MaturityServicepromotable - promotionNotice -
WTException
public boolean isAnyIterationInBaseline(wt.maturity.Promotable promotable,
PromotionNotice promotionNotice)
throws WTException
isAnyIterationInBaseline in interface MaturityServicepromotable - promotionNotice -
WTException
public WTSet getInvalidTargets(WTCollection promotionTargets,
boolean includeLocks)
throws WTException
getInvalidTargets in interface MaturityServicepromotionTargets - includeLocks - If true, validate considering lock states. If false, validate without considering lock states.
WTException
public WTCollection getPromotionNotices(WTCollection promotables)
throws WTException
getPromotionNotices in interface MaturityServicepromotables -
WTException
public WTKeyedHashMap getPromotionNotices(WTSet promotables,
State state)
throws WTException
getPromotionNotices in interface MaturityServicepromotables - state -
WTException
public WTKeyedHashMap getPromotionNoticesMap(WTCollection promotables)
throws WTException
getPromotionNoticesMap in interface MaturityServicepromotables -
WTException
public void lockTargets(PromotionNotice pn)
throws WTException
pn -
WTException
public void promoteTargets(PromotionNotice pn)
throws WTException
pn -
WTException
public void unlockTargets(PromotionNotice pn)
throws WTException
pn -
WTException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||