|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AssignmentDao
Method Summary | |
---|---|
void |
delete(Assignment assignment)
Delete an assignment |
List<Assignment> |
findAssignments(String principalId,
org.joda.time.LocalDate asOfDate)
Returns all assignments for the provided principalId that are valid as of the specified payPeriodEndDate. |
List<Assignment> |
findAssignmentsWithinPeriod(String principalId,
org.joda.time.LocalDate startDate,
org.joda.time.LocalDate endDate)
|
List<Assignment> |
getActiveAssignments(org.joda.time.LocalDate asOfDate)
|
List<Assignment> |
getActiveAssignmentsForJob(String principalId,
Long jobNumber,
org.joda.time.LocalDate asOfDate)
KPME-1129 Get a list of active assignments based on principalId and jobNumber as of a particular date |
List<Assignment> |
getActiveAssignmentsInWorkArea(Long workArea,
org.joda.time.LocalDate asOfDate)
Get list of active assignments in a given work area as of a particular date |
List<Assignment> |
getActiveAssignmentsInWorkAreas(List<Long> workAreas,
org.joda.time.LocalDate asOfDate)
|
Assignment |
getAssignment(String tkAssignmentId)
|
Assignment |
getAssignment(String principalId,
Long jobNumber,
Long workArea,
Long task,
org.joda.time.LocalDate asOfDate)
|
Assignment |
getAssignmentForTargetPrincipal(Long job,
Long workArea,
Long task,
org.joda.time.LocalDate asOfDate)
|
List<Assignment> |
getAssignments(List<String> workAreaList,
org.joda.time.LocalDate effdt,
org.joda.time.LocalDate startDate,
org.joda.time.LocalDate endDate)
|
Assignment |
getMaxTimestampAssignment(String principalId)
|
List<String> |
getPrincipalIds(List<String> workAreaList,
org.joda.time.LocalDate effdt,
org.joda.time.LocalDate startDate,
org.joda.time.LocalDate endDate)
|
void |
saveOrUpdate(Assignment assignment)
Save or update the given assignment |
void |
saveOrUpdate(List<Assignment> assignments)
Save of update the given list of assignments |
List<Assignment> |
searchAssignments(org.joda.time.LocalDate fromEffdt,
org.joda.time.LocalDate toEffdt,
String principalId,
String jobNumber,
String dept,
String workArea,
String active,
String showHistory)
|
Method Detail |
---|
List<Assignment> findAssignments(String principalId, org.joda.time.LocalDate asOfDate)
principalId
- asOfDate
-
void saveOrUpdate(Assignment assignment)
assignment
- void saveOrUpdate(List<Assignment> assignments)
assignments
- void delete(Assignment assignment)
assignment
- List<Assignment> getActiveAssignmentsInWorkArea(Long workArea, org.joda.time.LocalDate asOfDate)
workArea
- asOfDate
-
List<Assignment> getActiveAssignmentsInWorkAreas(List<Long> workAreas, org.joda.time.LocalDate asOfDate)
Assignment getAssignment(String tkAssignmentId)
Assignment getAssignmentForTargetPrincipal(Long job, Long workArea, Long task, org.joda.time.LocalDate asOfDate)
List<Assignment> getActiveAssignments(org.joda.time.LocalDate asOfDate)
Assignment getAssignment(String principalId, Long jobNumber, Long workArea, Long task, org.joda.time.LocalDate asOfDate)
List<Assignment> getActiveAssignmentsForJob(String principalId, Long jobNumber, org.joda.time.LocalDate asOfDate)
principalId
- jobNumber
- asOfDate
-
List<Assignment> findAssignmentsWithinPeriod(String principalId, org.joda.time.LocalDate startDate, org.joda.time.LocalDate endDate)
List<Assignment> searchAssignments(org.joda.time.LocalDate fromEffdt, org.joda.time.LocalDate toEffdt, String principalId, String jobNumber, String dept, String workArea, String active, String showHistory)
Assignment getMaxTimestampAssignment(String principalId)
List<String> getPrincipalIds(List<String> workAreaList, org.joda.time.LocalDate effdt, org.joda.time.LocalDate startDate, org.joda.time.LocalDate endDate)
List<Assignment> getAssignments(List<String> workAreaList, org.joda.time.LocalDate effdt, org.joda.time.LocalDate startDate, org.joda.time.LocalDate endDate)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |