|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.hr.time.assignment.service.AssignmentServiceImpl
public class AssignmentServiceImpl
Constructor Summary | |
---|---|
AssignmentServiceImpl()
|
Method Summary | |
---|---|
List<Assignment> |
getActiveAssignments(Date asOfDate)
Get active assignments for all users for the current date CAUTION this method will return a lot of data in a normal production env It is intended to only be used in a batch setting |
List<Assignment> |
getActiveAssignmentsForJob(String principalId,
Long jobNumber,
Date asOfDate)
KPME-1129 Kagata Get a list of active assignments based on principalId and jobNumber as of a particular date |
List<Assignment> |
getActiveAssignmentsForWorkArea(Long workArea,
Date asOfDate)
Get all active assignments for a work area |
Assignment |
getAssignment(AssignmentDescriptionKey key,
Date asOfDate)
For a given AssignmentDescriptionKey return the matching assignment. |
Assignment |
getAssignment(String tkAssignmentId)
Reverse lookup of an assignment based on the assignment id |
Assignment |
getAssignment(String principalId,
AssignmentDescriptionKey key,
Date asOfDate)
Fetch principal id and key as of a particular date |
Assignment |
getAssignment(TimesheetDocument timesheetDocument,
String assignmentKey)
Reverse lookup of an assignment based on the assignment key and the document |
AssignmentDao |
getAssignmentDao()
|
AssignmentDescriptionKey |
getAssignmentDescriptionKey(String assignmentKey)
Get Assignment Description key based off of description |
Map<String,String> |
getAssignmentDescriptions(Assignment assignment)
Get all assignment descriptions for an assignment |
Map<String,String> |
getAssignmentDescriptions(TimesheetDocument td,
boolean clockOnlyAssignments)
Get all assignment descriptions for a document |
List<Assignment> |
getAssignments(String principalId,
Date asOfDate)
Fetches a list of Assignments for a given principal Id as of a particular date |
List<Assignment> |
getAssignments(String principalId,
Date beginDate,
Date endDate)
|
List<Assignment> |
getAssignmentsByPayEntry(String principalId,
CalendarEntries payCalendarEntry)
Get assignments by pay calendar entry |
Assignment |
getMaxTimestampAssignment(String principalId)
|
List<Assignment> |
searchAssignments(Date fromEffdt,
Date toEffdt,
String principalId,
String jobNumber,
String dept,
String workArea,
String active,
String showHistory)
|
void |
setAssignmentDao(AssignmentDao assignmentDao)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AssignmentServiceImpl()
Method Detail |
---|
public AssignmentDao getAssignmentDao()
public void setAssignmentDao(AssignmentDao assignmentDao)
public List<Assignment> getAssignments(String principalId, Date asOfDate)
AssignmentService
getAssignments
in interface AssignmentService
public List<Assignment> getAssignments(String principalId, Date beginDate, Date endDate)
public List<Assignment> searchAssignments(Date fromEffdt, Date toEffdt, String principalId, String jobNumber, String dept, String workArea, String active, String showHistory)
searchAssignments
in interface AssignmentService
public List<Assignment> getAssignmentsByPayEntry(String principalId, CalendarEntries payCalendarEntry)
AssignmentService
getAssignmentsByPayEntry
in interface AssignmentService
public AssignmentDescriptionKey getAssignmentDescriptionKey(String assignmentKey)
AssignmentService
getAssignmentDescriptionKey
in interface AssignmentService
public Map<String,String> getAssignmentDescriptions(TimesheetDocument td, boolean clockOnlyAssignments)
AssignmentService
getAssignmentDescriptions
in interface AssignmentService
public Map<String,String> getAssignmentDescriptions(Assignment assignment)
AssignmentService
getAssignmentDescriptions
in interface AssignmentService
public Assignment getAssignment(TimesheetDocument timesheetDocument, String assignmentKey)
AssignmentService
getAssignment
in interface AssignmentService
public Assignment getAssignment(String tkAssignmentId)
AssignmentService
getAssignment
in interface AssignmentService
public List<Assignment> getActiveAssignmentsForWorkArea(Long workArea, Date asOfDate)
AssignmentService
getActiveAssignmentsForWorkArea
in interface AssignmentService
public List<Assignment> getActiveAssignments(Date asOfDate)
AssignmentService
getActiveAssignments
in interface AssignmentService
public Assignment getAssignment(String principalId, AssignmentDescriptionKey key, Date asOfDate)
AssignmentService
getAssignment
in interface AssignmentService
public Assignment getAssignment(AssignmentDescriptionKey key, Date asOfDate)
AssignmentService
getAssignment
in interface AssignmentService
public List<Assignment> getActiveAssignmentsForJob(String principalId, Long jobNumber, Date asOfDate)
getActiveAssignmentsForJob
in interface AssignmentService
public Assignment getMaxTimestampAssignment(String principalId)
getMaxTimestampAssignment
in interface AssignmentService
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |