Versions Compared

Key

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

...

Proposed Future Implementation of CPS SPI

DataStore SPI


Name

Definition


 Capabilities

1DataStoreServiceProvides the basic information needed to access an object.
  • getDataNode(cpsPath)
  • getDataNode(cpsPath,outputSpecification)
  • count(CpsPath)
  • addDataNode(anchorName,dataNode)
  • addChild(cpsPathParent,dataNode)
  • addChildren(cpsPathParent,dataNode...)
  • updateDataNode(anchorName,dataNode)
  • setAttribute(cpsPath,attributeName,value)
  • deleteDataNode(cpsPath)
2DataNode Object
  • createDataNode()
  • getCpsPath()
  • getAttributes()
  • getAttribute(name)
  • getModule()

CpsAdmin SPI


Name

Definition

 Capabilities

1

DataspacePersistenceService


  • createDataspace
  • GetDataspace(dataspaceName)
  • GetDataspaces()
  • exists
2AnchorPersistenceService
  • createAnchor
  • getAnchors
  • getAnchor
  • deleteAnchor
  • associateAnchorToModuleSet
  • associateDataNodeToAnchor
  • associateAnchorToDataspace
3Dataspace Object
  • createDataspace()
  • getCpsPath()
  • getAttributes()
  • getAttribute(name)
  • getModule()
4Anchor Object
  • createAnchor()
  • getCpsPath()
  • getAttributes()
  • getAttribute(name)
  • getModule()

Module SPI


Name
Definition


 Capabilities

1

ModulePersistenceService

Adding functionality for handling attributes


  • createModuleSet
  • getChild
  • getChildren

  • getNamespace
  • storeModule
  • deleteModule
  • getModuleEntity
  • getDataspace
2BasicModuleObject
Create a simple CPS Module Object
  • createModule
  • getModule
  • getNamespace
  • getSchemaNodeIdentifier
  • getName
  • getVersion