public class ResourceBuilder
extends java.lang.Object
| Constructor and Description |
|---|
ResourceBuilder(MXServer mxServer,
boolean bucketBased) |
| Modifier and Type | Method and Description |
|---|---|
Resource |
build(MboRemote projectMbo,
java.sql.ResultSet resultSet,
java.lang.String workListQuery)
Builds a Resource object based on the values retrieved from a ResultSet.
|
protected void |
getCrewResourceNonWorkData(java.lang.String objectName,
MboRemote projectMbo,
long craftId)
get resource availability data.
|
protected void |
getCrewResourceWorkData(java.lang.String objectName,
MboRemote projectMbo,
long craftId)
get resource availability data.
|
protected void |
getResourceNonWorkData(java.lang.String objectName,
MboRemote projectMbo,
java.lang.String workListQuery)
get resource availability data.
|
protected void |
getResourceShiftAvailableData(java.lang.String objectName,
MboRemote projectMbo,
UserInfo userInfo,
java.lang.String workListQuery)
get resource availability data.
|
protected void |
getResourceWorkData(java.lang.String objectName,
MboRemote projectMbo,
java.lang.String workListQuery)
get resource availability data.
|
protected void |
getToolResourceAvailableData(java.lang.String objectName,
MboRemote projectMbo,
java.lang.String workListQuery) |
protected void |
getToolResourceShiftAvailableData(java.lang.String objectName,
MboRemote projectMbo,
java.lang.String workListQuery) |
protected void |
getZoneResourceAvailableData(java.lang.String objectName,
MboRemote projectMbo,
java.lang.String workListQuery) |
protected void |
getZoneResourceShiftAvailableData(java.lang.String objectName,
MboRemote projectMbo,
java.lang.String workListQuery) |
protected void |
loadAMCrewResource(IMXResource resource,
java.lang.String objectName,
MboRemote projectMbo,
java.lang.Long objectID) |
protected void |
loadResource(IMXResource resource,
java.lang.String objectName,
MboRemote projectMbo,
java.lang.Long objectID,
java.lang.String workListQuery)
Load resource
|
public ResourceBuilder(MXServer mxServer, boolean bucketBased)
public Resource build(MboRemote projectMbo, java.sql.ResultSet resultSet, java.lang.String workListQuery) throws MXException, java.rmi.RemoteException
resultSet - MXExceptionjava.rmi.RemoteExceptionprotected void loadResource(IMXResource resource, java.lang.String objectName, MboRemote projectMbo, java.lang.Long objectID, java.lang.String workListQuery) throws SchedulerException
resource - object - namembo - objectSchedulerExceptionprotected void loadAMCrewResource(IMXResource resource, java.lang.String objectName, MboRemote projectMbo, java.lang.Long objectID) throws SchedulerException
SchedulerExceptionprotected void getResourceShiftAvailableData(java.lang.String objectName,
MboRemote projectMbo,
UserInfo userInfo,
java.lang.String workListQuery)
throws SchedulerException
objectName - projectId - SchedulerExceptionprotected void getResourceNonWorkData(java.lang.String objectName,
MboRemote projectMbo,
java.lang.String workListQuery)
throws SchedulerException,
java.rmi.RemoteException
objectName - projectId - SchedulerExceptionjava.rmi.RemoteExceptionprotected void getResourceWorkData(java.lang.String objectName,
MboRemote projectMbo,
java.lang.String workListQuery)
throws SchedulerException
objectName - projectId - SchedulerExceptionprotected void getCrewResourceNonWorkData(java.lang.String objectName,
MboRemote projectMbo,
long craftId)
throws SchedulerException
objectName - projectId - SchedulerExceptionprotected void getCrewResourceWorkData(java.lang.String objectName,
MboRemote projectMbo,
long craftId)
throws SchedulerException
objectName - projectId - SchedulerExceptionprotected void getToolResourceAvailableData(java.lang.String objectName,
MboRemote projectMbo,
java.lang.String workListQuery)
throws SchedulerException
SchedulerExceptionprotected void getToolResourceShiftAvailableData(java.lang.String objectName,
MboRemote projectMbo,
java.lang.String workListQuery)
throws SchedulerException
SchedulerExceptionprotected void getZoneResourceAvailableData(java.lang.String objectName,
MboRemote projectMbo,
java.lang.String workListQuery)
throws SchedulerException
SchedulerExceptionprotected void getZoneResourceShiftAvailableData(java.lang.String objectName,
MboRemote projectMbo,
java.lang.String workListQuery)
throws SchedulerException
SchedulerException