CpsAdminService | - String createDataspace(String dataspaceName);
- Collection<String> getDataspaces();
- void deleteDataspace(String dataspaceName);
- String createAnchor(String dataspaceName, String anchorName);
- Collection<Anchor> getAnchors(String dataspaceName);
- Anchor getAnchor(String dataspaceName, String anchorName);
- void deleteAnchor(String dataspaceName, String anchorName);
- void associateAnchorToModuleSet(String dataspaceName, String moduleSetName, String anchorName);
|
DataService | - String addDataNode(String dataspaceName, String anchorName, DataNode dataNode);
- String addDataNode(String dataspaceName, String anchorName, String xPath, DataNode dataNode);
- Integer count(String dataspaceName, String anchorName, String cpsPath);
- Integer count(String dataspaceName, String cpsPath);
- void updateDataNode(String dataspaceName, String anchorName, DataNode dataNode);
- void setLeaf(String dataspaceName, String anchorName, String xPath, String leafName, Object leafValue);
|
QueryService | - DataNode getDataNode(String dataspaceName, String anchorName, String xPathId);
- Collection<DataNode> getDataNodes(String dataspaceName, String xPathId);
- Collection<DataNode> queryDataNodesByCPsPath(String dataspaceName, String cpsPath);
- Collection<DataNode> queryDataNodesBySchemaNodeIdentifier(String dataspaceName, String schemaNodeIdentifier);
|
Model Interface | Behavior interface that represents cps modules. | - Create a module set
- Add modules to a module set
- Read all modules
- Validate modules
- Upgrade a module set (individual module upgrade)
- Create a module set and validate it against a module reference (using a separate SPI)
|
Data Interface | Behavior interface that represents CPS data. | - Create a DataNode under an anchor.
- Delete a dataspace
- Create a dataspace
- Create an anchor
- Read an anchor of a particular DataNode
- Read an anchor in a namespace and dataspace
- Read all anchors for one dataspace
- Delete an anchor for a namespace in a dataspace
- Associate an anchor to a module set
- Associate an dataspace to a anchor
- Read all dataspaces
- Create a DataNode under another DataNode.
- Associate an a DataNode to a anchor
|
Query Interface | Provides the capability to query CPS data using XPaths. | Read the parent of a DataNode that matches an xpath expressionRead all DataNodes under an anchor pointRead the anchor of a DataNodeRead all DataNodes that match a schemaNodeIdentifier |