public abstract class AbstractMonitorResource extends Object
Constructor and Description |
---|
AbstractMonitorResource(CustomerExperienceApp app) |
Modifier and Type | Method and Description |
---|---|
ServiceInstanceConfig |
checkModeManagePermission(CustomerExperienceApp app,
String serviceInstanceId)
Checks user has the required manage permissions.
|
ServiceInstanceConfig |
checkModeManagePermission(String serviceInstanceId)
Checks user has the required manage permissions.
|
ServiceInstanceConfig |
checkModeViewPermission(CustomerExperienceApp app,
String serviceInstanceId)
Checks user has the required view permissions.
|
ServiceInstanceConfig |
checkModeViewPermission(String serviceInstanceId)
Checks user has the required view permissions.
|
static ServiceInstanceConfig |
checkViewServiceInstancePermission(String serviceInstanceId)
Checks user has the required view service instance permission.
|
public AbstractMonitorResource(CustomerExperienceApp app)
public ServiceInstanceConfig checkModeViewPermission(CustomerExperienceApp app, String serviceInstanceId) throws PortalException
app
- the customer app to which the permission should be checked.serviceInstanceId
- the service instance identifier.IllegalArgumentException
- if the given service instance identifier is null
or an empty string.IllegalArgumentException
- if the given service instance identifier refers to a service other than customer experience.PortalObjectNotFoundException
- if no service instance was found with the given identifier.PortalException
- if some error occur during the service instance reading.AccessDeniedException
- if the user doesn't have the requested permission.public ServiceInstanceConfig checkModeManagePermission(CustomerExperienceApp app, String serviceInstanceId) throws PortalException
app
- the customer app to which the permission should be checked.serviceInstanceId
- the service instance identifier.IllegalArgumentException
- if the given service instance identifier is null
or an empty string.IllegalArgumentException
- if the given service instance identifier refers to a service other than customer experience.PortalObjectNotFoundException
- if no service instance was found with the given identifier.PortalException
- if some error occur during the service instance reading.AccessDeniedException
- if the user doesn't have the requested permission.public ServiceInstanceConfig checkModeViewPermission(String serviceInstanceId) throws PortalException
serviceInstanceId
- the service instance identifier.IllegalArgumentException
- if the given service instance identifier is null
or an empty string.IllegalArgumentException
- if the given service instance identifier refers to a service other than customer experience.PortalObjectNotFoundException
- if no service instance was found with the given identifier.PortalException
- if some error occur during the service instance reading.AccessDeniedException
- if the user doesn't have the requested permission.public ServiceInstanceConfig checkModeManagePermission(String serviceInstanceId) throws PortalException
serviceInstanceId
- the service instance identifier.IllegalArgumentException
- if the given service instance identifier is null
or an empty string.IllegalArgumentException
- if the given service instance identifier refers to a service other than customer experience.PortalObjectNotFoundException
- if no service instance was found with the given identifier.PortalException
- if some error occur during the service instance reading.AccessDeniedException
- if the user doesn't have the requested permission.public static ServiceInstanceConfig checkViewServiceInstancePermission(String serviceInstanceId) throws PortalException
serviceInstanceId
- the service instance identifier.IllegalArgumentException
- if the given service instance identifier is null
or an empty string.IllegalArgumentException
- if the given service instance identifier refers to a service other than customer experience.PortalObjectNotFoundException
- if no service instance was found with the given identifier.PortalException
- if some error occur during the service instance reading.AccessDeniedException
- if the user doesn't have the requested permission.LumisXP 12.5.0.200928 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.