org.kuali.hr.time.authorization
Class DepartmentAdminAuthorizer

java.lang.Object
  extended by org.kuali.hr.time.authorization.SystemAdminAuthorizer
      extended by org.kuali.hr.time.authorization.LocationAdminAuthorizer
          extended by org.kuali.hr.time.authorization.DepartmentAdminAuthorizer
All Implemented Interfaces:
org.kuali.rice.kns.authorization.BusinessObjectAuthorizer, org.kuali.rice.kns.bo.authorization.InquiryOrMaintenanceDocumentAuthorizer, org.kuali.rice.krad.bo.DataObjectAuthorizer, org.kuali.rice.krad.document.DocumentAuthorizer, org.kuali.rice.krad.maintenance.MaintenanceDocumentAuthorizer

public class DepartmentAdminAuthorizer
extends LocationAdminAuthorizer


Constructor Summary
DepartmentAdminAuthorizer()
           
 
Method Summary
 boolean canAcknowledge(org.kuali.rice.krad.document.Document document, org.kuali.rice.kim.api.identity.Person user)
           
 boolean canAddNoteAttachment(org.kuali.rice.krad.document.Document document, String attachmentTypeCode, org.kuali.rice.kim.api.identity.Person user)
           
 boolean canAnnotate(org.kuali.rice.krad.document.Document document, org.kuali.rice.kim.api.identity.Person user)
           
 boolean canApprove(org.kuali.rice.krad.document.Document document, org.kuali.rice.kim.api.identity.Person user)
           
 boolean canBlanketApprove(org.kuali.rice.krad.document.Document document, org.kuali.rice.kim.api.identity.Person user)
           
 boolean canCancel(org.kuali.rice.krad.document.Document document, org.kuali.rice.kim.api.identity.Person user)
           
 boolean canClose(org.kuali.rice.krad.document.Document document, org.kuali.rice.kim.api.identity.Person user)
           
 boolean canCopy(org.kuali.rice.krad.document.Document document, org.kuali.rice.kim.api.identity.Person user)
           
 boolean canCreate(Class boClass, org.kuali.rice.kim.api.identity.Person user)
           
 boolean canCreateOrMaintain(org.kuali.rice.krad.maintenance.MaintenanceDocument maintenanceDocument, org.kuali.rice.kim.api.identity.Person user)
           
 boolean canDeleteNoteAttachment(org.kuali.rice.krad.document.Document document, String attachmentTypeCode, String createdBySelfOnly, org.kuali.rice.kim.api.identity.Person user)
           
 boolean canDisapprove(org.kuali.rice.krad.document.Document document, org.kuali.rice.kim.api.identity.Person user)
           
 boolean canEdit(org.kuali.rice.krad.document.Document document, org.kuali.rice.kim.api.identity.Person user)
           
 boolean canEditDocumentOverview(org.kuali.rice.krad.document.Document document, org.kuali.rice.kim.api.identity.Person user)
           
 boolean canFyi(org.kuali.rice.krad.document.Document document, org.kuali.rice.kim.api.identity.Person user)
           
 boolean canInitiate(String documentTypeName, org.kuali.rice.kim.api.identity.Person user)
           
 boolean canMaintain(Object dataObject, org.kuali.rice.kim.api.identity.Person user)
           
 boolean canOpen(org.kuali.rice.krad.document.Document document, org.kuali.rice.kim.api.identity.Person user)
           
 boolean canPerformRouteReport(org.kuali.rice.krad.document.Document document, org.kuali.rice.kim.api.identity.Person user)
           
 boolean canRecall(org.kuali.rice.krad.document.Document document, org.kuali.rice.kim.api.identity.Person user)
           
 boolean canReceiveAdHoc(org.kuali.rice.krad.document.Document document, org.kuali.rice.kim.api.identity.Person user, String actionRequestCode)
           
 boolean canReload(org.kuali.rice.krad.document.Document document, org.kuali.rice.kim.api.identity.Person user)
           
 boolean canRoute(org.kuali.rice.krad.document.Document document, org.kuali.rice.kim.api.identity.Person user)
           
 boolean canSave(org.kuali.rice.krad.document.Document document, org.kuali.rice.kim.api.identity.Person user)
           
 boolean canSendAdHocRequests(org.kuali.rice.krad.document.Document document, String actionRequestCd, org.kuali.rice.kim.api.identity.Person user)
           
 boolean canSendAnyTypeAdHocRequests(org.kuali.rice.krad.document.Document document, org.kuali.rice.kim.api.identity.Person user)
           
 boolean canSendNoteFyi(org.kuali.rice.krad.document.Document document, org.kuali.rice.kim.api.identity.Person user)
           
 boolean canTakeRequestedAction(org.kuali.rice.krad.document.Document document, String actionRequestCode, org.kuali.rice.kim.api.identity.Person user)
           
 boolean canViewNoteAttachment(org.kuali.rice.krad.document.Document document, String attachmentTypeCode, org.kuali.rice.kim.api.identity.Person user)
           
 boolean canViewNoteAttachment(org.kuali.rice.krad.document.Document document, String attachmentTypeCode, String authorUniversalIdentifier, org.kuali.rice.kim.api.identity.Person user)
           
 boolean isAuthorized(org.kuali.rice.krad.bo.BusinessObject businessObject, String namespaceCode, String permissionName, String principalId)
           
 boolean isAuthorized(org.kuali.rice.krad.bo.BusinessObject businessObject, String namespaceCode, String permissionName, String principalId, Map<String,String> additionalPermissionDetails, Map<String,String> additionalRoleQualifiers)
           
 boolean isAuthorized(Object dataObject, String namespaceCode, String permissionName, String principalId)
           
 boolean isAuthorized(Object dataObject, String namespaceCode, String permissionTemplateName, String principalId, Map<String,String> additionalPermissionDetails, Map<String,String> additionalRoleQualifiers)
           
 boolean isAuthorizedByTemplate(org.kuali.rice.krad.bo.BusinessObject businessObject, String namespaceCode, String permissionTemplateName, String principalId)
           
 boolean isAuthorizedByTemplate(Object dataObject, String namespaceCode, String permissionTemplateName, String principalId)
           
 boolean isAuthorizedByTemplate(Object dataObject, String namespaceCode, String permissionTemplateName, String principalId, Map<String,String> additionalPermissionDetails, Map<String,String> additionalRoleQualifiers)
           
 boolean isDepartmentAdmin()
           
 
