Interface ICustomRolePersistenceSvc


public interface ICustomRolePersistenceSvc
Persistence service for custom roles
  • Method Summary

    Modifier and Type
    Method
    Description
    fetchRole(String theRoleName)
    Return the JSON representation of the indicated custom role or null if no role with that name is persisted
    save(RoleJson theRole)
    Save role
  • Method Details

    • save

      RoleJson save(@Nonnull RoleJson theRole)
      Save role
      Parameters:
      theRole - the JSON representation of the role to save
      Returns:
      the saved CustomRoleEntity
    • fetchRole

      RoleJson fetchRole(@Nonnull String theRoleName)
      Return the JSON representation of the indicated custom role or null if no role with that name is persisted
      Parameters:
      theRoleName - the name of the custom role to return
      Returns:
      the JSON representation of the requested custom role