|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.eff.EffServiceFwd
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)
Field 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 | |
EffServiceFwd()
|
Method Summary | |
QueryResult |
getAllContexts()
Return all EffContext objects in the DB. |
EffConfigurationItem |
getEffConfigurationItem(String name)
Returns the EffConfigurationItem that has this name. |
Eff[] |
getEffectivities(EffManagedVersion version,
EffContext context,
Class effType,
boolean includeHistory)
Returns a sorted array of Eff objects of the concrete type represented by the effType parameter, and related to the version and context parameters. |
QueryResult |
getEffs(EffManagedVersion version)
For a given EffManagedVersion, return all Effs assigned to it. |
QueryResult |
getInstances(EffConfigurationItem configItem)
Returns all ProductInstances for this EffConfigurationItem. |
private static Manager |
getManager()
|
ProductSolution |
getSolution(EffConfigurationItem effConfigurationItem)
Gets the ProductSolution for this EffConfigurationItem, returning null if none exist. |
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 EffServiceFwd()
Method Detail |
private static Manager getManager() throws WTException
WTException
public QueryResult getEffs(EffManagedVersion version) throws WTException
getEffs
in interface EffService
version
-
WTException
public QueryResult getAllContexts() throws WTException
getAllContexts
in interface EffService
WTException
public EffConfigurationItem getEffConfigurationItem(String name) throws WTException
getEffConfigurationItem
in interface EffService
name
-
WTException
public ProductSolution getSolution(EffConfigurationItem effConfigurationItem) throws WTException
getSolution
in interface EffService
effConfigurationItem
-
WTException
public QueryResult getInstances(EffConfigurationItem configItem) throws WTException
getInstances
in interface EffService
configItem
-
WTException
public Eff[] getEffectivities(EffManagedVersion version, EffContext context, Class effType, boolean includeHistory) throws WTException
getEffectivities
in interface EffService
version
- EffManagedVersion object for which related Eff objects are to be retrieved -- may not be nullcontext
- EffContext object for which related Eff objects are to be retrieved -- may be null to signify context-free (global) effectivityeffType
- Class object representing the concrete type of the Eff objects in the result set: only Eff objects of this type will be returned -- may not be null and must represent a concrete implementation of the wt.eff.Eff interfaceincludeHistory
- boolean value indicating whether the result should include factually deleted (i.e., historical) Eff objects
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |