Open Semantic Framework PHP API  3.0
 All Data Structures Namespaces Files Functions Variables Pages
UpdateEntityUriFunction Class Reference

Class used to define the parameters to use send a "updateEntityUriFunction" call to the Ontology: Update web service endpoint. More...

Inheritance diagram for UpdateEntityUriFunction:

Public Member Functions

 __construct ()
 
 oldUri ($uri)
 This is the current URI of the entity to update. More...
 
 newUri ($uri)
 This is the new URI to define for the entity. More...
 
 enableAdvancedIndexation ()
 Enable advanced indexation of the ontology. More...
 
 disableAdvancedIndexation ()
 Disable advanced indexation of the ontology. More...
 

Detailed Description

Class used to define the parameters to use send a "updateEntityUriFunction" call to the Ontology: Update web service endpoint.

See also
http://wiki.opensemanticframework.org/index.php/Ontology_Update#updateEntityUri
Author
Frederick Giasson, Structured Dynamics LLC.

Definition at line 20 of file UpdateEntityUriFunction.php.

Constructor & Destructor Documentation

__construct ( )

Definition at line 22 of file UpdateEntityUriFunction.php.

Member Function Documentation

disableAdvancedIndexation ( )

Disable advanced indexation of the ontology.

This means that the ontologies will be queriable via the Ontology Read, Ontology Update and Ontology Delete web service endpoints only

This is the default behavior of this service.

See also
http://wiki.opensemanticframework.org/index.php/Ontology_Update#updateEntityUri
Author
Frederick Giasson, Structured Dynamics LLC.

Definition at line 96 of file UpdateEntityUriFunction.php.

enableAdvancedIndexation ( )

Enable advanced indexation of the ontology.

This means that the ontology's description (so all the classes, properties and named individuals) will be indexed in the other data management system in OSF. This means that all the information in these ontologies will be accessible via the other endpoints such as the Search and the SPARQL web service endpoints. Enabling this option may render the creation process slower depending on the size of the created ontology.

See also
http://wiki.opensemanticframework.org/index.php/Ontology_Update#updateEntityUri
Author
Frederick Giasson, Structured Dynamics LLC.

Definition at line 79 of file UpdateEntityUriFunction.php.

newUri (   $uri)

This is the new URI to define for the entity.

This URI is replacing the olduri. After this query, this is the URI that will be referring to this entity.

Required: This function must be called before sending the query

Parameters
mixed$uriNew URI identifier
See also
http://wiki.opensemanticframework.org/index.php/Ontology_Update#updateEntityUri
Author
Frederick Giasson, Structured Dynamics LLC.

Definition at line 60 of file UpdateEntityUriFunction.php.

oldUri (   $uri)

This is the current URI of the entity to update.

This URI will be replaced by the newuri. After this query, that current URI won't be available anymore.

Required: This function must be called before sending the query

Parameters
mixed$uriOld URI identifier
See also
http://wiki.opensemanticframework.org/index.php/Ontology_Update#updateEntityUri
Author
Frederick Giasson, Structured Dynamics LLC.

Definition at line 40 of file UpdateEntityUriFunction.php.