org.kuali.hr.time.permissions
Class TkPermissionsServiceImpl

java.lang.Object
  extended by org.kuali.hr.time.permissions.TkPermissionsServiceImpl
All Implemented Interfaces:
TkPermissionsService

public class TkPermissionsServiceImpl
extends Object
implements TkPermissionsService


Constructor Summary
TkPermissionsServiceImpl()
           
 
Method Summary
 boolean canAddDepartmentLevelRoles()
           
 boolean canAddLocationLevelRoles()
           
 boolean canAddSystemLevelRole()
           
 boolean canAddTimeBlock()
           
 boolean canAddWorkareaLevelRoles()
           
 boolean canApproveTimesheet(TimesheetDocument doc)
           
 boolean canBankOrTransferSSTOUsage(LeaveBlock lb)
          Determine if given leave block is a accrual generated System Scheduled Timeoff usage that can be banked/transferred and if the leave block is on the current leave calendar entry of the current targeted user
 boolean canBankSSTOUsage(LeaveBlock lb)
          Determine if given leave block is a accrual generated System Scheduled Timeoff usage that can be banked and if the leave block is on the current leave calendar entry of the current targeted user
 boolean canDeleteDeptLunchDeduction()
           
 boolean canDeleteLeaveBlock(LeaveBlock lb)
           
 boolean canDeleteTimeBlock(TimeBlock tb)
           
 boolean canEditDeptMaintPages()
           
 boolean canEditDeptMaintPages(DepartmentalRule dr)
           
 boolean canEditLeaveBlock(LeaveBlock lb)
           
 boolean canEditOvertimeEarnCode(TimeBlock tb)
           
 boolean canEditRegEarnCode(TimeBlock tb)
           
 boolean canEditTimeBlock(TimeBlock tb)
           
 boolean canEditTimeBlockAllFields(TimeBlock tb)
           
 boolean canEditTimesheet(String documentId)
           
 boolean canEditTimesheet(TimesheetDocument document)
           
 boolean canSubmitTimesheet(String docId)
           
 boolean canSubmitTimesheet(TimesheetDocument doc)
           
 boolean canTransferSSTOUsage(LeaveBlock lb)
          Determine if given leave block is a accrual generated System Scheduled Timeoff usage that can be transferred and if the leave block is on the current leave calendar entry of the current targeted user
 boolean canViewAdminTab()
           
 boolean canViewApproverTab()
           
 boolean canViewBatchJobsTab()
           
 boolean canViewClockTab()
           
 boolean canViewDeptMaintPages()
           
 boolean canViewDeptMaintPages(DepartmentalRule dr)
           
 boolean canViewLeaveAccrualTab()
           
 boolean canViewLeaveTabsWithEStatus()
           
 boolean canViewLeaveTabsWithNEStatus()
           
 boolean canViewLinkOnMaintPages()
           
 boolean canViewPersonInfoTab()
           
 boolean canViewTimeDetailTab()
           
 boolean canViewTimesheet(String documentId)
           
 boolean canViewTimesheet(TimesheetDocument document)
           
 boolean canViewTimeTabs()
           
 boolean canWildcardDeptInDeptRule(DepartmentalRule dr)
           
 boolean canWildcardWorkAreaInDeptRule(DepartmentalRule dr)
           
 boolean hasManagerialRolesOnWorkArea(TimeBlock tb)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TkPermissionsServiceImpl

public TkPermissionsServiceImpl()
Method Detail

canAddTimeBlock

public boolean canAddTimeBlock()
Specified by:
canAddTimeBlock in interface TkPermissionsService

canEditTimeBlockAllFields

public boolean canEditTimeBlockAllFields(TimeBlock tb)
Specified by:
canEditTimeBlockAllFields in interface TkPermissionsService

canEditTimeBlock

public boolean canEditTimeBlock(TimeBlock tb)
Specified by:
canEditTimeBlock in interface TkPermissionsService

canDeleteTimeBlock

public boolean canDeleteTimeBlock(TimeBlock tb)
Specified by:
canDeleteTimeBlock in interface TkPermissionsService

canEditLeaveBlock

public boolean canEditLeaveBlock(LeaveBlock lb)
Specified by:
canEditLeaveBlock in interface TkPermissionsService

canDeleteLeaveBlock

public boolean canDeleteLeaveBlock(LeaveBlock lb)
Specified by:
canDeleteLeaveBlock in interface TkPermissionsService

canBankOrTransferSSTOUsage

public boolean canBankOrTransferSSTOUsage(LeaveBlock lb)
Description copied from interface: TkPermissionsService
Determine if given leave block is a accrual generated System Scheduled Timeoff usage that can be banked/transferred and if the leave block is on the current leave calendar entry of the current targeted user

Specified by:
canBankOrTransferSSTOUsage in interface TkPermissionsService
Returns:

canBankSSTOUsage

public boolean canBankSSTOUsage(LeaveBlock lb)
Description copied from interface: TkPermissionsService
Determine if given leave block is a accrual generated System Scheduled Timeoff usage that can be banked and if the leave block is on the current leave calendar entry of the current targeted user

Specified by:
canBankSSTOUsage in interface TkPermissionsService
Returns:

canTransferSSTOUsage

