A C D E F G H I M N O P Q R S T U V W

A

AbstractAuditable<U,PK extends java.io.Serializable> - Class in org.synyx.hades.domain.auditing
Abstract base class for auditable entities.
AbstractAuditable() - Constructor for class org.synyx.hades.domain.auditing.AbstractAuditable
 
AbstractExtendedGenericJpaDao<T,PK extends java.io.Serializable> - Class in org.synyx.hades.dao.orm
Base class for implementations of ExtendedGenericDao that simply routes varargs parameterized methods to the Collection based ones.
AbstractExtendedGenericJpaDao() - Constructor for class org.synyx.hades.dao.orm.AbstractExtendedGenericJpaDao
 
AbstractPersistable<PK extends java.io.Serializable> - Class in org.synyx.hades.domain
Abstract base class for entities.
AbstractPersistable() - Constructor for class org.synyx.hades.domain.AbstractPersistable
 
afterPropertiesSet() - Method in class org.synyx.hades.dao.orm.GenericDaoFactoryBean
 
afterPropertiesSet() - Method in class org.synyx.hades.domain.auditing.support.AuditingEntityListener
 
applyAndBind(String, Collection<T>, EntityManager) - Static method in class org.synyx.hades.dao.query.QueryUtils
Creates a where-clause referencing the given entities and appends it to the given query string.
applySorting(String, Sort) - Static method in class org.synyx.hades.dao.query.QueryUtils
Adds order by clause to the JPQL query.
applySorting(String, Sort, String) - Static method in class org.synyx.hades.dao.query.QueryUtils
Adds order by clause to the JPQL query.
asList() - Method in interface org.synyx.hades.domain.Page
Returns the page content as List.
asList() - Method in class org.synyx.hades.domain.PageImpl
 
assertEntityManagerClass(Class<? extends EntityManager>) - Method in class org.synyx.hades.dao.orm.GenericDaoSupport
Asserts that the EntityManager implementation being used by the dao is an instance of the given type.
assertReturnType(Method, Class<?>...) - Static method in class org.synyx.hades.util.ClassUtils
Asserts the given Method's return type to be one of the given types.
Auditable<U,PK extends java.io.Serializable> - Interface in org.synyx.hades.domain.auditing
Interface for auditable entities.
AuditingAdvice<T> - Class in org.synyx.hades.domain.auditing
Deprecated. use AuditingEntityListener instead
AuditingAdvice() - Constructor for class org.synyx.hades.domain.auditing.AuditingAdvice
Deprecated.  
AuditingBeanDefinitionParser - Class in org.synyx.hades.dao.config
BeanDefinitionParser for the Hades auditing element.
AuditingBeanDefinitionParser() - Constructor for class org.synyx.hades.dao.config.AuditingBeanDefinitionParser
 
AuditingBeanFactoryPostProcessor - Class in org.synyx.hades.domain.auditing.support
BeanFactoryPostProcessor to add a depends-on from a LocalEntityManagerFactoryBean or LocalContainerEntityManagerFactoryBean towards the aspect bean configured via &lt;context:spring-configured&gt;.
AuditingBeanFactoryPostProcessor() - Constructor for class org.synyx.hades.domain.auditing.support.AuditingBeanFactoryPostProcessor
 
AuditingEntityListener<T> - Class in org.synyx.hades.domain.auditing.support
JPA entity listener to capture auditing information on persiting and updating entities.
AuditingEntityListener() - Constructor for class org.synyx.hades.domain.auditing.support.AuditingEntityListener
 
AuditorAware<T> - Interface in org.synyx.hades.domain.auditing
Interface for components that are aware of the application's current auditor.

C

canExtractQuery() - Method in interface org.synyx.hades.dao.query.QueryExtractor
Returns whether the extractor is able to extract the original query string from a given Query.
ClassUtils - Class in org.synyx.hades.util
Utility class to work with classes.
count() - Method in interface org.synyx.hades.dao.GenericDao
Returns the number of entities available.
count() - Method in class org.synyx.hades.dao.orm.GenericJpaDao
 
COUNT_QUERY_STRING - Static variable in class org.synyx.hades.dao.query.QueryUtils
 
