diff --git a/doc/RDFService/allclasses-frame.html b/doc/RDFService/allclasses-frame.html new file mode 100644 index 000000000..6fe4f7f04 --- /dev/null +++ b/doc/RDFService/allclasses-frame.html @@ -0,0 +1,49 @@ + + + + + + +All Classes + + + + + + + + + + + +All Classes +
+ + + + + +
ChangeListener +
+ChangeSet +
+ModelChange +
+ModelChange.Operation +
+RDFService +
+RDFService.ModelSerializationFormat +
+RDFService.ResultFormat +
+RDFService.SPARQLQueryType +
+RDFServiceException +
+RDFServiceFactory +
+
+ + + diff --git a/doc/RDFService/allclasses-noframe.html b/doc/RDFService/allclasses-noframe.html new file mode 100644 index 000000000..2a28b7e01 --- /dev/null +++ b/doc/RDFService/allclasses-noframe.html @@ -0,0 +1,49 @@ + + + + + + +All Classes + + + + + + + + + + + +All Classes +
+ + + + + +
ChangeListener +
+ChangeSet +
+ModelChange +
+ModelChange.Operation +
+RDFService +
+RDFService.ModelSerializationFormat +
+RDFService.ResultFormat +
+RDFService.SPARQLQueryType +
+RDFServiceException +
+RDFServiceFactory +
+
+ + + diff --git a/doc/RDFService/constant-values.html b/doc/RDFService/constant-values.html new file mode 100644 index 000000000..b57508575 --- /dev/null +++ b/doc/RDFService/constant-values.html @@ -0,0 +1,144 @@ + + + + + + +Constant Field Values + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Constant Field Values

+
+
+Contents + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/RDFService/deprecated-list.html b/doc/RDFService/deprecated-list.html new file mode 100644 index 000000000..69fe1da5e --- /dev/null +++ b/doc/RDFService/deprecated-list.html @@ -0,0 +1,144 @@ + + + + + + +Deprecated List + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Deprecated API

+
+
+Contents + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/RDFService/edu/cornell/mannlib/vitro/webapp/rdfservice/ChangeListener.html b/doc/RDFService/edu/cornell/mannlib/vitro/webapp/rdfservice/ChangeListener.html new file mode 100644 index 000000000..fcd08b16f --- /dev/null +++ b/doc/RDFService/edu/cornell/mannlib/vitro/webapp/rdfservice/ChangeListener.html @@ -0,0 +1,259 @@ + + + + + + +ChangeListener + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +edu.cornell.mannlib.vitro.webapp.rdfservice +
+Interface ChangeListener

+
+
+
public interface ChangeListener
+ + +

+An interface for listening to triples that are added to or removed + from the triple store, and other miscellaneous events. +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddedStatement(java.lang.String serializedTriple, + java.lang.String graphURI) + +
+          Override this to listen to all statements added to the RDF store.
+ voidnotifyEvent(java.lang.String graphURI, + java.lang.Object event) + +
+          Override this to listen to events pertaining to the given graphURI.
+ voidremovedStatement(java.lang.String serializedTriple, + java.lang.String graphURI) + +
+          Override this to listen to all statements removed from the RDF store.
+  +

+ + + + + + + + +
+Method Detail
+ +

+addedStatement

+
+void addedStatement(java.lang.String serializedTriple,
+                    java.lang.String graphURI)
+
+
Override this to listen to all statements added to the RDF store. +

+

+
Parameters:
serializedTriple - - the added statement in n3 format
graphURI - - the graph to which the statement was added
+
+
+
+ +

+removedStatement

+
+void removedStatement(java.lang.String serializedTriple,
+                      java.lang.String graphURI)
+
+
Override this to listen to all statements removed from the RDF store. +

+

+
Parameters:
serializedTriple - - the removed statement in n3 format
graphURI - - the graph from which the statement was removed
+
+
+
+ +

+notifyEvent

+
+void notifyEvent(java.lang.String graphURI,
+                 java.lang.Object event)
+
+
Override this to listen to events pertaining to the given graphURI. +

+

+
Parameters:
graphURI - - the graph to which the event pertains
event - - the event that occurred.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/RDFService/edu/cornell/mannlib/vitro/webapp/rdfservice/ChangeSet.html b/doc/RDFService/edu/cornell/mannlib/vitro/webapp/rdfservice/ChangeSet.html new file mode 100644 index 000000000..700f9214a --- /dev/null +++ b/doc/RDFService/edu/cornell/mannlib/vitro/webapp/rdfservice/ChangeSet.html @@ -0,0 +1,486 @@ + + + + + + +ChangeSet + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +edu.cornell.mannlib.vitro.webapp.rdfservice +
+Interface ChangeSet

+
+
+
public interface ChangeSet
+ + +

+Input parameter to changeSetUpdate() method in RDFService. + Represents a precondition query and an ordered list of model changes. +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddAddition(java.io.InputStream model, + RDFService.ModelSerializationFormat serializationFormat, + java.lang.String graphURI) + +
+          Adds one model change representing an addition to the list of model changes
+ voidaddPostChangeEvent(java.lang.Object event) + +
+          Adds an event that will be be passed to any change listeners after all of + the change set additions and retractions are performed.
+ voidaddPreChangeEvent(java.lang.Object event) + +
+          Adds an event that will be be passed to any change listeners in advance of + the change set additions and retractions being performed.
+ voidaddRemoval(java.io.InputStream model, + RDFService.ModelSerializationFormat serializationFormat, + java.lang.String graphURI) + +
+          Adds one model change representing a deletion to the list of model changes
+ java.util.List<ModelChange>getModelChanges() + +
+           
+ java.util.List<java.lang.Object>getPostChangeEvents() + +
+          Returns a list of events to pass to any change listeners after + the change set additions and retractions are performed.
+ java.util.List<java.lang.Object>getPreChangeEvents() + +
+          Returns a list of events to pass to any change listeners in + advance of the change set additions and retractions being performed.
+ java.lang.StringgetPreconditionQuery() + +
+           
+ RDFService.SPARQLQueryTypegetPreconditionQueryType() + +
+           
+ ModelChangemanufactureModelChange() + +
+          Creates an instance of the ModelChange class
+ ModelChangemanufactureModelChange(java.io.InputStream serializedModel, + RDFService.ModelSerializationFormat serializationFormat, + ModelChange.Operation operation, + java.lang.String graphURI) + +
+          Creates an instance of the ModelChange class
+ voidsetPreconditionQuery(java.lang.String preconditionQuery) + +
+           
+ voidsetPreconditionQueryType(RDFService.SPARQLQueryType queryType) + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+getPreconditionQuery

+
+java.lang.String getPreconditionQuery()
+
+
+ +
Returns:
String - a SPARQL query
+
+
+
+ +

+setPreconditionQuery

+
+void setPreconditionQuery(java.lang.String preconditionQuery)
+
+
+
Parameters:
preconditionQuery - - a SPARQL query
+
+
+
+ +

+getPreconditionQueryType

+
+RDFService.SPARQLQueryType getPreconditionQueryType()
+
+
+ +
Returns:
RDFService.SPARQLQueryType - the precondition query type
+
+
+
+ +

+setPreconditionQueryType

+
+void setPreconditionQueryType(RDFService.SPARQLQueryType queryType)
+
+
+
Parameters:
queryType - - the precondition query type
+
+
+
+ +

+getModelChanges

+
+java.util.List<ModelChange> getModelChanges()
+
+
+ +
Returns:
List - list of model changes
+
+
+
+ +

+addAddition

+
+void addAddition(java.io.InputStream model,
+                 RDFService.ModelSerializationFormat serializationFormat,
+                 java.lang.String graphURI)
+
+
Adds one model change representing an addition to the list of model changes +

+

+
Parameters:
model - - a serialized RDF model (collection of triples)
serializationFormat - - format of the serialized RDF model
graphURI - - URI of the graph to which the RDF model should be added
+
+
+
+ +

+addRemoval

+
+void addRemoval(java.io.InputStream model,
+                RDFService.ModelSerializationFormat serializationFormat,
+                java.lang.String graphURI)
+
+
Adds one model change representing a deletion to the list of model changes +

+

+
Parameters:
model - - a serialized RDF model (collection of triples)
serializationFormat - - format of the serialized RDF model
graphURI - - URI of the graph from which the RDF model should be removed
+
+
+
+ +

+manufactureModelChange

+
+ModelChange manufactureModelChange()
+
+
Creates an instance of the ModelChange class +

+

+ +
Returns:
ModelChange - an empty instance of the ModelChange class
+
+
+
+ +

+manufactureModelChange

+
+ModelChange manufactureModelChange(java.io.InputStream serializedModel,
+                                   RDFService.ModelSerializationFormat serializationFormat,
+                                   ModelChange.Operation operation,
+                                   java.lang.String graphURI)
+
+
Creates an instance of the ModelChange class +

+

+
Parameters:
serializedModel - - a serialized RDF model (collection of triples)
serializationFormat - - format of the serialized RDF model
operation - - the type of operation to be performed with the serialized RDF model
graphURI - - URI of the graph on which to apply the model change operation +
Returns:
ModelChange - a ModelChange instance initialized with the input + model, model format, operation and graphURI
+
+
+
+ +

+addPreChangeEvent

+
+void addPreChangeEvent(java.lang.Object event)
+
+
Adds an event that will be be passed to any change listeners in advance of + the change set additions and retractions being performed. The event + will only be fired if the precondition (if any) is met. +

+

+
Parameters:
event - - event to notify listeners of in advance of making + changes to the triple store.
+
+
+
+ +

+addPostChangeEvent

+
+void addPostChangeEvent(java.lang.Object event)
+
+
Adds an event that will be be passed to any change listeners after all of + the change set additions and retractions are performed. +

+

+
Parameters:
event - - the event to notify listeners of after the changes are + performed.
+
+
+
+ +

+getPreChangeEvents

+
+java.util.List<java.lang.Object> getPreChangeEvents()
+
+
Returns a list of events to pass to any change listeners in + advance of the change set additions and retractions being performed. +

+

+ +
Returns:
List + + +
+ +

+getPostChangeEvents

+
+java.util.List<java.lang.Object> getPostChangeEvents()
+
+
Returns a list of events to pass to any change listeners after + the change set additions and retractions are performed. +

+

+ +
Returns:
List + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/RDFService/edu/cornell/mannlib/vitro/webapp/rdfservice/ModelChange.Operation.html b/doc/RDFService/edu/cornell/mannlib/vitro/webapp/rdfservice/ModelChange.Operation.html new file mode 100644 index 000000000..cbf466517 --- /dev/null +++ b/doc/RDFService/edu/cornell/mannlib/vitro/webapp/rdfservice/ModelChange.Operation.html @@ -0,0 +1,323 @@ + + + + + + +ModelChange.Operation + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +edu.cornell.mannlib.vitro.webapp.rdfservice +
+Enum ModelChange.Operation

+
+java.lang.Object
+  extended by java.lang.Enum<ModelChange.Operation>
+      extended by edu.cornell.mannlib.vitro.webapp.rdfservice.ModelChange.Operation
+
+
+
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ModelChange.Operation>
+
+
+
Enclosing interface:
ModelChange
+
+
+
+
public static enum ModelChange.Operation
extends java.lang.Enum<ModelChange.Operation>
+ + +

+


+ +

+ + + + + + + + + + + + + +
+Enum Constant Summary
ADD + +
+           
REMOVE + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+static ModelChange.OperationvalueOf(java.lang.String name) + +
+          Returns the enum constant of this type with the specified name.
+static ModelChange.Operation[]values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+ + + + + + + +
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
+ + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Enum Constant Detail
+ +

+ADD

+
+public static final ModelChange.Operation ADD
+
+
+
+
+
+ +

+REMOVE

+
+public static final ModelChange.Operation REMOVE
+
+
+
+
+ + + + + + + + +
+Method Detail
+ +

+values

+
+public static ModelChange.Operation[] values()
+
+
Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
+for (ModelChange.Operation c : ModelChange.Operation.values())
+    System.out.println(c);
+
+

+

+ +
Returns:
an array containing the constants of this enum type, in +the order they are declared
+
+
+
+ +

+valueOf

+
+public static ModelChange.Operation valueOf(java.lang.String name)
+
+
Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.) +

+

+
Parameters:
name - the name of the enum constant to be returned. +
Returns:
the enum constant with the specified name +
Throws: +
java.lang.IllegalArgumentException - if this enum type has no constant +with the specified name +
java.lang.NullPointerException - if the argument is null
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/RDFService/edu/cornell/mannlib/vitro/webapp/rdfservice/ModelChange.html b/doc/RDFService/edu/cornell/mannlib/vitro/webapp/rdfservice/ModelChange.html new file mode 100644 index 000000000..11ca1199d --- /dev/null +++ b/doc/RDFService/edu/cornell/mannlib/vitro/webapp/rdfservice/ModelChange.html @@ -0,0 +1,368 @@ + + + + + + +ModelChange + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +edu.cornell.mannlib.vitro.webapp.rdfservice +
+Interface ModelChange

+
+
+
public interface ModelChange
+ + +

+A ModelChange is one component of a ChangeSet. + Represents a model (collection of RDF triples), the URI + of a graph, and an indication of whether to add or + remove the model from the graph. +

+ +

+


+ +

+ + + + + + + + + + + +
+Nested Class Summary
+static classModelChange.Operation + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.lang.StringgetGraphURI() + +
+           
+ ModelChange.OperationgetOperation() + +
+           
+ RDFService.ModelSerializationFormatgetSerializationFormat() + +
+           
+ java.io.InputStreamgetSerializedModel() + +
+           
+ voidsetGraphURI(java.lang.String graphURI) + +
+           
+ voidsetOperation(ModelChange.Operation operation) + +
+           
+ voidsetSerializationFormat(RDFService.ModelSerializationFormat serializationFormat) + +
+           
+ voidsetSerializedModel(java.io.InputStream serializedModel) + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+getSerializedModel

+
+java.io.InputStream getSerializedModel()
+
+
+ +
Returns:
InputStream - the serialized model (collection of RDF triples) representing a change to make
+
+
+
+ +

+setSerializedModel

+
+void setSerializedModel(java.io.InputStream serializedModel)
+
+
+
Parameters:
serializedModel - - the serialized model (collection of RDF triples) representing a change to make
+
+
+
+ +

+getSerializationFormat

+
+RDFService.ModelSerializationFormat getSerializationFormat()
+
+
+ +
Returns:
RDFService.ModelSerializationFormat - the serialization format of the model
+
+
+
+ +

+setSerializationFormat

+
+void setSerializationFormat(RDFService.ModelSerializationFormat serializationFormat)
+
+
+
Parameters:
serializationFormat - - the serialization format of the model
+
+
+
+ +

+getOperation

+
+ModelChange.Operation getOperation()
+
+
+ +
Returns:
ModelChange.Operation - the operation to be performed
+
+
+
+ +

+setOperation

+
+void setOperation(ModelChange.Operation operation)
+
+
+
Parameters:
operation - - the operation to be performed
+
+
+
+ +

+getGraphURI

+
+java.lang.String getGraphURI()
+
+
+ +
Returns:
String - the URI of the graph to which to apply the change
+
+
+
+ +

+setGraphURI

+
+void setGraphURI(java.lang.String graphURI)
+
+
+
Parameters:
graphURI - - the URI of the graph to which to apply the change + If the graphURI is null the change applies to the + default write graph. If this method is not used to + set the write graph the default write graph will be used.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/RDFService/edu/cornell/mannlib/vitro/webapp/rdfservice/RDFService.ModelSerializationFormat.html b/doc/RDFService/edu/cornell/mannlib/vitro/webapp/rdfservice/RDFService.ModelSerializationFormat.html new file mode 100644 index 000000000..16c0279e3 --- /dev/null +++ b/doc/RDFService/edu/cornell/mannlib/vitro/webapp/rdfservice/RDFService.ModelSerializationFormat.html @@ -0,0 +1,323 @@ + + + + + + +RDFService.ModelSerializationFormat + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +edu.cornell.mannlib.vitro.webapp.rdfservice +
+Enum RDFService.ModelSerializationFormat

+
+java.lang.Object
+  extended by java.lang.Enum<RDFService.ModelSerializationFormat>
+      extended by edu.cornell.mannlib.vitro.webapp.rdfservice.RDFService.ModelSerializationFormat
+
+
+
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<RDFService.ModelSerializationFormat>
+
+
+
Enclosing interface:
RDFService
+
+
+
+
public static enum RDFService.ModelSerializationFormat
extends java.lang.Enum<RDFService.ModelSerializationFormat>
+ + +

+


+ +

+ + + + + + + + + + + + + +
+Enum Constant Summary
N3 + +
+           
RDFXML + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+static RDFService.ModelSerializationFormatvalueOf(java.lang.String name) + +
+          Returns the enum constant of this type with the specified name.
+static RDFService.ModelSerializationFormat[]values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+ + + + + + + +
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
+ + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Enum Constant Detail
+ +

+RDFXML

+
+public static final RDFService.ModelSerializationFormat RDFXML
+
+
+
+
+
+ +

+N3

+
+public static final RDFService.ModelSerializationFormat N3
+
+
+
+
+ + + + + + + + +
+Method Detail
+ +

+values

+
+public static RDFService.ModelSerializationFormat[] values()
+
+
Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
+for (RDFService.ModelSerializationFormat c : RDFService.ModelSerializationFormat.values())
+    System.out.println(c);
+
+

+

+ +
Returns:
an array containing the constants of this enum type, in +the order they are declared
+
+
+
+ +

+valueOf

+
+public static RDFService.ModelSerializationFormat valueOf(java.lang.String name)
+
+
Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.) +

+

+
Parameters:
name - the name of the enum constant to be returned. +
Returns:
the enum constant with the specified name +
Throws: +
java.lang.IllegalArgumentException - if this enum type has no constant +with the specified name +
java.lang.NullPointerException - if the argument is null
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/RDFService/edu/cornell/mannlib/vitro/webapp/rdfservice/RDFService.ResultFormat.html b/doc/RDFService/edu/cornell/mannlib/vitro/webapp/rdfservice/RDFService.ResultFormat.html new file mode 100644 index 000000000..f737c804e --- /dev/null +++ b/doc/RDFService/edu/cornell/mannlib/vitro/webapp/rdfservice/RDFService.ResultFormat.html @@ -0,0 +1,355 @@ + + + + + + +RDFService.ResultFormat + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +edu.cornell.mannlib.vitro.webapp.rdfservice +
+Enum RDFService.ResultFormat

+
+java.lang.Object
+  extended by java.lang.Enum<RDFService.ResultFormat>
+      extended by edu.cornell.mannlib.vitro.webapp.rdfservice.RDFService.ResultFormat
+
+
+
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<RDFService.ResultFormat>
+
+
+
Enclosing interface:
RDFService
+
+
+
+
public static enum RDFService.ResultFormat
extends java.lang.Enum<RDFService.ResultFormat>
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + +
+Enum Constant Summary
CSV + +
+           
JSON + +
+           
TEXT + +
+           
XML + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+static RDFService.ResultFormatvalueOf(java.lang.String name) + +
+          Returns the enum constant of this type with the specified name.
+static RDFService.ResultFormat[]values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+ + + + + + + +
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
+ + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Enum Constant Detail
+ +

+JSON

+
+public static final RDFService.ResultFormat JSON
+
+
+
+
+
+ +

+CSV

+
+public static final RDFService.ResultFormat CSV
+
+
+
+
+
+ +

+XML

+
+public static final RDFService.ResultFormat XML
+
+
+
+
+
+ +

+TEXT

+
+public static final RDFService.ResultFormat TEXT
+
+
+
+
+ + + + + + + + +
+Method Detail
+ +

+values

+
+public static RDFService.ResultFormat[] values()
+
+
Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
+for (RDFService.ResultFormat c : RDFService.ResultFormat.values())
+    System.out.println(c);
+
+

+

+ +
Returns:
an array containing the constants of this enum type, in +the order they are declared
+
+
+
+ +

+valueOf

+
+public static RDFService.ResultFormat valueOf(java.lang.String name)
+
+
Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.) +

+

+
Parameters:
name - the name of the enum constant to be returned. +
Returns:
the enum constant with the specified name +
Throws: +
java.lang.IllegalArgumentException - if this enum type has no constant +with the specified name +
java.lang.NullPointerException - if the argument is null
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/RDFService/edu/cornell/mannlib/vitro/webapp/rdfservice/RDFService.SPARQLQueryType.html b/doc/RDFService/edu/cornell/mannlib/vitro/webapp/rdfservice/RDFService.SPARQLQueryType.html new file mode 100644 index 000000000..a6e133838 --- /dev/null +++ b/doc/RDFService/edu/cornell/mannlib/vitro/webapp/rdfservice/RDFService.SPARQLQueryType.html @@ -0,0 +1,355 @@ + + + + + + +RDFService.SPARQLQueryType + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +edu.cornell.mannlib.vitro.webapp.rdfservice +
+Enum RDFService.SPARQLQueryType

+
+java.lang.Object
+  extended by java.lang.Enum<RDFService.SPARQLQueryType>
+      extended by edu.cornell.mannlib.vitro.webapp.rdfservice.RDFService.SPARQLQueryType
+
+
+
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<RDFService.SPARQLQueryType>
+
+
+
Enclosing interface:
RDFService
+
+
+
+
public static enum RDFService.SPARQLQueryType
extends java.lang.Enum<RDFService.SPARQLQueryType>
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + +
+Enum Constant Summary
ASK + +
+           
CONSTRUCT + +
+           
DESCRIBE + +
+           
SELECT + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+static RDFService.SPARQLQueryTypevalueOf(java.lang.String name) + +
+          Returns the enum constant of this type with the specified name.
+static RDFService.SPARQLQueryType[]values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+ + + + + + + +
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
+ + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Enum Constant Detail
+ +

+SELECT

+
+public static final RDFService.SPARQLQueryType SELECT
+
+
+
+
+
+ +

+CONSTRUCT

+
+public static final RDFService.SPARQLQueryType CONSTRUCT
+
+
+
+
+
+ +

+DESCRIBE

+
+public static final RDFService.SPARQLQueryType DESCRIBE
+
+
+
+
+
+ +

+ASK

+
+public static final RDFService.SPARQLQueryType ASK
+
+
+
+
+ + + + + + + + +
+Method Detail
+ +

+values

+
+public static RDFService.SPARQLQueryType[] values()
+
+
Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
+for (RDFService.SPARQLQueryType c : RDFService.SPARQLQueryType.values())
+    System.out.println(c);
+
+

+

+ +
Returns:
an array containing the constants of this enum type, in +the order they are declared
+
+
+
+ +

+valueOf

+
+public static RDFService.SPARQLQueryType valueOf(java.lang.String name)
+
+
Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.) +

+

+
Parameters:
name - the name of the enum constant to be returned. +
Returns:
the enum constant with the specified name +
Throws: +
java.lang.IllegalArgumentException - if this enum type has no constant +with the specified name +
java.lang.NullPointerException - if the argument is null
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/RDFService/edu/cornell/mannlib/vitro/webapp/rdfservice/RDFService.html b/doc/RDFService/edu/cornell/mannlib/vitro/webapp/rdfservice/RDFService.html new file mode 100644 index 000000000..d31956c2a --- /dev/null +++ b/doc/RDFService/edu/cornell/mannlib/vitro/webapp/rdfservice/RDFService.html @@ -0,0 +1,612 @@ + + + + + + +RDFService + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +edu.cornell.mannlib.vitro.webapp.rdfservice +
+Interface RDFService

+
+
+
public interface RDFService
+ + +

+Interface for API to write, read, and update Vitro's RDF store, with support + to allow listening, logging and auditing. +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + +
+Nested Class Summary
+static classRDFService.ModelSerializationFormat + +
+           
+static classRDFService.ResultFormat + +
+           
+static classRDFService.SPARQLQueryType + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleanchangeSetUpdate(ChangeSet changeSet) + +
+          Performs a series of additions to and or removals from specified graphs + in the RDF store.
+ voidclose() + +
+          Frees any resources held by this RDFService object + + The implementation of this method should be idempotent so that + multiple invocations do not cause an error.
+ java.lang.StringgetDefaultWriteGraphURI() + +
+          Returns the URI of the default write graph
+ voidgetGraphMetadata() + +
+          To be determined.
+ java.util.List<java.lang.String>getGraphURIs() + +
+          Returns a list of all the graph URIs in the RDF store.
+ ChangeSetmanufactureChangeSet() + +
+          Creates a ChangeSet object
+ voidnewIndividual(java.lang.String individualURI, + java.lang.String individualTypeURI) + +
+          If the given individual already exists in the default write graph, throws an + RDFServiceException, otherwise adds one type assertion to the default write + graph.
+ voidnewIndividual(java.lang.String individualURI, + java.lang.String individualTypeURI, + java.lang.String graphURI) + +
+          If the given individual already exists in the given graph, throws an + RDFServiceException, otherwise adds one type assertion to the given + graph.
+ voidregisterListener(ChangeListener changeListener) + +
+          Registers a listener to listen to changes in any graph in + the RDF store.
+ booleansparqlAskQuery(java.lang.String query) + +
+          Performs a SPARQL ASK query against the knowledge base.
+ java.io.InputStreamsparqlConstructQuery(java.lang.String query, + RDFService.ModelSerializationFormat resultFormat) + +
+          Performs a SPARQL construct query against the knowledge base.
+ java.io.InputStreamsparqlDescribeQuery(java.lang.String query, + RDFService.ModelSerializationFormat resultFormat) + +
+          Performs a SPARQL describe query against the knowledge base.
+ java.io.InputStreamsparqlSelectQuery(java.lang.String query, + RDFService.ResultFormat resultFormat) + +
+          Performs a SPARQL select query against the knowledge base.
+ voidunregisterListener(ChangeListener changeListener) + +
+          Unregisters a listener from listening to changes in + any graph in the RDF store
+  +

+ + + + + + + + +
+Method Detail
+ +

+changeSetUpdate

+
+boolean changeSetUpdate(ChangeSet changeSet)
+                        throws RDFServiceException
+
+
Performs a series of additions to and or removals from specified graphs + in the RDF store. preConditionSparql is executed against the + union of all the graphs in the knowledge base before any updates are made. + If the precondition query returns a non-empty result, no updates + are made made. +

+

+
Parameters:
changeSet - - a set of changes to be performed on the RDF store. +
Returns:
boolean - indicates whether the precondition was satisfied +
Throws: +
RDFServiceException
+
+
+
+ +

+newIndividual

+
+void newIndividual(java.lang.String individualURI,
+                   java.lang.String individualTypeURI)
+                   throws RDFServiceException
+
+
If the given individual already exists in the default write graph, throws an + RDFServiceException, otherwise adds one type assertion to the default write + graph. +

+

+
Parameters:
individualURI - - URI of the individual to be added
individualTypeURI - - URI of the type for the individual +
Throws: +
RDFServiceException
+
+
+
+ +

+newIndividual

+
+void newIndividual(java.lang.String individualURI,
+                   java.lang.String individualTypeURI,
+                   java.lang.String graphURI)
+                   throws RDFServiceException
+
+
If the given individual already exists in the given graph, throws an + RDFServiceException, otherwise adds one type assertion to the given + graph. +

+

+
Parameters:
individualURI - - URI of the individual to be added
individualTypeURI - - URI of the type for the individual
graphURI - - URI of the graph to which to add the individual +
Throws: +
RDFServiceException
+
+
+
+ +

+sparqlConstructQuery

+
+java.io.InputStream sparqlConstructQuery(java.lang.String query,
+                                         RDFService.ModelSerializationFormat resultFormat)
+                                         throws RDFServiceException
+
+
Performs a SPARQL construct query against the knowledge base. The query may have + an embedded graph identifier. If the query does not contain a graph identifier + the query is executed against the union of all named and unnamed graphs in the + store. +

+

+
Parameters:
query - - the SPARQL query to be executed against the RDF store
resultFormat - - type of serialization for RDF result of the SPARQL query +
Returns:
InputStream - the result of the query +
Throws: +
RDFServiceException
+
+
+
+ +

+sparqlDescribeQuery

+
+java.io.InputStream sparqlDescribeQuery(java.lang.String query,
+                                        RDFService.ModelSerializationFormat resultFormat)
+                                        throws RDFServiceException
+
+
Performs a SPARQL describe query against the knowledge base. The query may have + an embedded graph identifier. If the query does not contain a graph identifier + the query is executed against the union of all named and unnamed graphs in the + store. +

+

+
Parameters:
query - - the SPARQL query to be executed against the RDF store
resultFormat - - type of serialization for RDF result of the SPARQL query +
Returns:
InputStream - the result of the query +
Throws: +
RDFServiceException
+
+
+
+ +

+sparqlSelectQuery

+
+java.io.InputStream sparqlSelectQuery(java.lang.String query,
+                                      RDFService.ResultFormat resultFormat)
+                                      throws RDFServiceException
+
+
Performs a SPARQL select query against the knowledge base. The query may have + an embedded graph identifier. If the query does not contain a graph identifier + the query is executed against the union of all named and unnamed graphs in the + store. +

+

+
Parameters:
query - - the SPARQL query to be executed against the RDF store
resultFormat - - format for the result of the Select query +
Returns:
InputStream - the result of the query +
Throws: +
RDFServiceException
+
+
+
+ +

+sparqlAskQuery

+
+boolean sparqlAskQuery(java.lang.String query)
+                       throws RDFServiceException
+
+
Performs a SPARQL ASK query against the knowledge base. The query may have + an embedded graph identifier. If the query does not contain a graph identifier + the query is executed against the union of all named and unnamed graphs in the + store. +

+

+
Parameters:
query - - the SPARQL ASK query to be executed against the RDF store +
Returns:
boolean - the result of the SPARQL ASK query +
Throws: +
RDFServiceException
+
+
+
+ +

+getGraphURIs

+
+java.util.List<java.lang.String> getGraphURIs()
+                                              throws RDFServiceException
+
+
Returns a list of all the graph URIs in the RDF store. +

+

+ +
Returns:
List - list of all the named graph URIs in the RDF store. + Return an empty list of there no named graphs in + the store. +
Throws: +
RDFServiceException
+
+
+
+ +

+getGraphMetadata

+
+void getGraphMetadata()
+                      throws RDFServiceException
+
+
To be determined. This is a place holder and is not implemented + in current implementations. +

+

+ +
Throws: +
RDFServiceException
+
+
+
+ +

+getDefaultWriteGraphURI

+
+java.lang.String getDefaultWriteGraphURI()
+                                         throws RDFServiceException
+
+
Returns the URI of the default write graph +

+

+ +
Returns:
String URI of default write graph. Returns null if no + default write graph has been set. +
Throws: +
RDFServiceException
+
+
+
+ +

+registerListener

+
+void registerListener(ChangeListener changeListener)
+                      throws RDFServiceException
+
+
Registers a listener to listen to changes in any graph in + the RDF store. +

+

+
Parameters:
changeListener - - the change listener +
Throws: +
RDFServiceException
+
+
+
+ +

+unregisterListener

+
+void unregisterListener(ChangeListener changeListener)
+                        throws RDFServiceException
+
+
Unregisters a listener from listening to changes in + any graph in the RDF store +

+

+
Parameters:
changeListener - - the change listener +
Throws: +
RDFServiceException
+
+
+
+ +

+manufactureChangeSet

+
+ChangeSet manufactureChangeSet()
+
+
Creates a ChangeSet object +

+

+ +
Returns:
ChangeSet an empty ChangeSet object
+
+
+
+ +

+close

+
+void close()
+
+
Frees any resources held by this RDFService object + + The implementation of this method should be idempotent so that + multiple invocations do not cause an error. +

+

+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/RDFService/edu/cornell/mannlib/vitro/webapp/rdfservice/RDFServiceException.html b/doc/RDFService/edu/cornell/mannlib/vitro/webapp/rdfservice/RDFServiceException.html new file mode 100644 index 000000000..de5c69d69 --- /dev/null +++ b/doc/RDFService/edu/cornell/mannlib/vitro/webapp/rdfservice/RDFServiceException.html @@ -0,0 +1,282 @@ + + + + + + +RDFServiceException + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +edu.cornell.mannlib.vitro.webapp.rdfservice +
+Class RDFServiceException

+
+java.lang.Object
+  extended by java.lang.Throwable
+      extended by java.lang.Exception
+          extended by edu.cornell.mannlib.vitro.webapp.rdfservice.RDFServiceException
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class RDFServiceException
extends java.lang.Exception
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + + + + +
+Constructor Summary
RDFServiceException() + +
+           
RDFServiceException(java.lang.String message) + +
+           
RDFServiceException(java.lang.String message, + java.lang.Throwable cause) + +
+           
RDFServiceException(java.lang.Throwable cause) + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+RDFServiceException

+
+public RDFServiceException()
+
+
+
+ +

+RDFServiceException

+
+public RDFServiceException(java.lang.Throwable cause)
+
+
+
+ +

+RDFServiceException

+
+public RDFServiceException(java.lang.String message)
+
+
+
+ +

+RDFServiceException

+
+public RDFServiceException(java.lang.String message,
+                           java.lang.Throwable cause)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/RDFService/edu/cornell/mannlib/vitro/webapp/rdfservice/RDFServiceFactory.html b/doc/RDFService/edu/cornell/mannlib/vitro/webapp/rdfservice/RDFServiceFactory.html new file mode 100644 index 000000000..4e4a3a7fe --- /dev/null +++ b/doc/RDFService/edu/cornell/mannlib/vitro/webapp/rdfservice/RDFServiceFactory.html @@ -0,0 +1,258 @@ + + + + + + +RDFServiceFactory + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +edu.cornell.mannlib.vitro.webapp.rdfservice +
+Interface RDFServiceFactory

+
+
+
public interface RDFServiceFactory
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ RDFServicegetRDFService() + +
+           
+ voidregisterListener(ChangeListener changeListener) + +
+          Registers a listener to listen to changes in any graph in + the RDF store.
+ voidunregisterListener(ChangeListener changeListener) + +
+          Unregisters a listener from listening to changes in the RDF store.
+  +

+ + + + + + + + +
+Method Detail
+ +

+getRDFService

+
+RDFService getRDFService()
+
+
+ +
Returns:
RDFService - an RDFService instance
+
+
+
+ +

+registerListener

+
+void registerListener(ChangeListener changeListener)
+                      throws RDFServiceException
+
+
Registers a listener to listen to changes in any graph in + the RDF store. Any RDFService objects returned by this factory + should notify this listener of changes. +

+

+
Parameters:
changeListener - - the change listener +
Throws: +
RDFServiceException
+
+
+
+ +

+unregisterListener

+
+void unregisterListener(ChangeListener changeListener)
+                        throws RDFServiceException
+
+
Unregisters a listener from listening to changes in the RDF store. + Any RDFService objects returned by this factory should notify + this listener of changes. +

+

+
Parameters:
changeListener - - the change listener +
Throws: +
RDFServiceException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/RDFService/edu/cornell/mannlib/vitro/webapp/rdfservice/class-use/ChangeListener.html b/doc/RDFService/edu/cornell/mannlib/vitro/webapp/rdfservice/class-use/ChangeListener.html new file mode 100644 index 000000000..be0611e0c --- /dev/null +++ b/doc/RDFService/edu/cornell/mannlib/vitro/webapp/rdfservice/class-use/ChangeListener.html @@ -0,0 +1,192 @@ + + + + + + +Uses of Interface edu.cornell.mannlib.vitro.webapp.rdfservice.ChangeListener + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
edu.cornell.mannlib.vitro.webapp.rdfservice.ChangeListener

+
+ + + + + +
+Uses of ChangeListener in edu.cornell.mannlib.vitro.webapp.rdfservice
+  +

+ + + + + + + + + + + + + + + + + + + + + +
Methods in edu.cornell.mannlib.vitro.webapp.rdfservice with parameters of type ChangeListener
+ voidRDFServiceFactory.registerListener(ChangeListener changeListener) + +
+          Registers a listener to listen to changes in any graph in + the RDF store.
+ voidRDFService.registerListener(ChangeListener changeListener) + +
+          Registers a listener to listen to changes in any graph in + the RDF store.
+ voidRDFServiceFactory.unregisterListener(ChangeListener changeListener) + +
+          Unregisters a listener from listening to changes in the RDF store.
+ voidRDFService.unregisterListener(ChangeListener changeListener) + +
+          Unregisters a listener from listening to changes in + any graph in the RDF store
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/RDFService/edu/cornell/mannlib/vitro/webapp/rdfservice/class-use/ChangeSet.html b/doc/RDFService/edu/cornell/mannlib/vitro/webapp/rdfservice/class-use/ChangeSet.html new file mode 100644 index 000000000..394d27c0c --- /dev/null +++ b/doc/RDFService/edu/cornell/mannlib/vitro/webapp/rdfservice/class-use/ChangeSet.html @@ -0,0 +1,182 @@ + + + + + + +Uses of Interface edu.cornell.mannlib.vitro.webapp.rdfservice.ChangeSet + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
edu.cornell.mannlib.vitro.webapp.rdfservice.ChangeSet

+
+ + + + + +
+Uses of ChangeSet in edu.cornell.mannlib.vitro.webapp.rdfservice
+  +

+ + + + + + + + + +
Methods in edu.cornell.mannlib.vitro.webapp.rdfservice that return ChangeSet
+ ChangeSetRDFService.manufactureChangeSet() + +
+          Creates a ChangeSet object
+  +

+ + + + + + + + + +
Methods in edu.cornell.mannlib.vitro.webapp.rdfservice with parameters of type ChangeSet
+ booleanRDFService.changeSetUpdate(ChangeSet changeSet) + +
+          Performs a series of additions to and or removals from specified graphs + in the RDF store.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/RDFService/edu/cornell/mannlib/vitro/webapp/rdfservice/class-use/ModelChange.Operation.html b/doc/RDFService/edu/cornell/mannlib/vitro/webapp/rdfservice/class-use/ModelChange.Operation.html new file mode 100644 index 000000000..2141771a8 --- /dev/null +++ b/doc/RDFService/edu/cornell/mannlib/vitro/webapp/rdfservice/class-use/ModelChange.Operation.html @@ -0,0 +1,209 @@ + + + + + + +Uses of Class edu.cornell.mannlib.vitro.webapp.rdfservice.ModelChange.Operation + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
edu.cornell.mannlib.vitro.webapp.rdfservice.ModelChange.Operation

