|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ragic.s3.service.workflow.ScriptPreflowParameter
public class ScriptPreflowParameter
ScriptPreflowParameter is an implementation of ScriptParameter in Ragic pre-workflow.
User: liberation
Date: 2010/10/5
Time: 11:07:06 am
Constructor Summary | |
---|---|
ScriptPreflowParameter(java.util.Map<java.lang.String,java.lang.String[]> m,
com.ragic.s3.nui.NUIForm form)
For internal use only. |
|
ScriptPreflowParameter(com.ragic.s3.nui.NUIForm form)
For internal use only. |
Method Summary | |
---|---|
int |
getNewNodeId(int domainId)
Returns the node ID of given field after new value being written. |
java.util.List<java.lang.Integer> |
getNewNodeIds(int domainId)
Similar to getNewNodeId, but can access multiple IDs at the same time, which is useful when dealing with multiple-selection fields. |
java.lang.String |
getNewValue(int domainId)
Returns the value of given field after new value being written. Returned value should be the same value as getOldNodeId if no change submitted. |
java.util.List<java.lang.String> |
getNewValues(int domainId)
Similar to getNewValue, but can access multiple values at the same time, which is useful when dealing with multiple-selection fields. |
int |
getOldNodeId(int domainId)
Returns the node ID of given field before new value being written. |
java.util.List<java.lang.Integer> |
getOldNodeIds(int domainId)
Similar to getOldNodeId, but can access multiple IDs at the same time, which is useful when dealing with multiple-selection fields. |
java.lang.String |
getOldValue(int domainId)
Returns the value of given field before new value being written. |
java.util.List<java.lang.String> |
getOldValues(int domainId)
Similar to getOldValue, but can access multiple values at the same time, which is useful when dealing with multiple-selection fields. |
java.lang.String |
getOperationType(int domainId)
|
java.util.List<ScriptParameter> |
getSubtableEntry(int domainId)
Returns a list of ScriptParameters which can manipulated each record in the subtale. With toArray() every item in list can be called by each index, which is recommended. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ScriptPreflowParameter(java.util.Map<java.lang.String,java.lang.String[]> m, com.ragic.s3.nui.NUIForm form)
public ScriptPreflowParameter(com.ragic.s3.nui.NUIForm form)
Method Detail |
---|
public int getOldNodeId(int domainId)
ScriptParameter
getOldNodeId
in interface ScriptParameter
domainId
- field ID of interest
public java.util.List<java.lang.Integer> getOldNodeIds(int domainId)
ScriptParameter
getOldNodeIds
in interface ScriptParameter
domainId
- field ID of interest
ScriptParameter.getOldNodeId(int)
public java.lang.String getOldValue(int domainId)
ScriptParameter
getOldValue
in interface ScriptParameter
domainId
- field ID of interest
public java.util.List<java.lang.String> getOldValues(int domainId)
ScriptParameter
getOldValues
in interface ScriptParameter
domainId
- field ID of interest
ScriptParameter.getOldValue(int)
public java.lang.String getOperationType(int domainId)
getOperationType
in interface ScriptParameter
public int getNewNodeId(int domainId)
ScriptParameter
getNewNodeId
in interface ScriptParameter
domainId
- field ID of interest
public java.util.List<java.lang.Integer> getNewNodeIds(int domainId)
ScriptParameter
getNewNodeIds
in interface ScriptParameter
domainId
- field ID of interest
ScriptParameter.getNewNodeId(int)
public java.lang.String getNewValue(int domainId)
ScriptParameter
getNewValue
in interface ScriptParameter
domainId
- field ID of interest
public java.util.List<java.lang.String> getNewValues(int domainId)
ScriptParameter
getNewValues
in interface ScriptParameter
domainId
- field ID of interest
ScriptParameter.getNewValue(int)
public java.util.List<ScriptParameter> getSubtableEntry(int domainId)
ScriptParameter
getSubtableEntry
in interface ScriptParameter
domainId
- the root field ID of the subtable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |