-
- All Implemented Interfaces:
-
com.weedow.searchy.context.SearchyContext
public interface ConfigurableSearchyContext implements SearchyContext
Configuration interface to be implemented by most if not all SearchyContext types.
Consolidates the read-only operations exposed by SearchyContext and the mutating operations of this class to allow for convenient ad-hoc addition and removal of Entity Class through.
-
-
Method Summary
Modifier and Type Method Description abstract <E extends Any> QEntity<E>
add(Class<E> entityClass)
Adds the given Entity Class in the current SearchyContext and returns the related Query Entity. abstract Boolean
getIsUnknownAsEmbedded()
Whether the embedded types without annotations must be processed as Entities. abstract List<Class<out Annotation>>
getEntityAnnotations()
Annotation classes to determine the classes as an Entity. abstract List<Class<out Annotation>>
getJoinAnnotations()
Annotation classes to determine the fields as a join. -
Methods inherited from class com.weedow.searchy.context.ConfigurableSearchyContext
get, getAllPropertyInfos, isEntity, isJoinAnnotation
-
Methods inherited from class com.weedow.searchy.context.SearchyContext
equals, hashCode, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
add
abstract <E extends Any> QEntity<E> add(Class<E> entityClass)
Adds the given Entity Class in the current SearchyContext and returns the related Query Entity.
- Parameters:
entityClass
- Class to be added
-
getIsUnknownAsEmbedded
abstract Boolean getIsUnknownAsEmbedded()
Whether the embedded types without annotations must be processed as Entities.
-
getEntityAnnotations
abstract List<Class<out Annotation>> getEntityAnnotations()
Annotation classes to determine the classes as an Entity.
-
getJoinAnnotations
abstract List<Class<out Annotation>> getJoinAnnotations()
Annotation classes to determine the fields as a join.
-
-
-
-