+
+ + + + + +
+Uses of ModelChange.Operation in edu.cornell.mannlib.vitro.webapp.rdfservice
+  +

+ + + + + + + + + + + + + + + + + +
Methods in edu.cornell.mannlib.vitro.webapp.rdfservice that return ModelChange.Operation
+ ModelChange.OperationModelChange.getOperation() + +
+           
+static ModelChange.OperationModelChange.Operation.valueOf(java.lang.String name) + +
+          Returns the enum constant of this type with the specified name.
+static ModelChange.Operation[]ModelChange.Operation.values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+  +

+ + + + + + + + + + + + + +
Methods in edu.cornell.mannlib.vitro.webapp.rdfservice with parameters of type ModelChange.Operation
+ ModelChangeChangeSet.manufactureModelChange(java.io.InputStream serializedModel, + RDFService.ModelSerializationFormat serializationFormat, + ModelChange.Operation operation, + java.lang.String graphURI) + +
+          Creates an instance of the ModelChange class
+ voidModelChange.setOperation(ModelChange.Operation operation) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/RDFService/edu/cornell/mannlib/vitro/webapp/rdfservice/class-use/ModelChange.html b/doc/RDFService/edu/cornell/mannlib/vitro/webapp/rdfservice/class-use/ModelChange.html new file mode 100644 index 000000000..9b80c8735 --- /dev/null +++ b/doc/RDFService/edu/cornell/mannlib/vitro/webapp/rdfservice/class-use/ModelChange.html @@ -0,0 +1,192 @@ + + + + + + +Uses of Interface edu.cornell.mannlib.vitro.webapp.rdfservice.ModelChange + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
edu.cornell.mannlib.vitro.webapp.rdfservice.ModelChange

+
+ + + + + +
+Uses of ModelChange in edu.cornell.mannlib.vitro.webapp.rdfservice
+  +

+ + + + + + + + + + + + + +
Methods in edu.cornell.mannlib.vitro.webapp.rdfservice that return ModelChange
+ ModelChangeChangeSet.manufactureModelChange() + +
+          Creates an instance of the ModelChange class
+ ModelChangeChangeSet.manufactureModelChange(java.io.InputStream serializedModel, + RDFService.ModelSerializationFormat serializationFormat, + ModelChange.Operation operation, + java.lang.String graphURI) + +
+          Creates an instance of the ModelChange class
+  +

+ + + + + + + + + +
Methods in edu.cornell.mannlib.vitro.webapp.rdfservice that return types with arguments of type ModelChange
+ java.util.List<ModelChange>ChangeSet.getModelChanges() + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/RDFService/edu/cornell/mannlib/vitro/webapp/rdfservice/class-use/RDFService.ModelSerializationFormat.html b/doc/RDFService/edu/cornell/mannlib/vitro/webapp/rdfservice/class-use/RDFService.ModelSerializationFormat.html new file mode 100644 index 000000000..cf0b0851a --- /dev/null +++ b/doc/RDFService/edu/cornell/mannlib/vitro/webapp/rdfservice/class-use/RDFService.ModelSerializationFormat.html @@ -0,0 +1,247 @@ + + + + + + +Uses of Class edu.cornell.mannlib.vitro.webapp.rdfservice.RDFService.ModelSerializationFormat + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
edu.cornell.mannlib.vitro.webapp.rdfservice.RDFService.ModelSerializationFormat

+
+ + + + + +
+Uses of RDFService.ModelSerializationFormat in edu.cornell.mannlib.vitro.webapp.rdfservice
+  +

+ + + + + + + + + + + + + + + + + +
Methods in edu.cornell.mannlib.vitro.webapp.rdfservice that return RDFService.ModelSerializationFormat
+ RDFService.ModelSerializationFormatModelChange.getSerializationFormat() + +
+           
+static RDFService.ModelSerializationFormatRDFService.ModelSerializationFormat.valueOf(java.lang.String name) + +
+          Returns the enum constant of this type with the specified name.
+static RDFService.ModelSerializationFormat[]RDFService.ModelSerializationFormat.values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in edu.cornell.mannlib.vitro.webapp.rdfservice with parameters of type RDFService.ModelSerializationFormat
+ voidChangeSet.addAddition(java.io.InputStream model, + RDFService.ModelSerializationFormat serializationFormat, + java.lang.String graphURI) + +
+          Adds one model change representing an addition to the list of model changes
+ voidChangeSet.addRemoval(java.io.InputStream model, + RDFService.ModelSerializationFormat serializationFormat, + java.lang.String graphURI) + +
+          Adds one model change representing a deletion to the list of model changes
+ ModelChangeChangeSet.manufactureModelChange(java.io.InputStream serializedModel, + RDFService.ModelSerializationFormat serializationFormat, + ModelChange.Operation operation, + java.lang.String graphURI) + +
+          Creates an instance of the ModelChange class
+ voidModelChange.setSerializationFormat(RDFService.ModelSerializationFormat serializationFormat) + +
+           
+ java.io.InputStreamRDFService.sparqlConstructQuery(java.lang.String query, + RDFService.ModelSerializationFormat resultFormat) + +
+          Performs a SPARQL construct query against the knowledge base.
+ java.io.InputStreamRDFService.sparqlDescribeQuery(java.lang.String query, + RDFService.ModelSerializationFormat resultFormat) + +
+          Performs a SPARQL describe query against the knowledge base.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/RDFService/edu/cornell/mannlib/vitro/webapp/rdfservice/class-use/RDFService.ResultFormat.html b/doc/RDFService/edu/cornell/mannlib/vitro/webapp/rdfservice/class-use/RDFService.ResultFormat.html new file mode 100644 index 000000000..5cf53a9aa --- /dev/null +++ b/doc/RDFService/edu/cornell/mannlib/vitro/webapp/rdfservice/class-use/RDFService.ResultFormat.html @@ -0,0 +1,191 @@ + + + + + + +Uses of Class edu.cornell.mannlib.vitro.webapp.rdfservice.RDFService.ResultFormat + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
edu.cornell.mannlib.vitro.webapp.rdfservice.RDFService.ResultFormat

+
+ + + + + +
+Uses of RDFService.ResultFormat in edu.cornell.mannlib.vitro.webapp.rdfservice
+  +

+ + + + + + + + + + + + + +
Methods in edu.cornell.mannlib.vitro.webapp.rdfservice that return RDFService.ResultFormat
+static RDFService.ResultFormatRDFService.ResultFormat.valueOf(java.lang.String name) + +
+          Returns the enum constant of this type with the specified name.
+static RDFService.ResultFormat[]RDFService.ResultFormat.values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+  +

+ + + + + + + + + +
Methods in edu.cornell.mannlib.vitro.webapp.rdfservice with parameters of type RDFService.ResultFormat
+ java.io.InputStreamRDFService.sparqlSelectQuery(java.lang.String query, + RDFService.ResultFormat resultFormat) + +
+          Performs a SPARQL select query against the knowledge base.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/RDFService/edu/cornell/mannlib/vitro/webapp/rdfservice/class-use/RDFService.SPARQLQueryType.html b/doc/RDFService/edu/cornell/mannlib/vitro/webapp/rdfservice/class-use/RDFService.SPARQLQueryType.html new file mode 100644 index 000000000..c8266bceb --- /dev/null +++ b/doc/RDFService/edu/cornell/mannlib/vitro/webapp/rdfservice/class-use/RDFService.SPARQLQueryType.html @@ -0,0 +1,198 @@ + + + + + + +Uses of Class edu.cornell.mannlib.vitro.webapp.rdfservice.RDFService.SPARQLQueryType + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
edu.cornell.mannlib.vitro.webapp.rdfservice.RDFService.SPARQLQueryType

+
+ + + + + +
+Uses of RDFService.SPARQLQueryType in edu.cornell.mannlib.vitro.webapp.rdfservice
+  +

+ + + + + + + + + + + + + + + + + +
Methods in edu.cornell.mannlib.vitro.webapp.rdfservice that return RDFService.SPARQLQueryType
+ RDFService.SPARQLQueryTypeChangeSet.getPreconditionQueryType() + +
+           
+static RDFService.SPARQLQueryTypeRDFService.SPARQLQueryType.valueOf(java.lang.String name) + +
+          Returns the enum constant of this type with the specified name.
+static RDFService.SPARQLQueryType[]RDFService.SPARQLQueryType.values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+  +

+ + + + + + + + + +
Methods in edu.cornell.mannlib.vitro.webapp.rdfservice with parameters of type RDFService.SPARQLQueryType
+ voidChangeSet.setPreconditionQueryType(RDFService.SPARQLQueryType queryType) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/RDFService/edu/cornell/mannlib/vitro/webapp/rdfservice/class-use/RDFService.html b/doc/RDFService/edu/cornell/mannlib/vitro/webapp/rdfservice/class-use/RDFService.html new file mode 100644 index 000000000..6afde2d3f --- /dev/null +++ b/doc/RDFService/edu/cornell/mannlib/vitro/webapp/rdfservice/class-use/RDFService.html @@ -0,0 +1,165 @@ + + + + + + +Uses of Interface edu.cornell.mannlib.vitro.webapp.rdfservice.RDFService + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
edu.cornell.mannlib.vitro.webapp.rdfservice.RDFService

+
+ + + + + +
+Uses of RDFService in edu.cornell.mannlib.vitro.webapp.rdfservice
+  +

