Package ca.cdr.api.security.permission
Interface ICustomRolePersistenceSvc
public interface ICustomRolePersistenceSvc
Persistence service for custom roles
-
Method Summary
-
Method Details
-
save
Save role- Parameters:
theRole
- the JSON representation of the role to save- Returns:
- the saved CustomRoleEntity
-
fetchRole
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
-