@Evolving public interface RoleChange
Modifier and Type | Interface and Description |
---|---|
static class |
RoleChange.AddSecurableObject
A AddSecurableObject to add a securable object to a role.
|
static class |
RoleChange.RemoveSecurableObject
A RemoveSecurableObject to remove a securable object from a role.
|
static class |
RoleChange.UpdateSecurableObject
A UpdateSecurableObject is to update securable object's privilege from a role.
|
Modifier and Type | Method and Description |
---|---|
static RoleChange |
addSecurableObject(java.lang.String roleName,
SecurableObject securableObject)
Create a RoleChange to add a securable object into a role.
|
static RoleChange |
removeSecurableObject(java.lang.String roleName,
SecurableObject securableObject)
Create a RoleChange to remove a securable object from a role.
|
static RoleChange |
updateSecurableObject(java.lang.String roleName,
SecurableObject securableObject,
SecurableObject newSecurableObject)
Update a securable object RoleChange.
|
static RoleChange addSecurableObject(java.lang.String roleName, SecurableObject securableObject)
roleName
- The role name.securableObject
- The securable object.static RoleChange removeSecurableObject(java.lang.String roleName, SecurableObject securableObject)
roleName
- The role name.securableObject
- The securable object.static RoleChange updateSecurableObject(java.lang.String roleName, SecurableObject securableObject, SecurableObject newSecurableObject)
roleName
- The role name.securableObject
- The securable object.newSecurableObject
- The new securable object.