|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface EffService
This service provides general effectivity functionality, both through
its API and through listeners, that operate on EffManagedVersion,
Eff, EffContext, EffConfigurationItem, ProductSolution and ProductInstance objects; this functionality
can be reused by various implementations of effectivity including the
reference implementation in wt.effectivity. EffConfigSpecAssistant
and EffGroupAssistant also execute server-side actions for several
classes of objects in this package.
The reference implementation of this service interface also manages effectivity data during various business operations via listeners defined in StandardEffService.
EffHelper has helper methodsStandardEffService (has listeners)
| Method Summary | |
|---|---|
Set<EffRecord> |
cloneEffRecords(EffRecordable effRecordable)
Clones the EffRecords for passed in EffRecordable. |
Map<Boolean,List<ChangeRecordIfc>> |
filterEffectableChangeRecords(ChangeActivityIfc changeActivity,
List<Changeable2> listChangeables)
Filters all change records which associate a changeable in the passed in list with the passed in change activity, and returns those for which the changeable is a valid eff target in the list keyed by Boolean.TRUE, and those which are not valid in the list keyed by Boolean.FALSE. |
Map<Boolean,List<ChangeRecordIfc>> |
filterEffectableChangeRecords(ChangeOrderIfc changeNotice)
Filters all change records of passed in change notice and places those for which the associated changeable is a valid effectivity target into list keyed by Boolean.TRUE, and the non-valid ones into the list keyed by Boolean.FALSE. |
Map<Boolean,List<ChangeRecordIfc>> |
filterEffectableChangeRecords(List<ChangeActivityIfc> listChangeActivities)
Filters all change records across list of passed in change activities and returns those for which the associated changeable is a valid effectivity target into the list keyed by Boolean.TRUE, and the non-valid ones into the list keyed by Boolean.FALSE. |
Map<Boolean,List<wt.change2.ReportedAgainstIfc>> |
filterEffectableReportedAgainsts(ChangeIssue changeIssue)
Filters all reported against links of passed in change issue and returns those for which the associated changeable is a valid effectivity target in the list keyed by Boolean.TRUE, and those which are not in the list keyed by Boolean.FALSE. |
Map<Boolean,List<wt.change2.ReportedAgainstIfc>> |
filterEffectableReportedAgainsts(ChangeIssue changeIssue,
List<Changeable2> listChangeables)
Filters all change records which associate a changeable in the passed in list with the passed in change issue, and returns those for which the changeable is a valid eff target in the list keyed by Boolean.TRUE, and those which are not in the list keyed by Boolean.FALSE. |
QueryResult |
getAllContexts()
Return all EffContext objects in the DB. |
EffConfigurationItem |
getEffConfigurationItem(String name)
Returns the EffConfigurationItem that has this name. |
List<ChangeRecordIfc> |
getEffectableChangeRecords(ChangeActivityIfc changeActivity,
List<Changeable2> listChangeables)
Returns all change records which associate a changeable in the passed in list with the passed in change activity, and for which the changeable is a valid eff target. |
List<ChangeRecordIfc> |
getEffectableChangeRecords(ChangeOrderIfc changeNotice)
Returns all change records of passed in change notice for which the associated changeable is a valid effectivity target. |
List<ChangeRecordIfc> |
getEffectableChangeRecords(List<ChangeActivityIfc> listChangeActivities)
Returns all change records across list of passed in change activities for which the associated changeable is a valid effectivity target. |
List<wt.change2.ReportedAgainstIfc> |
getEffectableReportedAgainsts(ChangeIssue changeIssue)
Returns all reported against links of passed in change issue for which the associated changeable is a valid effectivity target. |
List<wt.change2.ReportedAgainstIfc> |
getEffectableReportedAgainsts(ChangeIssue changeIssue,
List<Changeable2> listChangeables)
Returns all change records which associate a changeable in the passed in list with the passed in change issue, and for which the changeable is a valid eff target. |
QueryResult |
getEffectivity(EffRecordable effRecordable)
For a given EffRecordable returns all the effectivities. |
QueryResult |
getEffs(EffManagedVersion version)
For a given EffManagedVersion, return all Effs assigned to it. |
Map<EffManagedVersion,Set<Eff>> |
getEffs(WTSet setTargets)
For a given set of EffManagedVersion objects, return a map keyed by the target and valued by a set of Effs assigned to the target. |
QueryResult |
getInstances(EffConfigurationItem configItem)
Returns all ProductInstances for this EffConfigurationItem. |
boolean |
hasPendingEffectivities(EffContext effContext)
Given an effectivity context, this method returns whether any existing pending effectivities exist which are active against the context. |
| Method Detail |
|---|
QueryResult getEffs(EffManagedVersion version)
throws WTException
version -
WTException
QueryResult getAllContexts()
throws WTException
WTException
EffConfigurationItem getEffConfigurationItem(String name)
throws WTException
name -
WTException
QueryResult getInstances(EffConfigurationItem configItem)
throws WTException
configItem -
WTException
List<ChangeRecordIfc> getEffectableChangeRecords(ChangeOrderIfc changeNotice)
throws WTException
Supported API: true
changeNotice - Change notice to return valid effectivity targetable change records of
WTException
List<ChangeRecordIfc> getEffectableChangeRecords(List<ChangeActivityIfc> listChangeActivities)
throws WTException
Supported API: true
listChangeActivities - List of change activities
WTException
List<ChangeRecordIfc> getEffectableChangeRecords(ChangeActivityIfc changeActivity,
List<Changeable2> listChangeables)
throws WTException
Supported API: true
changeActivity - Change activitylistChangeables - List of changeables participating in change record associations with the passed in change activity
WTException
List<wt.change2.ReportedAgainstIfc> getEffectableReportedAgainsts(ChangeIssue changeIssue)
throws WTException
Supported API: true
changeIssue - Change issue to return valid effectivity targetable reported againsts of
WTException
List<wt.change2.ReportedAgainstIfc> getEffectableReportedAgainsts(ChangeIssue changeIssue,
List<Changeable2> listChangeables)
throws WTException
Supported API: true
changeIssue - Change issuelistChangeables - List of changeables participating in reported against associations with the passed in change issue
WTException
Map<Boolean,List<ChangeRecordIfc>> filterEffectableChangeRecords(ChangeOrderIfc changeNotice)
throws WTException
Supported API: true
changeNotice - Change notice to return valid effectivity targetable change records of
WTException
Set<EffRecord> cloneEffRecords(EffRecordable effRecordable)
throws WTException
effRecordable -
WTException
QueryResult getEffectivity(EffRecordable effRecordable)
throws WTException
effRecordable -
WTException
Map<Boolean,List<ChangeRecordIfc>> filterEffectableChangeRecords(List<ChangeActivityIfc> listChangeActivities)
throws WTException
Supported API: true
listChangeActivities - List of change activities
WTException
Map<Boolean,List<ChangeRecordIfc>> filterEffectableChangeRecords(ChangeActivityIfc changeActivity,
List<Changeable2> listChangeables)
throws WTException
Supported API: true
changeActivity - Change activitylistChangeables - List of changeables participating in change record associations with the passed in change activity
WTException
Map<Boolean,List<wt.change2.ReportedAgainstIfc>> filterEffectableReportedAgainsts(ChangeIssue changeIssue)
throws WTException
Supported API: true
changeIssue - Change issue to return valid effectivity targetable reported againsts of
WTException
Map<Boolean,List<wt.change2.ReportedAgainstIfc>> filterEffectableReportedAgainsts(ChangeIssue changeIssue,
List<Changeable2> listChangeables)
throws WTException
Supported API: true
changeIssue - Change issuelistChangeables - List of changeables participating in reported against associations with the passed in change issue
WTException
boolean hasPendingEffectivities(EffContext effContext)
throws WTException
Supported API: true
effContext - effectivity context
WTException
Map<EffManagedVersion,Set<Eff>> getEffs(WTSet setTargets)
throws WTException
setTargets -
WTException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||