A B C D E F G I M O P R S T U V 

A

addInvisibleFields(DBObject, DBObject, EntityMetadata) - Method in class com.redhat.lightblue.crud.mongo.Translator
Add any fields in the old object that are not in the metadata of the new object
afterCreateNewSchema(Metadata, EntityMetadata) - Method in class com.redhat.lightblue.crud.mongo.MongoCRUDController
 
afterUpdateEntityInfo(Metadata, EntityInfo, boolean) - Method in class com.redhat.lightblue.crud.mongo.MongoCRUDController
 
AtomicIterateUpdate - Class in com.redhat.lightblue.crud.mongo
Atomic updater that evaluates the query, and updates the documents one by one using atomic updates This class is probably useless.
AtomicIterateUpdate(JsonNodeFactory, FieldAccessRoleEvaluator, Translator, DBObject, Projector, Set<Path>) - Constructor for class com.redhat.lightblue.crud.mongo.AtomicIterateUpdate
 

B

BasicDocDeleter - Class in com.redhat.lightblue.crud.mongo
Basic document deletion with no transaction support
BasicDocDeleter() - Constructor for class com.redhat.lightblue.crud.mongo.BasicDocDeleter
 
BasicDocFinder - Class in com.redhat.lightblue.crud.mongo
Basic doc search operation
BasicDocFinder(Translator) - Constructor for class com.redhat.lightblue.crud.mongo.BasicDocFinder
 
BasicDocSaver - Class in com.redhat.lightblue.crud.mongo
Basic doc saver with no transaction support
BasicDocSaver(Translator, FieldAccessRoleEvaluator) - Constructor for class com.redhat.lightblue.crud.mongo.BasicDocSaver
Creates a doc saver with the given translator and role evaluator
beforeCreateNewSchema(Metadata, EntityMetadata) - Method in class com.redhat.lightblue.crud.mongo.MongoCRUDController
 
beforeUpdateEntityInfo(Metadata, EntityInfo, boolean) - Method in class com.redhat.lightblue.crud.mongo.MongoCRUDController
 

C

CannotTranslateException - Exception in com.redhat.lightblue.crud.mongo
Thrown whenever an update expression cannot be translated to MongoDB update expression
CannotTranslateException(UpdateExpression) - Constructor for exception com.redhat.lightblue.crud.mongo.CannotTranslateException
 
CannotTranslateException(Path) - Constructor for exception com.redhat.lightblue.crud.mongo.CannotTranslateException
 
com.redhat.lightblue.crud.mongo - package com.redhat.lightblue.crud.mongo
 
createIdFrom(Object) - Static method in class com.redhat.lightblue.crud.mongo.Translator
Creates appropriate identifier object given source data.

D

delete(CRUDOperationContext, DBCollection, DBObject, CRUDDeleteResponse) - Method in class com.redhat.lightblue.crud.mongo.BasicDocDeleter
 
delete(CRUDOperationContext, DBCollection, DBObject, CRUDDeleteResponse) - Method in interface com.redhat.lightblue.crud.mongo.DocDeleter
Delete documents
delete(CRUDOperationContext, DBCollection, DBObject, CRUDDeleteResponse) - Method in class com.redhat.lightblue.crud.mongo.IterateDeleter
 
delete(CRUDOperationContext, QueryExpression) - Method in class com.redhat.lightblue.crud.mongo.MongoCRUDController
 
DocDeleter - Interface in com.redhat.lightblue.crud.mongo
Deletes documents from a MongoDB collection
DocFinder - Interface in com.redhat.lightblue.crud.mongo
Finds documents, sorts them, and limits the result set.
DocSaver - Interface in com.redhat.lightblue.crud.mongo
Inserts or saves a doc
DocSaver.Op - Enum in com.redhat.lightblue.crud.mongo
 
DocUpdater - Interface in com.redhat.lightblue.crud.mongo
Updates docs based on a query

E

ERR_CONNECTION_ERROR - Static variable in class com.redhat.lightblue.crud.mongo.MongoCrudConstants
 
ERR_DUPLICATE - Static variable in class com.redhat.lightblue.crud.mongo.MongoCrudConstants
 
ERR_EMPTY_DOCUMENTS - Static variable in class com.redhat.lightblue.crud.mongo.MongoCrudConstants
 
ERR_EMPTY_VALUE_LIST - Static variable in class com.redhat.lightblue.crud.mongo.MongoCrudConstants
 
ERR_ENTITY_INDEX_NOT_CREATED - Static variable in class com.redhat.lightblue.crud.mongo.MongoCrudConstants
 
ERR_INSERTION_ERROR - Static variable in class com.redhat.lightblue.crud.mongo.MongoCrudConstants
 
ERR_INVALID_COMPARISON - Static variable in class com.redhat.lightblue.crud.mongo.Translator
 
ERR_INVALID_FIELD - Static variable in class com.redhat.lightblue.crud.mongo.Translator
 
ERR_INVALID_INDEX_FIELD - Static variable in class com.redhat.lightblue.crud.mongo.MongoCrudConstants
 
ERR_INVALID_OBJECT - Static variable in class com.redhat.lightblue.crud.mongo.MongoCrudConstants
 
ERR_INVALID_OBJECTTYPE - Static variable in class com.redhat.lightblue.crud.mongo.Translator
 
ERR_NO_ACCESS - Static variable in class com.redhat.lightblue.crud.mongo.MongoCrudConstants
 
ERR_NO_OBJECT_TYPE - Static variable in class com.redhat.lightblue.crud.mongo.Translator
 
ERR_NULL_PROJECTION - Static variable in class com.redhat.lightblue.crud.mongo.MongoCrudConstants
 
ERR_NULL_QUERY - Static variable in class com.redhat.lightblue.crud.mongo.MongoCrudConstants
 
ERR_SAVE_CLOBBERS_HIDDEN_FIELDS - Static variable in class com.redhat.lightblue.crud.mongo.MongoCrudConstants
 
ERR_SAVE_ERROR - Static variable in class com.redhat.lightblue.crud.mongo.MongoCrudConstants
 
ERR_TRANSLATION_ERROR - Static variable in class com.redhat.lightblue.crud.mongo.MongoCrudConstants
 
ERR_UPDATE_ERROR - Static variable in class com.redhat.lightblue.crud.mongo.MongoCrudConstants
 

F

find(CRUDOperationContext, DBCollection, DBObject, DBObject, DBObject, Long, Long) - Method in class com.redhat.lightblue.crud.mongo.BasicDocFinder
 
find(CRUDOperationContext, DBCollection, DBObject, DBObject, DBObject, Long, Long) - Method in interface com.redhat.lightblue.crud.mongo.DocFinder
Finds documents.
find(CRUDOperationContext, QueryExpression, Projection, Sort, Long, Long) - Method in class com.redhat.lightblue.crud.mongo.MongoCRUDController
Search implementation for mongo
findInvisibleFields(DBObject) - Method in class com.redhat.lightblue.crud.mongo.Merge
Construct the initial state of Merge by going through all the fields in the DBObject, and checking if they exist in metadata.

G

getArrayIdentifiers(Path) - Method in class com.redhat.lightblue.crud.mongo.Merge
Returns all array element ids.
getDBObject(DBObject, Path) - Static method in class com.redhat.lightblue.crud.mongo.Translator
 
getExpr() - Method in exception com.redhat.lightblue.crud.mongo.CannotTranslateException
 
getField() - Method in class com.redhat.lightblue.crud.mongo.Merge.PathAndField
 
getIdentifyingContent(List<Merge.PathAndField>, DBObject) - Method in class com.redhat.lightblue.crud.mongo.Merge
 
getInvisibleFields() - Method in class com.redhat.lightblue.crud.mongo.Merge
 
getMetadataListener() - Method in class com.redhat.lightblue.crud.mongo.MongoCRUDController
 
getPath() - Method in class com.redhat.lightblue.crud.mongo.Merge.IField
 
getPath() - Method in class com.redhat.lightblue.crud.mongo.Merge.PathAndField
 
getRequiredFields(EntityMetadata, Projection, QueryExpression, Sort) - Static method in class com.redhat.lightblue.crud.mongo.Translator
Returns all the fields required to evaluate the given projection, query, and sort
getValue() - Method in class com.redhat.lightblue.crud.mongo.Merge.IField
 

I

ID_PATH - Static variable in class com.redhat.lightblue.crud.mongo.Translator
 
ID_STR - Static variable in class com.redhat.lightblue.crud.mongo.MongoCRUDController
 
insert(CRUDOperationContext, Projection) - Method in class com.redhat.lightblue.crud.mongo.MongoCRUDController
Insertion operation for mongo
IterateAndUpdate - Class in com.redhat.lightblue.crud.mongo
Non-atomic updater that evaluates the query, and updates the documents one by one.
IterateAndUpdate(JsonNodeFactory, ConstraintValidator, FieldAccessRoleEvaluator, Translator, Updater, Projector, Projector) - Constructor for class com.redhat.lightblue.crud.mongo.IterateAndUpdate
 
IterateDeleter - Class in com.redhat.lightblue.crud.mongo
Iterates the result set and deleted documents one by one
IterateDeleter(Translator) - Constructor for class com.redhat.lightblue.crud.mongo.IterateDeleter
 

M

Merge - Class in com.redhat.lightblue.crud.mongo
During a save operation, the document provided by the client replaces the copy in the database.
Merge(EntityMetadata) - Constructor for class com.redhat.lightblue.crud.mongo.Merge
Initialize with the metadata of the new object
merge(DBObject, DBObject) - Method in class com.redhat.lightblue.crud.mongo.Merge
Attempts to copy the invisible fields in oldCopy into newCopy.
Merge.IField - Class in com.redhat.lightblue.crud.mongo
 
Merge.IField(Path, Object) - Constructor for class com.redhat.lightblue.crud.mongo.Merge.IField
 
Merge.PathAndField - Class in com.redhat.lightblue.crud.mongo
 
Merge.PathAndField(Path, SimpleField) - Constructor for class com.redhat.lightblue.crud.mongo.Merge.PathAndField
 
MongoCrudConstants - Class in com.redhat.lightblue.crud.mongo
 
MongoCRUDController - Class in com.redhat.lightblue.crud.mongo
 
MongoCRUDController(DBResolver) - Constructor for class com.redhat.lightblue.crud.mongo.MongoCRUDController
 

O

OBJECT_TYPE - Static variable in class com.redhat.lightblue.crud.mongo.Translator
 
OBJECT_TYPE_STR - Static variable in class com.redhat.lightblue.crud.mongo.Translator
 
OP_DELETE - Static variable in class com.redhat.lightblue.crud.mongo.MongoCRUDController
 
OP_FIND - Static variable in class com.redhat.lightblue.crud.mongo.MongoCRUDController
 
OP_INSERT - Static variable in class com.redhat.lightblue.crud.mongo.MongoCRUDController
 
OP_SAVE - Static variable in class com.redhat.lightblue.crud.mongo.MongoCRUDController
 
OP_UPDATE - Static variable in class com.redhat.lightblue.crud.mongo.MongoCRUDController
 

P

PROP_DELETER - Static variable in class com.redhat.lightblue.crud.mongo.MongoCRUDController
Name of the property for the operation context that keeps the last deleter class instance used
PROP_FINDER - Static variable in class com.redhat.lightblue.crud.mongo.MongoCRUDController
Name of the property for the operation context that keeps the last finder class instance used
PROP_SAVER - Static variable in class com.redhat.lightblue.crud.mongo.MongoCRUDController
Name of the property for the operation context that keeps the last saver class instance used
PROP_UPDATER - Static variable in class com.redhat.lightblue.crud.mongo.MongoCRUDController
Name of the property for the operation context that keeps the last updater class instance used

R

reset() - Method in class com.redhat.lightblue.crud.mongo.Merge
Reset the internal state of the Merge

S

save(CRUDOperationContext, boolean, Projection) - Method in class com.redhat.lightblue.crud.mongo.MongoCRUDController
 
saveDoc(CRUDOperationContext, DocSaver.Op, boolean, DBCollection, EntityMetadata, DBObject, DocCtx) - Method in class com.redhat.lightblue.crud.mongo.BasicDocSaver
 
saveDoc(CRUDOperationContext, DocSaver.Op, boolean, DBCollection, EntityMetadata, DBObject, DocCtx) - Method in interface com.redhat.lightblue.crud.mongo.DocSaver
Inserts or saves a doc

T

toBson(List<? extends JsonDoc>) - Method in class com.redhat.lightblue.crud.mongo.Translator
Translates a list of JSON documents to DBObjects.
toBson(JsonDoc) - Method in class com.redhat.lightblue.crud.mongo.Translator
Translates a JSON document to DBObject.
toJson(DBObject) - Method in class com.redhat.lightblue.crud.mongo.Translator
Traslates a DBObject document to Json document
toJson(List<DBObject>) - Method in class com.redhat.lightblue.crud.mongo.Translator
Translates DBObjects into Json documents
toString() - Method in class com.redhat.lightblue.crud.mongo.Merge.IField
 
toString() - Method in class com.redhat.lightblue.crud.mongo.Merge.PathAndField
 
translate(Sort) - Method in class com.redhat.lightblue.crud.mongo.Translator
Translates a sort expression to Mongo sort expression
translate(EntityMetadata, QueryExpression) - Method in class com.redhat.lightblue.crud.mongo.Translator
Translates a query to Mongo query
translate(EntityMetadata, UpdateExpression) - Method in class com.redhat.lightblue.crud.mongo.Translator
Tranlates an update expression to Mongo query
translateJsPath(Path) - Static method in class com.redhat.lightblue.crud.mongo.Translator
Translate a path to a javascript path Path cannot have *.
translatePath(Path) - Static method in class com.redhat.lightblue.crud.mongo.Translator
Translate a path to a mongo path Any * in the path is removed.
translateProjection(EntityMetadata, Projection, QueryExpression, Sort) - Method in class com.redhat.lightblue.crud.mongo.Translator
Writes a MongoDB projection containing fields to evaluate the projection, sort, and query
Translator - Class in com.redhat.lightblue.crud.mongo
Translations between BSON and JSON.
Translator(MetadataResolver, JsonNodeFactory) - Constructor for class com.redhat.lightblue.crud.mongo.Translator
Constructs a translator using the given metadata resolver and factory

U

update(CRUDOperationContext, DBCollection, EntityMetadata, CRUDUpdateResponse, DBObject) - Method in class com.redhat.lightblue.crud.mongo.AtomicIterateUpdate
 
update(CRUDOperationContext, DBCollection, EntityMetadata, CRUDUpdateResponse, DBObject) - Method in interface com.redhat.lightblue.crud.mongo.DocUpdater
Updates the documents in the resultset of a query
update(CRUDOperationContext, DBCollection, EntityMetadata, CRUDUpdateResponse, DBObject) - Method in class com.redhat.lightblue.crud.mongo.IterateAndUpdate
 
update(CRUDOperationContext, QueryExpression, UpdateExpression, Projection) - Method in class com.redhat.lightblue.crud.mongo.MongoCRUDController
 
updatePredefinedFields(CRUDOperationContext, JsonDoc) - Method in class com.redhat.lightblue.crud.mongo.MongoCRUDController
 

V

valueOf(String) - Static method in enum com.redhat.lightblue.crud.mongo.DocSaver.Op
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.redhat.lightblue.crud.mongo.DocSaver.Op
Returns an array containing the constants of this enum type, in the order they are declared.
A B C D E F G I M O P R S T U V 

Copyright © 2014. All rights reserved.