Class NotificationManagerRESTServices
java.lang.Object
org.odpi.openmetadata.tokencontroller.TokenController
org.odpi.openmetadata.viewservices.notificationmanager.server.NotificationManagerRESTServices
The NotificationManagerRESTServices provides the server-side implementation of the Notification Manager Open Metadata
View Service (OMVS). This interface provides access to a person's profile, roles and network.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondetachMonitoredResource(String serverName, String notificationTypeGUID, String elementGUID, DeleteRelationshipRequestBody requestBody) Detach a monitored resource from a notification type.detachNotificationSubscriber(String serverName, String notificationTypeGUID, String elementGUID, DeleteRelationshipRequestBody requestBody) Detach a subscriber from a notification type.linkMonitoredResource(String serverName, String notificationTypeGUID, String elementGUID, NewRelationshipRequestBody requestBody) Attach a monitored resource to a notification type.linkNotificationSubscriber(String serverName, String notificationTypeGUID, String elementGUID, NewRelationshipRequestBody requestBody) Attach subscriber to a notification type.Methods inherited from class org.odpi.openmetadata.tokencontroller.TokenController
getUser
-
Constructor Details
-
NotificationManagerRESTServices
public NotificationManagerRESTServices()Default constructor
-
-
Method Details
-
linkMonitoredResource
public VoidResponse linkMonitoredResource(String serverName, String notificationTypeGUID, String elementGUID, NewRelationshipRequestBody requestBody) Attach a monitored resource to a notification type.- Parameters:
serverName- name of called servernotificationTypeGUID- unique identifier of the parent subject area.elementGUID- unique identifier of the nested subject area.requestBody- description of the relationship.- Returns:
- void or InvalidParameterException one of the parameters is null or invalid. PropertyServerException there is a problem retrieving information from the property server(s). UserNotAuthorizedException the requesting user is not authorized to issue this request.
-
detachMonitoredResource
public VoidResponse detachMonitoredResource(String serverName, String notificationTypeGUID, String elementGUID, DeleteRelationshipRequestBody requestBody) Detach a monitored resource from a notification type.- Parameters:
serverName- name of called servernotificationTypeGUID- unique identifier of the parent subject area.elementGUID- unique identifier of the nested subject area.requestBody- description of the relationship.- Returns:
- void or InvalidParameterException one of the parameters is null or invalid. PropertyServerException there is a problem retrieving information from the property server(s). UserNotAuthorizedException the requesting user is not authorized to issue this request.
-
linkNotificationSubscriber
public VoidResponse linkNotificationSubscriber(String serverName, String notificationTypeGUID, String elementGUID, NewRelationshipRequestBody requestBody) Attach subscriber to a notification type.- Parameters:
serverName- name of called servernotificationTypeGUID- unique identifier of the parent subject area.elementGUID- unique identifier of the nested subject area.requestBody- description of the relationship.- Returns:
- void or InvalidParameterException one of the parameters is null or invalid. PropertyServerException there is a problem retrieving information from the property server(s). UserNotAuthorizedException the requesting user is not authorized to issue this request.
-
detachNotificationSubscriber
public VoidResponse detachNotificationSubscriber(String serverName, String notificationTypeGUID, String elementGUID, DeleteRelationshipRequestBody requestBody) Detach a subscriber from a notification type.- Parameters:
serverName- name of called servernotificationTypeGUID- unique identifier of the parent subject area.elementGUID- unique identifier of the nested subject area.requestBody- description of the relationship.- Returns:
- void or InvalidParameterException one of the parameters is null or invalid. PropertyServerException there is a problem retrieving information from the property server(s). UserNotAuthorizedException the requesting user is not authorized to issue this request.
-