class TagTypeRestController {

    @RequestMapping(value = TAG_TYPES_URI_PREFIX + "/search", method = RequestMethod.POST, consumes = {"application/xml", "application/json"})
    @Secured(SecurityFunctions.FN_TAG_TYPES_SEARCH_POST)
    public TagTypeSearchResponse searchTagTypes(@RequestBody TagTypeSearchRequest request,
        @RequestParam(value = "fields", required = false, defaultValue = "") Set<String> fields)
    {
        return tagTypeService.searchTagTypes(request, fields);
    }

}