|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.hr.time.roles.service.TkRoleServiceImpl
public class TkRoleServiceImpl
Constructor Summary | |
---|---|
TkRoleServiceImpl()
|
Method Summary | |
---|---|
Set<String> |
getActivePrinciaplsForWorkAreas(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,
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,
Date asOfDate)
Fetch all Roles for a given Department of a particular date |
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<TKUser> |
getEmployeesForWorkArea(Long workArea,
Date asOfDate)
|
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,
Date asOfDate)
Fetch all Inactive Roles for a given work area as of a particular date |
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,
Date asOfDate)
Fetch all Roles for a given Work Area as of a particular date |
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, Date asOfDate)
TkRoleService
getDepartmentRoles
in interface TkRoleService
public List<TkRole> getDepartmentRoles(String department, String roleName, Date asOfDate)
TkRoleService
getDepartmentRoles
in interface TkRoleService
public List<TkRole> getDepartmentInactiveRoles(String department, String roleName, Date asOfDate)
TkRoleService
getDepartmentInactiveRoles
in interface TkRoleService
public List<TkRole> getWorkAreaRoles(Long workArea, Date asOfDate)
TkRoleService
getWorkAreaRoles
in interface TkRoleService
public List<TkRole> getWorkAreaRoles(Long workArea, String roleName, Date asOfDate)
TkRoleService
getWorkAreaRoles
in interface TkRoleService
public List<TkRole> getInActiveWorkAreaRoles(Long workArea, Date asOfDate)
TkRoleService
getInActiveWorkAreaRoles
in interface TkRoleService
public List<TkRole> getInActiveWorkAreaRoles(Long workArea, String roleName, Date asOfDate)
TkRoleService
getInActiveWorkAreaRoles
in interface TkRoleService
public void setTkRoleDao(TkRoleDao tkRoleDao)
public void saveOrUpdate(List<TkRole> roles)
TkRoleService
saveOrUpdate
in interface TkRoleService
public 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 TkRoleService
principalId
- asOfDate
- roleName
- workArea
- department
-
public List<TKUser> getEmployeesForWorkArea(Long workArea, Date asOfDate)
public List<String> getResponsibleParties(Assignment a, String roleName, Date asOfDate)
TkRoleService
getResponsibleParties
in interface TkRoleService
a
- 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 TkRoleService
principalId
- The principal to retrieve roles for.asOfDate
- effective date
public Set<String> getActivePrinciaplsForWorkAreas(Set<Long> workAreas, Date asOfDate)
TkRoleService
getActivePrinciaplsForWorkAreas
in interface TkRoleService
workAreas
- A set of work area numbers.asOfDate
- effective date
public TkRole getRole(String tkRoleId)
TkRoleService
getRole
in interface TkRoleService
public TkRole getRolesByPosition(String positionNumber)
TkRoleService
getRolesByPosition
in interface TkRoleService
public 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 |