public class EntityViewRepositoryMethod
extends org.apache.deltaspike.data.impl.meta.RepositoryMethod
RepositoryMethod but was modified to
work with entity views.| Constructor and Description |
|---|
EntityViewRepositoryMethod(Method method,
EntityViewRepositoryComponent repo,
Class<?> entityViewClass) |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.deltaspike.data.impl.meta.RepositoryMethod |
create(EntityViewRepositoryComponent repo,
Method method,
EntityViewManager evm) |
static Class<?> |
extractEntityViewClass(EntityViewRepositoryComponent repo,
Method method,
EntityViewManager evm) |
int |
getDefinedMaxResults() |
Class<?> |
getEntityViewClass() |
EntityViewQueryProcessor |
getEntityViewQueryProcessor() |
EntityViewQueryRoot |
getEntityViewQueryRoot() |
org.apache.deltaspike.data.impl.meta.MethodType |
getMethodType() |
org.apache.deltaspike.data.api.mapping.QueryInOutMapper<?> |
getQueryInOutMapperInstance(EntityViewCdiQueryInvocationContext context) |
EntityViewRepositoryComponent |
getRepository() |
org.apache.deltaspike.data.api.SingleResultType |
getSingleResultStyle() |
boolean |
hasQueryInOutMapper() |
boolean |
isOptional() |
boolean |
requiresTransaction() |
boolean |
returns(Class<?> returnType) |
public EntityViewRepositoryMethod(Method method, EntityViewRepositoryComponent repo, Class<?> entityViewClass)
public boolean returns(Class<?> returnType)
returns in class org.apache.deltaspike.data.impl.meta.RepositoryMethodpublic org.apache.deltaspike.data.api.mapping.QueryInOutMapper<?> getQueryInOutMapperInstance(EntityViewCdiQueryInvocationContext context)
public static org.apache.deltaspike.data.impl.meta.RepositoryMethod create(EntityViewRepositoryComponent repo, Method method, EntityViewManager evm)
public static Class<?> extractEntityViewClass(EntityViewRepositoryComponent repo, Method method, EntityViewManager evm)
public org.apache.deltaspike.data.impl.meta.MethodType getMethodType()
getMethodType in class org.apache.deltaspike.data.impl.meta.RepositoryMethodpublic EntityViewRepositoryComponent getRepository()
getRepository in class org.apache.deltaspike.data.impl.meta.RepositoryMethodpublic EntityViewQueryRoot getEntityViewQueryRoot()
public EntityViewQueryProcessor getEntityViewQueryProcessor()
public boolean hasQueryInOutMapper()
hasQueryInOutMapper in class org.apache.deltaspike.data.impl.meta.RepositoryMethodpublic int getDefinedMaxResults()
getDefinedMaxResults in class org.apache.deltaspike.data.impl.meta.RepositoryMethodpublic org.apache.deltaspike.data.api.SingleResultType getSingleResultStyle()
getSingleResultStyle in class org.apache.deltaspike.data.impl.meta.RepositoryMethodpublic boolean requiresTransaction()
requiresTransaction in class org.apache.deltaspike.data.impl.meta.RepositoryMethodpublic boolean isOptional()
isOptional in class org.apache.deltaspike.data.impl.meta.RepositoryMethodpublic Class<?> getEntityViewClass()
Copyright © 2014–2018 Blazebit. All rights reserved.