|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectwt.services.StandardManager
wt.eff.StandardEffService
public class StandardEffService
This standard implementation of EffService implements much extra
functionality via listeners defined in performStartupProcess().
In particular:
Effs of an EffManagedVersion
when it is deletedEffContext deletion if its being referenced
by existing EffsProductInstances for an EffConfigItem
when the configuration item is deletedEffConfigItem's reference to a ProductSolution when the product solution is deletedEffs from the original to the working
copyEffs with the working
copy'sEffsEffs Using EffGroupAssistantProductInstance
that has either not been built or that was built after the assigned incorporation
date.
Use the newStandardEffService static factory method(s),
not the StandardEffService 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
| 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. |
| 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 QueryResult getEffs(EffManagedVersion version)
throws WTException
getEffs in interface EffServiceversion -
WTException
public QueryResult getAllContexts()
throws WTException
getAllContexts in interface EffServiceWTException
public EffConfigurationItem getEffConfigurationItem(String name)
throws WTException
getEffConfigurationItem in interface EffServicename -
WTException
public QueryResult getInstances(EffConfigurationItem configItem)
throws WTException
getInstances in interface EffServiceconfigItem -
WTException
public List<ChangeRecordIfc> getEffectableChangeRecords(ChangeOrderIfc changeNotice)
throws WTException
Supported API: true
getEffectableChangeRecords in interface EffServicechangeNotice - Change notice to return valid effectivity targetable change records of
WTException
public List<ChangeRecordIfc> getEffectableChangeRecords(List<ChangeActivityIfc> listChangeActivities)
throws WTException
Supported API: true
getEffectableChangeRecords in interface EffServicelistChangeActivities - List of change activities
WTException
public List<ChangeRecordIfc> getEffectableChangeRecords(ChangeActivityIfc changeActivity,
List<Changeable2> listChangeables)
throws WTException
Supported API: true
getEffectableChangeRecords in interface EffServicechangeActivity - Change activitylistChangeables - List of changeables participating in change record associations with the passed in change activity
WTException
public List<wt.change2.ReportedAgainstIfc> getEffectableReportedAgainsts(ChangeIssue changeIssue)
throws WTException
Supported API: true
getEffectableReportedAgainsts in interface EffServicechangeIssue - Change issue to return valid effectivity targetable reported againsts of
WTException
public List<wt.change2.ReportedAgainstIfc> getEffectableReportedAgainsts(ChangeIssue changeIssue,
List<Changeable2> listChangeables)
throws WTException
Supported API: true
getEffectableReportedAgainsts in interface EffServicechangeIssue - Change issuelistChangeables - List of changeables participating in reported against associations with the passed in change issue
WTException
public Map<Boolean,List<ChangeRecordIfc>> filterEffectableChangeRecords(ChangeOrderIfc changeNotice)
throws WTException
Supported API: true
filterEffectableChangeRecords in interface EffServicechangeNotice - Change notice to return valid effectivity targetable change records of
WTException
public Set<EffRecord> cloneEffRecords(EffRecordable effRecordable)
throws WTException
cloneEffRecords in interface EffServiceeffRecordable -
WTException
public QueryResult getEffectivity(EffRecordable effRecordable)
throws WTException
getEffectivity in interface EffServiceeffRecordable -
WTException
public Map<Boolean,List<ChangeRecordIfc>> filterEffectableChangeRecords(List<ChangeActivityIfc> listChangeActivities)
throws WTException
Supported API: true
filterEffectableChangeRecords in interface EffServicelistChangeActivities - List of change activities
WTException
public Map<Boolean,List<ChangeRecordIfc>> filterEffectableChangeRecords(ChangeActivityIfc changeActivity,
List<Changeable2> listChangeables)
throws WTException
Supported API: true
filterEffectableChangeRecords in interface EffServicechangeActivity - Change activitylistChangeables - List of changeables participating in change record associations with the passed in change activity
WTException
public Map<Boolean,List<wt.change2.ReportedAgainstIfc>> filterEffectableReportedAgainsts(ChangeIssue changeIssue)
throws WTException
Supported API: true
filterEffectableReportedAgainsts in interface EffServicechangeIssue - Change issue to return valid effectivity targetable reported againsts of
WTException
public Map<Boolean,List<wt.change2.ReportedAgainstIfc>> filterEffectableReportedAgainsts(ChangeIssue changeIssue,
List<Changeable2> listChangeables)
throws WTException
Supported API: true
filterEffectableReportedAgainsts in interface EffServicechangeIssue - Change issuelistChangeables - List of changeables participating in reported against associations with the passed in change issue
WTException
public boolean hasPendingEffectivities(EffContext effContext)
throws WTException
Supported API: true
hasPendingEffectivities in interface EffServiceeffContext - effectivity context
WTException
public Map<EffManagedVersion,Set<Eff>> getEffs(WTSet setTargets)
throws WTException
getEffs in interface EffServicesetTargets -
WTException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||