Methods inherited from class org.kuali.hr.time.authorization.LocationAdminAuthorizer
isLocationAdmin
 
Methods inherited from class org.kuali.hr.time.authorization.SystemAdminAuthorizer
getCollectionItemPermissionDetails, getCollectionItemRoleQualifications, getDocumentActions, getSecurePotentiallyHiddenSectionIds, getSecurePotentiallyReadOnlySectionIds, isGlobalViewOnly, isSystemAdmin
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DepartmentAdminAuthorizer

public DepartmentAdminAuthorizer()
Method Detail

isDepartmentAdmin

public boolean isDepartmentAdmin()

canInitiate

public boolean canInitiate(String documentTypeName,
                           org.kuali.rice.kim.api.identity.Person user)
Specified by:
canInitiate in interface org.kuali.rice.krad.document.DocumentAuthorizer
Overrides:
canInitiate in class LocationAdminAuthorizer

canOpen

public boolean canOpen(org.kuali.rice.krad.document.Document document,
                       org.kuali.rice.kim.api.identity.Person user)
Specified by:
canOpen in interface org.kuali.rice.krad.document.DocumentAuthorizer
Overrides:
canOpen in class LocationAdminAuthorizer

canReceiveAdHoc

public boolean canReceiveAdHoc(org.kuali.rice.krad.document.Document document,
                               org.kuali.rice.kim.api.identity.Person user,
                               String actionRequestCode)
Specified by:
canReceiveAdHoc in interface org.kuali.rice.krad.document.DocumentAuthorizer
Overrides:
canReceiveAdHoc in class LocationAdminAuthorizer

canAddNoteAttachment

public boolean canAddNoteAttachment(org.kuali.rice.krad.document.Document document,
                                    String attachmentTypeCode,
                                    org.kuali.rice.kim.api.identity.Person user)
Specified by:
canAddNoteAttachment in interface org.kuali.rice.krad.document.DocumentAuthorizer
Overrides:
canAddNoteAttachment in class LocationAdminAuthorizer

canDeleteNoteAttachment

public boolean canDeleteNoteAttachment(org.kuali.rice.krad.document.Document document,
                                       String attachmentTypeCode,
                                       String createdBySelfOnly,
                                       org.kuali.rice.kim.api.identity.Person user)
Specified by:
canDeleteNoteAttachment in interface org.kuali.rice.krad.document.DocumentAuthorizer
Overrides:
canDeleteNoteAttachment in class LocationAdminAuthorizer

canViewNoteAttachment

public boolean canViewNoteAttachment(org.kuali.rice.krad.document.Document document,
                                     String attachmentTypeCode,
                                     org.kuali.rice.kim.api.identity.Person user)
Overrides:
canViewNoteAttachment in class LocationAdminAuthorizer

canViewNoteAttachment

public boolean canViewNoteAttachment(org.kuali.rice.krad.document.Document document,
                                     String attachmentTypeCode,
                                     String authorUniversalIdentifier,
                                     org.kuali.rice.kim.api.identity.Person user)
Specified by:
canViewNoteAttachment in interface org.kuali.rice.krad.document.DocumentAuthorizer
Overrides:
canViewNoteAttachment in class LocationAdminAuthorizer

canSendAdHocRequests

public boolean canSendAdHocRequests(org.kuali.rice.krad.document.Document document,
                                    String actionRequestCd,
                                    org.kuali.rice.kim.api.identity.Person user)
Specified by:
canSendAdHocRequests in interface org.kuali.rice.krad.document.DocumentAuthorizer
Overrides:
canSendAdHocRequests in class LocationAdminAuthorizer

isAuthorized

public boolean isAuthorized(org.kuali.rice.krad.bo.BusinessObject businessObject,
                            String namespaceCode,
                            String permissionName,
                            String principalId)
Specified by:
isAuthorized in interface org.kuali.rice.kns.authorization.BusinessObjectAuthorizer
Overrides:
isAuthorized in class LocationAdminAuthorizer

isAuthorizedByTemplate

public boolean isAuthorizedByTemplate(org.kuali.rice.krad.bo.BusinessObject businessObject,
                                      String namespaceCode,
                                      String permissionTemplateName,
                                      String principalId)
Specified by:
isAuthorizedByTemplate in interface org.kuali.rice.kns.authorization.BusinessObjectAuthorizer
Overrides:
isAuthorizedByTemplate in class LocationAdminAuthorizer

isAuthorized

public boolean isAuthorized(org.kuali.rice.krad.bo.BusinessObject businessObject,
                            String namespaceCode,
                            String permissionName,
                            String principalId,
                            Map<String,String> additionalPermissionDetails,
                            Map<String,String> additionalRoleQualifiers)
Specified by:
isAuthorized in interface org.kuali.rice.kns.authorization.BusinessObjectAuthorizer
Overrides:
isAuthorized in class LocationAdminAuthorizer

isAuthorizedByTemplate

public boolean isAuthorizedByTemplate(Object dataObject,
                                      String namespaceCode,
                                      String permissionTemplateName,
                                      String principalId,
                                      Map<String,String> additionalPermissionDetails,
                                      Map<String,String> additionalRoleQualifiers)
Specified by:
isAuthorizedByTemplate in interface org.kuali.rice.kns.authorization.BusinessObjectAuthorizer
Specified by:
isAuthorizedByTemplate in interface org.kuali.rice.krad.bo.DataObjectAuthorizer
Overrides:
isAuthorizedByTemplate in class LocationAdminAuthorizer

canCreate

public boolean canCreate(Class boClass,
                         org.kuali.rice.kim.api.identity.Person user)
Specified by:
canCreate in interface org.kuali.rice.krad.maintenance.MaintenanceDocumentAuthorizer
Overrides:
canCreate in class LocationAdminAuthorizer

canMaintain

public boolean canMaintain(Object dataObject,
                           org.kuali.rice.kim.api.identity.Person user)
Specified by:
canMaintain in interface org.kuali.rice.krad.maintenance.MaintenanceDocumentAuthorizer
Overrides:
canMaintain in class LocationAdminAuthorizer

canCreateOrMaintain

public boolean canCreateOrMaintain(org.kuali.rice.krad.maintenance.MaintenanceDocument maintenanceDocument,
                                   org.kuali.rice.kim.api.identity.Person user)
Specified by:
canCreateOrMaintain in interface org.kuali.rice.krad.maintenance.MaintenanceDocumentAuthorizer
Overrides:
canCreateOrMaintain in class LocationAdminAuthorizer

canEdit

public boolean canEdit(org.kuali.rice.krad.document.Document document,
                       org.kuali.rice.kim.api.identity.Person user)
Specified by:
canEdit in interface org.kuali.rice.krad.document.DocumentAuthorizer
Overrides:
canEdit in class LocationAdminAuthorizer

canAnnotate

public boolean canAnnotate(org.kuali.rice.krad.document.Document document,
                           org.kuali.rice.kim.api.identity.Person user)
Specified by:
canAnnotate in interface org.kuali.rice.krad.document.DocumentAuthorizer
Overrides:
canAnnotate in class LocationAdminAuthorizer

canReload

public boolean canReload(org.kuali.rice.krad.document.Document document,
                         org.kuali.rice.kim.api.identity.Person user)
Specified by:
canReload in interface org.kuali.rice.krad.document.DocumentAuthorizer
Overrides:
canReload in class LocationAdminAuthorizer

canClose

public boolean canClose(org.kuali.rice.krad.document.Document document,
                        org.kuali.rice.kim.api.identity.Person user)
Specified by:
canClose in interface org.kuali.rice.krad.document.DocumentAuthorizer
Overrides:
canClose in class LocationAdminAuthorizer

canSave

public boolean canSave(org.kuali.rice.krad.document.Document document,
                       org.kuali.rice.kim.api.identity.Person user)
Specified by:
canSave in interface org.kuali.rice.krad.document.DocumentAuthorizer
Overrides:
canSave in class LocationAdminAuthorizer

canRoute

public boolean canRoute(org.kuali.rice.krad.document.Document document,
                        org.kuali.rice.kim.api.identity.Person user)
Specified by:
canRoute in interface org.kuali.rice.krad.document.DocumentAuthorizer
Overrides:
canRoute in class LocationAdminAuthorizer

canCancel

public boolean canCancel(org.kuali.rice.krad.document.Document document,
                         org.kuali.rice.kim.api.identity.Person user)
Specified by:
canCancel in interface org.kuali.rice.krad.document.DocumentAuthorizer
Overrides:
canCancel in class LocationAdminAuthorizer

canCopy

public boolean canCopy(org.kuali.rice.krad.document.Document document,
                       org.kuali.rice.kim.api.identity.Person user)
Specified by:
canCopy in interface org.kuali.rice.krad.document.DocumentAuthorizer
Overrides:
canCopy in class LocationAdminAuthorizer

canPerformRouteReport

public boolean canPerformRouteReport(org.kuali.rice.krad.document.Document document,
                                     org.kuali.rice.kim.api.identity.Person user)
Specified by:
canPerformRouteReport in interface org.kuali.rice.krad.document.DocumentAuthorizer
Overrides:
canPerformRouteReport in class LocationAdminAuthorizer

canBlanketApprove

public boolean canBlanketApprove(org.kuali.rice.krad.document.Document document,
                                 org.kuali.rice.kim.api.identity.Person user)
Specified by:
canBlanketApprove in interface org.kuali.rice.krad.document.DocumentAuthorizer
Overrides:
canBlanketApprove in class LocationAdminAuthorizer

canApprove

public boolean canApprove(org.kuali.rice.krad.document.Document document,
                          org.kuali.rice.kim.api.identity.Person user)
Specified by:
canApprove in interface org.kuali.rice.krad.document.DocumentAuthorizer
Overrides:
canApprove in class LocationAdminAuthorizer

canDisapprove

public boolean canDisapprove(org.kuali.rice.krad.document.Document document,
                             org.kuali.rice.kim.api.identity.Person user)
Specified by:
canDisapprove in interface org.kuali.rice.krad.document.DocumentAuthorizer
Overrides:
canDisapprove in class LocationAdminAuthorizer

canSendNoteFyi

public boolean canSendNoteFyi(org.kuali.rice.krad.document.Document document,
                              org.kuali.rice.kim.api.identity.Person user)
Specified by:
canSendNoteFyi in interface org.kuali.rice.krad.document.DocumentAuthorizer
Overrides:
canSendNoteFyi in class LocationAdminAuthorizer

canEditDocumentOverview

public boolean canEditDocumentOverview(org.kuali.rice.krad.document.Document document,
                                       org.kuali.rice.kim.api.identity.Person user)
Specified by:
canEditDocumentOverview in interface org.kuali.rice.krad.document.DocumentAuthorizer
Overrides:
canEditDocumentOverview in class LocationAdminAuthorizer

canFyi

public boolean canFyi(org.kuali.rice.krad.document.Document document,
                      org.kuali.rice.kim.api.identity.Person user)
Specified by:
canFyi in interface org.kuali.rice.krad.document.DocumentAuthorizer
Overrides:
canFyi in class LocationAdminAuthorizer

canAcknowledge

public boolean canAcknowledge(org.kuali.rice.krad.document.Document document,
                              org.kuali.rice.kim.api.identity.Person user)
Specified by:
canAcknowledge in interface org.kuali.rice.krad.document.DocumentAuthorizer
Overrides:
canAcknowledge in class LocationAdminAuthorizer

canSendAnyTypeAdHocRequests

public boolean canSendAnyTypeAdHocRequests(org.kuali.rice.krad.document.Document document,
                                           org.kuali.rice.kim.api.identity.Person user)
Specified by:
canSendAnyTypeAdHocRequests in interface org.kuali.rice.krad.document.DocumentAuthorizer
Overrides:
canSendAnyTypeAdHocRequests in class LocationAdminAuthorizer

canTakeRequestedAction

public boolean canTakeRequestedAction(org.kuali.rice.krad.document.Document document,
                                      String actionRequestCode,
                                      org.kuali.rice.kim.api.identity.Person user)
Specified by:
canTakeRequestedAction in interface org.kuali.rice.krad.document.DocumentAuthorizer
Overrides:
canTakeRequestedAction in class LocationAdminAuthorizer

canRecall

public boolean canRecall(org.kuali.rice.krad.document.Document document,
                         org.kuali.rice.kim.api.identity.Person user)
Specified by:
canRecall in interface org.kuali.rice.krad.document.DocumentAuthorizer
Overrides:
canRecall in class LocationAdminAuthorizer

isAuthorized

public boolean isAuthorized(Object dataObject,
                            String namespaceCode,
                            String permissionName,
                            String principalId)
Specified by:
isAuthorized in interface org.kuali.rice.krad.bo.DataObjectAuthorizer
Overrides:
isAuthorized in class LocationAdminAuthorizer

isAuthorizedByTemplate

public boolean isAuthorizedByTemplate(Object dataObject,
                                      String namespaceCode,
                                      String permissionTemplateName,
                                      String principalId)
Specified by:
isAuthorizedByTemplate in interface org.kuali.rice.krad.bo.DataObjectAuthorizer
Overrides:
isAuthorizedByTemplate in class LocationAdminAuthorizer

isAuthorized

public boolean isAuthorized(Object dataObject,
                            String namespaceCode,
                            String permissionTemplateName,
                            String principalId,
                            Map<String,String> additionalPermissionDetails,
                            Map<String,String> additionalRoleQualifiers)
Specified by:
isAuthorized in interface org.kuali.rice.krad.bo.DataObjectAuthorizer
Overrides:
isAuthorized in class LocationAdminAuthorizer


Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.