public class ResourceFinder
extends java.lang.Object
Constructor and Description |
---|
ResourceFinder(long skdprojectid,
java.lang.String emQuery)
Constructor of SLAFinder.
|
Modifier and Type | Method and Description |
---|---|
java.util.List |
getAvailResoures(UserInfo userInfo,
java.lang.String type,
MboRemote wo,
MboRemote req)
get available resource by exclude resource by rules
|
java.util.List |
getClosestResoureList(java.util.List resoureSet,
java.lang.String type,
MboRemote wo,
MboRemote req,
boolean assignedlist)
Labor/crew's current location should be closest to the work location
|
java.lang.String |
getDateDBSqlString()
get db datetime string
|
java.util.List |
getProjectReassignResoures()
get project resources which assigned on non emergency in this project
|
java.util.List |
getProjectResoures()
get project resource by exclude skill not match
|
java.util.HashMap<java.lang.String,MboSetRemote> |
getResourceProjectAssignedSet()
get project resources which assigned on non emergency in this project
|
java.util.HashMap<java.lang.String,java.lang.Double> |
getTravelTimeForResoureList(java.util.List resoureSet,
java.lang.String type,
MboRemote wo,
MboRemote req,
boolean assignedlist)
Labor/crew's current location should be closest to the work location
|
java.util.HashMap<java.lang.String,java.util.HashMap<java.lang.String,java.lang.Double>> |
getWOandTravelTimeForResoureList(java.util.List resoureSet,
java.lang.String type,
MboRemote wo,
MboRemote req,
boolean assignedlist)
Labor/crew's current location should be closest to the work location
|
boolean |
isAvailableByCalendar(UserInfo userInfo,
MboRemote resourceRemote,
MboRemote personCal,
java.util.Date dateVal,
AvailCalc availCalc,
boolean considerBreaks,
int mins) |
public ResourceFinder(long skdprojectid, java.lang.String emQuery)
public java.util.List getAvailResoures(UserInfo userInfo, java.lang.String type, MboRemote wo, MboRemote req) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.util.List getProjectResoures() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.util.List getProjectReassignResoures() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.util.HashMap<java.lang.String,MboSetRemote> getResourceProjectAssignedSet() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.util.List getClosestResoureList(java.util.List resoureSet, java.lang.String type, MboRemote wo, MboRemote req, boolean assignedlist) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.util.HashMap<java.lang.String,java.lang.Double> getTravelTimeForResoureList(java.util.List resoureSet, java.lang.String type, MboRemote wo, MboRemote req, boolean assignedlist) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.util.HashMap<java.lang.String,java.util.HashMap<java.lang.String,java.lang.Double>> getWOandTravelTimeForResoureList(java.util.List resoureSet, java.lang.String type, MboRemote wo, MboRemote req, boolean assignedlist) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.lang.String getDateDBSqlString() throws SchedulerException
SchedulerException
public boolean isAvailableByCalendar(UserInfo userInfo, MboRemote resourceRemote, MboRemote personCal, java.util.Date dateVal, AvailCalc availCalc, boolean considerBreaks, int mins) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException