Class SearchFilterResource
java.lang.Object
ch.tocco.nice2.rest.core.spi.AbstractRestResource
ch.tocco.nice2.rest.client.impl.searchfilter.SearchFilterResource
- All Implemented Interfaces:
RestResource
-
Field Summary
Fields inherited from class ch.tocco.nice2.rest.core.spi.AbstractRestResource
uriInfo
-
Constructor Summary
ConstructorDescriptionSearchFilterResource
(DataModel dataModel, SearchFilterLoadingService searchFilterLoadingService, Context context, QueryBuilderFactory queryBuilderFactory, BusinessUnitManager businessUnitManager, PrincipalService principalService) -
Method Summary
Modifier and TypeMethodDescriptiongetSearchFilters
(String entityName) saveSearchFilters
(SearchFilterCreateBean createBean) Methods inherited from class ch.tocco.nice2.rest.core.spi.AbstractRestResource
getPathParameter, setUriInfo, tryGetInt
-
Constructor Details
-
SearchFilterResource
public SearchFilterResource(DataModel dataModel, SearchFilterLoadingService searchFilterLoadingService, Context context, QueryBuilderFactory queryBuilderFactory, BusinessUnitManager businessUnitManager, PrincipalService principalService)
-
-
Method Details
-
getSearchFilterLinks
-
getSearchFilters
@GET @Path("/{entity}") @Produces("application/json") public SearchFiltersBean getSearchFilters(@PathParam("entity") String entityName) -
saveSearchFilters
@POST @Consumes("application/json") @Produces("application/json") public SearchFilterBean saveSearchFilters(SearchFilterCreateBean createBean)
-