T
- public class DefaultRelationshipQuery<T extends Relationship> extends Object implements RelationshipQuery<T>
Constructor and Description |
---|
DefaultRelationshipQuery(IdentityContext context,
Class<T> relationshipClass,
StoreSelector storeSelector) |
Modifier and Type | Method and Description |
---|---|
int |
getLimit() |
int |
getOffset() |
Object[] |
getParameter(QueryParameter queryParameter) |
Map<QueryParameter,Object[]> |
getParameters() |
Class<T> |
getRelationshipClass() |
int |
getResultCount() |
List<T> |
getResultList() |
RelationshipQuery<T> |
setLimit(int limit) |
RelationshipQuery<T> |
setOffset(int offset) |
RelationshipQuery<T> |
setParameter(QueryParameter param,
Object... value) |
public DefaultRelationshipQuery(IdentityContext context, Class<T> relationshipClass, StoreSelector storeSelector)
public RelationshipQuery<T> setParameter(QueryParameter param, Object... value)
setParameter
in interface RelationshipQuery<T extends Relationship>
public Class<T> getRelationshipClass()
getRelationshipClass
in interface RelationshipQuery<T extends Relationship>
public Map<QueryParameter,Object[]> getParameters()
getParameters
in interface RelationshipQuery<T extends Relationship>
public Object[] getParameter(QueryParameter queryParameter)
getParameter
in interface RelationshipQuery<T extends Relationship>
public int getLimit()
getLimit
in interface RelationshipQuery<T extends Relationship>
public int getOffset()
getOffset
in interface RelationshipQuery<T extends Relationship>
public List<T> getResultList()
getResultList
in interface RelationshipQuery<T extends Relationship>
public int getResultCount()
getResultCount
in interface RelationshipQuery<T extends Relationship>
public RelationshipQuery<T> setOffset(int offset)
setOffset
in interface RelationshipQuery<T extends Relationship>
public RelationshipQuery<T> setLimit(int limit)
setLimit
in interface RelationshipQuery<T extends Relationship>
Copyright © 2018 JBoss by Red Hat. All rights reserved.