Skip navigation links
A B C D E F G H I J M N O P R S T V W 

A

AbstractCrudService - Class in org.fryske_akademy.ejb
This base class enables you to create minimal crud service beans.
AbstractCrudService() - Constructor for class org.fryske_akademy.ejb.AbstractCrudService
 
AbstractEntity - Class in org.fryske_akademy.jpa
superclass used for all entities, defines id and version column and a function to check if the entity is transient (not in db yet)
AbstractEntity() - Constructor for class org.fryske_akademy.jpa.AbstractEntity
 
add(String, String, String, Object) - Method in class org.fryske_akademy.ejb.ParamInfo.ParamInfoBuilder
 
add(String, Object) - Method in class org.fryske_akademy.ejb.ParamInfo.ParamInfoBuilder
 
add(ParamInfo) - Method in class org.fryske_akademy.ejb.ParamInfo.ParamInfoBuilder
 
add(String, JpqlBuilder.SORTORDER) - Method in class org.fryske_akademy.ejb.SortBuilder
 
autoComplete(String, String, String, Integer, Class<T>) - Method in class org.fryske_akademy.ejb.AbstractCrudService
 
autoComplete(String, String, String, Integer, Class<T>) - Method in interface org.fryske_akademy.ejb.CrudReadService
 

B

build() - Method in class org.fryske_akademy.ejb.ParamInfo.ParamInfoBuilder
 
build() - Method in class org.fryske_akademy.ejb.SortBuilder
 

C

count(List<ParamInfo>, Class) - Method in class org.fryske_akademy.ejb.AbstractCrudService
 
count(List<ParamInfo>, Class) - Method in interface org.fryske_akademy.ejb.CrudReadService
 
createOrUpdate(T) - Method in class org.fryske_akademy.ejb.AbstractCrudService
 
createOrUpdate(T) - Method in interface org.fryske_akademy.ejb.CrudWriteService
 
CrudReadService - Interface in org.fryske_akademy.ejb
Generic interface for read operations on entities and their envers history
CrudWriteService - Interface in org.fryske_akademy.ejb
Generic interface for write operations on entities

D

delete(EntityInterface) - Method in class org.fryske_akademy.ejb.AbstractCrudService
 
delete(EntityInterface) - Method in interface org.fryske_akademy.ejb.CrudWriteService
 

E

EDITOR - Static variable in class org.fryske_akademy.ejb.AbstractCrudService
 
EntityInterface - Interface in org.fryske_akademy.jpa
 
equals(Object) - Method in class org.fryske_akademy.jpa.AbstractEntity
 

F

FARevisionListener - Class in org.fryske_akademy.jpa
 
FARevisionListener() - Constructor for class org.fryske_akademy.jpa.FARevisionListener
 
find(Serializable, Class<T>) - Method in class org.fryske_akademy.ejb.AbstractCrudService
 
find(Map<String, JpqlBuilder.SORTORDER>, List<ParamInfo>, Integer, Class<T>) - Method in class org.fryske_akademy.ejb.AbstractCrudService
 
find(String, List<ParamInfo>, Integer, Class<T>) - Method in class org.fryske_akademy.ejb.AbstractCrudService
 
find(Serializable, Class<T>) - Method in interface org.fryske_akademy.ejb.CrudReadService
 
find(Map<String, JpqlBuilder.SORTORDER>, List<ParamInfo>, Integer, Class<T>) - Method in interface org.fryske_akademy.ejb.CrudReadService
 
find(String, List<ParamInfo>, Integer, Class<T>) - Method in interface org.fryske_akademy.ejb.CrudReadService
 
findAll(Class<T>) - Method in class org.fryske_akademy.ejb.AbstractCrudService
 
findAll(Class<T>) - Method in interface org.fryske_akademy.ejb.CrudReadService
 
findOne(String, List<ParamInfo>, Class<T>) - Method in class org.fryske_akademy.ejb.AbstractCrudService
 
findOne(String, String, Object, Class<T>) - Method in class org.fryske_akademy.ejb.AbstractCrudService
 
findOne(String, List<ParamInfo>, Class<T>) - Method in interface org.fryske_akademy.ejb.CrudReadService
 
findOne(String, String, Object, Class<T>) - Method in interface org.fryske_akademy.ejb.CrudReadService
 
findPaged(int, int, Map<String, JpqlBuilder.SORTORDER>, List<ParamInfo>, Class<T>) - Method in class org.fryske_akademy.ejb.AbstractCrudService
 
findPaged(int, int, Map<String, JpqlBuilder.SORTORDER>, List<ParamInfo>, Class<T>) - Method in interface org.fryske_akademy.ejb.CrudReadService
 
findPrincipal() - Static method in class org.fryske_akademy.jpa.JpaUtil
 

G

getEntity() - Method in class org.fryske_akademy.jpa.RevInfo
 
getEntityManager() - Method in class org.fryske_akademy.ejb.AbstractCrudService
 
getFactory(String) - Static method in class org.fryske_akademy.jpa.JpaUtil
 
getId() - Method in class org.fryske_akademy.jpa.AbstractEntity
 
getId() - Method in interface org.fryske_akademy.jpa.EntityInterface
an entity should have at least an id
getOperator() - Method in class org.fryske_akademy.ejb.ParamInfo
 
getParamKey() - Method in class org.fryske_akademy.ejb.ParamInfo
 
getParamValue() - Method in class org.fryske_akademy.ejb.ParamInfo
 
getPropertyPath() - Method in class org.fryske_akademy.ejb.ParamInfo
 
getRevision(Number, Class<T>) - Method in class org.fryske_akademy.ejb.AbstractCrudService
 
getRevision(Number, Class<T>) - Method in interface org.fryske_akademy.ejb.CrudReadService
get historical data for a certain revision
getRevisionInfo(T, Integer, Class<T>) - Method in class org.fryske_akademy.ejb.AbstractCrudService
 
getRevisionInfo(T, Integer, Class<T>) - Method in interface org.fryske_akademy.ejb.CrudReadService
return a list holding revision information, newest come first
getRevisionInfo() - Method in class org.fryske_akademy.jpa.RevInfo
 
getRevisionNumbers(Object, Class<T>) - Method in class org.fryske_akademy.ejb.AbstractCrudService
 
getRevisionNumbers(Object, Class<T>) - Method in interface org.fryske_akademy.ejb.CrudReadService
return list of revision numbers, first is the oldest
getType() - Method in class org.fryske_akademy.jpa.RevInfo
 
getUsername() - Method in class org.fryske_akademy.jpa.RevisionInfo
 
getVersion() - Method in class org.fryske_akademy.jpa.AbstractEntity
 

H

hashCode() - Method in class org.fryske_akademy.jpa.AbstractEntity
 

I

isTransient() - Method in class org.fryske_akademy.jpa.AbstractEntity
is the entity in the db?
isTransient() - Method in interface org.fryske_akademy.jpa.EntityInterface
is the entity in the db?

J

JpaUtil - Class in org.fryske_akademy.jpa
 
JpaUtil() - Constructor for class org.fryske_akademy.jpa.JpaUtil
 
JpqlBuilder - Interface in org.fryske_akademy.ejb
Responsible for building where and order by clauses in jpql
JpqlBuilder.SORTORDER - Enum in org.fryske_akademy.ejb
 
JpqlBuilderImpl - Class in org.fryske_akademy.ejb
 
JpqlBuilderImpl() - Constructor for class org.fryske_akademy.ejb.JpqlBuilderImpl
 

M

MAX_RESULT_AUTOCOMPLETE - Static variable in class org.fryske_akademy.ejb.AbstractCrudService
 

N

newRevision(Object) - Method in class org.fryske_akademy.jpa.FARevisionListener
 

O

orderClause(Map<String, JpqlBuilder.SORTORDER>) - Method in interface org.fryske_akademy.ejb.JpqlBuilder
builds an order by clause
orderClause(Map<String, JpqlBuilder.SORTORDER>) - Method in class org.fryske_akademy.ejb.JpqlBuilderImpl
builds an order by clause, uses JpqlBuilderImpl.TABLE_ALIAS as alias for the table
org.fryske_akademy.ejb - package org.fryske_akademy.ejb
 
org.fryske_akademy.jpa - package org.fryske_akademy.jpa
 

P

ParamInfo - Class in org.fryske_akademy.ejb
holder for parameter info that can be used when building a jpql query.
ParamInfo.ParamInfoBuilder - Class in org.fryske_akademy.ejb
helps building a list of ParamInfo
ParamInfoBuilder() - Constructor for class org.fryske_akademy.ejb.ParamInfo.ParamInfoBuilder
 

R

RevInfo<T> - Class in org.fryske_akademy.jpa
RevInfo(T, RevisionType, RevisionInfo) - Constructor for class org.fryske_akademy.jpa.RevInfo
 
RevisionInfo - Class in org.fryske_akademy.jpa
 
RevisionInfo() - Constructor for class org.fryske_akademy.jpa.RevisionInfo
 

S

setId(Integer) - Method in class org.fryske_akademy.jpa.AbstractEntity
 
setParam(TypedQuery, ParamInfo) - Method in interface org.fryske_akademy.ejb.JpqlBuilder
Set the value of a jpql parameter prepared in JpqlBuilder.whereCondition(org.fryske_akademy.ejb.ParamInfo)
setParam(TypedQuery, ParamInfo) - Method in class org.fryske_akademy.ejb.JpqlBuilderImpl
Fills parameters prepared in JpqlBuilderImpl.whereParams(javax.persistence.TypedQuery, java.util.List), if the type of the field in the query is a Short or an Integer and the paramValue is a String, it is converted accordingly.
setUsername(String) - Method in class org.fryske_akademy.jpa.RevisionInfo
 
setVersion(int) - Method in class org.fryske_akademy.jpa.AbstractEntity
 
SortBuilder - Class in org.fryske_akademy.ejb
 
SortBuilder() - Constructor for class org.fryske_akademy.ejb.SortBuilder
 

T

TABLE_ALIAS - Static variable in class org.fryske_akademy.ejb.JpqlBuilderImpl
tabel alias used in building where and order by clause.

V

valueOf(String) - Static method in enum org.fryske_akademy.ejb.JpqlBuilder.SORTORDER
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.fryske_akademy.ejb.JpqlBuilder.SORTORDER
Returns an array containing the constants of this enum type, in the order they are declared.

W

whereClause(List<ParamInfo>) - Method in interface org.fryske_akademy.ejb.JpqlBuilder
builds a where clause
whereClause(List<ParamInfo>) - Method in class org.fryske_akademy.ejb.JpqlBuilderImpl
builds a where clause, calls JpqlBuilderImpl.whereCondition(org.fryske_akademy.ejb.ParamInfo) for every entry, uses JpqlBuilderImpl.TABLE_ALIAS as alias for the table
whereCondition(ParamInfo) - Method in interface org.fryske_akademy.ejb.JpqlBuilder
builds a where condition
whereCondition(ParamInfo) - Method in class org.fryske_akademy.ejb.JpqlBuilderImpl
builds a where condition, prepares ql parameters later filled in JpqlBuilderImpl.whereParams(javax.persistence.TypedQuery, java.util.List)
whereParams(TypedQuery, List<ParamInfo>) - Method in interface org.fryske_akademy.ejb.JpqlBuilder
whereParams(TypedQuery, List<ParamInfo>) - Method in class org.fryske_akademy.ejb.JpqlBuilderImpl
A B C D E F G H I J M N O P R S T V W 
Skip navigation links

Copyright © 2018 Fryske Akademy. All rights reserved.