A B C D E F G H I J M O P Q R S T U 

A

add(String, Object[]) - Method in class org.debux.webmotion.jpa.GenericDAO.Parameters
Add one parameter with all values.
add(String) - Method in class org.debux.webmotion.jpa.GenericDAO.Parameters
Add one parameter with null value.
add(String, Object) - Method in class org.debux.webmotion.jpa.GenericDAO.Parameters
Add one parameter to complete with a value.
addAll(Map) - Method in class org.debux.webmotion.jpa.GenericDAO.Parameters
Add all parameters.
all(GenericDAO, HttpServletRequest, String, String, String, String) - Method in class org.debux.webmotion.jpa.Jpa
Manage all action.
ATTRIBUTE_NAME_ID - Static variable in class org.debux.webmotion.jpa.IdentifiableEntity
Identifier attribute name

B

beanUtil - Variable in class org.debux.webmotion.jpa.GenericDAO
Utility on bean

C

convertUtils - Variable in class org.debux.webmotion.jpa.GenericDAO
Utility to convert value
create(GenericDAO.Parameters) - Method in class org.debux.webmotion.jpa.GenericDAO
Create an entity with parameters.
create() - Static method in class org.debux.webmotion.jpa.GenericDAO.Parameters
 
create(Map) - Static method in class org.debux.webmotion.jpa.GenericDAO.Parameters
 
create(GenericDAO, HttpServletRequest, String) - Method in class org.debux.webmotion.jpa.Jpa
Create an entity with request parameters.
CURRENT_ENTITY_MANAGER - Static variable in class org.debux.webmotion.jpa.Transactional
Attribute name stores the EntityManager
CURRENT_ENTITY_TRANSACTION - Static variable in class org.debux.webmotion.jpa.Transactional
Attribute name stores the EntityTransaction
CURRENT_GENERIC_DAO - Static variable in class org.debux.webmotion.jpa.Transactional
Attribute name stores the GenericDAO

D

DEFAULT_PERSISTENCE_UNIT_NAME - Static variable in class org.debux.webmotion.jpa.Transactional
Default persistence unit name
delete(String) - Method in class org.debux.webmotion.jpa.GenericDAO
Delete an entity, that is identified by this id.
delete(GenericDAO, HttpServletRequest, String, String) - Method in class org.debux.webmotion.jpa.Jpa
Delete an entity identify by an identifier.

E

entityClass - Variable in class org.debux.webmotion.jpa.GenericDAO
Current entity class do crud
equals(Object) - Method in class org.debux.webmotion.jpa.IdentifiableEntity
 
exec(String, GenericDAO.Parameters) - Method in class org.debux.webmotion.jpa.GenericDAO
Execute a query named as write in entity.
exec(GenericDAO, HttpServletRequest, String, String) - Method in class org.debux.webmotion.jpa.Jpa
Execute the query as write with as parameter the request parameter and identify by a name.
extract(Query, GenericDAO.Parameters) - Method in class org.debux.webmotion.jpa.GenericDAO
Set parameter in the query.
extract(GenericDAO.Parameters) - Method in class org.debux.webmotion.jpa.GenericDAO
Create a new entity with parameters.
extract(IdentifiableEntity, GenericDAO.Parameters) - Method in class org.debux.webmotion.jpa.GenericDAO
Complete entity with parameters.

F

factories - Variable in class org.debux.webmotion.jpa.Transactional
Cache all EntityManagerFactory
find(String) - Method in class org.debux.webmotion.jpa.GenericDAO
Find entity by the id.
find(GenericDAO, HttpServletRequest, String, String) - Method in class org.debux.webmotion.jpa.Jpa
Find an entity by an identifier.

G

GenericDAO - Class in org.debux.webmotion.jpa
The class is a generic DAO.
GenericDAO(EntityManager, Class<? extends IdentifiableEntity>) - Constructor for class org.debux.webmotion.jpa.GenericDAO
Constructor with direct entity class.
GenericDAO(EntityManager, String) - Constructor for class org.debux.webmotion.jpa.GenericDAO
Constructor with entity class as string.
GenericDAO.Parameters - Class in org.debux.webmotion.jpa
Helper to create dynamic parameter for the GenericDAO.
GenericDAO.Parameters() - Constructor for class org.debux.webmotion.jpa.GenericDAO.Parameters
Constructor by default
GenericDAO.Parameters(Map<String, Object[]>) - Constructor for class org.debux.webmotion.jpa.GenericDAO.Parameters
Constructor with the parameters.
get(String) - Method in class org.debux.webmotion.jpa.GenericDAO.Parameters
 
getId() - Method in class org.debux.webmotion.jpa.IdentifiableEntity
 
getParameters() - Method in class org.debux.webmotion.jpa.GenericDAO.Parameters
 
getValue(Mapping, Call, String, Class<?>, Type) - Method in class org.debux.webmotion.jpa.JpaListener.EntityManagerInjector
 
getValue(Mapping, Call, String, Class<?>, Type) - Method in class org.debux.webmotion.jpa.JpaListener.EntityTransactionManager
 
getValue(Mapping, Call, String, Class<?>, Type) - Method in class org.debux.webmotion.jpa.JpaListener.GenericDaoInjector
 

H

hashCode() - Method in class org.debux.webmotion.jpa.IdentifiableEntity
 

I

id - Variable in class org.debux.webmotion.jpa.IdentifiableEntity
Identifier
IdentifiableEntity - Class in org.debux.webmotion.jpa
All entities must extend this class, to be managed by the @see GenericDAO.
IdentifiableEntity() - Constructor for class org.debux.webmotion.jpa.IdentifiableEntity
 

J

Jpa - Class in org.debux.webmotion.jpa
This controller manages the entity.
Jpa() - Constructor for class org.debux.webmotion.jpa.Jpa
 
JpaListener - Class in org.debux.webmotion.jpa
Add configuration to use Jpa : Add Jpa as global controller Add GenericDaoInjector as injector to get the DAO in Jpa controller Add EntityManagerInjector as injector to get EntityManager Add EntityTransactionManager as injector to get EntityTransaction
JpaListener() - Constructor for class org.debux.webmotion.jpa.JpaListener
 
JpaListener.EntityManagerInjector - Class in org.debux.webmotion.jpa
Inject EntityManager
JpaListener.EntityManagerInjector() - Constructor for class org.debux.webmotion.jpa.JpaListener.EntityManagerInjector
 
JpaListener.EntityTransactionManager - Class in org.debux.webmotion.jpa
Inject EntityTransaction
JpaListener.EntityTransactionManager() - Constructor for class org.debux.webmotion.jpa.JpaListener.EntityTransactionManager
 
JpaListener.GenericDaoInjector - Class in org.debux.webmotion.jpa
Inject GenericDAO
JpaListener.GenericDaoInjector() - Constructor for class org.debux.webmotion.jpa.JpaListener.GenericDaoInjector
 

M

manager - Variable in class org.debux.webmotion.jpa.GenericDAO
Current entity manager

O

onStart(Mapping, ServerContext) - Method in class org.debux.webmotion.jpa.JpaListener
 
onStop(ServerContext) - Method in class org.debux.webmotion.jpa.JpaListener
 
org.debux.webmotion.jpa - package org.debux.webmotion.jpa
 

P

parameters - Variable in class org.debux.webmotion.jpa.GenericDAO.Parameters
All values
propertyUtils - Variable in class org.debux.webmotion.jpa.GenericDAO
Utility on property

Q

query(String, GenericDAO.Parameters) - Method in class org.debux.webmotion.jpa.GenericDAO
Execute a query named as read in entity.
query(GenericDAO, HttpServletRequest, String, String) - Method in class org.debux.webmotion.jpa.Jpa
Execute the query as read with as parameter the request parameter and identify by a name.

R

render(String, String, Object) - Method in class org.debux.webmotion.jpa.Jpa
 

S

setId(String) - Method in class org.debux.webmotion.jpa.IdentifiableEntity
Set identifier.

T

Transactional - Class in org.debux.webmotion.jpa
Manage the transaction during execute the request.
Transactional() - Constructor for class org.debux.webmotion.jpa.Transactional
Default constructor
tx(HttpServletRequest, String, Properties, String, String) - Method in class org.debux.webmotion.jpa.Transactional
Create the transaction and the GenericDAO if the entity name is not empty or null.

U

update(String, GenericDAO.Parameters) - Method in class org.debux.webmotion.jpa.GenericDAO
Update an entity with parameters, that is identified by this id.
update(GenericDAO, HttpServletRequest, String, String) - Method in class org.debux.webmotion.jpa.Jpa
Update an entity with request parameter and identify by an identifier.
A B C D E F G H I J M O P Q R S T U 

Copyright © 2011–2014 Debux. All rights reserved.