|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.dna.graph.requests.processor.RequestProcessor org.jboss.dna.connector.federation.executor.SingleProjectionCommandExecutor
@NotThreadSafe public class SingleProjectionCommandExecutor
Constructor Summary | |
---|---|
SingleProjectionCommandExecutor(ExecutionContext context,
String sourceName,
DateTime now,
Projection projection,
RepositoryConnectionFactory connectionFactory)
|
|
SingleProjectionCommandExecutor(ExecutionContext context,
String sourceName,
Projection projection,
RepositoryConnectionFactory connectionFactory)
|
Method Summary | |
---|---|
void |
close()
Close this processor, allowing it to clean up any open resources. |
void |
process(CopyBranchRequest request)
Process a request to copy a branch into another location. |
void |
process(CreateNodeRequest request)
Process a request to create a node at a specified location. |
void |
process(DeleteBranchRequest request)
Process a request to delete a branch at a specified location. |
void |
process(MoveBranchRequest request)
Process a request to move a branch at a specified location into a different location. |
void |
process(ReadAllChildrenRequest request)
Process a request to read all of the children of a node. |
void |
process(ReadAllPropertiesRequest request)
Process a request to read the properties of a node at the supplied location. |
void |
process(ReadNodeRequest request)
Process a request to read the properties and children of a node at the supplied location. |
void |
process(UpdatePropertiesRequest request)
Process a request to remove the specified properties from a node. |
Methods inherited from class org.jboss.dna.graph.requests.processor.RequestProcessor |
---|
getExecutionContext, getSourceName, process, process, process, process, process, process, process, process |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SingleProjectionCommandExecutor(ExecutionContext context, String sourceName, Projection projection, RepositoryConnectionFactory connectionFactory)
context
- the execution context in which the executor will be run; may not be nullsourceName
- the name of the RepositorySource
that is making use of this executor; may not be null or emptyprojection
- the projection used for the cached information; may not be null and must have exactly one
rule
connectionFactory
- the factory for RepositoryConnection
instancespublic SingleProjectionCommandExecutor(ExecutionContext context, String sourceName, DateTime now, Projection projection, RepositoryConnectionFactory connectionFactory)
context
- the execution context in which the executor will be run; may not be nullsourceName
- the name of the RepositorySource
that is making use of this executor; may not be null or emptynow
- the current time; may be null if the system time is to be usedprojection
- the projection used for the cached information; may not be null and must have exactly one
rule
connectionFactory
- the factory for RepositoryConnection
instancesMethod Detail |
---|
public void close()
close
in class RequestProcessor
RequestProcessor.close()
public void process(ReadAllChildrenRequest request)
This method does nothing if the request is null.
process
in class RequestProcessor
request
- the read requestRequestProcessor.process(org.jboss.dna.graph.requests.ReadAllChildrenRequest)
public void process(ReadAllPropertiesRequest request)
This method does nothing if the request is null.
process
in class RequestProcessor
request
- the read requestRequestProcessor.process(org.jboss.dna.graph.requests.ReadAllPropertiesRequest)
public void process(ReadNodeRequest request)
This method does nothing if the request is null. Unless overridden, this method converts the single request into a
ReadAllChildrenRequest
and a ReadAllPropertiesRequest
.
process
in class RequestProcessor
request
- the read requestRequestProcessor.process(org.jboss.dna.graph.requests.ReadNodeRequest)
public void process(CreateNodeRequest request)
This method does nothing if the request is null.
process
in class RequestProcessor
request
- the create requestRequestProcessor.process(org.jboss.dna.graph.requests.CreateNodeRequest)
public void process(UpdatePropertiesRequest request)
This method does nothing if the request is null.
process
in class RequestProcessor
request
- the remove requestRequestProcessor.process(org.jboss.dna.graph.requests.UpdatePropertiesRequest)
public void process(DeleteBranchRequest request)
This method does nothing if the request is null.
process
in class RequestProcessor
request
- the delete requestRequestProcessor.process(org.jboss.dna.graph.requests.DeleteBranchRequest)
public void process(MoveBranchRequest request)
This method does nothing if the request is null.
process
in class RequestProcessor
request
- the move requestRequestProcessor.process(org.jboss.dna.graph.requests.MoveBranchRequest)
public void process(CopyBranchRequest request)
This method does nothing if the request is null.
process
in class RequestProcessor
request
- the copy requestRequestProcessor.process(org.jboss.dna.graph.requests.CopyBranchRequest)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |