[cap-talk] operations I am working on for my whiteboard.

John Carlson john.carlson3 at sbcglobal.net
Sat Jun 10 15:15:17 EDT 2006


Here are the operations and a short description that I am working on  
for my whiteboard
I would welcome suggestions on how to make this more generic, or more  
ordered.
For use cases, see my previous email.

Server:ATTACH
         Attach one capability to another capability (unordered)
         Parameters: 2 capabilities
         Return: detach capability
Server:CREATE
         Create a new database object of a given type, with an  
optional unique alias
         Parameters: Type, alias
         Return: a capability to a database object, error if alias  
already exists
Server:DELETE
         Remove one capability from another capability
         Parameters:  parent capability, capability to remove
         Return: boolean, success or failure
Server:DETACH
         Detach two capabilties from each other
         Parameters: detach capability created with Server:ATTACH
         Return: boolean, success or failure
Server:FACET
         Create a capability from another capability, subsetting the  
allowed operations
         Parameters: capability and suboperation
Server:INSERT
         Insert a capability into a database object (ordered)
         Parameters: parent capability, child capability, extra  
parameters
         Return: boolean, success or failure
Server:PUBLISH
         Publish a capability to a unique alias
         Parameters: capability to publish, unique alias
         Return: revoke capability to stop person from using the  
passed capability
Server:TRIGGER
         Read insert, update and delete operations from a capability.
         Parameters: capability to read from
         Return: a capability
Server:UPDATE
         Update a database object within a database
         Parameters: parent database, child object, parameters
         Return: boolean, success or failure



More information about the cap-talk mailing list