public interface EDOOperationContext
Modifier and Type | Method and Description |
---|---|
boolean |
authenticateCaller()
Requests verification of the callers identity.
|
boolean |
authenticateCredential(java.lang.String credentialID)
Verify that this client has been granted a credential by the identified entity.
|
java.lang.String |
getCallerID()
Returns the identity of the caller.
|
java.lang.Object |
getConnectionMapping(java.lang.Object mappingKey)
Returns the object from the connection-level information table that had
previously been used as the mappingData parameter for a call to
setConnectionMapping with the given mappingKey on the same connection.
|
java.lang.String[] |
getCredentialIDs()
Returns a list of unverified IDs that the client claims as credentials.
|
java.io.InputStream |
getDataElementByContext(java.lang.String contextID,
java.lang.String elementID)
Return an input stream that reads the identified data element based on the
given context ID.
|
HeaderSet |
getOperationHeaders()
Returns the set of headers that were included with the operation request
|
java.lang.String |
getOperationID()
Returns the operation that the caller attempted to invoke.
|
java.lang.String |
getServerID()
Returns the identity of this repository service
|
StorageProxy |
getStorage()
Returns on object that allows operators to access the storage
system for the current object.
|
java.lang.String |
getTargetObjectID()
Returns the object on which the caller is invoke the operation.
|
StreamPair |
performOperation(java.lang.String serverID,
java.lang.String objectID,
java.lang.String operationID,
HeaderSet params)
Performs the specified operation with the identity of the server.
|
void |
setConnectionMapping(java.lang.Object mappingKey,
java.lang.Object mappingData)
Inserts an object into the connection-level information table.
|
void |
setDataElementByContext(java.lang.String contextID,
java.lang.String elementID,
java.io.InputStream in)
Store the data from the given input stream in the identified data element based
on the given context ID.
|
boolean authenticateCaller()
java.lang.String[] getCredentialIDs()
boolean authenticateCredential(java.lang.String credentialID)
java.lang.String getCallerID()
java.lang.String getOperationID()
java.lang.String getTargetObjectID()
java.lang.String getServerID()
HeaderSet getOperationHeaders()
StorageProxy getStorage()
void setConnectionMapping(java.lang.Object mappingKey, java.lang.Object mappingData)
java.lang.Object getConnectionMapping(java.lang.Object mappingKey)
StreamPair performOperation(java.lang.String serverID, java.lang.String objectID, java.lang.String operationID, HeaderSet params) throws DOException
DOException
java.io.InputStream getDataElementByContext(java.lang.String contextID, java.lang.String elementID) throws DOException
DOException
void setDataElementByContext(java.lang.String contextID, java.lang.String elementID, java.io.InputStream in) throws java.io.IOException, DOException
java.io.IOException
DOException