public interface CustomResourceInterface
extends java.io.Serializable
Modifier and Type | Method and Description |
---|---|
java.lang.String |
execute(ResourceRequestInterface resourceRequest,
java.lang.String command)
This method is invoked each time a command is issued against the custom resource.
|
void |
fetchTable(ResourceRequestInterface resourceRequest,
java.lang.String tableId)
This method notifies the resource that table data has been requested from this resource.
|
java.util.Collection |
getCommandNames()
Returns a collection of names of commands supported by the execute method of this resource.
|
java.util.Collection |
getParameterNames()
Returns a collection of names of parameters which this resource implementation needs to be supplied by the user.
|
void |
updateTable(ResourceRequestInterface resourceRequest,
java.lang.String tableId)
This method notifies the resource that table data is being updated to this resource.
|
java.lang.String execute(ResourceRequestInterface resourceRequest, java.lang.String command) throws com.ebasetech.ufs.kernel.FormException
resourceRequest
- the call back interface that is used for accessing fields
and attributes of the custom resourcecommand
- the command issued. These can be checked against constants in the
ResourceRequestInterfacecom.ebasetech.ufs.kernel.FormException
void fetchTable(ResourceRequestInterface resourceRequest, java.lang.String tableId) throws com.ebasetech.ufs.kernel.FormException
resourceRequest
- the call back interface that is used for accessing fields
and attributes of the custom resourcetableId
- is the name of the resource field which is mapped to
the form table against which a fetchtable command has been issued.com.ebasetech.ufs.kernel.FormException
void updateTable(ResourceRequestInterface resourceRequest, java.lang.String tableId) throws com.ebasetech.ufs.kernel.FormException
resourceRequest
- the call back interface that is used for accessing fields
and attributes of the custom resourcetableId
- is the name of the resource field which is mapped to
the form table against which an updatetable command has been issued.com.ebasetech.ufs.kernel.FormException
java.util.Collection getParameterNames()
java.util.Collection getCommandNames()