|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.adf.web.ags.data.gp.GPDateParam
public class GPDateParam
| Field Summary | |
|---|---|
static java.lang.String |
GP_DATA_TYPE
|
| Constructor Summary | |
|---|---|
GPDateParam()
|
|
| Method Summary | |
|---|---|
void |
afterTaskExecute(java.lang.String jobID)
|
void |
beforeTaskExecute()
|
ResultNode |
createResultNode(java.lang.String jobID)
|
org.w3c.dom.Element |
generateXML(java.lang.Object task)
Generates the XML content for this parameter. |
java.lang.String |
getDisplayName()
Returns the display text for the parameter. |
java.lang.String |
getDisplayText()
|
java.lang.String |
getGPDataType()
|
com.esri.arcgisws.GPParameterInfo |
getGPParamInfo()
|
java.lang.String |
getName()
Returns the name of the parameter. |
java.lang.Object |
getParamValue(java.lang.Object task)
Returns the current value of the parameter for the given task. |
java.lang.String |
getRendererType()
Returns the renderer type for the parameter. |
java.util.Calendar |
getValue()
|
void |
initParam(AGSGPFunctionality gpFunc,
com.esri.arcgisws.GPParameterInfo gpParamInfo)
|
java.lang.Object |
setParamValue(java.lang.Object task,
java.lang.String strVal)
Sets the parameter value on the task and returns the set value. |
void |
setValue(java.util.Calendar value)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String GP_DATA_TYPE
| Constructor Detail |
|---|
public GPDateParam()
| Method Detail |
|---|
public void initParam(AGSGPFunctionality gpFunc,
com.esri.arcgisws.GPParameterInfo gpParamInfo)
initParam in interface GPParampublic java.lang.String getGPDataType()
getGPDataType in interface GPParampublic java.util.Calendar getValue()
public void setValue(java.util.Calendar value)
public java.lang.String toString()
toString in class java.lang.Objectpublic com.esri.arcgisws.GPParameterInfo getGPParamInfo()
getGPParamInfo in interface GPParam
public java.lang.Object setParamValue(java.lang.Object task,
java.lang.String strVal)
TaskParamDescriptorModelSets the parameter value on the task and returns the set value. This method should convert the string input to the appropriate parameter type before setting the parameter.
setParamValue in interface TaskParamDescriptorModeltask - the task object on which to set the parameter valuestrVal - the string representation of the parameter value to be set
public java.lang.Object getParamValue(java.lang.Object task)
TaskParamDescriptorModelReturns the current value of the parameter for the given task.
getParamValue in interface TaskParamDescriptorModeltask - the task object
public org.w3c.dom.Element generateXML(java.lang.Object task)
TaskParamDescriptorModelGenerates the XML content for this parameter. This XML is then transformed by the XSL used by the task control to generate the appropriate markup.
Note that if you implement this method and generate custom XML,
you'll also need to provide the XSL that transforms this XML into the appropriate markup.
The XSL file that the task control should use can be specified by using the xslFile attribute of the task tag.
generateXML in interface TaskParamDescriptorModeltask - the task object
Elementpublic java.lang.String getName()
TaskParamDescriptorModelReturns the name of the parameter.
If your task class has a pair of setParam(paramValue) and getParam() (isParam() for booleans) methods,
the name of your parameter is param.
getName in interface TaskParamDescriptorModelpublic java.lang.String getDisplayName()
TaskParamDescriptorModel
getDisplayName in interface TaskParamDescriptorModelpublic java.lang.String getRendererType()
TaskParamDescriptorModelReturns the renderer type for the parameter. The renderers supported out of the box are text boxes, checkboxes, radio buttons and dropdowns.
getRendererType in interface TaskParamDescriptorModelpublic java.lang.String getDisplayText()
public ResultNode createResultNode(java.lang.String jobID)
createResultNode in interface GPParampublic void beforeTaskExecute()
beforeTaskExecute in interface GPParampublic void afterTaskExecute(java.lang.String jobID)
afterTaskExecute in interface GPParam
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||