public interface PermissionsRule
extends org.kuali.rice.krad.rules.rule.BusinessRule
| Modifier and Type | Method and Description |
|---|---|
boolean |
processAddPermissionsUserBusinessRules(org.kuali.rice.krad.document.Document document,
List<User> users,
PermissionsUser newUser)
Determines the legality of adding a user with a given role to a document.
|
boolean |
processDeletePermissionsUserBusinessRules(org.kuali.rice.krad.document.Document document,
List<User> users,
int index)
Determines the legality of deleting a user from the given document.
|
boolean |
processEditPermissionsUserRolesBusinessRules(org.kuali.rice.krad.document.Document document,
List<User> users,
PermissionsUserEditRoles editRoles)
Determines if it is legal to edit the roles for a user.
|
boolean processAddPermissionsUserBusinessRules(org.kuali.rice.krad.document.Document document,
List<User> users,
PermissionsUser newUser)
document - the document.users - the current list of users who have a role in the documentnewUser - the new user to add to the documentboolean processDeletePermissionsUserBusinessRules(org.kuali.rice.krad.document.Document document,
List<User> users,
int index)
document - the document.users - list of current users who have a role in the documentindex - the index into "users" of the user to deleteboolean processEditPermissionsUserRolesBusinessRules(org.kuali.rice.krad.document.Document document,
List<User> users,
PermissionsUserEditRoles editRoles)
document - the document.users - list of current users who have a role in the documenteditRoles - the new set of roles for the userCopyright © 2013 The Kuali Foundation. All Rights Reserved.