|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.kpme.core.service.role.KPMERoleServiceImpl
public class KPMERoleServiceImpl
| Constructor Summary | |
|---|---|
KPMERoleServiceImpl()
|
|
| Method Summary | |
|---|---|
DepartmentService |
getDepartmentService()
|
List<String> |
getDepartmentsForPrincipalInRole(String principalId,
String namespaceCode,
String roleName,
org.joda.time.DateTime asOfDate,
boolean isActiveOnly)
Gets the departments for the given principalId in the role roleName. |
List<String> |
getDepartmentsForPrincipalInRoles(String principalId,
List<String> roleIds,
org.joda.time.DateTime asOfDate,
boolean isActiveOnly)
Gets the departments for the given principalId in the roles roleIds. |
protected String |
getDerivedRoleServiceName(String kimTypeId)
Gets the derived role service name for kimTypeId. |
org.kuali.rice.kim.api.group.GroupService |
getGroupService()
|
org.kuali.rice.kim.api.type.KimTypeInfoService |
getKimTypeInfoService()
|
List<String> |
getLocationsForPrincipalInRole(String principalId,
String namespaceCode,
String roleName,
org.joda.time.DateTime asOfDate,
boolean isActiveOnly)
Gets the locations for the given principalId in the role roleName. |
List<String> |
getLocationsForPrincipalInRoles(String principalId,
List<String> roleIds,
org.joda.time.DateTime asOfDate,
boolean isActiveOnly)
Gets the locations for the given principalId in the roles roleIds. |
List<org.kuali.rice.kim.api.role.RoleMember> |
getRoleMembers(String namespaceCode,
String roleName,
org.joda.time.DateTime asOfDate,
boolean isActiveOnly)
Gets the members of the role roleName. |
List<org.kuali.rice.kim.api.role.RoleMember> |
getRoleMembers(String namespaceCode,
String roleName,
Map<String,String> qualification,
org.joda.time.DateTime asOfDate,
boolean isActiveOnly)
Gets the members of the role roleName for the given role qualifiers. |
List<org.kuali.rice.kim.api.role.RoleMember> |
getRoleMembersInDepartment(String namespaceCode,
String roleName,
String department,
org.joda.time.DateTime asOfDate,
boolean isActiveOnly)
Gets the members of the role roleName for the given department. |
List<org.kuali.rice.kim.api.role.RoleMember> |
getRoleMembersInLocation(String namespaceCode,
String roleName,
String location,
org.joda.time.DateTime asOfDate,
boolean isActiveOnly)
Gets the members of the role roleName for the given location. |
List<org.kuali.rice.kim.api.role.RoleMember> |
getRoleMembersInPosition(String namespaceCode,
String roleName,
String position,
org.joda.time.DateTime asOfDate,
boolean isActiveOnly)
|
List<org.kuali.rice.kim.api.role.RoleMember> |
getRoleMembersInWorkArea(String namespaceCode,
String roleName,
Long workArea,
org.joda.time.DateTime asOfDate,
boolean isActiveOnly)
Gets the members of the role roleName for the given work area. |
org.kuali.rice.kim.api.role.RoleService |
getRoleService()
|
protected org.kuali.rice.kim.framework.role.RoleTypeService |
getRoleTypeService(org.kuali.rice.kim.api.role.Role role)
Gets the derived role service for role. |
WorkAreaService |
getWorkAreaService()
|
List<Long> |
getWorkAreasForPrincipalInRole(String principalId,
String namespaceCode,
String roleName,
org.joda.time.DateTime asOfDate,
boolean isActiveOnly)
Gets the work areas for the given principalId in the role roleName. |
List<Long> |
getWorkAreasForPrincipalInRoles(String principalId,
List<String> roleIds,
org.joda.time.DateTime asOfDate,
boolean isActiveOnly)
Gets the work areas for the given principalId in the role roleName. |
boolean |
principalHasRole(String principalId,
String namespaceCode,
String roleName,
org.joda.time.DateTime asOfDate)
Checks whether the given principalId has the role roleName. |
boolean |
principalHasRole(String principalId,
String namespaceCode,
String roleName,
Map<String,String> qualification,
org.joda.time.DateTime asOfDate)
Checks whether the given principalId has the role roleName depending on the given role qualifications. |
boolean |
principalHasRoleInDepartment(String principalId,
String namespaceCode,
String roleName,
String department,
org.joda.time.DateTime asOfDate)
Checks whether the given principalId has the role roleName depending on the given department. |
boolean |
principalHasRoleInLocation(String principalId,
String namespaceCode,
String roleName,
String location,
org.joda.time.DateTime asOfDate)
Checks whether the given principalId has the role roleName depending on the given location. |
boolean |
principalHasRoleInWorkArea(String principalId,
String namespaceCode,
String roleName,
Long workArea,
org.joda.time.DateTime asOfDate)
Checks whether the given principalId has the role roleName depending on the given work area. |
void |
setDepartmentService(DepartmentService departmentService)
|
void |
setGroupService(org.kuali.rice.kim.api.group.GroupService groupService)
|
void |
setKimTypeInfoService(org.kuali.rice.kim.api.type.KimTypeInfoService kimTypeInfoService)
|
void |
setRoleService(org.kuali.rice.kim.api.role.RoleService roleService)
|
void |
setWorkAreaService(WorkAreaService workAreaService)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public KPMERoleServiceImpl()
| Method Detail |
|---|
public boolean principalHasRole(String principalId,
String namespaceCode,
String roleName,
org.joda.time.DateTime asOfDate)
KPMERoleServiceprincipalId has the role roleName.
principalHasRole in interface KPMERoleServiceprincipalId - The person to check the role fornamespaceCode - The namespace of the roleroleName - The name of the roleasOfDate - The effective date of the role
principalId has the role roleName, false otherwise.
public boolean principalHasRole(String principalId,
String namespaceCode,
String roleName,
Map<String,String> qualification,
org.joda.time.DateTime asOfDate)
KPMERoleServiceprincipalId has the role roleName depending on the given role qualifications.
principalHasRole in interface KPMERoleServiceprincipalId - The person to check the role fornamespaceCode - The namespace of the roleroleName - The name of the rolequalification - The map of role qualifiers for the personasOfDate - The effective date of the role
principalId has the role roleName, false otherwise.
public boolean principalHasRoleInWorkArea(String principalId,
String namespaceCode,
String roleName,
Long workArea,
org.joda.time.DateTime asOfDate)
KPMERoleServiceprincipalId has the role roleName depending on the given work area.
principalHasRoleInWorkArea in interface KPMERoleServiceprincipalId - The person to check the role fornamespaceCode - The namespace of the roleroleName - The name of the roleworkArea - The work area qualifierasOfDate - The effective date of the role
principalId has the role roleName for the given work area, false otherwise.
public boolean principalHasRoleInDepartment(String principalId,
String namespaceCode,
String roleName,
String department,
org.joda.time.DateTime asOfDate)
KPMERoleServiceprincipalId has the role roleName depending on the given department.
principalHasRoleInDepartment in interface KPMERoleServiceprincipalId - The person to check the role fornamespaceCode - The namespace of the roleroleName - The name of the roledepartment - The department qualifierasOfDate - The effective date of the role
principalId has the role roleName for the given department, false otherwise.
public boolean principalHasRoleInLocation(String principalId,
String namespaceCode,
String roleName,
String location,
org.joda.time.DateTime asOfDate)
KPMERoleServiceprincipalId has the role roleName depending on the given location.
principalHasRoleInLocation in interface KPMERoleServiceprincipalId - The person to check the role fornamespaceCode - The namespace of the roleroleName - The name of the rolelocation - The location qualifierasOfDate - The effective date of the role
principalId has the role roleName for the given location, false otherwise.
public List<org.kuali.rice.kim.api.role.RoleMember> getRoleMembers(String namespaceCode,
String roleName,
org.joda.time.DateTime asOfDate,
boolean isActiveOnly)
KPMERoleServiceroleName.
getRoleMembers in interface KPMERoleServicenamespaceCode - The namespace of the roleroleName - The name of the roleasOfDate - The effective date of the role
roleName.
public List<org.kuali.rice.kim.api.role.RoleMember> getRoleMembers(String namespaceCode,
String roleName,
Map<String,String> qualification,
org.joda.time.DateTime asOfDate,
boolean isActiveOnly)
KPMERoleServiceroleName for the given role qualifiers.
getRoleMembers in interface KPMERoleServicenamespaceCode - The namespace of the roleroleName - The name of the rolequalification - The map of role qualifiersasOfDate - The effective date of the role
roleName.
public List<org.kuali.rice.kim.api.role.RoleMember> getRoleMembersInPosition(String namespaceCode,
String roleName,
String position,
org.joda.time.DateTime asOfDate,
boolean isActiveOnly)
getRoleMembersInPosition in interface KPMERoleService
public List<org.kuali.rice.kim.api.role.RoleMember> getRoleMembersInWorkArea(String namespaceCode,
String roleName,
Long workArea,
org.joda.time.DateTime asOfDate,
boolean isActiveOnly)
KPMERoleServiceroleName for the given work area.
getRoleMembersInWorkArea in interface KPMERoleServicenamespaceCode - The namespace of the roleroleName - The name of the roleworkArea - The work area qualifierasOfDate - The effective date of the role
roleName for the given work area.
public List<org.kuali.rice.kim.api.role.RoleMember> getRoleMembersInDepartment(String namespaceCode,
String roleName,
String department,
org.joda.time.DateTime asOfDate,
boolean isActiveOnly)
KPMERoleServiceroleName for the given department.
getRoleMembersInDepartment in interface KPMERoleServicenamespaceCode - The namespace of the roleroleName - The name of the roledepartment - The department qualifierasOfDate - The effective date of the role
roleName for the given department.
public List<org.kuali.rice.kim.api.role.RoleMember> getRoleMembersInLocation(String namespaceCode,
String roleName,
String location,
org.joda.time.DateTime asOfDate,
boolean isActiveOnly)
KPMERoleServiceroleName for the given location.
getRoleMembersInLocation in interface KPMERoleServicenamespaceCode - The namespace of the roleroleName - The name of the rolelocation - The location qualifierasOfDate - The effective date of the role
roleName for the given location.
public List<Long> getWorkAreasForPrincipalInRoles(String principalId,
List<String> roleIds,
org.joda.time.DateTime asOfDate,
boolean isActiveOnly)
KPMERoleServiceprincipalId in the role roleName.
getWorkAreasForPrincipalInRoles in interface KPMERoleServiceprincipalId - The person to check the role forroleIds - The list of roleIdsasOfDate - The effective date of the roleisActiveOnly - Whether or not to get only active role members
principalId in the role roleName.
public List<Long> getWorkAreasForPrincipalInRole(String principalId,
String namespaceCode,
String roleName,
org.joda.time.DateTime asOfDate,
boolean isActiveOnly)
KPMERoleServiceprincipalId in the role roleName.
getWorkAreasForPrincipalInRole in interface KPMERoleServiceprincipalId - The person to check the role fornamespaceCode - The namespace of the roleroleName - The name of the roleasOfDate - The effective date of the roleisActiveOnly - Whether or not to get only active role members
principalId in the role roleName.
public List<String> getDepartmentsForPrincipalInRoles(String principalId,
List<String> roleIds,
org.joda.time.DateTime asOfDate,
boolean isActiveOnly)
KPMERoleServiceprincipalId in the roles roleIds.
getDepartmentsForPrincipalInRoles in interface KPMERoleServiceprincipalId - The person to check the role forroleIds - The list of roleIdsasOfDate - The effective date of the roleisActiveOnly - Whether or not to get only active role members
principalId in the roles roleIds.
public List<String> getDepartmentsForPrincipalInRole(String principalId,
String namespaceCode,
String roleName,
org.joda.time.DateTime asOfDate,
boolean isActiveOnly)
KPMERoleServiceprincipalId in the role roleName.
getDepartmentsForPrincipalInRole in interface KPMERoleServiceprincipalId - The person to check the role fornamespaceCode - The namespace of the roleroleName - The name of the roleasOfDate - The effective date of the roleisActiveOnly - Whether or not to get only active role members
principalId in the role roleName.
public List<String> getLocationsForPrincipalInRoles(String principalId,
List<String> roleIds,
org.joda.time.DateTime asOfDate,
boolean isActiveOnly)
KPMERoleServiceprincipalId in the roles roleIds.
getLocationsForPrincipalInRoles in interface KPMERoleServiceprincipalId - The person to check the role forroleIds - The list of roleIdsasOfDate - The effective date of the roleisActiveOnly - Whether or not to get only active role members
principalId in the roles roleIds.
public List<String> getLocationsForPrincipalInRole(String principalId,
String namespaceCode,
String roleName,
org.joda.time.DateTime asOfDate,
boolean isActiveOnly)
KPMERoleServiceprincipalId in the role roleName.
getLocationsForPrincipalInRole in interface KPMERoleServiceprincipalId - The person to check the role fornamespaceCode - The namespace of the roleroleName - The name of the roleasOfDate - The effective date of the roleisActiveOnly - Whether or not to get only active role members
principalId in the role roleName.protected org.kuali.rice.kim.framework.role.RoleTypeService getRoleTypeService(org.kuali.rice.kim.api.role.Role role)
role.
role - the role
role.protected String getDerivedRoleServiceName(String kimTypeId)
kimTypeId.
kimTypeId - the KIM type id
kimTypeId.public DepartmentService getDepartmentService()
public void setDepartmentService(DepartmentService departmentService)
public org.kuali.rice.kim.api.group.GroupService getGroupService()
public void setGroupService(org.kuali.rice.kim.api.group.GroupService groupService)
public org.kuali.rice.kim.api.type.KimTypeInfoService getKimTypeInfoService()
public void setKimTypeInfoService(org.kuali.rice.kim.api.type.KimTypeInfoService kimTypeInfoService)
public org.kuali.rice.kim.api.role.RoleService getRoleService()
public void setRoleService(org.kuali.rice.kim.api.role.RoleService roleService)
public WorkAreaService getWorkAreaService()
public void setWorkAreaService(WorkAreaService workAreaService)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||