Methods
Modifier and Type |
Method and Description |
ResourceOptionsDto |
availableOperations(javax.ws.rs.core.UriInfo context) |
protected Query |
convertQuery(String queryString) |
protected Object |
convertToDto(Object entity) |
protected List<Object> |
convertToDtoList(List<?> entities) |
protected HalCollectionResource |
convertToHalCollection(List<?> entities,
long count) |
protected HalResource<?> |
convertToHalResource(Object entity) |
protected HalTask |
convertToHalTask(Task task) |
protected HalTaskList |
convertToHalTaskList(List<Task> tasks,
long count) |
void |
deleteFilter() |
protected void |
embedVariableValuesInHalTask(HalTask halTask,
Map<String,List<VariableInstance>> variableInstances) |
CountResultDto |
executeCount() |
protected long |
executeFilterCount(String extendingQuery) |
protected List<?> |
executeFilterList(String extendingQueryString,
Integer firstResult,
Integer maxResults) |
protected Object |
executeFilterSingleResult(String extendingQuery) |
HalResource |
executeHalList(Integer firstResult,
Integer maxResults) |
HalResource |
executeHalSingleResult() |
List<Object> |
executeJsonList(Integer firstResult,
Integer maxResults) |
Object |
executeJsonSingleResult() |
Object |
executeList(javax.ws.rs.core.Request request,
Integer firstResult,
Integer maxResults) |
Object |
executeSingleResult(javax.ws.rs.core.Request request) |
protected InvalidRequestException |
filterNotFound(Exception cause) |
protected Filter |
getDbFilter() |
FilterDto |
getFilter(Boolean itemCount) |
protected List<String> |
getFilterVariableNames() |
protected AbstractQueryDto<?> |
getQueryDtoForQuery(String queryString,
String resourceType) |
protected Map<String,List<VariableInstance>> |
getSortedVariableInstances(Collection<String> variableNames,
Collection<String> variableScopeIds) |
protected Map<String,List<VariableInstance>> |
getVariableInstancesForTasks(HalTask... halTasks) |
protected Map<String,List<VariableInstance>> |
getVariableInstancesForTasks(HalTaskList halTaskList) |
protected LinkedHashSet<String> |
getVariableScopeIds(HalTask... halTasks) |
protected List<HalResource<?>> |
getVariableValuesForTask(HalTask halTask,
Map<String,List<VariableInstance>> variableInstances) |
protected InvalidRequestException |
invalidQuery(Exception cause) |
protected boolean |
isEmptyJson(String jsonString) |
protected boolean |
isEntityOfClass(Object entity,
Class<?> entityClass) |
CountResultDto |
queryCount(String extendingQuery) |
HalResource |
queryHalList(String extendingQuery,
Integer firstResult,
Integer maxResults) |
HalResource |
queryHalSingleResult(String extendingQuery) |
List<Object> |
queryJsonList(String extendingQuery,
Integer firstResult,
Integer maxResults) |
Object |
queryJsonSingleResult(String extendingQuery) |
Object |
queryList(javax.ws.rs.core.Request request,
String extendingQuery,
Integer firstResult,
Integer maxResults) |
Object |
querySingleResult(javax.ws.rs.core.Request request,
String extendingQuery) |
protected List<VariableInstance> |
queryVariablesInstancesByVariableScopeIds(Collection<String> variableNames,
Collection<String> variableScopeIds) |
protected InvalidRequestException |
unsupportedEntityClass(Object entity) |
void |
updateFilter(FilterDto filterDto) |