create(EntityManager) - Static method in class org.synyx.hades.dao.orm.GenericDaoFactory
Creates a new GenericDaoFactory with the given EntityManager.
create(Class<T>, EntityManager) - Static method in class org.synyx.hades.dao.orm.GenericDaoFactoryBean
Creates a new GenericDaoFactoryBean.
create(EntityManager, Class<T>) - Static method in class org.synyx.hades.dao.orm.GenericEclipseLinkJpaDao
Factory method to create GenericEclipseLinkJpaDao instances.
create(EntityManager, Class<T>) - Static method in class org.synyx.hades.dao.orm.GenericHibernateJpaDao
Factory method to create GenericHibernateJpaDao instances.
create(EntityManager, Class<T>) - Static method in class org.synyx.hades.dao.orm.GenericJpaDao
Factory method to create GenericJpaDao instances.
create(QueryMethod, String) - Static method in exception org.synyx.hades.dao.query.QueryCreationException
Creates a new QueryCreationException.
create(QueryMethod, Throwable) - Static method in exception org.synyx.hades.dao.query.QueryCreationException
Creates a new QueryCreationException for the given QueryMethod and Throwable as cause.
createCountQueryFor(String) - Static method in class org.synyx.hades.dao.query.QueryUtils
Creates a count projected query from the given orginal query.
createIsNewStrategy(Class<?>) - Method in class org.synyx.hades.dao.orm.GenericDaoSupport
Return whether the given entity is to be regarded as new.

D

DaoNameSpaceHandler - Class in org.synyx.hades.dao.config
Simple namespace handler for dao-config namespace.
DaoNameSpaceHandler() - Constructor for class org.synyx.hades.dao.config.DaoNameSpaceHandler
 
DEFAULT_ORDER - Static variable in class org.synyx.hades.domain.Sort
 
delete(T) - Method in interface org.synyx.hades.dao.GenericDao
Deletes a given entity.
delete(List<T>) - Method in interface org.synyx.hades.dao.GenericDao
Deletes the given entities.
delete(T) - Method in class org.synyx.hades.dao.orm.GenericJpaDao
 
delete(List<T>) - Method in class org.synyx.hades.dao.orm.GenericJpaDao
 
DELETE_ALL_QUERY_STRING - Static variable in class org.synyx.hades.dao.query.QueryUtils
 
deleteAll() - Method in interface org.synyx.hades.dao.GenericDao
Deletes all entities managed by the DAO.
deleteAll() - Method in class org.synyx.hades.dao.orm.GenericJpaDao
 
deleteByExample(T...) - Method in interface org.synyx.hades.dao.ExtendedGenericDao
Deletes all entities mathing the given examples.
deleteByExample(Collection<T>) - Method in interface org.synyx.hades.dao.ExtendedGenericDao
Deletes all entities mathing the given examples.
deleteByExample(T...) - Method in class org.synyx.hades.dao.orm.AbstractExtendedGenericJpaDao
 
deleteByExample(Collection<T>) - Method in class org.synyx.hades.dao.orm.GenericEclipseLinkJpaDao
 
deleteByExample(Collection<T>) - Method in class org.synyx.hades.dao.orm.GenericHibernateJpaDao
 
detectAlias(String) - Static method in class org.synyx.hades.dao.query.QueryUtils
Resolves the alias for the entity to be retrieved from the given JPA query.

E

EclipseLinkHSQLPlatform - Class in org.synyx.hades.dao.orm
Workaround for a bug in EclipseLink when using HSQL as database.
EclipseLinkHSQLPlatform() - Constructor for class org.synyx.hades.dao.orm.EclipseLinkHSQLPlatform
 
equals(Object) - Method in class org.synyx.hades.domain.AbstractPersistable
 
equals(Object) - Method in class org.synyx.hades.domain.PageImpl
 
equals(Object) - Method in class org.synyx.hades.domain.PageRequest
 
equals(Object) - Method in class org.synyx.hades.domain.Sort
 
equals(Object) - Method in class org.synyx.hades.domain.Sort.Property
 
execute(Object...) - Method in interface org.synyx.hades.dao.query.HadesQuery
Executes the query with the given parameters.
exists(PK) - Method in interface org.synyx.hades.dao.GenericDao
Returns whether an entity with the given id exists.
exists(PK) - Method in class org.synyx.hades.dao.orm.GenericJpaDao
 
ExtendedGenericDao<T,PK extends java.io.Serializable> - Interface in org.synyx.hades.dao
Interface for a more sophisticated DAO implementation.
extractQueryString(Query) - Method in interface org.synyx.hades.dao.query.QueryExtractor
Reverse engineers the query string from the Query object.

F

flush() - Method in interface org.synyx.hades.dao.GenericDao
Flushes all pending changes to the database.
flush() - Method in class org.synyx.hades.dao.orm.GenericJpaDao
 
fromJpaValue(String) - Static method in enum org.synyx.hades.domain.Order
Returns the Order enum for the given JPA value.
fromXml(String) - Static method in enum org.synyx.hades.dao.query.QueryLookupStrategy
Returns a strategy from the given XML value.

G

GenericDao<T,PK extends java.io.Serializable> - Interface in org.synyx.hades.dao
Interface for generic CRUD operations on a DAO for a specific type.
GenericDaoFactory - Class in org.synyx.hades.dao.orm
Factory bean to create instances of a given DAO interface.
GenericDaoFactory() - Constructor for class org.synyx.hades.dao.orm.GenericDaoFactory
Protected constructor to prevent simple construction from clients.
GenericDaoFactoryBean<T extends GenericDao<?,?>> - Class in org.synyx.hades.dao.orm
Special GenericDaoFactory adapter for Springs FactoryBean interface to allow easy setup of DAO factories via Spring configuration.
GenericDaoFactoryBean() - Constructor for class org.synyx.hades.dao.orm.GenericDaoFactoryBean
 
GenericDaoSupport<T> - Class in org.synyx.hades.dao.orm
Abstract base class for generic DAOs.
GenericDaoSupport() - Constructor for class org.synyx.hades.dao.orm.GenericDaoSupport
 
GenericDaoSupport.IsNewStrategy - Interface in org.synyx.hades.dao.orm
Interface to abstract the ways to determine if a
GenericDaoSupport.PersistableIsNewStrategy - Class in org.synyx.hades.dao.orm
Implementation of GenericDaoSupport.IsNewStrategy that assumes the entity handled implements Persistable and uses Persistable.isNew() for the GenericDaoSupport.PersistableIsNewStrategy.isNew(Object) check.
GenericDaoSupport.PersistableIsNewStrategy() - Constructor for class org.synyx.hades.dao.orm.GenericDaoSupport.PersistableIsNewStrategy
 
GenericDaoSupport.ReflectiveIsNewStrategy - Class in org.synyx.hades.dao.orm
GenericDaoSupport.IsNewStrategy implementation that reflectively checks a Field or Method annotated with Id.
GenericDaoSupport.ReflectiveIsNewStrategy(Class<?>) - Constructor for class org.synyx.hades.dao.orm.GenericDaoSupport.ReflectiveIsNewStrategy
Creates a new GenericDaoSupport.ReflectiveIsNewStrategy by inspecting the given class for a Field or Method for and Id annotation.
GenericEclipseLinkJpaDao<T,PK extends java.io.Serializable> - Class in org.synyx.hades.dao.orm
EclipseLink based implementation of ExtendedGenericDao.
GenericEclipseLinkJpaDao() - Constructor for class org.synyx.hades.dao.orm.GenericEclipseLinkJpaDao
 
GenericHibernateJpaDao<T,PK extends java.io.Serializable> - Class in org.synyx.hades.dao.orm
Implements extended ExtendedGenericDao functionality with Hibernate.
GenericHibernateJpaDao() - Constructor for class org.synyx.hades.dao.orm.GenericHibernateJpaDao
 
GenericJpaDao<T,PK extends java.io.Serializable> - Class in org.synyx.hades.dao.orm
Default implementation of the GenericDao interface.
GenericJpaDao() - Constructor for class org.synyx.hades.dao.orm.GenericJpaDao
 
getCountQueryString() - Method in class org.synyx.hades.dao.orm.GenericDaoSupport
Returns the query string to count entities.
getCreatedBy() - Method in class org.synyx.hades.domain.auditing.AbstractAuditable
 
getCreatedBy() - Method in interface org.synyx.hades.domain.auditing.Auditable
Returns the user who created this entity.
getCreatedDate() - Method in class org.synyx.hades.domain.auditing.AbstractAuditable
 
getCreatedDate() - Method in interface org.synyx.hades.domain.auditing.Auditable
Returns the creation date of the entity.
getCurrentAuditor() - Method in interface org.synyx.hades.domain.auditing.AuditorAware
Returns the current auditor of the application.
getDao(Class<T>) - Method in class org.synyx.hades.dao.orm.GenericDaoFactory
Returns a DAO instance for the given interface.
getDao(Class<T>, Object) - Method in class org.synyx.hades.dao.orm.GenericDaoFactory
Returns a DAO instance for the given interface backed by an instance providing implementation logic for custom logic.
getDaoClass() - Method in class org.synyx.hades.dao.orm.GenericDaoFactory
Determines the base class for the DAO to be created by checking the EntityManager's concrete type.
getDefault() - Static method in enum org.synyx.hades.dao.query.QueryLookupStrategy
Returns the default strategy to be used.
getDeleteAllQueryString() - Method in class org.synyx.hades.dao.orm.GenericDaoSupport
Returns the query string to delete all entities.
getDomainClass() - Method in class org.synyx.hades.dao.orm.GenericDaoSupport
Returns the domain class to handle.
getDomainClass(Class<?>) - Static method in class org.synyx.hades.util.ClassUtils
Returns the domain class the given class is declared for.
getEntityManager() - Method in class org.synyx.hades.dao.orm.GenericDaoFactory
Returns the EntityManager.
getEntityManager() - Method in class org.synyx.hades.dao.orm.GenericDaoSupport
Returns the EntityManager.
getEntityManager() - Method in class org.synyx.hades.dao.orm.GenericEclipseLinkJpaDao
 
getEntityManager() - Method in class org.synyx.hades.dao.orm.GenericHibernateJpaDao
 
getEntityName(Class<?>) - Static method in class org.synyx.hades.util.ClassUtils
Returns the name ot the entity represented by this class.
getFirstItem() - Method in interface org.synyx.hades.domain.Pageable
Returns the first item relatively to the total number of items.
getFirstItem() - Method in class org.synyx.hades.domain.PageRequest
 
getId() - Method in class org.synyx.hades.domain.AbstractPersistable
 
getId() - Method in interface org.synyx.hades.domain.Persistable
Returns the id of the entity.
getIdClass(Class<?>) - Static method in class org.synyx.hades.util.ClassUtils
Returns the id class the given class is declared for.
getIsNewStrategy() - Method in class org.synyx.hades.dao.orm.GenericDaoSupport
Returns the strategy how to determine whether an entity is to be regarded as new.
getJpaValue() - Method in enum org.synyx.hades.domain.Order
Returns the JPA specific value.
getLastModifiedBy() - Method in class org.synyx.hades.domain.auditing.AbstractAuditable
 
getLastModifiedBy() - Method in interface org.synyx.hades.domain.auditing.Auditable
Returns the user who modified the entity lastly.
getLastModifiedDate() - Method in class org.synyx.hades.domain.auditing.AbstractAuditable
 
getLastModifiedDate() - Method in interface org.synyx.hades.domain.auditing.Auditable
Returns the date of the last modification.
getName() - Method in class org.synyx.hades.domain.Sort.Property
 
getNumber() - Method in interface org.synyx.hades.domain.Page
Returns the number of the current page.
getNumber() - Method in class org.synyx.hades.domain.PageImpl
 
getNumberOfElements() - Method in interface org.synyx.hades.domain.Page
Returns the number of elements currently on this page.
getNumberOfElements() - Method in class org.synyx.hades.domain.PageImpl
 
getNumberOfOccurences(Method, Class<?>) - Static method in class org.synyx.hades.util.ClassUtils
Returns the number of occurences of the given type in the given Methods parameters.
getObject() - Method in class org.synyx.hades.dao.orm.GenericDaoFactoryBean
 
getObjectType() - Method in class org.synyx.hades.dao.orm.GenericDaoFactoryBean
 
getOrder() - Method in class org.synyx.hades.domain.Sort
Deprecated. use Sort.Property.getOrder() while iterating over all properties
getOrder() - Method in class org.synyx.hades.domain.Sort.Property
Returns the order the property shall be sorted for.
getPageNumber() - Method in interface org.synyx.hades.domain.Pageable
Returns the page to be returned.
getPageNumber() - Method in class org.synyx.hades.domain.PageRequest
 
getPageSize() - Method in interface org.synyx.hades.domain.Pageable
Returns the number of items to be returned.
getPageSize() - Method in class org.synyx.hades.domain.PageRequest
 
getProperties() - Method in class org.synyx.hades.domain.Sort
Deprecated. prefer iterating over the Sort instance
getQueryLookupStrategy() - Method in class org.synyx.hades.dao.orm.GenericDaoFactory
Returns the configured QueryLookupStrategy.
getQueryString(String, Class<?>) - Static method in class org.synyx.hades.dao.query.QueryUtils
Returns the query string for the given class.
getQueryString(String, String) - Static method in class org.synyx.hades.dao.query.QueryUtils
Returns the query string for the given class name.
getReadAllQuery() - Method in class org.synyx.hades.dao.orm.GenericDaoSupport
Returns the query to retrieve all entities.
getReadAllQueryString() - Method in class org.synyx.hades.dao.orm.GenericDaoSupport
Returns the query string to retrieve all entities.
getReturnedDomainClass(Method) - Static method in class org.synyx.hades.util.ClassUtils
Returns the domain class returned by the given Method.
getSize() - Method in interface org.synyx.hades.domain.Page
Returns the size of the page.
getSize() - Method in class org.synyx.hades.domain.PageImpl
 
getSort() - Method in interface org.synyx.hades.domain.Page
Returns the sorting parameters for the page.
getSort() - Method in interface org.synyx.hades.domain.Pageable
Returns the sorting parameters.
getSort() - Method in class org.synyx.hades.domain.PageImpl
 
getSort() - Method in class org.synyx.hades.domain.PageRequest
 
getTotalElements() - Method in interface org.synyx.hades.domain.Page
Returns the total amount of elements.
getTotalElements() - Method in class org.synyx.hades.domain.PageImpl
 
getTotalPages() - Method in interface org.synyx.hades.domain.Page
Returns the number of total pages.
getTotalPages() - Method in class org.synyx.hades.domain.PageImpl
 

H

HadesQuery - Interface in org.synyx.hades.dao.query
Interface for a query abstraction.
hashCode() - Method in class org.synyx.hades.domain.AbstractPersistable
 
hashCode() - Method in class org.synyx.hades.domain.PageImpl
 
hashCode() - Method in class org.synyx.hades.domain.PageRequest
 
hashCode() - Method in class org.synyx.hades.domain.Sort
 
hashCode() - Method in class org.synyx.hades.domain.Sort.Property
 
hasNextPage() - Method in interface org.synyx.hades.domain.Page
Returns if there is a next page.
hasNextPage() - Method in class org.synyx.hades.domain.PageImpl
 
hasParameterOfType(Method, Class<?>) - Static method in class org.synyx.hades.util.ClassUtils
Returns whether the given Method has a parameter of the given type.
hasPreviousPage() - Method in interface org.synyx.hades.domain.Page
Returns if there is a previous page.
hasPreviousPage() - Method in class org.synyx.hades.domain.PageImpl
 

I

init() - Method in class org.synyx.hades.dao.config.DaoNameSpaceHandler
 
invalidProperty(QueryMethod, String) - Static method in exception org.synyx.hades.dao.query.QueryCreationException
Rejects the given domain class property.
isAscending() - Method in class org.synyx.hades.domain.Sort
Deprecated. use Sort.Property.isAscending() while iterating over all properties
isAscending() - Method in class org.synyx.hades.domain.Sort.Property
Returns whether sorting for this property shall be ascending.
isEntityManagerOfType(EntityManager, String) - Static method in class org.synyx.hades.util.ClassUtils
Returns whether the given EntityManager is of the given type.
isExtendedDaoInterface(Class<?>) - Static method in class org.synyx.hades.util.ClassUtils
Returns if the DAO bean to be created shall implement ExtendedGenericDao.
isHadesDaoInterface(Class<?>) - Static method in class org.synyx.hades.util.ClassUtils
Returns wthere the given type is a Hades DAO interface.
isHadesDaoInterface(String) - Static method in class org.synyx.hades.util.ClassUtils
Returns whether the given type name is a Hades DAO interface name.
isNew(Object) - Method in interface org.synyx.hades.dao.orm.GenericDaoSupport.IsNewStrategy
 
isNew(Object) - Method in class org.synyx.hades.dao.orm.GenericDaoSupport.PersistableIsNewStrategy
 
isNew(Object) - Method in class org.synyx.hades.dao.orm.GenericDaoSupport.ReflectiveIsNewStrategy
 
isNew() - Method in class org.synyx.hades.domain.AbstractPersistable
 
isNew() - Method in interface org.synyx.hades.domain.Persistable
Returns if the Persistable is new or was persisted already.
isOfType(Object, Collection<Class<?>>) - Static method in class org.synyx.hades.util.ClassUtils
Returns whether the given object is of one of the given types.
isSingleton() - Method in class org.synyx.hades.dao.orm.GenericDaoFactoryBean
 
iterator() - Method in interface org.synyx.hades.domain.Page
 
iterator() - Method in class org.synyx.hades.domain.PageImpl
 
iterator() - Method in class org.synyx.hades.domain.Sort
 

M

Modifying - Annotation Type in org.synyx.hades.dao
Indicates a method should be regarded as modifying query.

N

NoDaoBean - Annotation Type in org.synyx.hades.dao
Annotation to exclude DAO interfaces from being picked up by Hades and thus in consequence getting an instance being created.

O

Order - Enum in org.synyx.hades.domain
Enumeration for sort orders.
org.synyx.hades.dao - package org.synyx.hades.dao
Generic DAO interfaces.
org.synyx.hades.dao.config - package org.synyx.hades.dao.config
Support classes for Spring namespace configuration.
org.synyx.hades.dao.orm - package org.synyx.hades.dao.orm
DAO implementations based on JPA and various implementation providers.
org.synyx.hades.dao.query - package org.synyx.hades.dao.query
Package for the query abstraction.
org.synyx.hades.domain - package org.synyx.hades.domain
Interfaces for domain classes.
org.synyx.hades.domain.auditing - package org.synyx.hades.domain.auditing
 
org.synyx.hades.domain.auditing.support - package org.synyx.hades.domain.auditing.support
Support classes to activate auditing for usage with Spring.
org.synyx.hades.util - package org.synyx.hades.util
Package for utility classes.

P

Page<T> - Interface in org.synyx.hades.domain
A page is a sublist of a list of objects.
Pageable - Interface in org.synyx.hades.domain
Abstract interface for pagination information.
PageImpl<T> - Class in org.synyx.hades.domain
Basic Page implementation.
PageImpl(List<T>, Pageable, long) - Constructor for class org.synyx.hades.domain.PageImpl
Constructor of PageImpl.
PageImpl(List<T>) - Constructor for class org.synyx.hades.domain.PageImpl
Creates a new PageImpl with the given content.
PageRequest - Class in org.synyx.hades.domain
Basic Java Bean implementation of Pageable.
PageRequest(int, int) - Constructor for class org.synyx.hades.domain.PageRequest
Creates a new PageRequest.
PageRequest(int, int, Order, String...) - Constructor for class org.synyx.hades.domain.PageRequest
Creates a new PageRequest with sort parameters applied.
PageRequest(int, int, Sort) - Constructor for class org.synyx.hades.domain.PageRequest
Creates a new PageRequest with sort parameters applied.
Param - Annotation Type in org.synyx.hades.dao
Annotation to bind let method parameters be bound to a query via a named parameter.
parse(Element, ParserContext) - Method in class org.synyx.hades.dao.config.AuditingBeanDefinitionParser
 
Persistable<PK extends java.io.Serializable> - Interface in org.synyx.hades.domain
Simple interface for entities.
postProcessBeanFactory(ConfigurableListableBeanFactory) - Method in class org.synyx.hades.domain.auditing.support.AuditingBeanFactoryPostProcessor
 
printFieldUnique(Writer, boolean) - Method in class org.synyx.hades.dao.orm.EclipseLinkHSQLPlatform
 

Q

Query - Annotation Type in org.synyx.hades.dao
Annotation to declare finder queries directly on DAO methods.
QueryCreationException - Exception in org.synyx.hades.dao.query
Exception to be thrown if a query cannot be created from a QueryMethod.
QueryExtractor - Interface in org.synyx.hades.dao.query
Interface to hide different implementations to extract the original JPA query string from a Query.
QueryHints - Annotation Type in org.synyx.hades.dao
Wrapper annotation to allow QueryHint annotations to be bound to methods.
QueryLookupStrategy - Enum in org.synyx.hades.dao.query
Query lookup strategy to execute finders.
QueryMethod - Class in org.synyx.hades.dao.query
Abstraction of a method that is designated to execute a finder query.
QueryMethod(Method, Class<?>, QueryExtractor) - Constructor for class org.synyx.hades.dao.query.QueryMethod
Creates a new QueryMethod from the given parameters.
QueryUtils - Class in org.synyx.hades.dao.query
Simple utility class to create JPA queries.

R

READ_ALL_QUERY - Static variable in class org.synyx.hades.dao.query.QueryUtils
 
readAll() - Method in interface org.synyx.hades.dao.GenericDao
Returns all instances of the type.
readAll(Sort) - Method in interface org.synyx.hades.dao.GenericDao
Returns all entities sorted by the given options.
readAll(Pageable) - Method in interface org.synyx.hades.dao.GenericDao
Returns a paged list of entities meeting the paging restriction provided in the Pageable object.
readAll() - Method in class org.synyx.hades.dao.orm.GenericJpaDao
 
readAll(Sort) - Method in class org.synyx.hades.dao.orm.GenericJpaDao
 
readAll(Pageable) - Method in class org.synyx.hades.dao.orm.GenericJpaDao
 
readByExample(T...) - Method in interface org.synyx.hades.dao.ExtendedGenericDao
Returns all entities matching the given examples.
readByExample(Collection<T>) - Method in interface org.synyx.hades.dao.ExtendedGenericDao
Returns all entites matching the given criteria sorted by the given sort options.
readByExample(Sort, T...) - Method in interface org.synyx.hades.dao.ExtendedGenericDao
Returns all entites matching the given criteria sorted by the given sort options.
readByExample(Sort, Collection<T>) - Method in interface org.synyx.hades.dao.ExtendedGenericDao
Returns all entites matching the given criteria sorted by the given sort options.
readByExample(Pageable, T...) - Method in interface org.synyx.hades.dao.ExtendedGenericDao
Allows pageable access to all entities matching the given examples.
readByExample(Pageable, Collection<T>) - Method in interface org.synyx.hades.dao.ExtendedGenericDao
Allows pageable access to all entities matching the given examples.
readByExample(T...) - Method in class org.synyx.hades.dao.orm.AbstractExtendedGenericJpaDao
 
readByExample(Sort, T...) - Method in class org.synyx.hades.dao.orm.AbstractExtendedGenericJpaDao
 
readByExample(Pageable, T...) - Method in class org.synyx.hades.dao.orm.AbstractExtendedGenericJpaDao
 
readByExample(Collection<T>) - Method in class org.synyx.hades.dao.orm.GenericEclipseLinkJpaDao
 
readByExample(Sort, Collection<T>) - Method in class org.synyx.hades.dao.orm.GenericEclipseLinkJpaDao
 
readByExample(Pageable, Collection<T>) - Method in class org.synyx.hades.dao.orm.GenericEclipseLinkJpaDao
 
readByExample(Collection<T>) - Method in class org.synyx.hades.dao.orm.GenericHibernateJpaDao
 
readByExample(Sort, Collection<T>) - Method in class org.synyx.hades.dao.orm.GenericHibernateJpaDao
 
readByExample(Pageable, Collection<T>) - Method in class org.synyx.hades.dao.orm.GenericHibernateJpaDao
 
readByPrimaryKey(PK) - Method in interface org.synyx.hades.dao.GenericDao
Retrives an entity by it's primary key.
readByPrimaryKey(PK) - Method in class org.synyx.hades.dao.orm.GenericJpaDao
 
readPage(Pageable, String) - Method in class org.synyx.hades.dao.orm.GenericJpaDao
Reads a page of entities for the given JPQL query.
resolveQuery(QueryMethod, EntityManager) - Method in enum org.synyx.hades.dao.query.QueryLookupStrategy
Resolves a HadesQuery from the given QueryMethod that can be executed afterwards.

S

save(T) - Method in interface org.synyx.hades.dao.GenericDao
Saves a given entity.
save(List<T>) - Method in interface org.synyx.hades.dao.GenericDao
 
save(T) - Method in class org.synyx.hades.dao.orm.GenericJpaDao
 
save(List<T>) - Method in class org.synyx.hades.dao.orm.GenericJpaDao
 
saveAndFlush(T) - Method in interface org.synyx.hades.dao.GenericDao
Saves an entity and flushes changes instantly to the database.
saveAndFlush(T) - Method in class org.synyx.hades.dao.orm.GenericJpaDao
 
setAuditorAware(AuditorAware<T>) - Method in class org.synyx.hades.domain.auditing.AuditingAdvice
Deprecated. Setter to inject a AuditorAware component to retrieve the current auditor.
setAuditorAware(AuditorAware<T>) - Method in class org.synyx.hades.domain.auditing.support.AuditingEntityListener
Setter to inject a AuditorAware component to retrieve the current auditor.
setCreated(DateTime) - Method in class org.synyx.hades.domain.auditing.AbstractAuditable
 
setCreated(DateTime) - Method in interface org.synyx.hades.domain.auditing.Auditable
Sets the creation date of the entity.
setCreatedBy(U) - Method in class org.synyx.hades.domain.auditing.AbstractAuditable
 
setCreatedBy(U) - Method in interface org.synyx.hades.domain.auditing.Auditable
Sets the user who created this entity.
setCustomDaoImplementation(Object) - Method in class org.synyx.hades.dao.orm.GenericDaoFactoryBean
Setter to inject a custom DAO implementation.
setDaoInterface(Class<? extends T>) - Method in class org.synyx.hades.dao.orm.GenericDaoFactoryBean
Setter to inject the dao interface to implement.
setDateTimeForNow(boolean) - Method in class org.synyx.hades.domain.auditing.AuditingAdvice
Deprecated. Setter do determine if Auditable.setCreated(DateTime) and Auditable.setLastModified(DateTime) shall be filled with the current Java time.
setDateTimeForNow(boolean) - Method in class org.synyx.hades.domain.auditing.support.AuditingEntityListener
Setter do determine if Auditable.setCreated(DateTime) and Auditable.setLastModified(DateTime) shall be filled with the current Java time.
setDomainClass(Class<T>) - Method in class org.synyx.hades.dao.orm.GenericDaoSupport
Sets the domain class to handle.
setEntityManager(EntityManager) - Method in class org.synyx.hades.dao.orm.GenericDaoFactory
Setter to inject entity manager.
setEntityManager(EntityManager) - Method in class org.synyx.hades.dao.orm.GenericDaoSupport
Setter to inject EntityManager.
setId(PK) - Method in class org.synyx.hades.domain.AbstractPersistable
Sets the id of the entity.
setLastModified(DateTime) - Method in class org.synyx.hades.domain.auditing.AbstractAuditable
 
setLastModified(DateTime) - Method in interface org.synyx.hades.domain.auditing.Auditable
Sets the date of the last modification.
setLastModifiedBy(U) - Method in class org.synyx.hades.domain.auditing.AbstractAuditable
 
setLastModifiedBy(U) - Method in interface org.synyx.hades.domain.auditing.Auditable
Sets the user who modified the entity lastly.
setModifyOnCreation(boolean) - Method in class org.synyx.hades.domain.auditing.AuditingAdvice
Deprecated. Set this to false if you want to treat entity creation as modification and thus set the current date as modification date, too.
setModifyOnCreation(boolean) - Method in class org.synyx.hades.domain.auditing.support.AuditingEntityListener
Set this to false if you want to treat entity creation as modification and thus set the current date as modification date, too.
setQueryLookupStrategy(QueryLookupStrategy) - Method in class org.synyx.hades.dao.orm.GenericDaoFactory
Sets the strategy of how to lookup a query to execute finders.
Sort - Class in org.synyx.hades.domain
Sort option for queries.
Sort(List<Sort.Property>) - Constructor for class org.synyx.hades.domain.Sort
Creates a new Sort instance.
Sort(String...) - Constructor for class org.synyx.hades.domain.Sort
Creates a new Sort instance.
Sort(Order, String...) - Constructor for class org.synyx.hades.domain.Sort
Creates a new Sort instance.
Sort.Property - Class in org.synyx.hades.domain
Property implements the pairing of an Order and a property.
Sort.Property(Order, String) - Constructor for class org.synyx.hades.domain.Sort.Property
Creates a new Sort.Property instance. if order is null then order defaults to
Sort.Property(String) - Constructor for class org.synyx.hades.domain.Sort.Property
Creates a new Sort.Property instance.
supportsUniqueKeyConstraints() - Method in class org.synyx.hades.dao.orm.EclipseLinkHSQLPlatform
Workaround for https://bugs.eclipse.org/bugs/show_bug.cgi?

T

toString() - Method in class org.synyx.hades.dao.query.QueryMethod
 
toString() - Method in class org.synyx.hades.domain.AbstractPersistable
 
toString() - Method in class org.synyx.hades.domain.PageImpl
 
touch(Auditable<T, ?>) - Method in class org.synyx.hades.domain.auditing.AuditingAdvice
Deprecated. Sets modification and creation date and auditor on an auditable entity.
touch(List<?>) - Method in class org.synyx.hades.domain.auditing.AuditingAdvice
Deprecated. Sets modification and creation date and auditor on a List of Auditables.
touch(Object) - Method in class org.synyx.hades.domain.auditing.support.AuditingEntityListener
Sets modification and creation date and auditor on the target object in case it implements Auditable.

U

unwrapReflectionException(Exception) - Static method in class org.synyx.hades.util.ClassUtils
Helper method to extract the original exception that can possibly occur during a reflection call.

V

validate(Class<? extends GenericDao<?, ?>>, Object) - Method in class org.synyx.hades.dao.orm.GenericDaoFactory
Validates the given DAO interface as well as the given custom implementation.
validate() - Method in class org.synyx.hades.dao.orm.GenericDaoSupport
Callback method to validate the class setup.
validate() - Method in class org.synyx.hades.dao.orm.GenericEclipseLinkJpaDao
 
validate() - Method in class org.synyx.hades.dao.orm.GenericHibernateJpaDao
 
valueOf(String) - Static method in enum org.synyx.hades.dao.query.QueryLookupStrategy
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.synyx.hades.domain.Order
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.synyx.hades.dao.query.QueryLookupStrategy
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.synyx.hades.domain.Order
Returns an array containing the constants of this enum type, in the order they are declared.

W

with(Order) - Method in class org.synyx.hades.domain.Sort.Property
Returns a new Sort.Property with the given Order.
with(Order) - Method in class org.synyx.hades.domain.Sort
Deprecated. user Sort.Property.with(Order) instead
withProperties(String...) - Method in class org.synyx.hades.domain.Sort.Property
Returns a new Sort instance for the given properties.
withProperties(String...) - Method in class org.synyx.hades.domain.Sort
Deprecated. use Sort.Property.withProperties(String...) instead

A C D E F G H I M N O P Q R S T U V W

Copyright © 2009-2010 Synyx GmbH & Co. KG. All Rights Reserved.