|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.hr.time.roles.service.TkRoleServiceImpl
public class TkRoleServiceImpl
| Constructor Summary | |
|---|---|
TkRoleServiceImpl()
|
|
| Method Summary | |
|---|---|
Set<String> |
getActivePrincipalsForWorkAreas(Set<Long> workAreas,
Date asOfDate)
Provides a unique set of principal ids that have active assignments in the given work areas. |
List<TkRole> |
getDepartmentInactiveRoles(String department)
Fetch all Inactive Roles for a given Department |
List<TkRole> |
getDepartmentInactiveRoles(String department,
String roleName,
Date asOfDate)
Fetch all Inactive Roles for a given Department and Role Name as of a particular date |
List<TkRole> |
getDepartmentRoles(String department)
Fetch all Roles for a given Department |
List<TkRole> |
getDepartmentRoles(String department,
String roleName,
Date asOfDate)
Fetch all Roles for a given Department and Role Name as of a particular date |
List<TkRole> |
getInactiveRoles(String principalId,
Date asOfDate)
Returns all active roles for the given principal as of the indi |
TkRole |
getInactiveRolesByPosition(String positionNumber)
|
List<TkRole> |
getInActiveWorkAreaRoles(Long workArea)
Fetch all Inactive Roles for a given work area |
List<TkRole> |
getInActiveWorkAreaRoles(Long workArea,
String roleName,
Date asOfDate)
Fetch all Inactive Roles for a given work area and role name as of a particular date |
List<TkRole> |
getPositionRolesForWorkArea(Long workArea,
Date asOfDate)
|
List<String> |
getResponsibleParties(Assignment a,
String roleName,
Date asOfDate)
Gets the list of principal IDs responsible for the provided assignment / role name combination. |
TkRole |
getRole(String tkRoleId)
Fetches Role by primary key |
List<TkRole> |
getRoles(String principalId,
Date asOfDate)
Returns all active roles for the given principal as of the indi |
List<TkRole> |
getRoles(String principalId,
Date asOfDate,
String roleName,
Long workArea,
String department)
Return a List of TkRoles that matches criteria. |
List<TkRole> |
getRoles(String principalId,
String roleName,
Date asOfDate)
Return a List of TkRoles that match the principal ID and roleName. |
TkRole |
getRolesByPosition(String positionNumber)
Fetches Role by position number |
List<TkRole> |
getWorkAreaRoles(Long workArea)
Fetch all Roles for a given Work Area |
List<TkRole> |
getWorkAreaRoles(Long workArea,
String roleName,
Date asOfDate)
Fetch all Roles for a given work area and role name as of a particular date |
Set<Long> |
getWorkAreasForApprover(String principalId,
Date asOfDate)
Provides a unique set of work areas that this user is an approver for. |
void |
saveOrUpdate(List<TkRole> roles)
Save or Update a List of TkRole objects |
void |
saveOrUpdate(TkRole role)
Save or Update a given TkRole |
void |
setTkRoleDao(TkRoleDao tkRoleDao)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TkRoleServiceImpl()
| Method Detail |
|---|
public List<TkRole> getDepartmentRoles(String department)
TkRoleService
getDepartmentRoles in interface TkRoleService
public List<TkRole> getDepartmentRoles(String department,
String roleName,
Date asOfDate)
TkRoleService
getDepartmentRoles in interface TkRoleServicepublic List<TkRole> getDepartmentInactiveRoles(String department)
TkRoleService
getDepartmentInactiveRoles in interface TkRoleService
public List<TkRole> getDepartmentInactiveRoles(String department,
String roleName,
Date asOfDate)
TkRoleService
getDepartmentInactiveRoles in interface TkRoleServicepublic List<TkRole> getWorkAreaRoles(Long workArea)
TkRoleService
getWorkAreaRoles in interface TkRoleService
public List<TkRole> getWorkAreaRoles(Long workArea,
String roleName,
Date asOfDate)
TkRoleService
getWorkAreaRoles in interface TkRoleServicepublic List<TkRole> getInActiveWorkAreaRoles(Long workArea)
TkRoleService
getInActiveWorkAreaRoles in interface TkRoleService
public List<TkRole> getInActiveWorkAreaRoles(Long workArea,
String roleName,
Date asOfDate)
TkRoleService
getInActiveWorkAreaRoles in interface TkRoleServicepublic void setTkRoleDao(TkRoleDao tkRoleDao)
public void saveOrUpdate(List<TkRole> roles)
TkRoleService
saveOrUpdate in interface TkRoleServicepublic void saveOrUpdate(TkRole role)
TkRoleService
saveOrUpdate in interface TkRoleService
public List<TkRole> getRoles(String principalId,
Date asOfDate)
getRoles in interface TkRoleService
public List<TkRole> getInactiveRoles(String principalId,
Date asOfDate)
getInactiveRoles in interface TkRoleService
public List<TkRole> getRoles(String principalId,
String roleName,
Date asOfDate)
getRoles in interface TkRoleService
public List<TkRole> getRoles(String principalId,
Date asOfDate,
String roleName,
Long workArea,
String department)
getRoles in interface TkRoleServiceprincipalId - asOfDate - roleName - workArea - department -
public List<String> getResponsibleParties(Assignment a,
String roleName,
Date asOfDate)
TkRoleService
getResponsibleParties in interface TkRoleServicea - the assignment to queryroleName - The role we are interested in.asOfDate - effective date
public Set<Long> getWorkAreasForApprover(String principalId,
Date asOfDate)
TkRoleService
getWorkAreasForApprover in interface TkRoleServiceprincipalId - The principal to retrieve roles for.asOfDate - effective date
public Set<String> getActivePrincipalsForWorkAreas(Set<Long> workAreas,
Date asOfDate)
TkRoleService
getActivePrincipalsForWorkAreas in interface TkRoleServiceworkAreas - A set of work area numbers.asOfDate - effective date
public TkRole getRole(String tkRoleId)
TkRoleService
getRole in interface TkRoleServicepublic TkRole getRolesByPosition(String positionNumber)
TkRoleService
getRolesByPosition in interface TkRoleServicepublic TkRole getInactiveRolesByPosition(String positionNumber)
getInactiveRolesByPosition in interface TkRoleService
public List<TkRole> getPositionRolesForWorkArea(Long workArea,
Date asOfDate)
getPositionRolesForWorkArea in interface TkRoleService
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||