public class ResourceBuilder
extends java.lang.Object
Constructor and Description |
---|
ResourceBuilder(MXServer mxServer,
WeekUtility weekUtility,
ResourceUtility resourceUtility,
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.
|
protected void |
loadResource(IMXResource resource,
java.lang.String objectName,
MboRemote projectMbo,
java.lang.Long objectID,
GRSchedule schedule)
Load resource
|
void |
loadResources(java.util.Map resources,
java.lang.String objectName,
MboRemote projectMbo,
java.lang.String objectIDs,
GRSchedule schedule) |
protected MXLogger sqlLogger
public ResourceBuilder(MXServer mxServer, WeekUtility weekUtility, ResourceUtility resourceUtility, 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 loadResources(java.util.Map resources, java.lang.String objectName, MboRemote projectMbo, java.lang.String objectIDs, GRSchedule schedule) throws SchedulerException
SchedulerException
protected void loadResource(IMXResource resource, java.lang.String objectName, MboRemote projectMbo, java.lang.Long objectID, GRSchedule schedule) throws SchedulerException
resource
- object
- namembo
- objectSchedulerException