|
||||||||||
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,
Date asOfDate)
Returns all assignments for the provided principalId that are valid as of the specified payPeriodEndDate. |
List<Assignment> |
findAssignmentsWithinPeriod(String principalId,
Date startDate,
Date endDate)
|
List<Assignment> |
getActiveAssignments(Date asOfDate)
|
List<Assignment> |
getActiveAssignmentsForJob(String principalId,
Long jobNumber,
Date asOfDate)
KPME-1129 Get a list of active assignments based on principalId and jobNumber as of a particular date |
List<Assignment> |
getActiveAssignmentsInWorkArea(Long workArea,
Date asOfDate)
Get list of active assignments in a given work area as of a particular date |
Assignment |
getAssignment(Long job,
Long workArea,
Long task,
Date asOfDate)
|
Assignment |
getAssignment(String tkAssignmentId)
|
Assignment |
getAssignment(String principalId,
Long jobNumber,
Long workArea,
Long task,
Date asOfDate)
|
Assignment |
getMaxTimestampAssignment(String principalId)
|
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(Date fromEffdt,
Date toEffdt,
String principalId,
String jobNumber,
String dept,
String workArea,
String active,
String showHistory)
|
Method Detail |
---|
List<Assignment> findAssignments(String principalId, Date asOfDate)
principalId
- payPeriodEndDate
-
void saveOrUpdate(Assignment assignment)
assignment
- void saveOrUpdate(List<Assignment> assignments)
assignments
- void delete(Assignment assignment)
assignment
- List<Assignment> getActiveAssignmentsInWorkArea(Long workArea, Date asOfDate)
workArea
- asOfDate
-
Assignment getAssignment(String tkAssignmentId)
Assignment getAssignment(Long job, Long workArea, Long task, Date asOfDate)
List<Assignment> getActiveAssignments(Date asOfDate)
Assignment getAssignment(String principalId, Long jobNumber, Long workArea, Long task, Date asOfDate)
List<Assignment> getActiveAssignmentsForJob(String principalId, Long jobNumber, Date asOfDate)
principalId
- jobNumber
- asOfDate
-
List<Assignment> findAssignmentsWithinPeriod(String principalId, Date startDate, Date endDate)
List<Assignment> searchAssignments(Date fromEffdt, Date toEffdt, String principalId, String jobNumber, String dept, String workArea, String active, String showHistory)
Assignment getMaxTimestampAssignment(String principalId)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |