@RestController
@RequestMapping(value="/rest",
produces={"application/xml","application/json"})
public class StorageUnitNotificationRegistrationRestController
extends HerdBaseController
| Modifier and Type | Field and Description |
|---|---|
static String |
STORAGE_UNIT_NOTIFICATIONS_URI_PREFIX |
| Constructor and Description |
|---|
StorageUnitNotificationRegistrationRestController() |
| Modifier and Type | Method and Description |
|---|---|
StorageUnitNotificationRegistration |
createStorageUnitNotificationRegistration(StorageUnitNotificationRegistrationCreateRequest request)
Creates a new storage unit notification registration.
|
StorageUnitNotificationRegistration |
deleteStorageUnitNotification(String namespace,
String notificationName)
Deletes an existing storage unit notification registration by key.
|
StorageUnitNotificationRegistration |
getStorageUnitNotificationRegistration(String namespace,
String notificationName)
Gets an existing storage unit notification registration by key.
|
StorageUnitNotificationRegistrationKeys |
getStorageUnitNotificationRegistrationsByNamespace(String namespace)
Gets a list of keys for all existing storage unit notification registrations for the specified storage unit notification registration namespace.
|
StorageUnitNotificationRegistrationKeys |
getStorageUnitNotificationRegistrationsByNotificationFilter(String businessObjectDefinitionNamespace,
String businessObjectDefinitionName,
String businessObjectFormatUsage,
String businessObjectFormatFileType,
javax.servlet.ServletRequest servletRequest)
Gets a list of keys for all existing storage unit notification registrations that match the specified storage unit notification filter parameters.
|
StorageUnitNotificationRegistration |
updateStorageUnitNotificationRegistration(String namespace,
String notificationName,
StorageUnitNotificationRegistrationUpdateRequest request)
Updates an existing storage unit notification registration by key.
|
addPagingHttpHeaders, validateNoDuplicateQueryStringParamspublic static final String STORAGE_UNIT_NOTIFICATIONS_URI_PREFIX
public StorageUnitNotificationRegistrationRestController()
@RequestMapping(value="/notificationRegistrations/storageUnitNotificationRegistrations",
method=POST,
consumes={"application/xml","application/json"})
@Secured(value="FN_STORAGE_UNIT_NOTIFICATION_REGISTRATIONS_POST")
public StorageUnitNotificationRegistration createStorageUnitNotificationRegistration(@RequestBody
StorageUnitNotificationRegistrationCreateRequest request)
Requires WRITE permission on namespace
Requires READ permission on filter namespace
Requires EXECUTE permission on ALL job action namespaces
request - the information needed to create the storage unit notification registration@RequestMapping(value="/notificationRegistrations/storageUnitNotificationRegistrations/namespaces/{namespace}/notificationNames/{notificationName}",
method=DELETE)
@Secured(value="FN_STORAGE_UNIT_NOTIFICATION_REGISTRATIONS_DELETE")
public StorageUnitNotificationRegistration deleteStorageUnitNotification(@PathVariable(value="namespace")
String namespace,
@PathVariable(value="notificationName")
String notificationName)
Requires WRITE permission on namespace
namespace - the namespace of the storage unit notification registrationnotificationName - the name of the storage unit notification registration@RequestMapping(value="/notificationRegistrations/storageUnitNotificationRegistrations/namespaces/{namespace}/notificationNames/{notificationName}",
method=GET)
@Secured(value="FN_STORAGE_UNIT_NOTIFICATION_REGISTRATIONS_GET")
public StorageUnitNotificationRegistration getStorageUnitNotificationRegistration(@PathVariable(value="namespace")
String namespace,
@PathVariable(value="notificationName")
String notificationName)
Requires READ permission on namespace
namespace - the namespace of the storage unit notification registrationnotificationName - the name of the storage unit notification registration@RequestMapping(value="/notificationRegistrations/storageUnitNotificationRegistrations/namespaces/{namespace}",
method=GET)
@Secured(value="FN_STORAGE_UNIT_NOTIFICATION_REGISTRATIONS_BY_NAMESPACE_GET")
public StorageUnitNotificationRegistrationKeys getStorageUnitNotificationRegistrationsByNamespace(@PathVariable(value="namespace")
String namespace)
namespace - the namespace of the storage unit notification registration@RequestMapping(value="/notificationRegistrations/storageUnitNotificationRegistrations",
method=GET)
@Secured(value="FN_STORAGE_UNIT_NOTIFICATION_REGISTRATIONS_BY_NOTIFICATION_FILTER_GET")
public StorageUnitNotificationRegistrationKeys getStorageUnitNotificationRegistrationsByNotificationFilter(@RequestParam(value="businessObjectDefinitionNamespace",required=true)
String businessObjectDefinitionNamespace,
@RequestParam(value="businessObjectDefinitionName",required=true)
String businessObjectDefinitionName,
@RequestParam(value="businessObjectFormatUsage",required=false)
String businessObjectFormatUsage,
@RequestParam(value="businessObjectFormatFileType",required=false)
String businessObjectFormatFileType,
javax.servlet.ServletRequest servletRequest)
Gets a list of keys for all existing storage unit notification registrations that match the specified storage unit notification filter parameters.
This endpoint requires both namespace and name of the business object definition.
Requires READ permission on business object definition namespace
businessObjectDefinitionNamespace - the namespace of the business object definitionbusinessObjectDefinitionName - the name of the business object definitionbusinessObjectFormatUsage - the usage of the business object formatbusinessObjectFormatFileType - the file type of the business object formatservletRequest - the client request information@RequestMapping(value="/notificationRegistrations/storageUnitNotificationRegistrations/namespaces/{namespace}/notificationNames/{notificationName}",
method=PUT,
consumes={"application/xml","application/json"})
@Secured(value="FN_STORAGE_UNIT_NOTIFICATION_REGISTRATIONS_PUT")
public StorageUnitNotificationRegistration updateStorageUnitNotificationRegistration(@PathVariable(value="namespace")
String namespace,
@PathVariable(value="notificationName")
String notificationName,
@RequestBody
StorageUnitNotificationRegistrationUpdateRequest request)
Requires WRITE permission on namespace
Requires READ permission on filter namespace
Requires EXECUTE permission on ALL job action namespaces
namespace - the namespace of the storage unit notification registrationnotificationName - the name of the storage unit notification registrationrequest - the information needed to update the storage unit notification registrationCopyright © 2019. All rights reserved.