public boolean canTransferSSTOUsage(LeaveBlock lb)
Description copied from interface: TkPermissionsService
Determine if given leave block is a accrual generated System Scheduled Timeoff usage that can be transferred and if the leave block is on the current leave calendar entry of the current targeted user

Specified by:
canTransferSSTOUsage in interface TkPermissionsService
Returns:

canViewAdminTab

public boolean canViewAdminTab()
Specified by:
canViewAdminTab in interface TkPermissionsService

canViewApproverTab

public boolean canViewApproverTab()
Specified by:
canViewApproverTab in interface TkPermissionsService

canViewClockTab

public boolean canViewClockTab()
Specified by:
canViewClockTab in interface TkPermissionsService

canViewBatchJobsTab

public boolean canViewBatchJobsTab()
Specified by:
canViewBatchJobsTab in interface TkPermissionsService

canViewPersonInfoTab

public boolean canViewPersonInfoTab()
Specified by:
canViewPersonInfoTab in interface TkPermissionsService

canViewTimeDetailTab

public boolean canViewTimeDetailTab()
Specified by:
canViewTimeDetailTab in interface TkPermissionsService

canViewLeaveAccrualTab

public boolean canViewLeaveAccrualTab()
Specified by:
canViewLeaveAccrualTab in interface TkPermissionsService

canViewTimesheet

public boolean canViewTimesheet(String documentId)
Specified by:
canViewTimesheet in interface TkPermissionsService

canViewTimesheet

public boolean canViewTimesheet(TimesheetDocument document)
Specified by:
canViewTimesheet in interface TkPermissionsService

canEditTimesheet

public boolean canEditTimesheet(TimesheetDocument document)
Specified by:
canEditTimesheet in interface TkPermissionsService

canEditTimesheet

public boolean canEditTimesheet(String documentId)
Specified by:
canEditTimesheet in interface TkPermissionsService

canApproveTimesheet

public boolean canApproveTimesheet(TimesheetDocument doc)
Specified by:
canApproveTimesheet in interface TkPermissionsService

canSubmitTimesheet

public boolean canSubmitTimesheet(TimesheetDocument doc)
Specified by:
canSubmitTimesheet in interface TkPermissionsService

canSubmitTimesheet

public boolean canSubmitTimesheet(String docId)
Specified by:
canSubmitTimesheet in interface TkPermissionsService

canViewLinkOnMaintPages

public boolean canViewLinkOnMaintPages()
Specified by:
canViewLinkOnMaintPages in interface TkPermissionsService

canViewDeptMaintPages

public boolean canViewDeptMaintPages()
Specified by:
canViewDeptMaintPages in interface TkPermissionsService

canViewDeptMaintPages

public boolean canViewDeptMaintPages(DepartmentalRule dr)
Specified by:
canViewDeptMaintPages in interface TkPermissionsService

canEditDeptMaintPages

public boolean canEditDeptMaintPages()
Specified by:
canEditDeptMaintPages in interface TkPermissionsService

canEditDeptMaintPages

public boolean canEditDeptMaintPages(DepartmentalRule dr)
Specified by:
canEditDeptMaintPages in interface TkPermissionsService

canWildcardWorkAreaInDeptRule

public boolean canWildcardWorkAreaInDeptRule(DepartmentalRule dr)
Specified by:
canWildcardWorkAreaInDeptRule in interface TkPermissionsService

canWildcardDeptInDeptRule

public boolean canWildcardDeptInDeptRule(DepartmentalRule dr)
Specified by:
canWildcardDeptInDeptRule in interface TkPermissionsService

canEditOvertimeEarnCode

public boolean canEditOvertimeEarnCode(TimeBlock tb)
Specified by:
canEditOvertimeEarnCode in interface TkPermissionsService

canEditRegEarnCode

public boolean canEditRegEarnCode(TimeBlock tb)
Specified by:
canEditRegEarnCode in interface TkPermissionsService

canDeleteDeptLunchDeduction

public boolean canDeleteDeptLunchDeduction()
Specified by:
canDeleteDeptLunchDeduction in interface TkPermissionsService

canAddSystemLevelRole

public boolean canAddSystemLevelRole()
Specified by:
canAddSystemLevelRole in interface TkPermissionsService

canAddLocationLevelRoles

public boolean canAddLocationLevelRoles()
Specified by:
canAddLocationLevelRoles in interface TkPermissionsService

canAddDepartmentLevelRoles

public boolean canAddDepartmentLevelRoles()
Specified by:
canAddDepartmentLevelRoles in interface TkPermissionsService

canAddWorkareaLevelRoles

public boolean canAddWorkareaLevelRoles()
Specified by:
canAddWorkareaLevelRoles in interface TkPermissionsService

hasManagerialRolesOnWorkArea

public boolean hasManagerialRolesOnWorkArea(TimeBlock tb)

canViewTimeTabs

public boolean canViewTimeTabs()
Specified by:
canViewTimeTabs in interface TkPermissionsService

canViewLeaveTabsWithEStatus

public boolean canViewLeaveTabsWithEStatus()
Specified by:
canViewLeaveTabsWithEStatus in interface TkPermissionsService

canViewLeaveTabsWithNEStatus

public boolean canViewLeaveTabsWithNEStatus()
Specified by:
canViewLeaveTabsWithNEStatus in interface TkPermissionsService


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