|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DataService
Data Service interface. A Data Service holds metadata about a common design pattern used by integration builders, involving one or more operations, where an operation has an arg-less method, and pulls inputs from WebApp Variable and puts results into another WebApp Variable.
Field Summary |
---|
Fields inherited from interface com.bowstreet.webapp.WebAppObject |
---|
ALWAYS_VISIBLE, INFORMATION_PROPERTY, NEVER_VISIBLE, SOMETIMES_VISIBLE |
Method Summary | |
---|---|
LogicalOperationDescriptor |
addLogicalOperation(java.lang.String logicalName,
java.lang.String operationName,
java.lang.String keyRequired,
java.lang.String keyProduced)
Adds a new logical operation to the list |
ServiceOperation |
addOperation(java.lang.String name,
java.lang.String executionMethodName)
Adds ServiceOperation to WebApp. |
LogicalOperationDescriptor |
getLogicalOperation(java.lang.String logicalName)
Get the LogicalOperationDescriptor about an function. |
java.util.Iterator |
getLogicalOperations()
get an iterator to all the LogicalOperationDescriptor objects defined. |
ServiceOperation |
getOperation(java.lang.String name)
Get ServiceOperation by name. |
java.util.Iterator |
getOperations()
Get all the operations for this service. |
Methods inherited from interface com.bowstreet.webapp.WebAppObject |
---|
clone, getBuilderCall, getName, getProperties, getProperty, getVisibility, isHidden, putProperty, setBuilderCall, setHidden, setName, setVisibility |
Methods inherited from interface com.bowstreet.util.IExemplar |
---|
newInstance |
Method Detail |
---|
LogicalOperationDescriptor addLogicalOperation(java.lang.String logicalName, java.lang.String operationName, java.lang.String keyRequired, java.lang.String keyProduced)
logicalName
- Usually one of the LogicalOperationDescriptor.LOGICAL_OPERATION_ stringsoperationName
- the service operation name (req)keyRequired
- name that must be among this op's input values, or nullkeyProduced
- name that must be among this op's result values, or nullServiceOperation addOperation(java.lang.String name, java.lang.String executionMethodName)
name
- Name of the operation.executionMethodName
- Name of the corresponding method for executing the operation.
LogicalOperationDescriptor getLogicalOperation(java.lang.String logicalName)
logicalName
- Usually one of the LogicalOperationDescriptor.LOGICAL_OPERATION_ strings
java.util.Iterator getLogicalOperations()
ServiceOperation getOperation(java.lang.String name)
name
- The name of the ServiceOperation.
java.util.Iterator getOperations()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |