A C D E F G I M N O R S U V 
All Classes All Packages

A

AbstractDelegatedAdvice<T,​E> - Class in com.alpha.mongodb.entitymanager.proxy.advice
Abstract class for Delegated Advices for Manageable Entities

C

callback(Object) - Method in interface com.alpha.mongodb.entitymanager.entity.Cloneable.CopiedEntityCallback
 
clone(Cloneable.CopiedEntityCallback<E>) - Method in interface com.alpha.mongodb.entitymanager.entity.Cloneable
Provides an implementation of cloning a document and saving it inside the database.
Cloneable - Interface in com.alpha.mongodb.entitymanager.entity
An entity that can be cloned/copied
Cloneable.CopiedEntityCallback<E extends Manageable> - Interface in com.alpha.mongodb.entitymanager.entity
 
CloneableAdvice<E> - Class in com.alpha.mongodb.entitymanager.proxy.advice
Cloneable Advice that implements Cloneable.clone(Cloneable.CopiedEntityCallback) and Cloneable.copy() methods
CloneableAdvice(E, MongoTemplate, String, ManageableAdvice<E>) - Constructor for class com.alpha.mongodb.entitymanager.proxy.advice.CloneableAdvice
 
com.alpha.mongodb.entitymanager - package com.alpha.mongodb.entitymanager
 
com.alpha.mongodb.entitymanager.entity - package com.alpha.mongodb.entitymanager.entity
 
com.alpha.mongodb.entitymanager.entity.annotation - package com.alpha.mongodb.entitymanager.entity.annotation
 
com.alpha.mongodb.entitymanager.entity.info - package com.alpha.mongodb.entitymanager.entity.info
 
com.alpha.mongodb.entitymanager.entity.internal - package com.alpha.mongodb.entitymanager.entity.internal
 
com.alpha.mongodb.entitymanager.exception - package com.alpha.mongodb.entitymanager.exception
 
com.alpha.mongodb.entitymanager.proxy - package com.alpha.mongodb.entitymanager.proxy
 
com.alpha.mongodb.entitymanager.proxy.advice - package com.alpha.mongodb.entitymanager.proxy.advice
 
com.alpha.mongodb.entitymanager.utils - package com.alpha.mongodb.entitymanager.utils
 
copy() - Method in interface com.alpha.mongodb.entitymanager.entity.Cloneable
Copies an entity but does not save it in the database.

D

DelegatedAdvice<T> - Interface in com.alpha.mongodb.entitymanager.proxy.advice
The delegated advice interface
Deletable - Interface in com.alpha.mongodb.entitymanager.entity
An enhanced entity that can be deleted.
DeletableAdvice<E> - Class in com.alpha.mongodb.entitymanager.proxy.advice
Deletable Advice that implements Deletable.delete() method
DeletableAdvice(E, MongoTemplate, String, ManageableAdvice<E>) - Constructor for class com.alpha.mongodb.entitymanager.proxy.advice.DeletableAdvice
 
delete() - Method in interface com.alpha.mongodb.entitymanager.entity.Deletable
Deletes the current entity and detaches it
detach() - Method in interface com.alpha.mongodb.entitymanager.entity.Manageable
Detach an entity from the managed session thereby making all the proxied implementations obsolete
detach() - Method in class com.alpha.mongodb.entitymanager.proxy.advice.AbstractDelegatedAdvice
 
detach() - Method in class com.alpha.mongodb.entitymanager.proxy.advice.ManageableAdvice
 
doFindOne(String, Document, Document, CursorPreparer, Class<T>) - Method in class com.alpha.mongodb.entitymanager.ManagedMongoTemplate
 
doInsert(String, T, MongoWriter<T>) - Method in class com.alpha.mongodb.entitymanager.ManagedMongoTemplate
 

E

enhance(T) - Method in class com.alpha.mongodb.entitymanager.ManagedEntityEnhancer
Enhances an existing Manageable entity by providing a proxy implementation for all the manageable methods
enhance(T, ManagedMongoTemplate) - Static method in class com.alpha.mongodb.entitymanager.ManagedEntityEnhancer
Static implementation that enhances an existing Manageable entity by providing a proxy implementation for all the manageable methods
enhance(T, ManagedMongoTemplate, String) - Static method in class com.alpha.mongodb.entitymanager.ManagedEntityEnhancer
Static implementation that enhances an existing Manageable entity by providing a proxy implementation for all the manageable methods
enhance(T, String) - Method in class com.alpha.mongodb.entitymanager.ManagedEntityEnhancer
Enhances an existing Manageable entity by providing a proxy implementation for all the manageable methods
entity - Variable in class com.alpha.mongodb.entitymanager.entity.info.EntityInformation
 
entityClass - Variable in class com.alpha.mongodb.entitymanager.entity.info.EntityInformation
 
EntityConfiguration - Annotation Type in com.alpha.mongodb.entitymanager.entity.annotation
Entity Configuration Annotation
EntityConfiguration.IdConfiguration - Enum in com.alpha.mongodb.entitymanager.entity.annotation
 
EntityDetachedException - Exception in com.alpha.mongodb.entitymanager.exception
Thrown when an entity is detached and a proxied implementation is being called.
EntityDetachedException() - Constructor for exception com.alpha.mongodb.entitymanager.exception.EntityDetachedException
 
EntityField - Class in com.alpha.mongodb.entitymanager.entity.info
 
EntityField(Field) - Constructor for class com.alpha.mongodb.entitymanager.entity.info.EntityField
 
EntityInformation<E> - Class in com.alpha.mongodb.entitymanager.entity.info
Get Entity Information from the Entity class, or the entity object
EntityInformation(E) - Constructor for class com.alpha.mongodb.entitymanager.entity.info.EntityInformation
 
EntityNotFoundException - Exception in com.alpha.mongodb.entitymanager.exception
Thrown when a refresh is called on an entity that doesn't exist in the database
EntityNotFoundException() - Constructor for exception com.alpha.mongodb.entitymanager.exception.EntityNotFoundException
 
EntitySchemaInformation<E> - Class in com.alpha.mongodb.entitymanager.entity.info
 
EntitySchemaInformation(Class<E>) - Constructor for class com.alpha.mongodb.entitymanager.entity.info.EntitySchemaInformation
 

F

FieldUtils - Class in com.alpha.mongodb.entitymanager.utils
Utility class to operate on fields on a class.
FieldUtils() - Constructor for class com.alpha.mongodb.entitymanager.utils.FieldUtils
 

G

getAdvisedClass() - Method in class com.alpha.mongodb.entitymanager.proxy.advice.CloneableAdvice
 
getAdvisedClass() - Method in interface com.alpha.mongodb.entitymanager.proxy.advice.DelegatedAdvice
 
getAdvisedClass() - Method in class com.alpha.mongodb.entitymanager.proxy.advice.DeletableAdvice
 
getAdvisedClass() - Method in class com.alpha.mongodb.entitymanager.proxy.advice.ManageableAdvice
 
getAdvisedClass() - Method in class com.alpha.mongodb.entitymanager.proxy.advice.RefreshableAdvice
 
getAdvisedClass() - Method in class com.alpha.mongodb.entitymanager.proxy.advice.UpdatableAdvice
 
getAdvisedMethods() - Method in class com.alpha.mongodb.entitymanager.proxy.advice.CloneableAdvice
 
getAdvisedMethods() - Method in interface com.alpha.mongodb.entitymanager.proxy.advice.DelegatedAdvice
 
getAdvisedMethods() - Method in class com.alpha.mongodb.entitymanager.proxy.advice.DeletableAdvice
 
getAdvisedMethods() - Method in class com.alpha.mongodb.entitymanager.proxy.advice.ManageableAdvice
 
getAdvisedMethods() - Method in class com.alpha.mongodb.entitymanager.proxy.advice.RefreshableAdvice
 
getAdvisedMethods() - Method in class com.alpha.mongodb.entitymanager.proxy.advice.UpdatableAdvice
 
getAllFields(Class<T>) - Static method in class com.alpha.mongodb.entitymanager.utils.FieldUtils
 
getAllFields(T) - Static method in class com.alpha.mongodb.entitymanager.utils.FieldUtils
 
getAllFieldsWithAnnotation(Class<T>, Class<S>) - Static method in class com.alpha.mongodb.entitymanager.utils.FieldUtils
 
getAllFieldsWithAnnotation(T, Class<S>) - Static method in class com.alpha.mongodb.entitymanager.utils.FieldUtils
 
getEntityConfiguration() - Method in class com.alpha.mongodb.entitymanager.entity.info.EntityInformation
Get the entity configuration if exists, gets a default configuration otherwise.
getEntityInformation() - Method in interface com.alpha.mongodb.entitymanager.entity.Manageable
Get Entity Information
getFieldValue(Field, Object) - Static method in class com.alpha.mongodb.entitymanager.utils.FieldUtils
 
getFieldWithAnnotation(Class<T>, Class<S>) - Static method in class com.alpha.mongodb.entitymanager.utils.FieldUtils
 
getFieldWithAnnotation(T, Class<S>) - Static method in class com.alpha.mongodb.entitymanager.utils.FieldUtils
 
getId() - Method in class com.alpha.mongodb.entitymanager.entity.info.EntityInformation
Get the entity id from the set entity.
getId() - Method in interface com.alpha.mongodb.entitymanager.entity.internal.ManageableWithId
 
getId(Object) - Method in class com.alpha.mongodb.entitymanager.entity.info.EntityInformation
Get ID from the object
getIdField() - Method in class com.alpha.mongodb.entitymanager.entity.info.EntitySchemaInformation
 
getSchemaInformation() - Method in class com.alpha.mongodb.entitymanager.entity.info.EntityInformation
 
getVersion() - Method in class com.alpha.mongodb.entitymanager.entity.info.EntityInformation
Get the entity version from the set entity.
getVersion() - Method in interface com.alpha.mongodb.entitymanager.entity.Versioned
 
getVersion(Object) - Method in class com.alpha.mongodb.entitymanager.entity.info.EntityInformation
Get version of the entity
getVersionField() - Method in class com.alpha.mongodb.entitymanager.entity.info.EntitySchemaInformation
 

I

id() - Method in annotation type com.alpha.mongodb.entitymanager.entity.annotation.EntityConfiguration
 
IEntityField - Interface in com.alpha.mongodb.entitymanager.entity.info
 
invoke(MethodInvocation) - Method in class com.alpha.mongodb.entitymanager.proxy.advice.CloneableAdvice
 
invoke(MethodInvocation) - Method in class com.alpha.mongodb.entitymanager.proxy.advice.DeletableAdvice
 
invoke(MethodInvocation) - Method in class com.alpha.mongodb.entitymanager.proxy.advice.ManageableAdvice
 
invoke(MethodInvocation) - Method in class com.alpha.mongodb.entitymanager.proxy.advice.RefreshableAdvice
 
invoke(MethodInvocation) - Method in class com.alpha.mongodb.entitymanager.proxy.advice.UpdatableAdvice
 
invoke(MethodInvocation) - Method in class com.alpha.mongodb.entitymanager.proxy.MongoManagedEntityAdvice
 
isId() - Method in class com.alpha.mongodb.entitymanager.entity.info.EntityField
 
isId() - Method in interface com.alpha.mongodb.entitymanager.entity.info.IEntityField
 
isManaged() - Method in interface com.alpha.mongodb.entitymanager.entity.Manageable
Check if the current entity is in a managed session
isTransient() - Method in class com.alpha.mongodb.entitymanager.entity.info.EntityField
 
isTransient() - Method in interface com.alpha.mongodb.entitymanager.entity.info.IEntityField
 

M

Manageable - Interface in com.alpha.mongodb.entitymanager.entity
A manageable entity that can be detached from the session thereafter, cannot be managed through the entity.
ManageableAdvice<E> - Class in com.alpha.mongodb.entitymanager.proxy.advice
Manageable Advice that implements Manageable.isManaged() and Manageable.detach() methods.
ManageableAdvice(E, MongoTemplate, String) - Constructor for class com.alpha.mongodb.entitymanager.proxy.advice.ManageableAdvice
 
ManageableWithId - Interface in com.alpha.mongodb.entitymanager.entity.internal
Entity that has a getter method that returns id.
ManagedEntityEnhancer - Class in com.alpha.mongodb.entitymanager
Entity Enhancer that creates proxy entities and adds functionalities like `refresh`, `update` based on the interfaces, the entity implements from.
ManagedEntityEnhancer(ManagedMongoTemplate) - Constructor for class com.alpha.mongodb.entitymanager.ManagedEntityEnhancer
 
ManagedEntityInitializationException - Exception in com.alpha.mongodb.entitymanager.exception
Thrown when an entity is not able to be initialized
ManagedEntityInitializationException() - Constructor for exception com.alpha.mongodb.entitymanager.exception.ManagedEntityInitializationException
 
ManagedEntityRuntimeException - Exception in com.alpha.mongodb.entitymanager.exception
Managed Entity Runtime exception
ManagedEntityRuntimeException(String) - Constructor for exception com.alpha.mongodb.entitymanager.exception.ManagedEntityRuntimeException
 
ManagedMongoTemplate - Class in com.alpha.mongodb.entitymanager
Managed Mongo Template to create proxy entities for queries and inserts made to the database.
ManagedMongoTemplate(MongoClient, String) - Constructor for class com.alpha.mongodb.entitymanager.ManagedMongoTemplate
 
ManagedMongoTemplate(MongoDatabaseFactory) - Constructor for class com.alpha.mongodb.entitymanager.ManagedMongoTemplate
 
ManagedMongoTemplate(MongoDatabaseFactory, MongoConverter) - Constructor for class com.alpha.mongodb.entitymanager.ManagedMongoTemplate
 
MongoManagedEntityAdvice<E> - Class in com.alpha.mongodb.entitymanager.proxy
A method interceptor that delegates the methods to the right advice
MongoManagedEntityAdvice(E, MongoTemplate, String) - Constructor for class com.alpha.mongodb.entitymanager.proxy.MongoManagedEntityAdvice
 

N

name() - Method in class com.alpha.mongodb.entitymanager.entity.info.EntityField
 
name() - Method in interface com.alpha.mongodb.entitymanager.entity.info.IEntityField
 
newEntity(Class<T>) - Method in class com.alpha.mongodb.entitymanager.ManagedEntityEnhancer
Creates a new entity of type `tClass`
NONE - com.alpha.mongodb.entitymanager.entity.annotation.EntityConfiguration.IdConfiguration
 

O

OBJECT_ID - com.alpha.mongodb.entitymanager.entity.annotation.EntityConfiguration.IdConfiguration
 

R

refresh() - Method in interface com.alpha.mongodb.entitymanager.entity.Refreshable
Refreshes this entity.
Refreshable - Interface in com.alpha.mongodb.entitymanager.entity
An entity that can be refreshed within a managed session.
RefreshableAdvice<E> - Class in com.alpha.mongodb.entitymanager.proxy.advice
Refreshable advice that implements Refreshable.refresh() method
RefreshableAdvice(E, MongoTemplate, String, ManageableAdvice<E>) - Constructor for class com.alpha.mongodb.entitymanager.proxy.advice.RefreshableAdvice
 

S

setFieldValue(Field, Object, Object) - Static method in class com.alpha.mongodb.entitymanager.utils.FieldUtils
 
simpleClone() - Method in interface com.alpha.mongodb.entitymanager.entity.Cloneable
Simple clone with identity callback

U

Updatable - Interface in com.alpha.mongodb.entitymanager.entity
A managed entity that can be updated.
UpdatableAdvice<E> - Class in com.alpha.mongodb.entitymanager.proxy.advice
Updatable Advice that implements Updatable.update() method
UpdatableAdvice(E, MongoTemplate, String, ManageableAdvice<E>) - Constructor for class com.alpha.mongodb.entitymanager.proxy.advice.UpdatableAdvice
 
update() - Method in interface com.alpha.mongodb.entitymanager.entity.Updatable
Updates the entity and refreshes it.

V

validateEntity() - Method in class com.alpha.mongodb.entitymanager.proxy.advice.AbstractDelegatedAdvice
 
valueOf(String) - Static method in enum com.alpha.mongodb.entitymanager.entity.annotation.EntityConfiguration.IdConfiguration
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.alpha.mongodb.entitymanager.entity.annotation.EntityConfiguration.IdConfiguration
Returns an array containing the constants of this enum type, in the order they are declared.
Versioned - Interface in com.alpha.mongodb.entitymanager.entity
An entity that contains version
A C D E F G I M N O R S U V 
All Classes All Packages