+ + + + + + + + + +
Methods in edu.cornell.mannlib.vitro.webapp.rdfservice that return RDFService
+ RDFServiceRDFServiceFactory.getRDFService() + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/RDFService/edu/cornell/mannlib/vitro/webapp/rdfservice/class-use/RDFServiceException.html b/doc/RDFService/edu/cornell/mannlib/vitro/webapp/rdfservice/class-use/RDFServiceException.html new file mode 100644 index 000000000..0919aee71 --- /dev/null +++ b/doc/RDFService/edu/cornell/mannlib/vitro/webapp/rdfservice/class-use/RDFServiceException.html @@ -0,0 +1,283 @@ + + + + + + +Uses of Class edu.cornell.mannlib.vitro.webapp.rdfservice.RDFServiceException + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
edu.cornell.mannlib.vitro.webapp.rdfservice.RDFServiceException

+
+ + + + + +
+Uses of RDFServiceException in edu.cornell.mannlib.vitro.webapp.rdfservice
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in edu.cornell.mannlib.vitro.webapp.rdfservice that throw RDFServiceException
+ booleanRDFService.changeSetUpdate(ChangeSet changeSet) + +
+          Performs a series of additions to and or removals from specified graphs + in the RDF store.
+ java.lang.StringRDFService.getDefaultWriteGraphURI() + +
+          Returns the URI of the default write graph
+ voidRDFService.getGraphMetadata() + +
+          To be determined.
+ java.util.List<java.lang.String>RDFService.getGraphURIs() + +
+          Returns a list of all the graph URIs in the RDF store.
+ voidRDFService.newIndividual(java.lang.String individualURI, + java.lang.String individualTypeURI) + +
+          If the given individual already exists in the default write graph, throws an + RDFServiceException, otherwise adds one type assertion to the default write + graph.
+ voidRDFService.newIndividual(java.lang.String individualURI, + java.lang.String individualTypeURI, + java.lang.String graphURI) + +
+          If the given individual already exists in the given graph, throws an + RDFServiceException, otherwise adds one type assertion to the given + graph.
+ voidRDFServiceFactory.registerListener(ChangeListener changeListener) + +
+          Registers a listener to listen to changes in any graph in + the RDF store.
+ voidRDFService.registerListener(ChangeListener changeListener) + +
+          Registers a listener to listen to changes in any graph in + the RDF store.
+ booleanRDFService.sparqlAskQuery(java.lang.String query) + +
+          Performs a SPARQL ASK query against the knowledge base.
+ java.io.InputStreamRDFService.sparqlConstructQuery(java.lang.String query, + RDFService.ModelSerializationFormat resultFormat) + +
+          Performs a SPARQL construct query against the knowledge base.
+ java.io.InputStreamRDFService.sparqlDescribeQuery(java.lang.String query, + RDFService.ModelSerializationFormat resultFormat) + +
+          Performs a SPARQL describe query against the knowledge base.
+ java.io.InputStreamRDFService.sparqlSelectQuery(java.lang.String query, + RDFService.ResultFormat resultFormat) + +
+          Performs a SPARQL select query against the knowledge base.
+ voidRDFServiceFactory.unregisterListener(ChangeListener changeListener) + +
+          Unregisters a listener from listening to changes in the RDF store.
+ voidRDFService.unregisterListener(ChangeListener changeListener) + +
+          Unregisters a listener from listening to changes in + any graph in the RDF store
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/RDFService/edu/cornell/mannlib/vitro/webapp/rdfservice/class-use/RDFServiceFactory.html b/doc/RDFService/edu/cornell/mannlib/vitro/webapp/rdfservice/class-use/RDFServiceFactory.html new file mode 100644 index 000000000..0c4d673a1 --- /dev/null +++ b/doc/RDFService/edu/cornell/mannlib/vitro/webapp/rdfservice/class-use/RDFServiceFactory.html @@ -0,0 +1,142 @@ + + + + + + +Uses of Interface edu.cornell.mannlib.vitro.webapp.rdfservice.RDFServiceFactory + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
edu.cornell.mannlib.vitro.webapp.rdfservice.RDFServiceFactory

+
+No usage of edu.cornell.mannlib.vitro.webapp.rdfservice.RDFServiceFactory +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/RDFService/edu/cornell/mannlib/vitro/webapp/rdfservice/package-frame.html b/doc/RDFService/edu/cornell/mannlib/vitro/webapp/rdfservice/package-frame.html new file mode 100644 index 000000000..3b425ee22 --- /dev/null +++ b/doc/RDFService/edu/cornell/mannlib/vitro/webapp/rdfservice/package-frame.html @@ -0,0 +1,68 @@ + + + + + + +edu.cornell.mannlib.vitro.webapp.rdfservice + + + + + + + + + + + +edu.cornell.mannlib.vitro.webapp.rdfservice + + + + +
+Interfaces  + +
+ChangeListener +
+ChangeSet +
+ModelChange +
+RDFService +
+RDFServiceFactory
+ + + + + + +
+Enums  + +
+ModelChange.Operation +
+RDFService.ModelSerializationFormat +
+RDFService.ResultFormat +
+RDFService.SPARQLQueryType
+ + + + + + +
+Exceptions  + +
+RDFServiceException
+ + + + diff --git a/doc/RDFService/edu/cornell/mannlib/vitro/webapp/rdfservice/package-summary.html b/doc/RDFService/edu/cornell/mannlib/vitro/webapp/rdfservice/package-summary.html new file mode 100644 index 000000000..30fc3c716 --- /dev/null +++ b/doc/RDFService/edu/cornell/mannlib/vitro/webapp/rdfservice/package-summary.html @@ -0,0 +1,213 @@ + + + + + + +edu.cornell.mannlib.vitro.webapp.rdfservice + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package edu.cornell.mannlib.vitro.webapp.rdfservice +

+ + + + + + + + + + + + + + + + + + + + + + + + + +
+Interface Summary
ChangeListenerAn interface for listening to triples that are added to or removed + from the triple store, and other miscellaneous events.
ChangeSetInput parameter to changeSetUpdate() method in RDFService.
ModelChangeA ModelChange is one component of a ChangeSet.
RDFServiceInterface for API to write, read, and update Vitro's RDF store, with support + to allow listening, logging and auditing.
RDFServiceFactory 
+  + +

+ + + + + + + + + + + + + + + + + + + + + +
+Enum Summary
ModelChange.Operation 
RDFService.ModelSerializationFormat 
RDFService.ResultFormat 
RDFService.SPARQLQueryType 
+  + +

+ + + + + + + + + +
+Exception Summary
RDFServiceException 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/RDFService/edu/cornell/mannlib/vitro/webapp/rdfservice/package-tree.html b/doc/RDFService/edu/cornell/mannlib/vitro/webapp/rdfservice/package-tree.html new file mode 100644 index 000000000..b2aff9e48 --- /dev/null +++ b/doc/RDFService/edu/cornell/mannlib/vitro/webapp/rdfservice/package-tree.html @@ -0,0 +1,168 @@ + + + + + + +edu.cornell.mannlib.vitro.webapp.rdfservice Class Hierarchy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package edu.cornell.mannlib.vitro.webapp.rdfservice +

+
+

+Class Hierarchy +

+
    +
  • java.lang.Object
      +
    • java.lang.Throwable (implements java.io.Serializable) + +
    +
+

+Interface Hierarchy +

+ +

+Enum Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/RDFService/edu/cornell/mannlib/vitro/webapp/rdfservice/package-use.html b/doc/RDFService/edu/cornell/mannlib/vitro/webapp/rdfservice/package-use.html new file mode 100644 index 000000000..3123be0c4 --- /dev/null +++ b/doc/RDFService/edu/cornell/mannlib/vitro/webapp/rdfservice/package-use.html @@ -0,0 +1,205 @@ + + + + + + +Uses of Package edu.cornell.mannlib.vitro.webapp.rdfservice + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Package
edu.cornell.mannlib.vitro.webapp.rdfservice

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Classes in edu.cornell.mannlib.vitro.webapp.rdfservice used by edu.cornell.mannlib.vitro.webapp.rdfservice
ChangeListener + +
+          An interface for listening to triples that are added to or removed + from the triple store, and other miscellaneous events.
ChangeSet + +
+          Input parameter to changeSetUpdate() method in RDFService.
ModelChange + +
+          A ModelChange is one component of a ChangeSet.
ModelChange.Operation + +
+           
RDFService + +
+          Interface for API to write, read, and update Vitro's RDF store, with support + to allow listening, logging and auditing.
RDFService.ModelSerializationFormat + +
+           
RDFService.ResultFormat + +
+           
RDFService.SPARQLQueryType + +
+           
RDFServiceException + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/RDFService/help-doc.html b/doc/RDFService/help-doc.html new file mode 100644 index 000000000..cb70678ff --- /dev/null +++ b/doc/RDFService/help-doc.html @@ -0,0 +1,215 @@ + + + + + + +API Help + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+How This API Document Is Organized

+
+This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.

+Package

+
+ +

+Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain four categories:

    +
  • Interfaces (italic)
  • Classes
  • Enums
  • Exceptions
  • Errors
  • Annotation Types
+
+

+Class/Interface

+
+ +

+Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:

    +
  • Class inheritance diagram
  • Direct Subclasses
  • All Known Subinterfaces
  • All Known Implementing Classes
  • Class/interface declaration
  • Class/interface description +

    +

  • Nested Class Summary
  • Field Summary
  • Constructor Summary
  • Method Summary +

    +

  • Field Detail
  • Constructor Detail
  • Method Detail
+Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.
+ +

+Annotation Type

+
+ +

+Each annotation type has its own separate page with the following sections:

    +
  • Annotation Type declaration
  • Annotation Type description
  • Required Element Summary
  • Optional Element Summary
  • Element Detail
+
+ +

+Enum

+
+ +

+Each enum has its own separate page with the following sections:

    +
  • Enum declaration
  • Enum description
  • Enum Constant Summary
  • Enum Constant Detail
+
+

+Use

+
+Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.
+

+Tree (Class Hierarchy)

+
+There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object. The interfaces do not inherit from java.lang.Object.
    +
  • When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.
  • When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.
+
+

+Deprecated API

+
+The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.
+

+Index

+
+The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.
+

+Prev/Next

+These links take you to the next or previous class, interface, package, or related page.

+Frames/No Frames

+These links show and hide the HTML frames. All pages are available with or without frames. +

+

+Serialized Form

+Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description. +

+

+Constant Field Values

+The Constant Field Values page lists the static final fields and their values. +

+ + +This help file applies to API documentation generated using the standard doclet. + +
+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/RDFService/index-files/index-1.html b/doc/RDFService/index-files/index-1.html new file mode 100644 index 000000000..b33d29aa7 --- /dev/null +++ b/doc/RDFService/index-files/index-1.html @@ -0,0 +1,157 @@ + + + + + + +A-Index + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +A C E G M N R S U V
+

+A

+
+
addAddition(InputStream, RDFService.ModelSerializationFormat, String) - +Method in interface edu.cornell.mannlib.vitro.webapp.rdfservice.ChangeSet +
Adds one model change representing an addition to the list of model changes +
addedStatement(String, String) - +Method in interface edu.cornell.mannlib.vitro.webapp.rdfservice.ChangeListener +
Override this to listen to all statements added to the RDF store. +
addPostChangeEvent(Object) - +Method in interface edu.cornell.mannlib.vitro.webapp.rdfservice.ChangeSet +
Adds an event that will be be passed to any change listeners after all of + the change set additions and retractions are performed. +
addPreChangeEvent(Object) - +Method in interface edu.cornell.mannlib.vitro.webapp.rdfservice.ChangeSet +
Adds an event that will be be passed to any change listeners in advance of + the change set additions and retractions being performed. +
addRemoval(InputStream, RDFService.ModelSerializationFormat, String) - +Method in interface edu.cornell.mannlib.vitro.webapp.rdfservice.ChangeSet +
Adds one model change representing a deletion to the list of model changes +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A C E G M N R S U V
+ + + diff --git a/doc/RDFService/index-files/index-10.html b/doc/RDFService/index-files/index-10.html new file mode 100644 index 000000000..c581a968a --- /dev/null +++ b/doc/RDFService/index-files/index-10.html @@ -0,0 +1,168 @@ + + + + + + +V-Index + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +A C E G M N R S U V
+

+V

+
+
valueOf(String) - +Static method in enum edu.cornell.mannlib.vitro.webapp.rdfservice.ModelChange.Operation +
Returns the enum constant of this type with the specified name. +
valueOf(String) - +Static method in enum edu.cornell.mannlib.vitro.webapp.rdfservice.RDFService.ModelSerializationFormat +
Returns the enum constant of this type with the specified name. +
valueOf(String) - +Static method in enum edu.cornell.mannlib.vitro.webapp.rdfservice.RDFService.ResultFormat +
Returns the enum constant of this type with the specified name. +
valueOf(String) - +Static method in enum edu.cornell.mannlib.vitro.webapp.rdfservice.RDFService.SPARQLQueryType +
Returns the enum constant of this type with the specified name. +
values() - +Static method in enum edu.cornell.mannlib.vitro.webapp.rdfservice.ModelChange.Operation +
Returns an array containing the constants of this enum type, in +the order they are declared. +
values() - +Static method in enum edu.cornell.mannlib.vitro.webapp.rdfservice.RDFService.ModelSerializationFormat +
Returns an array containing the constants of this enum type, in +the order they are declared. +
values() - +Static method in enum edu.cornell.mannlib.vitro.webapp.rdfservice.RDFService.ResultFormat +
Returns an array containing the constants of this enum type, in +the order they are declared. +
values() - +Static method in enum edu.cornell.mannlib.vitro.webapp.rdfservice.RDFService.SPARQLQueryType +
Returns an array containing the constants of this enum type, in +the order they are declared. +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A C E G M N R S U V
+ + + diff --git a/doc/RDFService/index-files/index-2.html b/doc/RDFService/index-files/index-2.html new file mode 100644 index 000000000..fe5578a20 --- /dev/null +++ b/doc/RDFService/index-files/index-2.html @@ -0,0 +1,151 @@ + + + + + + +C-Index + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +A C E G M N R S U V
+

+C

+
+
ChangeListener - Interface in edu.cornell.mannlib.vitro.webapp.rdfservice
An interface for listening to triples that are added to or removed + from the triple store, and other miscellaneous events.
ChangeSet - Interface in edu.cornell.mannlib.vitro.webapp.rdfservice
Input parameter to changeSetUpdate() method in RDFService.
changeSetUpdate(ChangeSet) - +Method in interface edu.cornell.mannlib.vitro.webapp.rdfservice.RDFService +
Performs a series of additions to and or removals from specified graphs + in the RDF store. +
close() - +Method in interface edu.cornell.mannlib.vitro.webapp.rdfservice.RDFService +
Frees any resources held by this RDFService object + + The implementation of this method should be idempotent so that + multiple invocations do not cause an error. +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A C E G M N R S U V
+ + + diff --git a/doc/RDFService/index-files/index-3.html b/doc/RDFService/index-files/index-3.html new file mode 100644 index 000000000..b684f3927 --- /dev/null +++ b/doc/RDFService/index-files/index-3.html @@ -0,0 +1,140 @@ + + + + + + +E-Index + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +A C E G M N R S U V
+

+E

+
+
edu.cornell.mannlib.vitro.webapp.rdfservice - package edu.cornell.mannlib.vitro.webapp.rdfservice
 
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A C E G M N R S U V
+ + + diff --git a/doc/RDFService/index-files/index-4.html b/doc/RDFService/index-files/index-4.html new file mode 100644 index 000000000..76be056e5 --- /dev/null +++ b/doc/RDFService/index-files/index-4.html @@ -0,0 +1,181 @@ + + + + + + +G-Index + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +A C E G M N R S U V
+

+G

+
+
getDefaultWriteGraphURI() - +Method in interface edu.cornell.mannlib.vitro.webapp.rdfservice.RDFService +
Returns the URI of the default write graph +
getGraphMetadata() - +Method in interface edu.cornell.mannlib.vitro.webapp.rdfservice.RDFService +
To be determined. +
getGraphURI() - +Method in interface edu.cornell.mannlib.vitro.webapp.rdfservice.ModelChange +
  +
getGraphURIs() - +Method in interface edu.cornell.mannlib.vitro.webapp.rdfservice.RDFService +
Returns a list of all the graph URIs in the RDF store. +
getModelChanges() - +Method in interface edu.cornell.mannlib.vitro.webapp.rdfservice.ChangeSet +
  +
getOperation() - +Method in interface edu.cornell.mannlib.vitro.webapp.rdfservice.ModelChange +
  +
getPostChangeEvents() - +Method in interface edu.cornell.mannlib.vitro.webapp.rdfservice.ChangeSet +
Returns a list of events to pass to any change listeners after + the change set additions and retractions are performed. +
getPreChangeEvents() - +Method in interface edu.cornell.mannlib.vitro.webapp.rdfservice.ChangeSet +
Returns a list of events to pass to any change listeners in + advance of the change set additions and retractions being performed. +
getPreconditionQuery() - +Method in interface edu.cornell.mannlib.vitro.webapp.rdfservice.ChangeSet +
  +
getPreconditionQueryType() - +Method in interface edu.cornell.mannlib.vitro.webapp.rdfservice.ChangeSet +
  +
getRDFService() - +Method in interface edu.cornell.mannlib.vitro.webapp.rdfservice.RDFServiceFactory +
  +
getSerializationFormat() - +Method in interface edu.cornell.mannlib.vitro.webapp.rdfservice.ModelChange +
  +
getSerializedModel() - +Method in interface edu.cornell.mannlib.vitro.webapp.rdfservice.ModelChange +
  +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A C E G M N R S U V
+ + + diff --git a/doc/RDFService/index-files/index-5.html b/doc/RDFService/index-files/index-5.html new file mode 100644 index 000000000..b54b95399 --- /dev/null +++ b/doc/RDFService/index-files/index-5.html @@ -0,0 +1,149 @@ + + + + + + +M-Index + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +A C E G M N R S U V
+

+M

+
+
manufactureChangeSet() - +Method in interface edu.cornell.mannlib.vitro.webapp.rdfservice.RDFService +
Creates a ChangeSet object +
manufactureModelChange() - +Method in interface edu.cornell.mannlib.vitro.webapp.rdfservice.ChangeSet +
Creates an instance of the ModelChange class +
manufactureModelChange(InputStream, RDFService.ModelSerializationFormat, ModelChange.Operation, String) - +Method in interface edu.cornell.mannlib.vitro.webapp.rdfservice.ChangeSet +
Creates an instance of the ModelChange class +
ModelChange - Interface in edu.cornell.mannlib.vitro.webapp.rdfservice
A ModelChange is one component of a ChangeSet.
ModelChange.Operation - Enum in edu.cornell.mannlib.vitro.webapp.rdfservice
 
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A C E G M N R S U V
+ + + diff --git a/doc/RDFService/index-files/index-6.html b/doc/RDFService/index-files/index-6.html new file mode 100644 index 000000000..726493019 --- /dev/null +++ b/doc/RDFService/index-files/index-6.html @@ -0,0 +1,153 @@ + + + + + + +N-Index + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +A C E G M N R S U V
+

+N

+
+
newIndividual(String, String) - +Method in interface edu.cornell.mannlib.vitro.webapp.rdfservice.RDFService +
If the given individual already exists in the default write graph, throws an + RDFServiceException, otherwise adds one type assertion to the default write + graph. +
newIndividual(String, String, String) - +Method in interface edu.cornell.mannlib.vitro.webapp.rdfservice.RDFService +
If the given individual already exists in the given graph, throws an + RDFServiceException, otherwise adds one type assertion to the given + graph. +
notifyEvent(String, Object) - +Method in interface edu.cornell.mannlib.vitro.webapp.rdfservice.ChangeListener +
Override this to listen to events pertaining to the given graphURI. +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A C E G M N R S U V
+ + + diff --git a/doc/RDFService/index-files/index-7.html b/doc/RDFService/index-files/index-7.html new file mode 100644 index 000000000..b760f0816 --- /dev/null +++ b/doc/RDFService/index-files/index-7.html @@ -0,0 +1,164 @@ + + + + + + +R-Index + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +A C E G M N R S U V
+

+R

+
+
RDFService - Interface in edu.cornell.mannlib.vitro.webapp.rdfservice
Interface for API to write, read, and update Vitro's RDF store, with support + to allow listening, logging and auditing.
RDFService.ModelSerializationFormat - Enum in edu.cornell.mannlib.vitro.webapp.rdfservice
 
RDFService.ResultFormat - Enum in edu.cornell.mannlib.vitro.webapp.rdfservice
 
RDFService.SPARQLQueryType - Enum in edu.cornell.mannlib.vitro.webapp.rdfservice
 
RDFServiceException - Exception in edu.cornell.mannlib.vitro.webapp.rdfservice
 
RDFServiceException() - +Constructor for exception edu.cornell.mannlib.vitro.webapp.rdfservice.RDFServiceException +
  +
RDFServiceException(Throwable) - +Constructor for exception edu.cornell.mannlib.vitro.webapp.rdfservice.RDFServiceException +
  +
RDFServiceException(String) - +Constructor for exception edu.cornell.mannlib.vitro.webapp.rdfservice.RDFServiceException +
  +
RDFServiceException(String, Throwable) - +Constructor for exception edu.cornell.mannlib.vitro.webapp.rdfservice.RDFServiceException +
  +
RDFServiceFactory - Interface in edu.cornell.mannlib.vitro.webapp.rdfservice
 
registerListener(ChangeListener) - +Method in interface edu.cornell.mannlib.vitro.webapp.rdfservice.RDFService +
Registers a listener to listen to changes in any graph in + the RDF store. +
registerListener(ChangeListener) - +Method in interface edu.cornell.mannlib.vitro.webapp.rdfservice.RDFServiceFactory +
Registers a listener to listen to changes in any graph in + the RDF store. +
removedStatement(String, String) - +Method in interface edu.cornell.mannlib.vitro.webapp.rdfservice.ChangeListener +
Override this to listen to all statements removed from the RDF store. +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A C E G M N R S U V
+ + + diff --git a/doc/RDFService/index-files/index-8.html b/doc/RDFService/index-files/index-8.html new file mode 100644 index 000000000..61f2e7961 --- /dev/null +++ b/doc/RDFService/index-files/index-8.html @@ -0,0 +1,170 @@ + + + + + + +S-Index + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +A C E G M N R S U V
+

+S

+
+
setGraphURI(String) - +Method in interface edu.cornell.mannlib.vitro.webapp.rdfservice.ModelChange +
  +
setOperation(ModelChange.Operation) - +Method in interface edu.cornell.mannlib.vitro.webapp.rdfservice.ModelChange +
  +
setPreconditionQuery(String) - +Method in interface edu.cornell.mannlib.vitro.webapp.rdfservice.ChangeSet +
  +
setPreconditionQueryType(RDFService.SPARQLQueryType) - +Method in interface edu.cornell.mannlib.vitro.webapp.rdfservice.ChangeSet +
  +
setSerializationFormat(RDFService.ModelSerializationFormat) - +Method in interface edu.cornell.mannlib.vitro.webapp.rdfservice.ModelChange +
  +
setSerializedModel(InputStream) - +Method in interface edu.cornell.mannlib.vitro.webapp.rdfservice.ModelChange +
  +
sparqlAskQuery(String) - +Method in interface edu.cornell.mannlib.vitro.webapp.rdfservice.RDFService +
Performs a SPARQL ASK query against the knowledge base. +
sparqlConstructQuery(String, RDFService.ModelSerializationFormat) - +Method in interface edu.cornell.mannlib.vitro.webapp.rdfservice.RDFService +
Performs a SPARQL construct query against the knowledge base. +
sparqlDescribeQuery(String, RDFService.ModelSerializationFormat) - +Method in interface edu.cornell.mannlib.vitro.webapp.rdfservice.RDFService +
Performs a SPARQL describe query against the knowledge base. +
sparqlSelectQuery(String, RDFService.ResultFormat) - +Method in interface edu.cornell.mannlib.vitro.webapp.rdfservice.RDFService +
Performs a SPARQL select query against the knowledge base. +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A C E G M N R S U V
+ + + diff --git a/doc/RDFService/index-files/index-9.html b/doc/RDFService/index-files/index-9.html new file mode 100644 index 000000000..ffe61727e --- /dev/null +++ b/doc/RDFService/index-files/index-9.html @@ -0,0 +1,147 @@ + + + + + + +U-Index + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +A C E G M N R S U V
+

+U

+
+
unregisterListener(ChangeListener) - +Method in interface edu.cornell.mannlib.vitro.webapp.rdfservice.RDFService +
Unregisters a listener from listening to changes in + any graph in the RDF store +
unregisterListener(ChangeListener) - +Method in interface edu.cornell.mannlib.vitro.webapp.rdfservice.RDFServiceFactory +
Unregisters a listener from listening to changes in the RDF store. +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A C E G M N R S U V
+ + + diff --git a/doc/RDFService/index.html b/doc/RDFService/index.html new file mode 100644 index 000000000..614d8e8d7 --- /dev/null +++ b/doc/RDFService/index.html @@ -0,0 +1,36 @@ + + + + + + +Generated Documentation (Untitled) + + + + + + + + +<H2> +Frame Alert</H2> + +<P> +This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. +<BR> +Link to<A HREF="edu/cornell/mannlib/vitro/webapp/rdfservice/package-summary.html">Non-frame version.</A> + + + diff --git a/doc/RDFService/overview-tree.html b/doc/RDFService/overview-tree.html new file mode 100644 index 000000000..4f6fa7bc1 --- /dev/null +++ b/doc/RDFService/overview-tree.html @@ -0,0 +1,170 @@ + + + + + + +Class Hierarchy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For All Packages

+
+
+
Package Hierarchies:
edu.cornell.mannlib.vitro.webapp.rdfservice
+
+

+Class Hierarchy +

+
    +
  • java.lang.Object
      +
    • java.lang.Throwable (implements java.io.Serializable) + +
    +
+

+Interface Hierarchy +

+ +

+Enum Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/RDFService/package-list b/doc/RDFService/package-list new file mode 100644 index 000000000..eca5affca --- /dev/null +++ b/doc/RDFService/package-list @@ -0,0 +1 @@ +edu.cornell.mannlib.vitro.webapp.rdfservice diff --git a/doc/RDFService/resources/inherit.gif b/doc/RDFService/resources/inherit.gif new file mode 100644 index 000000000..c814867a1 Binary files /dev/null and b/doc/RDFService/resources/inherit.gif differ diff --git a/doc/RDFService/serialized-form.html b/doc/RDFService/serialized-form.html new file mode 100644 index 000000000..be86744b5 --- /dev/null +++ b/doc/RDFService/serialized-form.html @@ -0,0 +1,161 @@ + + + + + + +Serialized Form + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Serialized Form

+
+
+ + + + + +
+Package edu.cornell.mannlib.vitro.webapp.rdfservice
+ +

+ + + + + +
+Class edu.cornell.mannlib.vitro.webapp.rdfservice.RDFServiceException extends java.lang.Exception implements Serializable
+ +

+ +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/RDFService/stylesheet.css b/doc/RDFService/stylesheet.css new file mode 100644 index 000000000..6ea9e5161 --- /dev/null +++ b/doc/RDFService/stylesheet.css @@ -0,0 +1,29 @@ +/* Javadoc style sheet */ + +/* Define colors, fonts and other style attributes here to override the defaults */ + +/* Page background color */ +body { background-color: #FFFFFF; color:#000000 } + +/* Headings */ +h1 { font-size: 145% } + +/* Table colors */ +.TableHeadingColor { background: #CCCCFF; color:#000000 } /* Dark mauve */ +.TableSubHeadingColor { background: #EEEEFF; color:#000000 } /* Light mauve */ +.TableRowColor { background: #FFFFFF; color:#000000 } /* White */ + +/* Font used in left-hand frame lists */ +.FrameTitleFont { font-size: 100%; font-family: Helvetica, Arial, sans-serif; color:#000000 } +.FrameHeadingFont { font-size: 90%; font-family: Helvetica, Arial, sans-serif; color:#000000 } +.FrameItemFont { font-size: 90%; font-family: Helvetica, Arial, sans-serif; color:#000000 } + +/* Navigation bar fonts and colors */ +.NavBarCell1 { background-color:#EEEEFF; color:#000000} /* Light mauve */ +.NavBarCell1Rev { background-color:#00008B; color:#FFFFFF} /* Dark Blue */ +.NavBarFont1 { font-family: Arial, Helvetica, sans-serif; color:#000000;color:#000000;} +.NavBarFont1Rev { font-family: Arial, Helvetica, sans-serif; color:#FFFFFF;color:#FFFFFF;} + +.NavBarCell2 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF; color:#000000} +.NavBarCell3 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF; color:#000000} +