Package | Description |
---|---|
psdi.app.common | |
psdi.app.person |
Modifier and Type | Method and Description |
---|---|
PersonCalRemote |
AvailCalc.getPersonCal(PersonRemote person,
java.lang.String orgid)
Fetches the Personcal for the passed person and orgid.
|
Modifier and Type | Method and Description |
---|---|
double |
AvailCalc.checkAvailableHours(java.util.Date workdate,
PersonCalRemote personCal)
Get either the number of workhours for this day, either from the modavail table, if there is an entry, or from the workperiod table.
|
MboRemote |
AvailCalc.checkAvailableMbo(java.util.Date workdate,
PersonCalRemote personCal)
Get either the WorkPeriod mbo or the ModAvail mbo if there is one.
|
java.util.List<MboRemote> |
AvailCalc.checkAvailableMboList(java.util.Date workdate,
PersonCalRemote personCal)
Get either the WorkPeriod mbo or the ModAvail mbo if there is one.
|
MboRemote |
AvailCalc.checkWorkPeriodMbo(java.util.Date workdate,
PersonCalRemote personCal)
Return the workperiod mbo for this date, calendar, shift and org.
|
java.util.Date |
AvailCalc.getStartDateTime(java.util.Date workdate,
PersonCalRemote personCal)
Take the workdate and set its time to the beginning of the shift.
|
Modifier and Type | Class and Description |
---|---|
class |
PersonCal
Mbo object to represent PersonCal.
|
Modifier and Type | Method and Description |
---|---|
double |
Person.getAvailableHours(java.util.Date startDate,
PersonCalRemote personCal,
AvailCalc availCalc)
This will give you the number of hours available on startDate for the org, calnum, and shiftnum provided.
|
MboRemote |
Person.getAvailableMbo(java.util.Date startDate,
PersonCalRemote personCal,
AvailCalc availCalc)
This returns either the workperiod or modavail mbo for the given parameters.
|
java.util.List<MboRemote> |
Person.getAvailableMboList(java.util.Date startDate,
PersonCalRemote personCal,
AvailCalc availCalc)
This returns either the workperiod or modavail mbo for the given parameters.
|