public interface IOperations
Modifier and Type | Method and Description |
---|---|
void |
createOperationInteriorNode(java.lang.String protocol,
java.lang.String parentPath,
java.lang.String name)
Create operation interior node on the next level of given parent path for given protocol.
|
void |
createOperationTransactionNode(java.lang.String protocol,
java.lang.String parentPath,
java.lang.String name,
java.lang.String transactionType)
Create operation transaction node under the parent path for given protocol.
|
void |
deleteOperationNode(java.lang.String protocol,
java.lang.String path)
Delete all operation nodes under given path for given protocol.
|
java.lang.String[] |
retrieveOperationChildNodes(java.lang.String protocol,
java.lang.String path)
Retrieve the names of child nodes under the operation path for given protocol.
|
java.util.List |
retrieveOperationInteriorNodePropertyDefinitions(java.lang.String protocol,
int level)
Retrieve property definition of interior node at given level of given protocol.
|
java.lang.Object[] |
retrieveOperationInteriorNodePropertyValues(java.lang.String protocol,
java.lang.String operationPath,
java.lang.String[] names)
Retrieve property values for given operation interior node.
|
java.lang.String[] |
retrieveOperationInteriorNodeTypes(java.lang.String protocol)
Retrieve interior node types of given protocol.
|
int |
retrieveOperationLevels(java.lang.String protocol)
Retrieve the number of levels in a protocol's operation tree.
|
java.util.List |
retrieveOperationTransactionNodePropertyDefinitions(java.lang.String protocol,
java.lang.String transactionType)
Retrieve property definition of given transaction type of given protocol.
|
java.lang.Object[] |
retrieveOperationTransactionNodePropertyValues(java.lang.String protocol,
java.lang.String operationPath,
OperationPropertyType propertyType,
java.lang.String[] names)
Retrieve property values for given operation transaction node.
|
java.lang.String[] |
retrieveOperationTransactionNodeTypes(java.lang.String protocol)
Retrieve transaction node types of given protocol.
|
void |
updateOperationInteriorNodePropertyValues(java.lang.String protocol,
java.lang.String operationPath,
java.lang.String[] names,
java.lang.Object[] values)
Set property values for given operation interior node.
|
void |
updateOperationTransactionNodePropertyValues(java.lang.String protocol,
java.lang.String operationPath,
OperationPropertyType propertyType,
java.lang.String[] names,
java.lang.Object[] values)
Set property values for given operation transaction node.
|
java.lang.String[] retrieveOperationChildNodes(java.lang.String protocol, java.lang.String path) throws ConfigException
protocol
- name of given protocol.path
- operation path. Pass '/' for the root.ConfigException
void createOperationInteriorNode(java.lang.String protocol, java.lang.String parentPath, java.lang.String name) throws ConfigException
protocol
- name of given protocol.parentPath
- the parent path.Pass '/' for the root to create top node.name
- name of created operation interior node.ConfigException
void createOperationTransactionNode(java.lang.String protocol, java.lang.String parentPath, java.lang.String name, java.lang.String transactionType) throws ConfigException
protocol
- name of given protocol.parentPath
- the parent path.name
- the name of the created operation transaction node.transactionType
- operation transaction type.Please refer to the related user guide documentation for all the transaction type of the specified protocol.ConfigException
void deleteOperationNode(java.lang.String protocol, java.lang.String path) throws ConfigException
protocol
- name of given protocol.path
- path of deleted operation. Pass '/' for the root.ConfigException
void updateOperationInteriorNodePropertyValues(java.lang.String protocol, java.lang.String operationPath, java.lang.String[] names, java.lang.Object[] values) throws ConfigException
protocol
- name of given protocol.operationPath
- operation path of given operation interior node.names
- names of updated property for given operation interior node.Please refer to the related user guide documentation for all the property names of the specified protocol.values
- values of updated property for given operation interior node.ConfigException
java.lang.Object[] retrieveOperationInteriorNodePropertyValues(java.lang.String protocol, java.lang.String operationPath, java.lang.String[] names) throws ConfigException
protocol
- name of given protocol.operationPath
- operation path of given operation interior node.names
- names of retrieved property for given operation interior node.Please refer to the related user guide documentation for all the property names of the specified protocol.ConfigException
void updateOperationTransactionNodePropertyValues(java.lang.String protocol, java.lang.String operationPath, OperationPropertyType propertyType, java.lang.String[] names, java.lang.Object[] values) throws ConfigException
protocol
- name of given protocol.operationPath
- operation path of given operation interior node.propertyType
- property types of updated property for given transaction node.Options: REGULAR: to update transaction properties. REQUEST, RESPONSE, NOTIFY, INBOUND, OUTBOUND: to update corresponding action properties of transaction.names
- names of updated property for given transaction node.Please refer to the related user guide documentation for all the property names of the specified protocol.values
- values of updated property for given operation transaction node.ConfigException
java.lang.Object[] retrieveOperationTransactionNodePropertyValues(java.lang.String protocol, java.lang.String operationPath, OperationPropertyType propertyType, java.lang.String[] names) throws ConfigException
protocol
- name of given protocol.operation
- path of given operation transaction node.propertyType
- property types of retrieved property for given transaction node.Options: REGULAR: to retrieve transaction properties. REQUEST, RESPONSE, NOTIFY, INBOUND, OUTBOUND: to retrieve corresponding action properties of transaction.names
- names of retrieved property for given operation transaction node.Please refer to the related user guide documentation for all the property names of the specified protocol.ConfigException
int retrieveOperationLevels(java.lang.String protocol) throws ConfigException
protocol
- name of given protocol.ConfigException
java.lang.String[] retrieveOperationInteriorNodeTypes(java.lang.String protocol) throws ConfigException
protocol
- name of given protocol.ConfigException
java.lang.String[] retrieveOperationTransactionNodeTypes(java.lang.String protocol) throws ConfigException
protocol
- name of given protocol.ConfigException
java.util.List retrieveOperationInteriorNodePropertyDefinitions(java.lang.String protocol, int level) throws ConfigException
protocol
- name of given protocol.level
- given level.ConfigException
java.util.List retrieveOperationTransactionNodePropertyDefinitions(java.lang.String protocol, java.lang.String transactionType) throws ConfigException
protocol
- name of given protocol.transactionType
- given transaction type.ConfigException