Package org.wso2.carbon.registry.admin.api.resource

## Interface ICustomUIService

- All Superinterfaces:
    `ITextResourceManagementService`

      public interface ICustomUIService
      extends ITextResourceManagementService

  This provides functionality to be used by an implementation of a custom user interface that is used in place of the standard user interface for a resource on the Management Console.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `boolean` | `isAuthorized​(String path, String action)` | Checks whether the currently logged in user is authorized to perform the given action on the given path.

    - ### Methods inherited from interface org.wso2.carbon.registry.admin.api.resource.ITextResourceManagementService

      `addTextContent, getTextContent, updateTextContent`

- - ### Method Detail

    - #### isAuthorized

          boolean isAuthorized​(String path,
                               String action)

      Checks whether the currently logged in user is authorized to perform the given action on the given path.
      Parameters:
        `path` - path of the resource or collection
        `action` - action to check the authorization
      Returns:
        true if authorized, false if not authorized