|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.hr.time.authorization.TkMaintenanceDocumentAuthorizerBase org.kuali.hr.time.authorization.DepartmentalRuleAuthorizer
public class DepartmentalRuleAuthorizer
Implements Authorization logic for the "Departmental Rules": ClockLocationRule TimeCollectionRule DeptLunchRule WorkArea See: https://wiki.kuali.org/display/KPME/Role+Security+Grid
Constructor Summary | |
---|---|
DepartmentalRuleAuthorizer()
|
Method Summary | |
---|---|
static boolean |
hasAccessToRead(DepartmentalRule dr)
Static helper method to provide a single point of access for both Kuali Rice maintenance page hooks as well as Lookupable filtering. |
static boolean |
hasAccessToWrite(DepartmentalRule dr)
|
boolean |
rolesIndicateGeneralReadAccess()
Method to indicate whether or not the Context current user can read objects if the current maintenance type. |
boolean |
rolesIndicateGeneralWriteAccess()
Method to indicate whether or not the Context current user can create/edit objects if the current maintenance type. |
boolean |
rolesIndicateReadAccess(org.kuali.rice.krad.bo.BusinessObject bo)
Indicates whether or not the current Context user has view rights to the provided BusinessObject. |
boolean |
rolesIndicateWriteAccess(org.kuali.rice.krad.bo.BusinessObject bo)
Indicates whether or not the current Context user has create/edit rights to the provided BusinessObject. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DepartmentalRuleAuthorizer()
Method Detail |
---|
public boolean rolesIndicateGeneralReadAccess()
TkMaintenanceDocumentAuthorizerBase
rolesIndicateGeneralReadAccess
in class TkMaintenanceDocumentAuthorizerBase
public boolean rolesIndicateGeneralWriteAccess()
TkMaintenanceDocumentAuthorizerBase
rolesIndicateGeneralWriteAccess
in class TkMaintenanceDocumentAuthorizerBase
public boolean rolesIndicateWriteAccess(org.kuali.rice.krad.bo.BusinessObject bo)
TkMaintenanceDocumentAuthorizerBase
rolesIndicateWriteAccess
in class TkMaintenanceDocumentAuthorizerBase
bo
- The BusinessObject under investigation.
public boolean rolesIndicateReadAccess(org.kuali.rice.krad.bo.BusinessObject bo)
TkMaintenanceDocumentAuthorizerBase
rolesIndicateReadAccess
in class TkMaintenanceDocumentAuthorizerBase
bo
- The BusinessObject under investigation.
public static boolean hasAccessToWrite(DepartmentalRule dr)
public static boolean hasAccessToRead(DepartmentalRule dr)
dr
- The business object under investigation.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |