@RestController
@RequestMapping(value="/rest",
produces={"application/xml","application/json"})
public class AllowedAttributeValueRestController
extends HerdBaseController
| Modifier and Type | Field and Description |
|---|---|
static String |
ALLOWED_ATTRIBUTE_VALUES_URI_PREFIX |
| Constructor and Description |
|---|
AllowedAttributeValueRestController() |
| Modifier and Type | Method and Description |
|---|---|
AllowedAttributeValuesInformation |
createAllowedAttributeValues(AllowedAttributeValuesCreateRequest request)
Creates a list of allowed attribute values for an existing attribute value list.
|
AllowedAttributeValuesInformation |
deleteAllowedAttributeValues(AllowedAttributeValuesDeleteRequest request)
Deletes specified allowed attribute values from an existing attribute value list.
|
AllowedAttributeValuesInformation |
getAllowedAttributeValues(String namespace,
String attributeValueListName)
Retrieves a range of existing allowed attribute values.
|
addPagingHttpHeaders, validateNoDuplicateQueryStringParamspublic static final String ALLOWED_ATTRIBUTE_VALUES_URI_PREFIX
@RequestMapping(value="/allowedAttributeValues",
method=POST,
consumes={"application/xml","application/json"})
@Secured(value="FN_ALLOWED_ATTRIBUTE_VALUES_POST")
public AllowedAttributeValuesInformation createAllowedAttributeValues(@RequestBody
AllowedAttributeValuesCreateRequest request)
request - the information needed to create the allowed attribute values@RequestMapping(value="/allowedAttributeValues/namespaces/{namespace}/attributeValueListNames/{attributeValueListName}",
method=GET)
@Secured(value="FN_ALLOWED_ATTRIBUTE_VALUES_ALL_GET")
public AllowedAttributeValuesInformation getAllowedAttributeValues(@PathVariable(value="namespace")
String namespace,
@PathVariable(value="attributeValueListName")
String attributeValueListName)
namespace - the namespaceattributeValueListName - the attribute value list name@RequestMapping(value="/allowedAttributeValues",
method=DELETE,
consumes={"application/xml","application/json"})
@Secured(value="FN_ALLOWED_ATTRIBUTE_VALUES_DELETE")
public AllowedAttributeValuesInformation deleteAllowedAttributeValues(@RequestBody
AllowedAttributeValuesDeleteRequest request)
request - the allowed attribute values delete requestCopyright © 2019. All rights reserved.