Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...


Name


 Capabilities

1DataStoreService
  • String addDataNode(String dataspaceName, String anchorName, DataNode dataNode);
  • String addDataNode(String dataspaceName, String anchorName, String xPath, DataNode dataNode);​
  • String getCpsPath(String dataspaceName, String anchorName, DataNode dataNode);
  • String getCpsPath(String dataspaceName, String anchorName, DataNode dataNode);
  • DataNode getDataNode(String dataspaceName, String anchorName, String xPathId);
  • Collection<DataNode> queryDataNodes(String dataspaceName, String anchorName, String cpsPath);
  • Collection<DataNode> queryDataNodes(String dataspaceName, String anchorName, String cpsPath, String outputSpecification);
  • 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 xPathId, String leafName, Object leafValue);
  • Void deleteDataNode(String dataspaceName, String anchorName, String xPathId);
2DataNode Object
  • DataNode createDataNode(DataNode)
  • String getCpsPath()
  • DataNode getAttributes()
  • DataNode getAttribute(name)
  • Void setAttributes()
  • Void setAttribute(name)
  • Module getModule(moduleName)

CpsAdmin SPI


Name


 Capabilities

1
CpsAdminService
  • String createDataspace(String dataspaceName);
  • String createAnchor(String dataspaceName, String anchorName);
  • List<String> getDataspaces();
  • 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);
  • boolean exists(String dataspaceName);
2

DataspacePersistenceService


  • Void createDataspace(dataspaceName)
  • Void getDataspace(dataspaceName)
  • Void getDataspaces()
  • boolean exists(dataspaceName)
3AnchorPersistenceService
  • Void createAnchor(dataspaceName, anchorName)
  • Anchor getAnchors()
  • Anchor getAnchor(anchorName)
  • Void deleteAnchor(anchorName)
  • Void associateAnchor(anchorName, moduleSetName)
  • Void associateAnchor(anchorName, moduleRef)
  • Void addDataNode(anchorName, dataNode)
4Dataspace (object)
  • Void createDataspace(dataspaceName)
  • String getName(Dataspace)
5Anchor Object
  • Void createAnchor(anchorName)
  • String getName(Anchor)

Module SPI


Name


 Capabilities

1
ModuleStoreService
  • Collection<String> getModules(String dataspaceName, String moduleSetName);
  • Collection<ModuleRef> getModuleRefs(String dataspaceName, String moduleSetName);
  • Void deleteModuleSet(String dataspaceName, String moduleSetName);
2

ModulePersistenceService


  • YangModule getModule(moduleRef)
  • Collection<YangModule> getModules(moduleSetName)
3YangModule
  • ModuleRef getModuleRef(moduleRef)
  • String getModuleContent(moduleRef)
4ModuleRef
  • String getNamespace(moduleRef)
  • String getRevision(moduleRef)
5ModuleSet
  • String getName(moduleRef)
  • Collection<ModuleRef> getModuleRefs()