|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.maturity.MaturityServiceFwd
The interface describing the services available for the maturity package.
Supported API: false
Extendable: false
MaturityHelper
,
MaturityService
,
MaturityServiceFwd
,
Serialized FormField Summary | |
private static String |
CLASSNAME
|
private static String |
FC_RESOURCE
|
(package private) static boolean |
SERVER
|
Fields inherited from interface wt.method.RemoteAccess |
versionID |
Constructor Summary | |
MaturityServiceFwd()
|
Method Summary | |
PromotionNotice |
deletePromotionNotice(PromotionNotice pn)
Deletes a PromotionNotice. |
PromotionNotice |
deletePromotionSeeds(PromotionNotice pn,
WTSet promotables)
Deletes the PromotionSeed link between the PromotionNotice and the Promotable. |
PromotionNotice |
deletePromotionTargets(PromotionNotice pn,
WTSet promotables)
Deletes the PromotionTarget link between the PromotionNotice and the Promotable. |
void |
generateViewables(WTCollection collection,
PromotionNotice thePN,
ConfigSpec configSpec,
boolean defaultRep)
Generate ProductView viewables. |
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(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. |
private static Manager |
getManager()
|
WTCollection |
getPromotionNotices(WTCollection promotables)
Supported API: false |
QueryResult |
getPromotionSeeds(PromotionNotice pn)
Supported API: false |
QueryResult |
getPromotionTargets(PromotionNotice pn)
Returns the PromotionTargets associated to the PromotionNotice. |
QueryResult |
getPromotionTargets(PromotionNotice pn,
boolean onlyOtherSide)
Returns the PromotionTargets associated to the PromotionNotice. |
WTKeyedHashMap |
getTargetPromotionNotices(WTCollection pSet)
Returns a WTKeyedHashSet where the keys are the values of pSet and the values are a WTArrayList of PromotionTargets. |
boolean |
isAnyIterationInBaseline(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(Promotable promotable,
PromotionNotice promotionNotice)
Returns true, if the MaturityVersioned item iteration is part of the MaturityBaseline associated to the PromotionNotice. |
PromotionNotice |
savePromotionNotice(PromotionNotice pn)
Persists the PromotionNotice. |
void |
savePromotionSeeds(PromotionNotice pn,
WTSet promotables)
Creates and persists PromotionSeeds between the PromotionNotice and the Promotables. |
WTSet |
savePromotionSeeds(WTSet psSet)
Persists PromotionSeeds in the psVector. |
void |
savePromotionTargets(PromotionNotice pn,
WTSet promotables)
Creates and persists PromotionTargets between the PromotionNotice and the Promotables. |
WTSet |
savePromotionTargets(WTSet ptSet)
Persists PromotionTargets in the ptVector. |
void |
unattachPromotable(Promotable refObject,
PromotionNotice promotionNotice,
Class linkClass,
String maturityRole)
Deletes the association between a PromotionNotice and a Promotable. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
static final boolean SERVER
private static final String FC_RESOURCE
private static final String CLASSNAME
Constructor Detail |
public MaturityServiceFwd()
Method Detail |
private static Manager getManager() throws WTException
WTException
public PromotionNotice deletePromotionNotice(PromotionNotice pn) throws WTException, MaturityException
deletePromotionNotice
in interface MaturityService
pn
-
WTException
MaturityException
public PromotionNotice savePromotionNotice(PromotionNotice pn) throws WTException, MaturityException
savePromotionNotice
in interface MaturityService
pn
-
WTException
MaturityException
public PromotionNotice deletePromotionTargets(PromotionNotice pn, WTSet promotables) throws WTException, MaturityException
deletePromotionTargets
in interface MaturityService
pn
- promotables
-
WTException
MaturityException
public QueryResult getPromotionTargets(PromotionNotice pn) throws WTException, MaturityException
getPromotionTargets
in interface MaturityService
pn
-
WTException
MaturityException
public void savePromotionTargets(PromotionNotice pn, WTSet promotables) throws WTException, MaturityException, WTPropertyVetoException
savePromotionTargets
in interface MaturityService
pn
- promotables
-
WTException
MaturityException
WTPropertyVetoException
public void unattachPromotable(Promotable refObject, PromotionNotice promotionNotice, Class linkClass, String maturityRole) throws WTException, MaturityException
unattachPromotable
in interface MaturityService
refObject
- 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 WTSet savePromotionTargets(WTSet ptSet) throws WTException, MaturityException, WTPropertyVetoException
savePromotionTargets
in interface MaturityService
ptSet
-
WTException
MaturityException
WTPropertyVetoException
public void savePromotionSeeds(PromotionNotice pn, WTSet promotables) throws WTException, MaturityException
savePromotionSeeds
in interface MaturityService
pn
- promotables
-
WTException
MaturityException
public WTSet savePromotionSeeds(WTSet psSet) throws WTException, MaturityException
savePromotionSeeds
in interface MaturityService
psSet
-
WTException
MaturityException
public QueryResult getPromotionSeeds(PromotionNotice pn) throws WTException, MaturityException
getPromotionSeeds
in interface MaturityService
pn
-
WTException
MaturityException
public PromotionNotice deletePromotionSeeds(PromotionNotice pn, WTSet promotables) throws WTException, MaturityException
deletePromotionSeeds
in interface MaturityService
pn
- promotables
-
WTException
MaturityException
public QueryResult getBaselines(Promotable promotable) throws WTException
getBaselines
in interface MaturityService
promotable
-
WTException
public QueryResult getBaselines(Baselineable promotable, Class promotionNoticeClass) throws WTException
getBaselines
in interface MaturityService
promotable
- promotionNoticeClass
-
WTException
public QueryResult getBaselineItems(PromotionNotice promotionNotice) throws WTException
getBaselineItems
in interface MaturityService
promotionNotice
-
WTException
public boolean isInBaseline(Promotable promotable, PromotionNotice promotionNotice) throws WTException
isInBaseline
in interface MaturityService
promotable
- promotionNotice
-
WTException
public boolean isAnyIterationInBaseline(Promotable promotable, PromotionNotice promotionNotice) throws WTException
isAnyIterationInBaseline
in interface MaturityService
promotable
- promotionNotice
-
WTException
public QueryResult getPromotionTargets(PromotionNotice pn, boolean onlyOtherSide) throws WTException, MaturityException
getPromotionTargets
in interface MaturityService
pn
- onlyOtherSide
-
WTException
MaturityException
public WTSet getInvalidTargets(WTCollection promotionTargets, boolean includeLocks) throws WTException
getInvalidTargets
in interface MaturityService
promotionTargets
- 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 MaturityService
promotables
-
WTException
public void generateViewables(WTCollection collection, PromotionNotice thePN, ConfigSpec configSpec, boolean defaultRep) throws WTException
generateViewables
in interface MaturityService
collection
- Collection of objects that will have viewables generated.thePN
- PromotionNotice associated to the collection of objects.configSpec
- ConfigSpec used by ProductView viewable generationdefaultRep
-
WTException
public WTKeyedHashMap getTargetPromotionNotices(WTCollection pSet) throws WTException
getTargetPromotionNotices
in interface MaturityService
pSet
- Set of Promotables
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |