|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.kpme.core.service.permission.HrPermissionServiceBase
org.kuali.kpme.core.service.permission.HRPermissionServiceImpl
public class HRPermissionServiceImpl
| Constructor Summary | |
|---|---|
HRPermissionServiceImpl()
|
|
| 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. |
CalendarBlockPermissions |
updateLeaveBlockPermissions(CalendarBlockPermissions calendarBlockPermissions)
|
CalendarBlockPermissions |
updateTimeBlockPermissions(CalendarBlockPermissions calendarBlockPermissions)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.kuali.kpme.core.service.permission.HRPermissionService |
|---|
isAuthorizedByTemplateInDepartment, isAuthorizedByTemplateInLocation, isAuthorizedByTemplateInWorkArea, isAuthorizedInDepartment, isAuthorizedInLocation, isAuthorizedInWorkArea |
| Constructor Detail |
|---|
public HRPermissionServiceImpl()
| Method Detail |
|---|
public boolean isAuthorized(String principalId,
String permissionName,
org.joda.time.DateTime asOfDate)
HRPermissionServiceprincipalId is authorized to perform permissionName.
isAuthorized in interface HRPermissionServiceprincipalId - 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.
public boolean isAuthorized(String principalId,
String permissionName,
Map<String,String> qualification,
org.joda.time.DateTime asOfDate)
HrPermissionServiceBaseprincipalId is authorized to perform permissionName for the given role qualifications.
isAuthorized in interface HRPermissionServiceisAuthorized in class HrPermissionServiceBaseprincipalId - 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.
public boolean isAuthorizedByTemplate(String principalId,
String namespaceCode,
String permissionTemplateName,
Map<String,String> permissionDetails,
org.joda.time.DateTime asOfDate)
HRPermissionServiceprincipalId is authorized to perform any permission templated by permissionTemplateName for the given permission details.
isAuthorizedByTemplate in interface HRPermissionServiceprincipalId - 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.
public boolean isAuthorizedByTemplate(String principalId,
String namespaceCode,
String permissionTemplateName,
Map<String,String> permissionDetails,
Map<String,String> qualification,
org.joda.time.DateTime asOfDate)
HrPermissionServiceBaseprincipalId is authorized to perform any permission templated by permissionTemplateName for the given permission details and role qualifications.
isAuthorizedByTemplate in interface HRPermissionServiceisAuthorizedByTemplate in class HrPermissionServiceBaseprincipalId - 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.
public boolean canApproveCalendarDocument(String principalId,
CalendarDocument calendarDocument)
HRPermissionServiceprincipalId can approve the LeaveCalendar specified by documentId.
canApproveCalendarDocument in interface HRPermissionServiceprincipalId - The person to checkcalendarDocument - The id of the document
principalId can approve the LeaveCalendar specified by documentId, false otherwise.
public boolean canViewCalendarDocument(String principalId,
CalendarDocument calendarDocument)
HRPermissionServiceprincipalId can view the LeaveCalendar specified by documentId.
canViewCalendarDocument in interface HRPermissionServiceprincipalId - The person to checkcalendarDocument - The id of the document
principalId can view the LeaveCalendar specified by documentId, false otherwise.
public boolean canViewCalendarDocumentAssignment(String principalId,
CalendarDocument calendarDocument,
Assignment assignment)
HRPermissionServiceprincipalId can view the given assignment attached to the LeaveCalendar specified by documentId.
canViewCalendarDocumentAssignment in interface HRPermissionServiceprincipalId - 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.
public boolean canEditCalendarDocument(String principalId,
CalendarDocument calendarDocument)
HRPermissionServiceprincipalId can edit the LeaveCalendar specified by documentId.
canEditCalendarDocument in interface HRPermissionServiceprincipalId - The person to checkcalendarDocument - The id of the document
principalId can edit the LeaveCalendar specified by documentId, false otherwise.
public boolean canEditCalendarDocumentAssignment(String principalId,
CalendarDocument calendarDocument,
Assignment assignment)
HRPermissionServiceprincipalId can edit the given assignment attached to the LeaveCalendar specified by documentId.
canEditCalendarDocumentAssignment in interface HRPermissionServiceprincipalId - 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.
public boolean canSubmitCalendarDocument(String principalId,
CalendarDocument calendarDocument)
HRPermissionServiceprincipalId can submit the LeaveCalendar specified by documentId.
canSubmitCalendarDocument in interface HRPermissionServiceprincipalId - The person to checkcalendarDocument - The id of the document
principalId can submit the LeaveCalendar specified by documentId, false otherwise.
public boolean canSuperUserAdministerCalendarDocument(String principalId,
CalendarDocument calendarDocument)
HRPermissionServiceprincipalId can super user administer the LeaveCalendar specified by documentId.
canSuperUserAdministerCalendarDocument in interface HRPermissionServiceprincipalId - The person to checkcalendarDocument - The id of the document
principalId can super user administer the LeaveCalendar specified by documentId, false otherwise.public boolean canViewTimeTabs()
canViewTimeTabs in interface HRPermissionServicepublic boolean canViewLeaveTabsWithEStatus()
canViewLeaveTabsWithEStatus in interface HRPermissionServicepublic boolean canViewLeaveTabsWithNEStatus()
canViewLeaveTabsWithNEStatus in interface HRPermissionServicepublic CalendarBlockPermissions getTimeBlockPermissions(String blockId)
getTimeBlockPermissions in interface HRPermissionServicepublic CalendarBlockPermissions updateTimeBlockPermissions(CalendarBlockPermissions calendarBlockPermissions)
updateTimeBlockPermissions in interface HRPermissionServicepublic CalendarBlockPermissions getLeaveBlockPermissions(String blockId)
getLeaveBlockPermissions in interface HRPermissionServicepublic CalendarBlockPermissions updateLeaveBlockPermissions(CalendarBlockPermissions calendarBlockPermissions)
updateLeaveBlockPermissions in interface HRPermissionService
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||