Interface ScopeService

  • All Known Implementing Classes:
    ScopeServiceImpl

    public interface ScopeService
    A service to create, update and delete scope.
    • Method Detail

      • getScopes

        List<Scope> getScopes()
        Retrieves all known scopes.
        Returns:
        the List of known scopes
      • save

        void save​(Scope scope)
        Save a scope
        Parameters:
        scope - to save
      • delete

        boolean delete​(String id)
        Delete a scope
        Parameters:
        id - of the scope
        Returns:
        true if scope is deleted
      • getScope

        Scope getScope​(String id)
        Get a scope by its id
        Returns:
        Scope matching the id