- 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
-
This method is suitable when your paramValue is the correct object
for the query to be executed.
- add(String, Object, boolean) - Method in class org.fryske_akademy.jpa.Param.Builder
-
This method is suitable when your paramValue is the correct object
for the query to be executed.
- add(String, String, Object, boolean) - Method in class org.fryske_akademy.jpa.Param.Builder
-
This method is suitable when your paramValue is the correct object
for the query to be executed.
- add(String, String, StringConverter) - Method in class org.fryske_akademy.jpa.Param.Builder
-
This method is suitable when your paramValue is a String that must be
converted to get the correct object for the query to be executed.
- add(String, String, String, StringConverter) - Method in class org.fryske_akademy.jpa.Param.Builder
-
This method is suitable when your paramValue is a String that must be
converted to get the correct object for the query to be executed.
- add(String, String, boolean, StringConverter) - Method in class org.fryske_akademy.jpa.Param.Builder
-
This method is suitable when your paramValue is a String that must be
converted to get the correct object for the query to be executed.
- add(String, String, String, boolean, StringConverter) - Method in class org.fryske_akademy.jpa.Param.Builder
-
Assumes key and propertyPath are the same
- add(String, String, String, String, boolean, StringConverter) - Method in class org.fryske_akademy.jpa.Param.Builder
-
Bottleneck method for String values, when configured in the Builder,
applies syntax support and wildcard mapping, applies conversion of
the String value using the supplied converter.
- add(String, String, Param.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, String, Param.OPERATOR, Object, boolean, boolean) - Method in class org.fryske_akademy.jpa.Param.Builder
-
Calls #add(String, String, OPERATOR, Object, boolean, boolean, Object) with null for maxValue
- add(String, String, String, Object, boolean, boolean, Object) - 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, 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
-
- Auditing - Interface in org.fryske_akademy.services
-
Generic interface for entity history.
- getAndOr() - Method in class org.fryske_akademy.jpa.Param
-
Will be prepended in the query for parameters except the first
- getBean(Class<T>, Annotation...) - Static method in class org.fryske_akademy.Util
-
find a bean programmatically in CDI provider, 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
- getEntity() - Method in class org.fryske_akademy.jpa.RevInfo
-
- 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
-
- 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
-
- getMaxValue() - Method in class org.fryske_akademy.jpa.Param
-
- getMoreIn() - Method in class org.fryske_akademy.jpa.Param.Builder.DefaultWildcardMapping
-
- getMoreIn() - Method in interface org.fryske_akademy.jpa.Param.Builder.WildcardMapping
-
- getMoreOut() - Method in class org.fryske_akademy.jpa.Param.Builder.DefaultWildcardMapping
-
- getMoreOut() - Method in interface org.fryske_akademy.jpa.Param.Builder.WildcardMapping
-
- getNot() - Method in class org.fryske_akademy.jpa.Param
-
- getOneIn() - Method in class org.fryske_akademy.jpa.Param.Builder.DefaultWildcardMapping
-
- getOneIn() - Method in interface org.fryske_akademy.jpa.Param.Builder.WildcardMapping
-
- getOneOut() - Method in class org.fryske_akademy.jpa.Param.Builder.DefaultWildcardMapping
-
- getOneOut() - Method in interface org.fryske_akademy.jpa.Param.Builder.WildcardMapping
-
- 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() - Method in class org.fryske_akademy.jpa.RevInfo
-
- 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 org.fryske_akademy.jpa.Param.OPERATOR
-
- getType() - Method in class org.fryske_akademy.jpa.RevInfo
-
- 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
-
- GREATER - Static variable in class org.fryske_akademy.jpa.Param.Builder
-
- greater(String) - Static method in class org.fryske_akademy.jpa.Param.Builder
-
check if a string (user value) indicates a greater than comparison
- valueIsOperator(String, boolean) - Static method in class org.fryske_akademy.jpa.Param.Builder
-
users may input "(!)is null", "(!)is empty", in that case there is no
parameter value to be set for a key and the negation is in the operator ("is not null" as opposed to "not >")
- valueOf(String) - Static method in enum org.fryske_akademy.jpa.Param.AndOr
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.fryske_akademy.jpa.Param.OPERATOR
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.fryske_akademy.jpa.RevInfo.TYPE
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.fryske_akademy.services.CrudReadService.SORTORDER
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.fryske_akademy.jpa.Param.AndOr
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.fryske_akademy.jpa.Param.OPERATOR
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.fryske_akademy.jpa.RevInfo.TYPE
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.fryske_akademy.services.CrudReadService.SORTORDER
-
Returns an array containing the constants of this enum type, in
the order they are declared.