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
- MXException
java.rmi.RemoteException
protected void loadResource(IMXResource resource, java.lang.String objectName, MboRemote projectMbo, java.lang.Long objectID, java.lang.String workListQuery) throws SchedulerException
resource
- object
- namembo
- objectSchedulerException
protected void loadAMCrewResource(IMXResource resource, java.lang.String objectName, MboRemote projectMbo, java.lang.Long objectID) throws SchedulerException
SchedulerException
protected void getResourceShiftAvailableData(java.lang.String objectName, MboRemote projectMbo, UserInfo userInfo, java.lang.String workListQuery) throws SchedulerException
objectName
- projectId
- SchedulerException
protected void getResourceNonWorkData(java.lang.String objectName, MboRemote projectMbo, java.lang.String workListQuery) throws SchedulerException, java.rmi.RemoteException
objectName
- projectId
- SchedulerException
java.rmi.RemoteException
protected void getResourceWorkData(java.lang.String objectName, MboRemote projectMbo, java.lang.String workListQuery) throws SchedulerException
objectName
- projectId
- SchedulerException
protected void getCrewResourceNonWorkData(java.lang.String objectName, MboRemote projectMbo, long craftId) throws SchedulerException
objectName
- projectId
- SchedulerException
protected void getCrewResourceWorkData(java.lang.String objectName, MboRemote projectMbo, long craftId) throws SchedulerException
objectName
- projectId
- SchedulerException
protected void getToolResourceAvailableData(java.lang.String objectName, MboRemote projectMbo, java.lang.String workListQuery) throws SchedulerException
SchedulerException
protected void getToolResourceShiftAvailableData(java.lang.String objectName, MboRemote projectMbo, java.lang.String workListQuery) throws SchedulerException
SchedulerException
protected void getZoneResourceAvailableData(java.lang.String objectName, MboRemote projectMbo, java.lang.String workListQuery) throws SchedulerException
SchedulerException
protected void getZoneResourceShiftAvailableData(java.lang.String objectName, MboRemote projectMbo, java.lang.String workListQuery) throws SchedulerException
SchedulerException