|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HRPermissionService
Method Summary | |
---|---|
boolean |
canApproveCalendarDocument(String principalId,
CalendarDocument calendarDocument)
Checks whether the given principalId can approve the LeaveCalendar specified by documentId . |
boolean |
canEditCalendarDocument(String principalId,
CalendarDocument calendarDocument)
Checks whether the given principalId can edit the LeaveCalendar specified by documentId . |
boolean |
canEditCalendarDocumentAssignment(String principalId,
CalendarDocument calendarDocument,
Assignment assignment)
Checks whether the given principalId can edit the given assignment attached to the LeaveCalendar specified by documentId . |
boolean |
canSubmitCalendarDocument(String principalId,
CalendarDocument calendarDocument)
Checks whether the given principalId can submit the LeaveCalendar specified by documentId . |
boolean |
canSuperUserAdministerCalendarDocument(String principalId,
CalendarDocument calendarDocument)
Checks whether the given principalId can super user administer the LeaveCalendar specified by documentId . |
boolean |
canViewCalendarDocument(String principalId,
CalendarDocument calendarDocument)
Checks whether the given principalId can view the LeaveCalendar specified by documentId . |
boolean |
canViewCalendarDocumentAssignment(String principalId,
CalendarDocument calendarDocument,
Assignment assignment)
Checks whether the given principalId can view the given assignment attached to the LeaveCalendar specified by documentId . |
boolean |
canViewLeaveTabsWithEStatus()
|
boolean |
canViewLeaveTabsWithNEStatus()
|
boolean |
canViewTimeTabs()
|
CalendarBlockPermissions |
getLeaveBlockPermissions(String blockId)
|
CalendarBlockPermissions |
getTimeBlockPermissions(String blockId)
|
boolean |
isAuthorized(String principalId,
String permissionName,
org.joda.time.DateTime asOfDate)
Checks whether the given principalId is authorized to perform permissionName . |
boolean |
isAuthorized(String principalId,
String permissionName,
Map<String,String> qualification,
org.joda.time.DateTime asOfDate)
Checks whether the given principalId is authorized to perform permissionName for the given role qualifications. |
boolean |
isAuthorizedByTemplate(String principalId,
String namespaceCode,
String permissionTemplateName,
Map<String,String> permissionDetails,
org.joda.time.DateTime asOfDate)
Checks whether the given principalId is authorized to perform any permission templated by permissionTemplateName for the given permission details. |
boolean |
isAuthorizedByTemplate(String principalId,
String namespaceCode,
String permissionTemplateName,
Map<String,String> permissionDetails,
Map<String,String> qualification,
org.joda.time.DateTime asOfDate)
Checks whether the given principalId is authorized to perform any permission templated by permissionTemplateName for the given permission details and role qualifications. |
boolean |
isAuthorizedByTemplateInDepartment(String principalId,
String namespaceCode,
String permissionTemplateName,
String department,
org.joda.time.DateTime asOfDate)
Checks whether the given principalId is authorized to perform permissionName for the given department. |
boolean |
isAuthorizedByTemplateInLocation(String principalId,
String namespaceCode,
String permissionTemplateName,
String location,
org.joda.time.DateTime asOfDate)
Checks whether the given principalId is authorized to perform permissionName for the given location. |
boolean |
isAuthorizedByTemplateInWorkArea(String principalId,
String namespaceCode,
String permissionTemplateName,
Long workArea,
org.joda.time.DateTime asOfDate)
Checks whether the given principalId is authorized to perform permissionName for the given work area. |
boolean |
isAuthorizedInDepartment(String principalId,
String permissionName,
String department,
org.joda.time.DateTime asOfDate)
Checks whether the given principalId is authorized to perform permissionName for the given department. |
boolean |
isAuthorizedInLocation(String principalId,
String permissionName,
String location,
org.joda.time.DateTime asOfDate)
Checks whether the given principalId is authorized to perform permissionName for the given location. |
boolean |
isAuthorizedInWorkArea(String principalId,
String permissionName,
Long workArea,
org.joda.time.DateTime asOfDate)
Checks whether the given principalId is authorized to perform permissionName for the given work area. |
CalendarBlockPermissions |
updateLeaveBlockPermissions(CalendarBlockPermissions calendarBlockPermissions)
|
CalendarBlockPermissions |
updateTimeBlockPermissions(CalendarBlockPermissions calendarBlockPermissions)
|
Method Detail |
---|
boolean isAuthorized(String principalId, String permissionName, org.joda.time.DateTime asOfDate)
principalId
is authorized to perform permissionName
.
principalId
- The person to check the permission forpermissionName
- The name of the permissionasOfDate
- The effective date of the permission
principalId
is authorized to perform permissionName
, false otherwise.boolean isAuthorized(String principalId, String permissionName, Map<String,String> qualification, org.joda.time.DateTime asOfDate)
principalId
is authorized to perform permissionName
for the given role qualifications.
principalId
- The person to check the permission forpermissionName
- The name of the permissionqualification
- The map of role qualifiers for the personasOfDate
- The effective date of the permission
principalId
is authorized to perform permissionName
, false otherwise.boolean isAuthorizedInWorkArea(String principalId, String permissionName, Long workArea, org.joda.time.DateTime asOfDate)
principalId
is authorized to perform permissionName
for the given work area.
principalId
- The person to check the permission forpermissionName
- The name of the permissionworkArea
- The work area qualifierasOfDate
- The effective date of the permission
principalId
is authorized to perform permissionName
for the given work area, false otherwise.boolean isAuthorizedInDepartment(String principalId, String permissionName, String department, org.joda.time.DateTime asOfDate)
principalId
is authorized to perform permissionName
for the given department.
principalId
- The person to check the permission forpermissionName
- The name of the permissiondepartment
- The department qualifierasOfDate
- The effective date of the permission
principalId
is authorized to perform permissionName
for the given department, false otherwise.boolean isAuthorizedInLocation(String principalId, String permissionName, String location, org.joda.time.DateTime asOfDate)
principalId
is authorized to perform permissionName
for the given location.
principalId
- The person to check the permission forpermissionName
- The name of the permissionlocation
- The location qualifierasOfDate
- The effective date of the permission
principalId
is authorized to perform permissionName
for the given location, false otherwise.boolean isAuthorizedByTemplate(String principalId, String namespaceCode, String permissionTemplateName, Map<String,String> permissionDetails, org.joda.time.DateTime asOfDate)
principalId
is authorized to perform any permission templated by permissionTemplateName
for the given permission details.
principalId
- The person to check the permission fornamespaceCode
- The namespace for the permission templatepermissionTemplateName
- The name of the permission templatepermissionDetails
- The map of permission details for the permissionasOfDate
- The effective date of the permission
principalId
is authorized to perform any permission templated by permissionTemplateName
, false otherwise.boolean isAuthorizedByTemplate(String principalId, String namespaceCode, String permissionTemplateName, Map<String,String> permissionDetails, Map<String,String> qualification, org.joda.time.DateTime asOfDate)
principalId
is authorized to perform any permission templated by permissionTemplateName
for the given permission details and role qualifications.
principalId
- The person to check the permission fornamespaceCode
- The namespace for the permission templatepermissionTemplateName
- The name of the permission templatepermissionDetails
- The map of permission details for the permissionqualification
- The map of role qualifiers for the personasOfDate
- The effective date of the permission
principalId
is authorized to perform any permission templated by permissionTemplateName
, false otherwise.boolean isAuthorizedByTemplateInWorkArea(String principalId, String namespaceCode, String permissionTemplateName, Long workArea, org.joda.time.DateTime asOfDate)
principalId
is authorized to perform permissionName
for the given work area.
principalId
- The person to check the permission forpermissionName
- The name of the permissionworkArea
- The work area qualifierasOfDate
- The effective date of the permission
principalId
is authorized to perform permissionName
for the given work area, false otherwise.boolean isAuthorizedByTemplateInDepartment(String principalId, String namespaceCode, String permissionTemplateName, String department, org.joda.time.DateTime asOfDate)
principalId
is authorized to perform permissionName
for the given department.
principalId
- The person to check the permission forpermissionName
- The name of the permissiondepartment
- The department qualifierasOfDate
- The effective date of the permission
principalId
is authorized to perform permissionName
for the given department, false otherwise.boolean isAuthorizedByTemplateInLocation(String principalId, String namespaceCode, String permissionTemplateName, String location, org.joda.time.DateTime asOfDate)
principalId
is authorized to perform permissionName
for the given location.
principalId
- The person to check the permission forpermissionName
- The name of the permissionlocation
- The location qualifierasOfDate
- The effective date of the permission
principalId
is authorized to perform permissionName
for the given location, false otherwise.boolean canApproveCalendarDocument(String principalId, CalendarDocument calendarDocument)
principalId
can approve the LeaveCalendar specified by documentId
.
principalId
- The person to checkcalendarDocument
- The id of the document
principalId
can approve the LeaveCalendar specified by documentId
, false otherwise.boolean canViewCalendarDocument(String principalId, CalendarDocument calendarDocument)
principalId
can view the LeaveCalendar specified by documentId
.
principalId
- The person to checkcalendarDocument
- The id of the document
principalId
can view the LeaveCalendar specified by documentId
, false otherwise.boolean canViewCalendarDocumentAssignment(String principalId, CalendarDocument calendarDocument, Assignment assignment)
principalId
can view the given assignment
attached to the LeaveCalendar specified by documentId
.
principalId
- The person to checkcalendarDocument
- The id of the documentassignment
- The assignment attached to the document
principalId
can view the given assignment
attached to the LeaveCalendar specified by documentId
, false otherwise.boolean canEditCalendarDocument(String principalId, CalendarDocument calendarDocument)
principalId
can edit the LeaveCalendar specified by documentId
.
principalId
- The person to checkcalendarDocument
- The id of the document
principalId
can edit the LeaveCalendar specified by documentId
, false otherwise.boolean canEditCalendarDocumentAssignment(String principalId, CalendarDocument calendarDocument, Assignment assignment)
principalId
can edit the given assignment
attached to the LeaveCalendar specified by documentId
.
principalId
- The person to checkcalendarDocument
- The id of the documentassignment
- The assignment attached to the document
principalId
can edit the given assignment
attached to the LeaveCalendar specified by documentId
, false otherwise.boolean canSubmitCalendarDocument(String principalId, CalendarDocument calendarDocument)
principalId
can submit the LeaveCalendar specified by documentId
.
principalId
- The person to checkcalendarDocument
- The id of the document
principalId
can submit the LeaveCalendar specified by documentId
, false otherwise.boolean canSuperUserAdministerCalendarDocument(String principalId, CalendarDocument calendarDocument)
principalId
can super user administer the LeaveCalendar specified by documentId
.
principalId
- The person to checkcalendarDocument
- The id of the document
principalId
can super user administer the LeaveCalendar specified by documentId
, false otherwise.boolean canViewTimeTabs()
boolean canViewLeaveTabsWithEStatus()
boolean canViewLeaveTabsWithNEStatus()
@Cacheable(value="http://kpme.kuali.org/core/CalendarBlockPermission", key="\'{time}\' + #p0") CalendarBlockPermissions getTimeBlockPermissions(String blockId)
@CachePut(value="http://kpme.kuali.org/core/CalendarBlockPermission", key="\'{time}\' + #p0?.blockId") CalendarBlockPermissions updateTimeBlockPermissions(CalendarBlockPermissions calendarBlockPermissions)
@Cacheable(value="http://kpme.kuali.org/core/CalendarBlockPermission", key="\'{leave}\' + #p0") CalendarBlockPermissions getLeaveBlockPermissions(String blockId)
@CachePut(value="http://kpme.kuali.org/core/CalendarBlockPermission", key="\'{leave}\' + #p0?.blockId") CalendarBlockPermissions updateLeaveBlockPermissions(CalendarBlockPermissions calendarBlockPermissions)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |