public interface SKDAppServiceRemote extends AppServiceRemote
| Modifier and Type | Method and Description |
|---|---|
boolean |
activitiesInitialized(MboRemote projectMbo)
Indicates if project is initialized or not
|
void |
assignLaborCrewFromSuggestSet(MboSetRemote emWOAvailResSet,
UserInfo userInfo,
java.util.Date currentTime) |
boolean |
asyncCommitNeeded(MboRemote projectMbo)
Check if asynchronous commit is needed or not
|
void |
commitMaxSchedule(UserInfo userInfo,
java.lang.String projectid,
boolean commitConstraintsOnly)
Commit modified Max schedule model changes to the database
|
void |
commitMaxSchedule(UserInfo userInfo,
java.lang.String projectid,
java.lang.String ids,
boolean commitConstraintsOnly)
Commit modified Max schedule model changes to the database
|
void |
commitModifiedModelChanges(UserInfo userInfo,
java.lang.String projectId)
Commit modified model changes to the database
|
void |
commitModifiedModelChanges(UserInfo userInfo,
java.lang.String projectId,
boolean commitConstraintsOnly)
Commit modified model changes to the database
|
void |
commitModifiedModelChanges(UserInfo userInfo,
java.lang.String projectId,
java.lang.String ids,
java.lang.String objectName)
Commit selected modified model changes to the database
|
void |
commitModifiedModelChanges(UserInfo userInfo,
java.lang.String projectId,
java.lang.String ids,
java.lang.String objectName,
boolean commitConstraintsOnly)
Commit selected modified model changes to the database
|
void |
commitScenario(UserInfo userInfo,
java.lang.String ScenarioProjectid)
qiuping scheduler7520
Commit modified model changes to the database
|
void |
commitScenario(UserInfo userInfo,
java.lang.String ScenarioProjectid,
java.lang.String ids)
qiuping scheduler7520
Commit modified model changes to the database
|
void |
createNewAssignment(MboRemote assignment,
MboRemote workOrder,
MXGanttModel model,
UserInfo userInfo)
Creates a new SKDActivity and SKDReservation record for the Assignment.
|
void |
deleteAssignment(long objectID,
UserInfo userInfo)
Marks SKDActivity and SKDReservation records as DELETED for removed assignment.
|
void |
deleteProjectData(UserInfo userInfo,
MboRemote projectMbo)
Delete project and all its related data
|
void |
deleteUncommitedDuplicateConstraints(long skdProjectID,
UserInfo userInfo)
Removes constraints duplicate and uncommited constraints.
|
void |
duplicateProjectData(UserInfo userInfo,
java.lang.String projectId,
MboRemote duplicateProjectMbo)
Duplicates the project data i.e the same state as of now
|
void |
duplicateSKDAlternateAvail(UserInfo userInfo,
java.lang.String projectName,
MboRemote duplicateProjectMbo)
Duplicates scheduler alternate availability info.
|
int |
dynamicScheduling(UserInfo userInfo,
long skdProjectId,
java.lang.String emWhere,
boolean autoassign) |
ISKDAvailability |
getAvailabilities(UserInfo ui,
java.lang.String[] availParam)
Get availabilities for a workorder
|
ilog.views.gantt.IlvGanttModel |
getCapacityPlanningGapModel(UserInfo userInfo,
SKDCapacityPlanningGapRequestParams params)
Fetches the Capacity Planning Gap Data from the SKDWORKPLANEXTCAP table and puts it into a Gantt Model
|
GanttConfigInfo |
getGanttConfigInfo(UserInfo userInfo,
MboRemote project)
Get Gantt configuration information for the project with project mbo
|
GanttConfigInfo |
getGanttConfigInfo(UserInfo userInfo,
java.lang.String projectId)
Get Gantt configuration information for the project with project id
|
ISKDItemAvailability |
getItemAvailabilities(UserInfo ui,
java.lang.String[] availParam)
Get availabilities for a workorder
|
ilog.views.gantt.IlvGanttModel |
getModel(UserInfo userInfo,
java.lang.String projectId)
Get the scenario or baseline/snapshot model
|
java.lang.String |
getPopulateDataObjectsWhere(SKDProject projectMbo) |
java.util.Date |
getServerDate()
Get server date
|
void |
getShiftInfoForDispatch(UserInfo userInfo,
MXGanttModel model,
MboRemote project,
boolean trimByProject)
fetches shift information for the dispatch applet
|
SKDAppServiceBeanRemote |
getSKDAppServiceBean(UserInfo userInfo)
Returns a new instance of the SKDAppServiceBean
|
SKDDD |
getSKDDD() |
ISKDUIInfo |
getSKDUIInfo(UserInfo userInfo)
Get the ISKDUIInfo for the user
|
ISKDUIInfo |
getSKDUIInfo(UserInfo userInfo,
java.lang.String appName)
Get the ISKDUIInfo for the user
|
ISKDUIInfo |
getSKDUIInfo(UserInfo userInfo,
java.lang.String appName,
java.lang.String projectId)
Get the ISKDUIInfo for the user
|
SKDUserLocaleData |
getSKDUserLocaleData(UserInfo userInfo)
Get the locale data for the user
|
java.util.Properties |
getSKDViewerProperties()
Return the user overriden properties from MAXPROPVALUE for SCHEDULER
|
java.lang.String |
loadTemplate(java.lang.String templateName,
MboRemote projectMbo,
SKDTemplateResolver alternateResolver)
Load a Scheduler Template (ie, text template data) for the given templateName
|
java.lang.Object |
performSkdAction(java.lang.String projectId,
UserInfo userInfo,
java.lang.String actionId,
java.lang.Object actionObject,
boolean saveBeforeAction,
SKDAppServiceBeanRemote serviceBean)
Perform action by calling action class
|
void |
populateProjectData(UserInfo userInfo,
MboRemote project)
Populate project data with project mbo
|
void |
populateProjectData(UserInfo userInfo,
java.lang.String projectId)
Populate project data with project id
|
boolean |
PopulateSKDOrigiDestMatrix(MboRemote projectMbo)
populate skdorigindestmatrix for project - need call MAP api method
|
void |
refreshActivity(IMXActivity activity,
java.util.Map<java.lang.Long,MboRemote> workOrdersByID)
Refresh Activity from the Model.
|
java.util.List<MXReservation> |
refreshModel(UserInfo userInfo,
MboRemote project,
MXGanttModel model)
Refresh the Maximo Gantt data model with new and/or updated data retrieved from the DB.
|
java.util.List<IMXActivity> |
refreshSelectedActivities(IMXGanttModel model,
UserInfo userInfo,
MboRemote project,
java.util.List<IMXActivity> selectedActivities,
boolean preserveSkdData)
Refresh selected project data with project Mbo
|
java.util.Map<java.lang.Long,MboRemote> |
reloadWorkOrders(java.lang.String projectID,
UserInfo userInfo)
Refresh Project Work Orders.
|
void |
removeCachedModels(UserInfo info)
Remove model from memory cache.
|
void |
updateAssignment(MboRemote assignment,
UserInfo userInfo)
Updates SKDActivity and SKDReservation records.
|
int |
updateTravelTimeMatrixFor(java.lang.String orgId,
java.util.Map<java.lang.String,SKDMAPInputParamInfo> taskSACodeMap,
java.util.Map<java.lang.String,SKDMAPInputParamInfo> onTheFlyWOIDMap,
java.util.Map<java.lang.String,SKDMAPInputParamInfo> resourceStartSACodeMap,
java.util.Map<java.lang.String,SKDMAPInputParamInfo> resourceEndSACodeMap,
UserInfo userInfo)
API to update the SKDORIGINDESTMATRIX table with travel times retrieved from the map provider.
|
checkSecurity, getCriteria, getCurrentState, getLiveObjCount, getMboSet, getName, getSchemaOwner, getSetForRelationship, getSetFromKeys, getStateCmdList, getStateList, getURL, verifyUser, verifyUserisAppService, isSingletonService, restartSKDAppServiceBeanRemote getSKDAppServiceBean(UserInfo userInfo) throws MXException, java.rmi.RemoteException
userInfo - user informationMXException - when fails to create bean instance.java.rmi.RemoteExceptionilog.views.gantt.IlvGanttModel getModel(UserInfo userInfo, java.lang.String projectId) throws MXException, java.rmi.RemoteException
userInfo - projectId - MXExceptionjava.rmi.RemoteExceptionvoid populateProjectData(UserInfo userInfo, java.lang.String projectId) throws MXException, java.rmi.RemoteException
userInfo - projectId - MXExceptionjava.rmi.RemoteExceptionvoid populateProjectData(UserInfo userInfo, MboRemote project) throws MXException, java.rmi.RemoteException
userInfo - project - MXExceptionjava.rmi.RemoteExceptionjava.util.List<IMXActivity> refreshSelectedActivities(IMXGanttModel model, UserInfo userInfo, MboRemote project, java.util.List<IMXActivity> selectedActivities, boolean preserveSkdData) throws MXException, java.rmi.RemoteException
model - userInfo - project - selectedActivities - preserveSkdData - MXExceptionjava.rmi.RemoteExceptionvoid commitModifiedModelChanges(UserInfo userInfo, java.lang.String projectId) throws MXException, java.rmi.RemoteException
userInfo - projectId - MXExceptionjava.rmi.RemoteExceptionvoid commitModifiedModelChanges(UserInfo userInfo, java.lang.String projectId, boolean commitConstraintsOnly) throws MXException, java.rmi.RemoteException
userInfo - projectId - commitConstraintsOnly - - Flag used to indicate that the commit action will only persist constraint changes.MXExceptionjava.rmi.RemoteExceptionvoid commitModifiedModelChanges(UserInfo userInfo, java.lang.String projectId, java.lang.String ids, java.lang.String objectName) throws MXException, java.rmi.RemoteException
userInfo - projectId - ids - objectName - MXExceptionjava.rmi.RemoteExceptionvoid commitModifiedModelChanges(UserInfo userInfo, java.lang.String projectId, java.lang.String ids, java.lang.String objectName, boolean commitConstraintsOnly) throws MXException, java.rmi.RemoteException
userInfo - projectId - ids - objectName - commitConstraintsOnly - - Flag used to indicate that the commit action will only persist constraint changes.MXExceptionjava.rmi.RemoteExceptionvoid commitScenario(UserInfo userInfo, java.lang.String ScenarioProjectid) throws MXException, java.rmi.RemoteException
userInfo - projectId - MXExceptionjava.rmi.RemoteExceptionvoid commitScenario(UserInfo userInfo, java.lang.String ScenarioProjectid, java.lang.String ids) throws MXException, java.rmi.RemoteException
userInfo - projectId - ids - MXExceptionjava.rmi.RemoteExceptionvoid commitMaxSchedule(UserInfo userInfo, java.lang.String projectid, boolean commitConstraintsOnly) throws MXException, java.rmi.RemoteException
userInfo - projectId - MXExceptionjava.rmi.RemoteExceptionvoid commitMaxSchedule(UserInfo userInfo, java.lang.String projectid, java.lang.String ids, boolean commitConstraintsOnly) throws MXException, java.rmi.RemoteException
userInfo - projectId - ids - MXExceptionjava.rmi.RemoteExceptionGanttConfigInfo getGanttConfigInfo(UserInfo userInfo, java.lang.String projectId) throws MXException, java.rmi.RemoteException
userInfo - projectId - MXExceptionjava.rmi.RemoteExceptionGanttConfigInfo getGanttConfigInfo(UserInfo userInfo, MboRemote project) throws MXException, java.rmi.RemoteException
userInfo - project - MXExceptionjava.rmi.RemoteExceptionSKDUserLocaleData getSKDUserLocaleData(UserInfo userInfo) throws MXException, java.rmi.RemoteException
userInfo - MXExceptionjava.rmi.RemoteExceptionISKDUIInfo getSKDUIInfo(UserInfo userInfo) throws MXException, java.rmi.RemoteException
userInfo - MXExceptionjava.rmi.RemoteExceptionISKDUIInfo getSKDUIInfo(UserInfo userInfo, java.lang.String appName) throws MXException, java.rmi.RemoteException
userInfo - appName - MXExceptionjava.rmi.RemoteExceptionISKDUIInfo getSKDUIInfo(UserInfo userInfo, java.lang.String appName, java.lang.String projectId) throws MXException, java.rmi.RemoteException
userInfo - appName - projectId - MXExceptionjava.rmi.RemoteExceptionvoid duplicateProjectData(UserInfo userInfo, java.lang.String projectId, MboRemote duplicateProjectMbo) throws MXException, java.rmi.RemoteException
userInfo - projectId - duplicateProjectMbo - - Duplicated project MboMXExceptionjava.rmi.RemoteExceptionvoid duplicateSKDAlternateAvail(UserInfo userInfo, java.lang.String projectName, MboRemote duplicateProjectMbo) throws MXException, java.rmi.RemoteException
userInfo - projectName - duplicateProjectMbo - - Duplicated project MboMXExceptionjava.rmi.RemoteExceptionboolean asyncCommitNeeded(MboRemote projectMbo) throws MXException, java.rmi.RemoteException
projectMbo - MXExceptionjava.rmi.RemoteExceptionjava.lang.Object performSkdAction(java.lang.String projectId,
UserInfo userInfo,
java.lang.String actionId,
java.lang.Object actionObject,
boolean saveBeforeAction,
SKDAppServiceBeanRemote serviceBean)
throws java.lang.Exception,
java.rmi.RemoteException
projectId - - Project id- - userinfoactionid - - Unique id of action in skdactionactionObject - - object on which action will actsaveBeforeAction - - flag to indicate if model need to be saved before action or not.MXExceptionjava.rmi.RemoteExceptionjava.lang.Exceptionvoid deleteProjectData(UserInfo userInfo, MboRemote projectMbo) throws MXException, java.rmi.RemoteException
- - userinfo- - Project mboMXExceptionjava.rmi.RemoteExceptionjava.util.Date getServerDate()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionISKDAvailability getAvailabilities(UserInfo ui, java.lang.String[] availParam) throws MXException, java.rmi.RemoteException
ui - workorder - id, start date,end date, reference object nameMXExceptionjava.rmi.RemoteExceptionISKDItemAvailability getItemAvailabilities(UserInfo ui, java.lang.String[] availParam) throws MXException, java.rmi.RemoteException
ui - workorder - id, start date,end date, reference object nameMXExceptionjava.rmi.RemoteExceptionvoid getShiftInfoForDispatch(UserInfo userInfo, MXGanttModel model, MboRemote project, boolean trimByProject) throws MXException, java.rmi.RemoteException
ui - model - project - trimByProject - MXExceptionjava.rmi.RemoteExceptionboolean activitiesInitialized(MboRemote projectMbo) throws MXException, java.rmi.RemoteException
project - MXExceptionjava.rmi.RemoteExceptionilog.views.gantt.IlvGanttModel getCapacityPlanningGapModel(UserInfo userInfo, SKDCapacityPlanningGapRequestParams params) throws java.rmi.RemoteException, MXException
userInfo - projectId - java.rmi.RemoteExceptionMXExceptionboolean PopulateSKDOrigiDestMatrix(MboRemote projectMbo) throws MXException, java.rmi.RemoteException
project - MXExceptionjava.rmi.RemoteExceptionint updateTravelTimeMatrixFor(java.lang.String orgId,
java.util.Map<java.lang.String,SKDMAPInputParamInfo> taskSACodeMap,
java.util.Map<java.lang.String,SKDMAPInputParamInfo> onTheFlyWOIDMap,
java.util.Map<java.lang.String,SKDMAPInputParamInfo> resourceStartSACodeMap,
java.util.Map<java.lang.String,SKDMAPInputParamInfo> resourceEndSACodeMap,
UserInfo userInfo)
throws java.lang.NullPointerException,
java.net.MalformedURLException,
java.io.IOException,
java.lang.Exception
orgId - taskSACodeMap - service address codes and lat/lng points for tasks (used as both origins and destinations)onTheFlyWOIDMap - work order IDs and lat/lng points for "on the fly" work orders (used as both origins and destinations)resourceStartSACodeMap - service address codes and lat/lng points of resource start locations (used as origins only)resourceEndSACodeMap - service address codes and lat/lng points of resource end locations (used as destinations only)userInfo - MXExceptionjava.io.IOExceptionjava.lang.NullPointerExceptionjava.net.MalformedURLExceptionjava.lang.Exceptionint dynamicScheduling(UserInfo userInfo, long skdProjectId, java.lang.String emWhere, boolean autoassign) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptioncom.ibm.tivoli.maximo.skd.service.SKDAppService#dynamicScheduling()void assignLaborCrewFromSuggestSet(MboSetRemote emWOAvailResSet, UserInfo userInfo, java.util.Date currentTime) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptioncom.ibm.tivoli.maximo.skd.service.SKDAppService#assignLaborCrewFromSuggestSet()java.util.Properties getSKDViewerProperties()
throws java.rmi.RemoteException
java.rmi.RemoteExceptionSKDDD getSKDDD() throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionjava.lang.String loadTemplate(java.lang.String templateName,
MboRemote projectMbo,
SKDTemplateResolver alternateResolver)
throws java.rmi.RemoteException,
MXException
templateName - template nameprojectMbo - main scheduler project mboalternateResolver - resolve to use when no template is foundjava.rmi.RemoteExceptionMXExceptionjava.util.List<MXReservation> refreshModel(UserInfo userInfo, MboRemote project, MXGanttModel model) throws MXException, java.rmi.RemoteException
userInfo - project - model - MXExceptionjava.rmi.RemoteExceptionjava.util.Map<java.lang.Long,MboRemote> reloadWorkOrders(java.lang.String projectID, UserInfo userInfo) throws java.rmi.RemoteException, MXException
projectID - userInfo - java.rmi.RemoteExceptionMXExceptionvoid refreshActivity(IMXActivity activity, java.util.Map<java.lang.Long,MboRemote> workOrdersByID) throws java.rmi.RemoteException, MXException
activity - workOrdersByID - java.rmi.RemoteExceptionMXExceptionvoid createNewAssignment(MboRemote assignment, MboRemote workOrder, MXGanttModel model, UserInfo userInfo) throws java.rmi.RemoteException, MXException
assignment - workOrder - model - userInfo - java.rmi.RemoteExceptionMXExceptionvoid deleteAssignment(long objectID,
UserInfo userInfo)
throws java.rmi.RemoteException,
MXException
objectID - projectID - userInfo - java.rmi.RemoteExceptionMXExceptionvoid updateAssignment(MboRemote assignment, UserInfo userInfo) throws java.rmi.RemoteException, MXException
objectID - projectID - userInfo - java.rmi.RemoteExceptionMXExceptionvoid deleteUncommitedDuplicateConstraints(long skdProjectID,
UserInfo userInfo)
throws java.rmi.RemoteException,
MXException
skdProjectID - userInfo - java.rmi.RemoteExceptionMXExceptionvoid removeCachedModels(UserInfo info) throws java.rmi.RemoteException, MXException
info - java.rmi.RemoteExceptionMXExceptionjava.lang.String getPopulateDataObjectsWhere(SKDProject projectMbo) throws java.rmi.RemoteException, MXException
java.rmi.RemoteExceptionMXException