Class CollectionAttributeController

java.lang.Object
com.skava.oms.web.CollectionAttributeController

@RestController @RequestMapping("/collections") public class CollectionAttributeController extends Object
This controller handles the OMS's collection attribute resource.
Version:
$Id: $Id
Author:
Infosys Equinox
  • Constructor Details

    • CollectionAttributeController

      public CollectionAttributeController()
  • Method Details

    • getAllCollectionAttributes

      @GetMapping("/properties") @PreAuthorize("hasAnyRole() or hasPrivilege(\'oms/view/collection\')") public org.springframework.http.ResponseEntity<Collection<CollectionAttributeDTO>> getAllCollectionAttributes(@RequestParam(value="locale",required=false,defaultValue="en_US") String locale)

      getAllCollectionAttributes.

      This service is used to get all OMS's collection attributes.
      Parameters:
      locale - a String object. API Response and error messages will be responded in the locale mentioned in this parameter. Locale needs to be mentioned in Java standard locale format.
      Returns:
      a CollectionAttributesResponse object. Returns list of authorization's collection attributes.