com.irisel.sv.faces.mgdbeans
Class TimeReportMB
java.lang.Object
com.irisel.sv.faces.mgdbeans.BaseMB
com.irisel.sv.faces.mgdbeans.TimeReportMB
public class TimeReportMB
- extends BaseMB
Methods inherited from class com.irisel.sv.faces.mgdbeans.BaseMB |
delete, get, getId, getInstance, load, load, load, logout, save, set, setInstance |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TimeReportMB
public TimeReportMB()
throws java.lang.Exception
- Throws:
java.lang.Exception
getDays
public java.util.Date[] getDays()
setDays
public void setDays(java.util.Date[] days)
getName
public java.lang.String getName()
- Overrides:
getName
in class BaseMB
- Returns:
- the "name" value of this object's instance.
setName
public void setName(java.lang.String s)
getCostCenter
public java.lang.String getCostCenter()
setCostCenter
public void setCostCenter(java.lang.String costCenter)
getEmpExtNumber
public java.lang.String getEmpExtNumber()
setEmpExtNumber
public void setEmpExtNumber(java.lang.String empExtNumber)
getEmpNumber
public java.lang.String getEmpNumber()
setEmpNumber
public void setEmpNumber(java.lang.String empNumber)
getFromDate
public java.util.Date getFromDate()
setFromDate
public void setFromDate(java.util.Date fromDate)
getStatus
public java.lang.String getStatus()
setStatus
public void setStatus(java.lang.String status)
getToDate
public java.util.Date getToDate()
setToDate
public void setToDate(java.util.Date toDate)
loadTrs
public void loadTrs()
throws QueryTreeException
- Throws:
QueryTreeException
getTrs
public java.util.List<TimeReportWeekVO> getTrs()
throws QueryTreeException
- Throws:
QueryTreeException
getSummaryTR
public TimeReportVO getSummaryTR()
throws QueryTreeException
- Throws:
QueryTreeException
setTrs
public void setTrs(java.util.List<TimeReportWeekVO> trs)
getWeek
public int getWeek()
setWeek
public void setWeek(int week)
getYear
public int getYear()
setYear
public void setYear(int year)
getHours
public double getHours()
setHours
public void setHours(double hours)
addTR
public void addTR(javax.faces.event.ActionEvent anEvent)
delTR
public void delTR(javax.faces.event.ActionEvent anEvent)
submitTR
public void submitTR()
throws QuerySaveException
- Throws:
QuerySaveException
setAutomaticFields
public static void setAutomaticFields(Instance instance,
long userid)
getRow
public int getRow()
setRow
public void setRow(int row)
goPrevWeek
public void goPrevWeek()
throws QueryTreeException
- Throws:
QueryTreeException
goNextWeek
public void goNextWeek()
throws QueryTreeException
- Throws:
QueryTreeException
goWeek
public void goWeek()
throws QueryTreeException
- Throws:
QueryTreeException
getListElms
public java.util.List<ListElmVO> getListElms(java.lang.String listName)
throws ListNotFoundException
- Throws:
ListNotFoundException
getBusUnits
public java.util.List<ListElmVO> getBusUnits()
throws ListNotFoundException
- Throws:
ListNotFoundException
getBusRegions
public java.util.List<ListElmVO> getBusRegions()
throws ListNotFoundException
- Throws:
ListNotFoundException
main
public static void main(java.lang.String[] args)