Index

A B C D E F G H I J L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

AbstractCrudService - Class in org.fryske_akademy.services
This base class enables you to create crud service beans with minimal effort.
AbstractCrudService() - Constructor for class org.fryske_akademy.services.AbstractCrudService
 
AbstractCrudServiceEnvers - Class in org.fryske_akademy.services
 
AbstractCrudServiceEnvers() - Constructor for class org.fryske_akademy.services.AbstractCrudServiceEnvers
 
AbstractEntity - Class in org.fryske_akademy.jpa
superclass for entities, defines auto generated id (GenerationType.IDENTITY), a 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
 
AbstractWsEntity - Class in org.fryske_akademy.jpa
Base for 'readonly' entities in for example webservices.
AbstractWsEntity() - Constructor for class org.fryske_akademy.jpa.AbstractWsEntity
 
add(String, Object) - Method in class org.fryske_akademy.jpa.Param.Builder
add(String, Object, boolean) - Method in class org.fryske_akademy.jpa.Param.Builder
add(String, String, boolean, StringConverter) - Method in class org.fryske_akademy.jpa.Param.Builder
add(String, String, StringConverter) - Method in class org.fryske_akademy.jpa.Param.Builder
add(String, String, Object, boolean) - Method in class org.fryske_akademy.jpa.Param.Builder
add(String, String, String, boolean, StringConverter) - Method in class org.fryske_akademy.jpa.Param.Builder
add(String, String, String, StringConverter) - Method in class org.fryske_akademy.jpa.Param.Builder
add(String, String, String, Object, boolean, boolean) - Method in class org.fryske_akademy.jpa.Param.Builder
add(String, String, String, Object, boolean, boolean, Object) - Method in class org.fryske_akademy.jpa.Param.Builder
add(String, String, String, String, boolean, StringConverter) - Method in class org.fryske_akademy.jpa.Param.Builder
Bottleneck method for String values, applies syntax support and wildcard mapping when configured in the Builder.
add(String, String, OPERATOR, Object, boolean, boolean) - Method in class org.fryske_akademy.jpa.Param.Builder
add(String, String, OPERATOR, Object, boolean, boolean, Object) - Method in class org.fryske_akademy.jpa.Param.Builder
Bottleneck method, adds a new Param, does not apply any intelligence.
add(String, CrudReadService.SORTORDER) - Method in class org.fryske_akademy.services.CrudReadService.SORTORDER.Builder
 
addParam(List<Param>) - Method in class org.fryske_akademy.jpa.Param.Builder
 
addParam(Param...) - Method in class org.fryske_akademy.jpa.Param.Builder
 
AND - Enum constant in enum class org.fryske_akademy.jpa.OPERATOR
Not an operator, it is here to support " AND " syntax in user values
AND - Enum constant in enum class org.fryske_akademy.jpa.Param.AndOr
 
ASC - Enum constant in enum class org.fryske_akademy.services.CrudReadService.SORTORDER
 
Auditing - Interface in org.fryske_akademy.services
Generic interface for entity history.

B

batchDelete(Collection<? extends EntityInterface>, Integer) - Method in class org.fryske_akademy.services.AbstractCrudService
 
batchDelete(Collection<? extends EntityInterface>, Integer) - Method in interface org.fryske_akademy.services.CrudWriteService
save multiple entities, NOTE that normally only after commit or flush entitymanagers will reflect changes caused by saving all entities, this may cause entitylisteners to fail.
batchSave(Collection<T>, Integer) - Method in class org.fryske_akademy.services.AbstractCrudService
 
batchSave(Collection<T>, Integer) - Method in interface org.fryske_akademy.services.CrudWriteService
save multiple entities, NOTE that normally only after commit or flush entitymanagers will reflect changes caused by saving all entities, this may cause entitylisteners to fail.
BETWEEN - Enum constant in enum class org.fryske_akademy.jpa.OPERATOR
 
bothNullOrEmpty(String, String) - Static method in class org.fryske_akademy.Util
 
build() - Method in class org.fryske_akademy.jpa.Param.Builder
usefull if for example you need to add parameters yielded by a diffently configured builder
build() - Method in class org.fryske_akademy.services.CrudReadService.SORTORDER.Builder
 
Builder() - Constructor for class org.fryske_akademy.jpa.Param.Builder
Builder with syntax support in value (!, >[=], <[=], [!]is null, [!]is empty, [!]is blank).
Builder() - Constructor for class org.fryske_akademy.services.CrudReadService.SORTORDER.Builder
 
Builder(boolean) - Constructor for class org.fryske_akademy.jpa.Param.Builder
Calls Builder(boolean, WildcardMapping, boolean) } with true, null and the caseInsensitive argument.
Builder(boolean, Param.Builder.WildcardMapping, boolean) - Constructor for class org.fryske_akademy.jpa.Param.Builder
 

C

changes(E, Integer) - Method in class org.fryske_akademy.services.AbstractCrudServiceEnvers
 
changes(E, Integer) - Method in interface org.fryske_akademy.services.Auditing
 
checkNotNull(String) - Method in class org.fryske_akademy.jpa.Param.Builder
 
clear() - Method in class org.fryske_akademy.jpa.Param.Builder
 
containsKey(String) - Method in class org.fryske_akademy.jpa.Param.Builder
 
count(String, List<Param>) - Method in class org.fryske_akademy.services.AbstractCrudService
 
count(String, List<Param>) - Method in interface org.fryske_akademy.services.CrudReadService
Call this using the same parameters as in CrudReadService.find(java.lang.String, java.util.List, java.lang.Integer, java.lang.Integer, java.lang.Class) to get to know the total number of results
countDynamic(List<Param>, Class) - Method in class org.fryske_akademy.services.AbstractCrudService
 
countDynamic(List<Param>, Class) - Method in interface org.fryske_akademy.services.CrudReadService
Call this using the same parameters as in findDynamic to get to know the total number of results
create(T) - Method in class org.fryske_akademy.services.AbstractCrudService
When overriding look into roles to use, these are not inherited.
create(T) - Method in interface org.fryske_akademy.services.CrudWriteService
 
CREATE - Enum constant in enum class org.fryske_akademy.jpa.RevInfo.TYPE
 
CrudReadService - Interface in org.fryske_akademy.services
Generic interface for read operations on entities, the dynamic methods offer powerfull support for building queries including a bit of syntax in user input.
CrudReadService.SORTORDER - Enum Class in org.fryske_akademy.services
 
CrudReadService.SORTORDER.Builder - Class in org.fryske_akademy.services
 
CrudWriteService - Interface in org.fryske_akademy.services
Generic interface for write operations on entities

D

deepestCause(Throwable) - Static method in class org.fryske_akademy.Util
you can set log level to fine to see the original stacktrace in the log.
DEFAULT_MAPPING - Static variable in class org.fryske_akademy.jpa.Param.Builder
 
DEFAULT_PAGE_SIZE - Static variable in class org.fryske_akademy.services.AbstractCrudService
default page size (max results), used when no maximum is given.
DefaultJpqlBuilder - Annotation Interface in org.fryske_akademy.jpa
 
DefaultWildcardMapping() - Constructor for class org.fryske_akademy.jpa.Param.Builder.DefaultWildcardMapping
 
delete(EntityInterface) - Method in class org.fryske_akademy.services.AbstractCrudService
When overriding look into roles to use, these are not inherited.
delete(EntityInterface) - Method in interface org.fryske_akademy.services.CrudWriteService
 
DELETE - Enum constant in enum class org.fryske_akademy.jpa.RevInfo.TYPE
 
DESC - Enum constant in enum class org.fryske_akademy.services.CrudReadService.SORTORDER
 

E

EDITORROLE - Static variable in class org.fryske_akademy.services.AbstractCrudService
 
entity() - Method in record class org.fryske_akademy.jpa.RevInfo
Returns the value of the entity record component.
ENTITY_PREFIX - Static variable in class org.fryske_akademy.jpa.JpqlBuilderImpl
 
EntityException - Exception in org.fryske_akademy.jpa
An Exception that tracks the entity that caused the failure, useful for example the combination of EntityListeners and batch operations.
EntityException(EntityInterface) - Constructor for exception org.fryske_akademy.jpa.EntityException
 
EntityException(EntityInterface, Exception) - Constructor for exception org.fryske_akademy.jpa.EntityException
 
EntityException(EntityInterface, String) - Constructor for exception org.fryske_akademy.jpa.EntityException
 
EntityException(EntityInterface, String, Exception) - Constructor for exception org.fryske_akademy.jpa.EntityException
 
EntityInterface - Interface in org.fryske_akademy.jpa
 
eq(String) - Static method in enum class org.fryske_akademy.jpa.OPERATOR
check if a string (user value) indicates a greater/smaller than or equal comparison
EQ - Enum constant in enum class org.fryske_akademy.jpa.OPERATOR
 
equals(Object) - Method in class org.fryske_akademy.jpa.AbstractEntity
 
equals(Object) - Method in class org.fryske_akademy.jpa.AbstractWsEntity
 
equals(Object) - Method in class org.fryske_akademy.jpa.Param
 
equals(Object) - Method in record class org.fryske_akademy.jpa.RevInfo
Indicates whether some other object is "equal to" this one.

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.services.AbstractCrudService
 
find(Serializable, Class<T>) - Method in interface org.fryske_akademy.services.CrudReadService
 
find(String, List<Param>, Integer, Integer, Class<T>) - Method in class org.fryske_akademy.services.AbstractCrudService
 
find(String, List<Param>, Integer, Integer, Class<T>) - Method in interface org.fryske_akademy.services.CrudReadService
 
findAll(Class<T>) - Method in class org.fryske_akademy.services.AbstractCrudService
 
findAll(Class<T>) - Method in interface org.fryske_akademy.services.CrudReadService
 
findAll(Class<T>, EntityManager) - Static method in class org.fryske_akademy.jpa.JpaUtil
 
findDynamic(Integer, Integer, Map<String, CrudReadService.SORTORDER>, List<Param>, Class<T>) - Method in class org.fryske_akademy.services.AbstractCrudService
 
findDynamic(Integer, Integer, Map<String, CrudReadService.SORTORDER>, List<Param>, Class<T>) - Method in interface org.fryske_akademy.services.CrudReadService
 
findExactlyOne(String, List<Param>, Class<T>) - Method in class org.fryske_akademy.services.AbstractCrudService
 
findExactlyOne(String, List<Param>, Class<T>) - Method in interface org.fryske_akademy.services.CrudReadService
return one result, no or multiple results throws an exception
findInClass(Class, String) - Static method in class org.fryske_akademy.Util
Look for methods with return type enum, whose simple class is the first part of the argument string, look for the enum constant whose name is the last part of the argument string.
findJpql(String, Class<T>) - Method in class org.fryske_akademy.services.AbstractCrudService
possibly unsafe
findJpql(String, Class<T>) - Method in interface org.fryske_akademy.services.CrudReadService
query using your own jpql
findNative(String) - Method in class org.fryske_akademy.services.AbstractCrudService
possibly unsafe
findNative(String) - Method in interface org.fryske_akademy.services.CrudReadService
query using your own sql
findNative(String, Class<T>) - Method in class org.fryske_akademy.services.AbstractCrudService
possibly unsafe
findNative(String, Class<T>) - Method in interface org.fryske_akademy.services.CrudReadService
query using your own sql and a wrapper entity class
findNative(String, List<Param>, Integer, Integer, Class<T>) - Method in class org.fryske_akademy.services.AbstractCrudService
 
findNative(String, List<Param>, Integer, Integer, Class<T>) - Method in interface org.fryske_akademy.services.CrudReadService
 
findOne(String, List<Param>, Class<T>) - Method in class org.fryske_akademy.services.AbstractCrudService
 
findOne(String, List<Param>, Class<T>) - Method in interface org.fryske_akademy.services.CrudReadService
return one result or null, multiple results throws an exception
findPrincipal() - Static method in class org.fryske_akademy.jpa.JpaUtil
Looks for principal in CDI
formatConstraintException(ConstraintViolationException) - Static method in class org.fryske_akademy.Util
 
fromException(Throwable) - Static method in exception org.fryske_akademy.jpa.EntityException
get hold of an entity in the exception chain.
fromException(Throwable) - Static method in class org.fryske_akademy.jpa.JpaUtil
looks for an EntityInterface in a EntityException or ConstraintViolationException (in the first ConstraintViolation).
fromToken(String) - Static method in enum class org.fryske_akademy.jpa.OPERATOR
 
fromUserInput(String) - Static method in enum class org.fryske_akademy.jpa.OPERATOR
 

G

GE - Enum constant in enum class org.fryske_akademy.jpa.OPERATOR
 
getAndOr() - Method in class org.fryske_akademy.jpa.Param
Will be prepended in the query for parameters except the first
getBean(Class<T>, String) - Static method in class org.fryske_akademy.Util
find a bean programmatically in CDI provider by name, can be used if you need one in an unmanaged situation.
getDefaultPageSize() - Method in class org.fryske_akademy.services.AbstractCrudService
 
getDefaultPageSize() - Method in interface org.fryske_akademy.services.CrudReadService
Return a default page size when no max is given, negative value means no limit
getEntityManager() - Method in interface org.fryske_akademy.services.CrudWriteService
 
getEntityManagerFactory(String) - Static method in class org.fryske_akademy.jpa.JpaUtil
return a cached EntityManagerFactory, make sure you close it when it is not needed anymore.
getEnumWithValue(Object) - Static method in class org.fryske_akademy.Util
look for a method returning an enum, call it, if the value isn't null return it.
getFailed() - Method in exception org.fryske_akademy.jpa.EntityException
 
getGroupEnds() - Method in class org.fryske_akademy.jpa.Param
how many groups does this parameter end, ")";
getGroupStarts() - Method in class org.fryske_akademy.jpa.Param
how many groups does this parameter start, "(";
getId() - Method in class org.fryske_akademy.jpa.AbstractEntity
 
getId() - Method in class org.fryske_akademy.jpa.AbstractWsEntity
 
getId() - Method in interface org.fryske_akademy.jpa.EntityInterface
an entity should have an id
getId() - Method in class org.fryske_akademy.jpa.TimeView
 
getJpqlBuilder() - Method in class org.fryske_akademy.services.AbstractCrudService
 
getMaxValue() - Method in class org.fryske_akademy.jpa.Param
 
getNot() - Method in class org.fryske_akademy.jpa.Param
 
getOperator() - Method in class org.fryske_akademy.jpa.Param
 
getParamKey() - Method in class org.fryske_akademy.jpa.Param
for native queries this key should be a numeric positional parameter
getParamType() - Method in class org.fryske_akademy.jpa.Param
 
getParamValue() - Method in class org.fryske_akademy.jpa.Param
 
getPropertyPath() - Method in class org.fryske_akademy.jpa.Param
 
getRevision(Number, Class<T>) - Method in class org.fryske_akademy.services.AbstractCrudServiceEnvers
When more revisions of the same entity are found for this revision, the last is returned
getRevision(Number, Class<T>) - Method in interface org.fryske_akademy.services.Auditing
get historical data for a certain revision
getRevisionInfo(Serializable, Integer, Class<T>) - Method in class org.fryske_akademy.services.AbstractCrudServiceEnvers
 
getRevisionInfo(Serializable, Integer, Class<T>) - Method in interface org.fryske_akademy.services.Auditing
return a list holding revision information, newest come first
getRevisionNumbers(Serializable, Class<T>) - Method in class org.fryske_akademy.services.AbstractCrudServiceEnvers
 
getRevisionNumbers(Serializable, Class<T>) - Method in interface org.fryske_akademy.services.Auditing
return list of revision numbers, first is the oldest
getTimestamp() - Method in class org.fryske_akademy.jpa.TimeView
 
getToken() - Method in enum class org.fryske_akademy.jpa.OPERATOR
 
getUserInput() - Method in enum class org.fryske_akademy.jpa.OPERATOR
When null the OPERATOR cannot be determined from user input
getUsername() - Method in class org.fryske_akademy.jpa.RevisionInfo
 
getUsername() - Method in class org.fryske_akademy.jpa.TimeView
 
getVersion() - Method in class org.fryske_akademy.jpa.AbstractEntity
 
getZeroOrMoreInput() - Method in class org.fryske_akademy.jpa.Param.Builder.DefaultWildcardMapping
 
getZeroOrMoreInput() - Method in interface org.fryske_akademy.jpa.Param.Builder.WildcardMapping
 
getZeroOrMoreOutput() - Method in class org.fryske_akademy.jpa.Param.Builder.DefaultWildcardMapping
 
getZeroOrMoreOutput() - Method in interface org.fryske_akademy.jpa.Param.Builder.WildcardMapping
 
getZeroOrOneInput() - Method in class org.fryske_akademy.jpa.Param.Builder.DefaultWildcardMapping
 
getZeroOrOneInput() - Method in interface org.fryske_akademy.jpa.Param.Builder.WildcardMapping
 
getZeroOrOneOutput() - Method in class org.fryske_akademy.jpa.Param.Builder.DefaultWildcardMapping
 
getZeroOrOneOutput() - Method in interface org.fryske_akademy.jpa.Param.Builder.WildcardMapping
 
greater(String) - Static method in enum class org.fryske_akademy.jpa.OPERATOR
check if a string (user value) indicates a greater than comparison
GT - Enum constant in enum class org.fryske_akademy.jpa.OPERATOR
 

H

hashCode() - Method in class org.fryske_akademy.jpa.AbstractEntity
 
hashCode() - Method in class org.fryske_akademy.jpa.AbstractWsEntity
 
hashCode() - Method in class org.fryske_akademy.jpa.Param
 
hashCode() - Method in record class org.fryske_akademy.jpa.RevInfo
Returns a hash code value for this object.
hasSetterForEnumString(String, Object) - Static method in class org.fryske_akademy.Util
look for a setter ignoring case for a string in the form "enum simple class"."enum name", return true if it is found.

I

IN - Enum constant in enum class org.fryske_akademy.jpa.OPERATOR
 
isAnd(String) - Static method in enum class org.fryske_akademy.jpa.OPERATOR
true when " AND " is found in the given string and it comes before an optional " OR " and there are at least two terms
isBetween(String) - Static method in enum class org.fryske_akademy.jpa.OPERATOR
 
ISBLANK - Enum constant in enum class org.fryske_akademy.jpa.OPERATOR
case-insensitive user input
isCaseInsensitive() - Method in class org.fryske_akademy.jpa.Param
 
ISEMPTY - Enum constant in enum class org.fryske_akademy.jpa.OPERATOR
for empty collection! case-insensitive user input
isIndex(String, char, int) - Static method in class org.fryske_akademy.Util
Fast method to check if a char is at a certain position in a string.
isNegation(String) - Method in class org.fryske_akademy.jpa.Param.Builder
check if a string (user value) indicates a negation when syntaxInValue is used
ISNOTBLANK - Enum constant in enum class org.fryske_akademy.jpa.OPERATOR
case-insensitive user input
ISNOTEMPTY - Enum constant in enum class org.fryske_akademy.jpa.OPERATOR
for empty collection! case-insensitive user input
ISNOTNULL - Enum constant in enum class org.fryske_akademy.jpa.OPERATOR
case-insensitive user input
ISNULL - Enum constant in enum class org.fryske_akademy.jpa.OPERATOR
case-insensitive user input
isOperatorInUserInput(String) - Method in enum class org.fryske_akademy.jpa.OPERATOR
Is this operator in user input
isOr(String) - Static method in enum class org.fryske_akademy.jpa.OPERATOR
true when " OR " is found in the given string and it comes before an optional " AND " and there are at least two terms
isSyntaxInValue() - Method in class org.fryske_akademy.jpa.Param.Builder
when true wildcards are not replaced and syntax in value is not applied
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 database
isTransient() - Method in class org.fryske_akademy.jpa.TimeView
 

J

JpaUtil - Class in org.fryske_akademy.jpa
 
JpaUtil() - Constructor for class org.fryske_akademy.jpa.JpaUtil
 
JpqlBuilder - Interface in org.fryske_akademy.jpa
Responsible for building where and order by clauses in jpql
JpqlBuilderImpl - Class in org.fryske_akademy.jpa
Stateless, threadsafe builder containing functions for building jpql}.
JpqlBuilderImpl() - Constructor for class org.fryske_akademy.jpa.JpqlBuilderImpl
 

L

LE - Enum constant in enum class org.fryske_akademy.jpa.OPERATOR
 
LIKE - Enum constant in enum class org.fryske_akademy.jpa.OPERATOR
 
listEnums(Class) - Static method in class org.fryske_akademy.Util
look for all methods whose return type is an enum and add all constants to the result.
LT - Enum constant in enum class org.fryske_akademy.jpa.OPERATOR
 

M

MEMBEROF - Enum constant in enum class org.fryske_akademy.jpa.OPERATOR
 

N

NE - Enum constant in enum class org.fryske_akademy.jpa.OPERATOR
 
negation(String) - Static method in enum class org.fryske_akademy.jpa.OPERATOR
check if a string (user value) indicates a negation
NEGATION - Static variable in enum class org.fryske_akademy.jpa.OPERATOR
 
newRevision(Object) - Method in class org.fryske_akademy.jpa.FARevisionListener
adds principal name or UNKNOWN to RevisionInfo.
NONE - Enum constant in enum class org.fryske_akademy.services.CrudReadService.SORTORDER
 
nullOrEmpty(String) - Static method in class org.fryske_akademy.Util
 

O

one(String, Object) - Static method in class org.fryske_akademy.jpa.Param
one(String, String, StringConverter) - Static method in class org.fryske_akademy.jpa.Param
one(String, String, Object) - Static method in class org.fryske_akademy.jpa.Param
one(String, String, Object, boolean, Param.Builder.WildcardMapping, boolean) - Static method in class org.fryske_akademy.jpa.Param
one(String, OPERATOR, Object) - Static method in class org.fryske_akademy.jpa.Param
operator(String, String, boolean) - Static method in enum class org.fryske_akademy.jpa.OPERATOR
Returns an operator from the value when syntaxInValue is true and the value contains one of the supported operators, otherwise the operator is determined from the operator argument
OPERATOR - Enum Class in org.fryske_akademy.jpa
A series of operators supported by this library, encapsulates all intelligence around them.
operatorInUserInput(String) - Static method in enum class org.fryske_akademy.jpa.OPERATOR
Does user input contain an operator
OR - Enum constant in enum class org.fryske_akademy.jpa.OPERATOR
Not an operator, it is here to support " OR " syntax in user values
OR - Enum constant in enum class org.fryske_akademy.jpa.Param.AndOr
 
order(String, CrudReadService.SORTORDER) - Static method in enum class org.fryske_akademy.services.CrudReadService.SORTORDER
 
orderClause(Map<String, CrudReadService.SORTORDER>) - Method in interface org.fryske_akademy.jpa.JpqlBuilder
builds an order by clause
orderClause(Map<String, CrudReadService.SORTORDER>) - Method in class org.fryske_akademy.jpa.JpqlBuilderImpl
builds an order by clause, uses JpqlBuilderImpl.ENTITY_PREFIX.
org.fryske_akademy - package org.fryske_akademy
 
org.fryske_akademy.jpa - package org.fryske_akademy.jpa
Interfaces classes to support working with entities, most notably an entity interface, a Param class with support for syntax in values and value conversion and a JpqlBuilder that facilitates building (dynamic) queries.
org.fryske_akademy.services - package org.fryske_akademy.services
This package contains interfaces and base classes for the development of crud (EJB/CDI) beans.

P

Param - Class in org.fryske_akademy.jpa
Holder for parameter info used when building a jpql query.
Param.AndOr - Enum Class in org.fryske_akademy.jpa
 
Param.Builder - Class in org.fryske_akademy.jpa
A factory for Param objects, parameter values can be added in two ways: as (the correct) Object => only syntax and wildcard support for String values as a String optionally using a converter => syntax support also for non String values, no wildcard support when converter is used
Param.Builder.DefaultWildcardMapping - Class in org.fryske_akademy.jpa
* => %, ? => _, NOTE that this mapping causes all four characters to be interpreted as wildcards in jpql/sql.
Param.Builder.WildcardMapping - Interface in org.fryske_akademy.jpa
translation table for wildcards
PreventEJBLoggingException - Exception in org.fryske_akademy.services
RuntimeException marked as ApplicationException to prevent logging from EJB layer
PreventEJBLoggingException(String) - Constructor for exception org.fryske_akademy.services.PreventEJBLoggingException
 
PreventEJBLoggingException(String, Throwable) - Constructor for exception org.fryske_akademy.services.PreventEJBLoggingException
 
PreventEJBLoggingException(Throwable) - Constructor for exception org.fryske_akademy.services.PreventEJBLoggingException
 
previousState(Serializable, Class<T>, int) - Method in interface org.fryske_akademy.services.Auditing
Return the state before the last crud operation on an entity, or null when not found (or for insert).
previousState(Serializable, Class<T>, int) - Method in class org.fryske_akademy.services.AbstractCrudServiceEnvers
 

R

refresh(T) - Method in class org.fryske_akademy.services.AbstractCrudService
 
refresh(T) - Method in interface org.fryske_akademy.services.CrudWriteService
refresh an entity from the database
remove(String) - Method in class org.fryske_akademy.jpa.Param.Builder
 
RevInfo<T> - Record Class in org.fryske_akademy.jpa
container for revision info for an entity, used in Auditing.getRevisionInfo(java.io.Serializable, Integer, Class)
RevInfo(T, RevInfo.TYPE, RevisionInfo) - Constructor for record class org.fryske_akademy.jpa.RevInfo
Creates an instance of a RevInfo record class.
RevInfo.TYPE - Enum Class in org.fryske_akademy.jpa
 
revisionInfo() - Method in record class org.fryske_akademy.jpa.RevInfo
Returns the value of the revisionInfo record component.
RevisionInfo - Class in org.fryske_akademy.jpa
Include this entity in the list of entity classes in your persistence context.
RevisionInfo() - Constructor for class org.fryske_akademy.jpa.RevisionInfo
 

S

save(T) - Method in class org.fryske_akademy.services.AbstractCrudService
When overriding look into roles to use, these are not inherited.
save(T) - Method in interface org.fryske_akademy.services.CrudWriteService
create or update depending on EntityInterface.isTransient().
set(Query, String, Object) - Method in class org.fryske_akademy.jpa.JpqlBuilderImpl
When the Query has the parameter "key" call Query.setParameter(java.lang.String, java.lang.Object) otherwise call Query.setParameter(int, java.lang.Object) with Short.valueOf(key), because then a positional parameter in a native query is assumed.
setEnum(Enum, T) - Static method in class org.fryske_akademy.Util
Look for a setter for the enum in the object, call it and return the object.
setEnumsFromString(String, T) - Static method in class org.fryske_akademy.Util
parse a string containing enums the form "enum simple class"."enum name" separated by space, look for the right setter in the Object class and call the setter.
setGroupEnds(int) - Method in class org.fryske_akademy.jpa.Param
 
setGroupEndsLastParam(int) - Method in class org.fryske_akademy.jpa.Param.Builder
how many groups does the last parameter end, ")";
setGroupEndsParam(int, int) - Method in class org.fryske_akademy.jpa.Param.Builder
 
setGroupEndsParam(int, String) - Method in class org.fryske_akademy.jpa.Param.Builder
 
setGroupStarts(int) - Method in class org.fryske_akademy.jpa.Param
 
setGroupStartsLastParam(int) - Method in class org.fryske_akademy.jpa.Param.Builder
how many groups does the last parameter start, "(";
setGroupStartsParam(int, int) - Method in class org.fryske_akademy.jpa.Param.Builder
 
setGroupStartsParam(int, String) - Method in class org.fryske_akademy.jpa.Param.Builder
 
setId(Integer) - Method in class org.fryske_akademy.jpa.AbstractEntity
 
setId(Integer) - Method in class org.fryske_akademy.jpa.AbstractWsEntity
 
setId(Integer) - Method in class org.fryske_akademy.jpa.TimeView
 
setJpqlBuilder(JpqlBuilder) - Method in class org.fryske_akademy.services.AbstractCrudService
override to inject your own version of JpqlBuilder
setParam(Query, Param) - Method in interface org.fryske_akademy.jpa.JpqlBuilder
Set the value of a jpql parameter prepared in JpqlBuilder.whereCondition(Param)
setParam(Query, Param) - Method in class org.fryske_akademy.jpa.JpqlBuilderImpl
Fills parameters prepared in JpqlBuilderImpl.setWhereParams(jakarta.persistence.Query, 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.
setTimestamp(LocalDateTime) - Method in class org.fryske_akademy.jpa.TimeView
 
setUsername(String) - Method in class org.fryske_akademy.jpa.RevisionInfo
 
setUsername(String) - Method in class org.fryske_akademy.jpa.TimeView
 
setVersion(int) - Method in class org.fryske_akademy.jpa.AbstractEntity
 
setWhereParams(Query, List<Param>) - Method in interface org.fryske_akademy.jpa.JpqlBuilder
Fills parameters created in JpqlBuilder.whereCondition(Param)
setWhereParams(Query, List<Param>) - Method in class org.fryske_akademy.jpa.JpqlBuilderImpl
smaller(String) - Static method in enum class org.fryske_akademy.jpa.OPERATOR
check if a string (user value) indicates a smaller than comparison.
split(String, int) - Static method in class org.fryske_akademy.Util
split(String, int, boolean) - Static method in class org.fryske_akademy.Util
split(String, String, int, boolean) - Static method in class org.fryske_akademy.Util
split a string on regex and return the requested index, or null.
stream(String, List<Param>, Integer, Integer, Class<T>) - Method in class org.fryske_akademy.services.AbstractCrudService
 
stream(String, List<Param>, Integer, Integer, Class<T>) - Method in interface org.fryske_akademy.services.CrudReadService
 
streamAll(Class<T>) - Method in class org.fryske_akademy.services.AbstractCrudService
 
streamAll(Class<T>) - Method in interface org.fryske_akademy.services.CrudReadService
 
streamDynamic(Integer, Integer, Map<String, CrudReadService.SORTORDER>, List<Param>, Class<T>) - Method in class org.fryske_akademy.services.AbstractCrudService
 
streamDynamic(Integer, Integer, Map<String, CrudReadService.SORTORDER>, List<Param>, Class<T>) - Method in interface org.fryske_akademy.services.CrudReadService
 
streamNative(String, List<Param>, Integer, Integer, Class<T>) - Method in class org.fryske_akademy.services.AbstractCrudService
 
streamNative(String, List<Param>, Integer, Integer, Class<T>) - Method in interface org.fryske_akademy.services.CrudReadService
 
stripSyntax(String) - Static method in enum class org.fryske_akademy.jpa.OPERATOR
Strip !, <, >, = at the beginning of a value in order to get the raw user supplied value.

T

TimeView - Class in org.fryske_akademy.jpa
class to enable LocalDateTime based querying of auditing information.
TimeView() - Constructor for class org.fryske_akademy.jpa.TimeView
 
toString() - Method in enum class org.fryske_akademy.jpa.OPERATOR
returns the token wrapped in spaces, so string concatenation in query building can be used.
toString() - Method in enum class org.fryske_akademy.jpa.Param.AndOr
 
toString() - Method in class org.fryske_akademy.jpa.Param
 
toString() - Method in record class org.fryske_akademy.jpa.RevInfo
Returns a string representation of this record class.
toString() - Method in class org.fryske_akademy.jpa.TimeView
 
toString(Enum) - Static method in class org.fryske_akademy.Util
return "enum simple class"."enum name"
toString(List<Enum>) - Static method in class org.fryske_akademy.Util
return "[" + Util.toString(java.lang.Enum) for each enum + "]"
type() - Method in record class org.fryske_akademy.jpa.RevInfo
Returns the value of the type record component.

U

UNKNOWN - Static variable in class org.fryske_akademy.jpa.FARevisionListener
when principal name not found
update(T) - Method in class org.fryske_akademy.services.AbstractCrudService
When overriding look into roles to use, these are not inherited.
update(T) - Method in interface org.fryske_akademy.services.CrudWriteService
 
UPDATE - Enum constant in enum class org.fryske_akademy.jpa.RevInfo.TYPE
 
USERS - Static variable in class org.fryske_akademy.jpa.TimeView
 
Util - Class in org.fryske_akademy
 
Util() - Constructor for class org.fryske_akademy.Util
 

V

valueIsOperator(String, boolean) - Static method in enum class org.fryske_akademy.jpa.OPERATOR
users may input "(!)is null", "(!)is empty", "(!)is blank", in that case there is no parameter value to be set for a key.
valueOf(String) - Static method in enum class org.fryske_akademy.jpa.OPERATOR
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.fryske_akademy.jpa.Param.AndOr
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.fryske_akademy.jpa.RevInfo.TYPE
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.fryske_akademy.services.CrudReadService.SORTORDER
Returns the enum constant of this class with the specified name.
values() - Static method in enum class org.fryske_akademy.jpa.OPERATOR
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.fryske_akademy.jpa.Param.AndOr
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.fryske_akademy.jpa.RevInfo.TYPE
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.fryske_akademy.services.CrudReadService.SORTORDER
Returns an array containing the constants of this enum class, in the order they are declared.

W

whereClause(List<Param>) - Method in interface org.fryske_akademy.jpa.JpqlBuilder
builds a where clause
whereClause(List<Param>) - Method in class org.fryske_akademy.jpa.JpqlBuilderImpl
builds a where clause, calls JpqlBuilderImpl.whereCondition(Param) for every entry.
whereCondition(Param) - Method in interface org.fryske_akademy.jpa.JpqlBuilder
builds a where condition
whereCondition(Param) - Method in class org.fryske_akademy.jpa.JpqlBuilderImpl
builds a where condition, prepares query parameters later filled in JpqlBuilderImpl.setWhereParams(jakarta.persistence.Query, java.util.List).
A B C D E F G H I J L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form