|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectwt.eff.EffConfigSpec
public class EffConfigSpec
A primitive config spec used to filter based on an Eff, its EffContext
and a value for which the EffManagedVersion should be effective.
Use the newEffConfigSpec static factory method(s), not the
EffConfigSpec 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
appendSearchCriteria(wt.query.QuerySpec),
process(wt.fc.QueryResult),
Serialized Form| Field Summary | |
|---|---|
static String |
EFF_CONTEXT
Label for the attribute; The context for which the value should be applied to. |
| Method Summary | |
|---|---|
QuerySpec |
appendSearchCriteria(QuerySpec querySpec)
Restricts the query to return only those items with the specified EffConfigSpec#effContext and whose value
is between the start and end values any effectivities. |
EffContext |
getEffContext()
Gets the value of the attribute: EFF_CONTEXT. |
protected void |
initialize(EffContext an_EffContext,
Class an_EffType)
Supports initialization, following construction of an instance. |
protected void |
initialize(EffContext an_EffContext,
Class an_EffType,
Serializable a_Value)
Supports initialization, following construction of an instance. |
protected void |
initialize(EffContext an_EffContext,
Class an_EffType,
String a_ValueAsString)
Supports initialization, following construction of an instance. |
static EffConfigSpec |
newEffConfigSpec(EffContext an_EffContext,
Class an_EffType)
Factory to construct an EffConfigSpec based on the context and a type. |
static EffConfigSpec |
newEffConfigSpec(EffContext an_EffContext,
Class an_EffType,
Serializable a_Value)
Factory to construct an EffConfigSpec based on the context, a type, and a value. |
static EffConfigSpec |
newEffConfigSpec(EffContext an_EffContext,
Class an_EffType,
String a_ValueAsString)
Factory to construct an EffConfigSpec based on the context, a type, and string value. |
QueryResult |
process(QueryResult results)
Returns the elements passed in. |
void |
setEffContext(EffContext a_EffContext)
Sets the value of the attribute: EFF_CONTEXT. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String EFF_CONTEXT
| Method Detail |
|---|
public EffContext getEffContext()
throws ObjectNoLongerExistsException
ObjectNoLongerExistsException
public void setEffContext(EffContext a_EffContext)
throws WTPropertyVetoException
a_EffContext -
WTPropertyVetoException
public QuerySpec appendSearchCriteria(QuerySpec querySpec)
throws WTException,
QueryException
EffConfigSpec#effContext and whose value
is between the start and end values any effectivities. It also must
handle the possibility of null values for the end of an effectivity
range.
appendSearchCriteria in interface ConfigSpecquerySpec - A QuerySpec with a target class that is Iterated.
WTException
QueryExceptionQuerySpec,
SearchCondition
public QueryResult process(QueryResult results)
throws WTException
process in interface ConfigSpecresults - QueryResult of iterations to filter. Assumed to be the result of a query that included the additional search conditions applied by appendSearchCriteria. Note that after enumerating through the elements of this QueryResult, it should be reset.
WTExceptionQueryResult,
Iterated
public static EffConfigSpec newEffConfigSpec(EffContext an_EffContext,
Class an_EffType)
throws WTPropertyVetoException
an_EffContext - an_EffType -
WTPropertyVetoException
protected void initialize(EffContext an_EffContext,
Class an_EffType)
throws WTPropertyVetoException
an_EffContext - an_EffType -
WTPropertyVetoException
public static EffConfigSpec newEffConfigSpec(EffContext an_EffContext,
Class an_EffType,
Serializable a_Value)
throws WTPropertyVetoException
an_EffContext - an_EffType - a_Value -
WTPropertyVetoException
protected void initialize(EffContext an_EffContext,
Class an_EffType,
Serializable a_Value)
throws WTPropertyVetoException
an_EffContext - an_EffType - a_Value -
WTPropertyVetoException
public static EffConfigSpec newEffConfigSpec(EffContext an_EffContext,
Class an_EffType,
String a_ValueAsString)
throws WTPropertyVetoException
an_EffContext - an_EffType - a_ValueAsString -
WTPropertyVetoException
protected void initialize(EffContext an_EffContext,
Class an_EffType,
String a_ValueAsString)
throws WTPropertyVetoException
an_EffContext - an_EffType - a_ValueAsString -
WTPropertyVetoException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||