public class ResourceBuilder
extends java.lang.Object
Constructor and Description |
---|
ResourceBuilder(MXServer mxServer,
WeekUtility weekUtility,
boolean bucketBased) |
Modifier and Type | Method and Description |
---|---|
Resource |
build(MboRemote projectMbo,
java.sql.ResultSet resultSet,
java.lang.String type,
GRSchedule schedule)
Builds a Resource object based on the values retrieved from a ResultSet.
|
void |
calculateNextCrewWeeks(IMXResource resource,
GRSchedule schedule,
java.util.Date nextWeek,
int week) |
void |
calculateNextLaborWeeks(IMXResource resource,
GRSchedule schedule,
java.util.Date nextWeek,
int week) |
public ResourceBuilder(MXServer mxServer, WeekUtility weekUtility, boolean bucketBased)
public Resource build(MboRemote projectMbo, java.sql.ResultSet resultSet, java.lang.String type, GRSchedule schedule) throws MXException, java.rmi.RemoteException
resultSet
- MXException
java.rmi.RemoteException
public void calculateNextCrewWeeks(IMXResource resource, GRSchedule schedule, java.util.Date nextWeek, int week) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public void calculateNextLaborWeeks(IMXResource resource, GRSchedule schedule, java.util.Date nextWeek, int week) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException