maxirom/VIE — pull request #9 by mere01 (2012-11-15 10:12:44+00:00)
Title: updates

added / updated functionality (on the level of StanbolConnector):

enhancer
--------
*updated*:
- analyze() accepts new parameters
*new*:
- enhancers(): returns info about the available enhancement chains and engines
- getExecutionPlan(): returns the Execution Plan used by the enhancement endpoint

ontonet (*new*)
-------
- createScope()
- getScope()
- getOntology() from a scope or session
- getLibrary() from a scope or session
- deleteScope() delete a specific scope, or all scopes at once
- ontoScopes() retrieves a list of all stored scopes
- createSession()
- deleteSession()
- updateScopes() appends and/or detaches scopes to and from sessions
- detachOntology() from a session
- getSession()
- ontoSessions() retrieves a list of all stores sessions

entityhub
---------
*new*:
- createEntity() alias load()
- updateEntity()
- deleteEntity()
- getMapping() looks up mappings from local Entities to Entities managed by a Referenced Site

contenthub
----------
*new*:
- getTextContentByID() retrieves the text content of a content item
- getMetadataByID() retrieves the metadata of a content item
- createIndex() i.e., a new ldpath program
- deleteIndex()
- contenthubIndices() returns a list of all indices
- getIndex()
- existsIndex()
- deleteContent() deletes a specific content item
- editContent() returns a JSON string of a content item (to be edited) to display it in the HTML view
- downloadContent() download of raw data or metadata of a content item
- updateContent()
*updated*:
- uploadContent() now allowing for form elements

cmsadapter (*new*)
----------
- getReposSessionKey()
- mapRDFtoRepository()
- mapRepositoryToRDF()
- submitRepositoryItem() to the contenthub
- deleteRepositoryItem() from the contenthub
testing these functionalities requires configuration of the utils/api_keys.js file in order to specify a content repository

factstore
---------
*new*
- getFactData() retrieves the definition of an existing fact schema or fact

rules (*new*)
-----
functionality prepared, but not used as yet because Stanbol does not allow
CORS access on this endpoint.