|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.makumba.list.engine.valuecomputer.ValueComputer org.makumba.list.engine.valuecomputer.QueryValueComputer org.makumba.list.engine.valuecomputer.SetValueComputer
public class SetValueComputer
The manager of a setValueQuery.
Field Summary | |
---|---|
(package private) String |
name
If we are in a value tag, the name of the queryProjection that computes the title field, otherwise null |
(package private) int |
nameIndex
If we are in a value tag, the index of the queryProjection that computes the title field, otherwise null |
Fields inherited from class org.makumba.list.engine.valuecomputer.QueryValueComputer |
---|
dummy, queryKey |
Fields inherited from class org.makumba.list.engine.valuecomputer.ValueComputer |
---|
expr, parentKey, projectionIndex, type |
Constructor Summary | |
---|---|
SetValueComputer(boolean isValue,
MultipleKey parentListKey,
FieldDefinition set,
String setExpr,
PageCache pageCache)
Makes a query that has an extra FROM: the set requested. |
Method Summary | |
---|---|
void |
doEndAnalyze(PageCache pageCache)
Computes nameIndex |
Object |
getValue(PageContext pageContext)
Goes through the iterationGroupData and returns a vector with the set values. |
void |
print(ValueTag running,
PageCache pageCache)
Goes through the iterationGroupData and prints the set values, comma-separated; also sets var (Vector with the set values) and printVar |
Methods inherited from class org.makumba.list.engine.valuecomputer.QueryValueComputer |
---|
getQueryKey, makeQueryAtAnalysis, runQuery |
Methods inherited from class org.makumba.list.engine.valuecomputer.ValueComputer |
---|
getFormattedValue, getProjectionIndex, getType, getValueComputerAtAnalysis, isPointer |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
String name
int nameIndex
Constructor Detail |
---|
SetValueComputer(boolean isValue, MultipleKey parentListKey, FieldDefinition set, String setExpr, PageCache pageCache)
isValue
- whether this is a value computation (mak:value, value EL expression)parentListKey
- the key of the parent listset
- the FieldDefinition of the set we want to compute a value ofsetExpr
- the expression of the setpageCache
- the page cache of the current pageMethod Detail |
---|
public void doEndAnalyze(PageCache pageCache)
doEndAnalyze
in class QueryValueComputer
pageCache
- the page cache of the current pagepublic Object getValue(PageContext pageContext) throws LogicException
getValue
in class ValueComputer
running
- the tag that is currently running
LogicException
public void print(ValueTag running, PageCache pageCache) throws JspException, LogicException
print
in class ValueComputer
running
- the tag that is currently runningpageCache
- the pageCache of the current page
JspException
LogicException
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |