public class AuthorizationValidationUtils extends Object
Constructor and Description |
---|
AuthorizationValidationUtils() |
Modifier and Type | Method and Description |
---|---|
static boolean |
canWildcardDepartment(ClockLocationRule clockLocationRule)
Can the current user use a wildcard for the department?
|
static boolean |
canWildcardWorkArea(ClockLocationRule clockLocationRule)
Indicates whether or not the current user can wildcard the work area
of the specified DepartmentalRule.
|
static boolean |
hasAccessToRead(ClockLocationRule clockLocationRule)
Deprecated.
- doesn't seem to be used anywhere
|
static boolean |
hasAccessToWrite(ClockLocationRule clockLocationRule)
Deprecated.
- doesn't seem to be used anywhere
|
static boolean |
validateWorkAreaDeptWildcarding(ClockLocationRule clr)
For ClockLocationRule object, if a work area is defined, you can not
leave the department field with a wildcard.
|
public AuthorizationValidationUtils()
public static boolean canWildcardWorkArea(ClockLocationRule clockLocationRule)
clockLocationRule
- The ClockLocationRule we are investigating.public static boolean canWildcardDepartment(ClockLocationRule clockLocationRule)
clockLocationRule
- The ClockLocationRule we are examining.public static boolean hasAccessToWrite(ClockLocationRule clockLocationRule)
clockLocationRule
- The business object under investigation.public static boolean hasAccessToRead(ClockLocationRule clockLocationRule)
clockLocationRule
- The business object under investigation.public static boolean validateWorkAreaDeptWildcarding(ClockLocationRule clr)
clr
- The ClockLocationRule to examine.Copyright © 2004–2014 The Kuali Foundation. All rights reserved.