1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.hr.time.permissions;
17
18 import org.kuali.hr.time.authorization.DepartmentalRule;
19 import org.kuali.hr.time.timeblock.TimeBlock;
20 import org.kuali.hr.time.timesheet.TimesheetDocument;
21
22
23
24 public interface TkPermissionsService {
25
26 public boolean canAddTimeBlock();
27 public boolean canEditTimeBlockAllFields(TimeBlock tb);
28 public boolean canEditTimeBlock(TimeBlock tb);
29 public boolean canDeleteTimeBlock(TimeBlock tb);
30 public boolean canViewAdminTab();
31 public boolean canViewClockTab();
32 public boolean canViewApproverTab();
33 public boolean canViewTimeDetailTab();
34 public boolean canViewBatchJobsTab();
35 public boolean canViewPersonInfoTab();
36 public boolean canViewLeaveAccrualTab();
37 public boolean canViewTimesheet(TimesheetDocument doc);
38 public boolean canViewTimesheet(String documentId);
39 public boolean canEditTimesheet(TimesheetDocument doc);
40 public boolean canEditTimesheet(String documentId);
41 public boolean canSubmitTimesheet(TimesheetDocument doc);
42 public boolean canSubmitTimesheet(String docId);
43 public boolean canApproveTimesheet(TimesheetDocument doc);
44 public boolean canViewLinkOnMaintPages();
45 public boolean canViewDeptMaintPages();
46 public boolean canViewDeptMaintPages(DepartmentalRule dr);
47 public boolean canEditDeptMaintPages();
48 public boolean canEditDeptMaintPages(DepartmentalRule dr);
49 public boolean canWildcardWorkAreaInDeptRule(DepartmentalRule dr);
50 public boolean canWildcardDeptInDeptRule(DepartmentalRule dr);
51 public boolean canEditOvertimeEarnCode(TimeBlock tb);
52 public boolean canEditRegEarnCode(TimeBlock tb);
53 public boolean canDeleteDeptLunchDeduction();
54 public boolean canAddSystemLevelRole();
55 public boolean canAddLocationLevelRoles();
56 public boolean canAddDepartmentLevelRoles();
57 public boolean canAddWorkareaLevelRoles();
58 public boolean canViewTimeTabs();
59 }