| Package | Description |
|---|---|
| com.redhat.lightblue.crud | |
| com.redhat.lightblue.crud.interceptors | |
| com.redhat.lightblue.crud.valuegenerators | |
| com.redhat.lightblue.interceptor | |
| com.redhat.lightblue.mediator |
| Modifier and Type | Method and Description |
|---|---|
DocCtx |
CRUDOperationContext.addDocument(JsonDoc doc)
Adds a new document to the context
|
| Modifier and Type | Method and Description |
|---|---|
List<DocCtx> |
CRUDOperationContext.getDocuments()
Returns the list of documents in the context
|
List<DocCtx> |
CRUDOperationContext.getDocumentsWithoutErrors()
Returns a list of documents with no errors
|
| Modifier and Type | Method and Description |
|---|---|
void |
CRUDOperationContext.reset(List<DocCtx> docList)
Resets the operation context.
|
void |
CRUDOperationContext.setDocuments(List<DocCtx> docs) |
| Constructor and Description |
|---|
CRUDOperationContext(CRUDOperation op,
String entityName,
Factory f,
List<DocCtx> docs,
Set<String> callerRoles,
HookManager hookManager,
ExecutionOptions eo)
This constructor is used to construct an operation context that is
derived from another existing context.
|
| Modifier and Type | Method and Description |
|---|---|
void |
UIDInterceptor.run(CRUDOperationContext ctx,
DocCtx doc) |
| Modifier and Type | Method and Description |
|---|---|
void |
GeneratedFieldInterceptor.run(CRUDOperationContext ctx,
DocCtx doc) |
| Modifier and Type | Method and Description |
|---|---|
void |
InterceptPoint.CRUDDocInterceptPoint.call(Interceptor t,
CRUDOperationContext ctx,
DocCtx doc) |
void |
InterceptorManager.callInterceptors(InterceptPoint.CRUDDocInterceptPoint pt,
CRUDOperationContext ctx,
DocCtx doc) |
void |
CRUDDocInterceptor.run(CRUDOperationContext ctx,
DocCtx doc) |
| Constructor and Description |
|---|
OperationContext(Request request,
Metadata metadata,
Factory factory,
CRUDOperation CRUDOperation,
DefaultMetadataResolver resolver,
List<DocCtx> docs,
Set<String> callerRoles,
HookManager hookManager)
Construct an operation context drived from another operation context
|
Copyright © 2016. All rights reserved.