|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openanzo.serialization.handlers.HandlerAdapter
org.openanzo.serialization.handlers.ClientHandler
public class ClientHandler
IRepositoryHandler that processes Statement and NamedGraph messages into a set of additions and deletions lists
| Constructor Summary | |
|---|---|
ClientHandler()
|
|
| Method Summary | |
|---|---|
java.util.Map<org.openrdf.model.URI,java.util.ArrayList<org.openrdf.model.Statement>> |
getAdditions()
Get the map of NamedGraph's URI and the set of additions |
java.util.Map<org.openrdf.model.URI,java.util.ArrayList<org.openrdf.model.Statement>> |
getDeletions()
Get the map of NamedGraph's URI and the set of deletions |
boolean |
handleNamedGraph(boolean additions,
org.openrdf.model.URI namedGraph,
org.openrdf.model.URI metaGraph,
java.lang.Long revision,
org.openrdf.model.URI createdByURIId,
org.openrdf.model.URI acl,
java.lang.Long modified,
org.openrdf.model.URI lastModifiedBy)
Handle NamedGraph message |
boolean |
handleStatement(boolean additions,
org.openrdf.model.URI namedGraphId,
org.openrdf.model.Resource subject,
org.openrdf.model.URI predicate,
org.openrdf.model.Value object)
Handle statement message |
| Methods inherited from class org.openanzo.serialization.handlers.HandlerAdapter |
|---|
handleAci, handleAcl, handleCommandEnd, handleCommandStart, handleEndDocument, handleError, handleNode, handleReset, handleRole, handleStartDocument, handleSubRoleOf, handleTransactionEnd, handleTransactionStart, handleUser, handleUserInRole |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ClientHandler()
| Method Detail |
|---|
public boolean handleStatement(boolean additions,
org.openrdf.model.URI namedGraphId,
org.openrdf.model.Resource subject,
org.openrdf.model.URI predicate,
org.openrdf.model.Value object)
IRepositoryHandler
handleStatement in interface IRepositoryHandlerhandleStatement in class HandlerAdapteradditions - Is this a statement addition or deletionnamedGraphId - URI of NamedGraph that statement belongs tosubject - Subject valuepredicate - Predicate valueobject - Object value
public boolean handleNamedGraph(boolean additions,
org.openrdf.model.URI namedGraph,
org.openrdf.model.URI metaGraph,
java.lang.Long revision,
org.openrdf.model.URI createdByURIId,
org.openrdf.model.URI acl,
java.lang.Long modified,
org.openrdf.model.URI lastModifiedBy)
IRepositoryHandler
handleNamedGraph in interface IRepositoryHandlerhandleNamedGraph in class HandlerAdapteradditions - Is this message an addition or deletionnamedGraph - URI of NamedGraphmetaGraph - URI of NamedGraph's metadata graphrevision - Revision value of NamedGraphcreatedByURIId - URI of ACL that this NamedGraph usesacl - User that created the NamedGraphmodified - When graph was last modifiedlastModifiedBy - Who last modified graph
public java.util.Map<org.openrdf.model.URI,java.util.ArrayList<org.openrdf.model.Statement>> getAdditions()
public java.util.Map<org.openrdf.model.URI,java.util.ArrayList<org.openrdf.model.Statement>> getDeletions()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||