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 |
publish(SKDProjectRemote skdProject) |
void |
refresh(SKDProjectRemote skdProject) |
void |
refreshActivity(IMXActivity activity,
java.util.Map workOrdersByID)
Refresh Activity from the Model.
|
java.util.List |
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 |
refreshSelectedActivities(IMXGanttModel model,
UserInfo userInfo,
MboRemote project,
java.util.List selectedActivities,
boolean preserveSkdData)
Refresh selected project data with project Mbo
|
java.util.Map |
reloadWorkOrders(java.lang.String projectID,
UserInfo userInfo)
Refresh Project Work Orders.
|
void |
removeCachedModels(UserInfo info)
Remove model from memory cache.
|
boolean |
runOptimization(SKDProjectRemote skdProject) |
void |
updateAssignment(MboRemote assignment,
UserInfo userInfo)
Updates SKDActivity and SKDReservation records.
|
int |
updateTravelTimeMatrixFor(java.lang.String orgId,
java.util.Map taskSACodeMap,
java.util.Map onTheFlyWOIDMap,
java.util.Map resourceStartSACodeMap,
java.util.Map 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, verifyUser
isAppService, isSingletonService, restart
SKDAppServiceBeanRemote getSKDAppServiceBean(UserInfo userInfo) throws MXException, java.rmi.RemoteException
userInfo
- user informationMXException
- when fails to create bean instance.java.rmi.RemoteException
ilog.views.gantt.IlvGanttModel getModel(UserInfo userInfo, java.lang.String projectId) throws MXException, java.rmi.RemoteException
userInfo
- projectId
- MXException
java.rmi.RemoteException
void populateProjectData(UserInfo userInfo, java.lang.String projectId) throws MXException, java.rmi.RemoteException
userInfo
- projectId
- MXException
java.rmi.RemoteException
void populateProjectData(UserInfo userInfo, MboRemote project) throws MXException, java.rmi.RemoteException
userInfo
- project
- MXException
java.rmi.RemoteException
java.util.List refreshSelectedActivities(IMXGanttModel model, UserInfo userInfo, MboRemote project, java.util.List selectedActivities, boolean preserveSkdData) throws MXException, java.rmi.RemoteException
model
- userInfo
- project
- selectedActivities
- preserveSkdData
- MXException
java.rmi.RemoteException
void commitModifiedModelChanges(UserInfo userInfo, java.lang.String projectId) throws MXException, java.rmi.RemoteException
userInfo
- projectId
- MXException
java.rmi.RemoteException
void 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.MXException
java.rmi.RemoteException
void commitModifiedModelChanges(UserInfo userInfo, java.lang.String projectId, java.lang.String ids, java.lang.String objectName) throws MXException, java.rmi.RemoteException
userInfo
- projectId
- ids
- objectName
- MXException
java.rmi.RemoteException
void 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.MXException
java.rmi.RemoteException
void commitScenario(UserInfo userInfo, java.lang.String ScenarioProjectid) throws MXException, java.rmi.RemoteException
userInfo
- projectId
- MXException
java.rmi.RemoteException
void commitScenario(UserInfo userInfo, java.lang.String ScenarioProjectid, java.lang.String ids) throws MXException, java.rmi.RemoteException
userInfo
- projectId
- ids
- MXException
java.rmi.RemoteException
void commitMaxSchedule(UserInfo userInfo, java.lang.String projectid, boolean commitConstraintsOnly) throws MXException, java.rmi.RemoteException
userInfo
- projectId
- MXException
java.rmi.RemoteException
void commitMaxSchedule(UserInfo userInfo, java.lang.String projectid, java.lang.String ids, boolean commitConstraintsOnly) throws MXException, java.rmi.RemoteException
userInfo
- projectId
- ids
- MXException
java.rmi.RemoteException
GanttConfigInfo getGanttConfigInfo(UserInfo userInfo, java.lang.String projectId) throws MXException, java.rmi.RemoteException
userInfo
- projectId
- MXException
java.rmi.RemoteException
GanttConfigInfo getGanttConfigInfo(UserInfo userInfo, MboRemote project) throws MXException, java.rmi.RemoteException
userInfo
- project
- MXException
java.rmi.RemoteException
SKDUserLocaleData getSKDUserLocaleData(UserInfo userInfo) throws MXException, java.rmi.RemoteException
userInfo
- MXException
java.rmi.RemoteException
ISKDUIInfo getSKDUIInfo(UserInfo userInfo) throws MXException, java.rmi.RemoteException
userInfo
- MXException
java.rmi.RemoteException
ISKDUIInfo getSKDUIInfo(UserInfo userInfo, java.lang.String appName) throws MXException, java.rmi.RemoteException
userInfo
- appName
- MXException
java.rmi.RemoteException
ISKDUIInfo getSKDUIInfo(UserInfo userInfo, java.lang.String appName, java.lang.String projectId) throws MXException, java.rmi.RemoteException
userInfo
- appName
- projectId
- MXException
java.rmi.RemoteException
void duplicateProjectData(UserInfo userInfo, java.lang.String projectId, MboRemote duplicateProjectMbo) throws MXException, java.rmi.RemoteException
userInfo
- projectId
- duplicateProjectMbo
- - Duplicated project MboMXException
java.rmi.RemoteException
void duplicateSKDAlternateAvail(UserInfo userInfo, java.lang.String projectName, MboRemote duplicateProjectMbo) throws MXException, java.rmi.RemoteException
userInfo
- projectName
- duplicateProjectMbo
- - Duplicated project MboMXException
java.rmi.RemoteException
boolean asyncCommitNeeded(MboRemote projectMbo) throws MXException, java.rmi.RemoteException
projectMbo
- MXException
java.rmi.RemoteException
java.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.MXException
java.rmi.RemoteException
java.lang.Exception
void deleteProjectData(UserInfo userInfo, MboRemote projectMbo) throws MXException, java.rmi.RemoteException
-
- userinfo-
- Project mboMXException
java.rmi.RemoteException
java.util.Date getServerDate() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
ISKDAvailability getAvailabilities(UserInfo ui, java.lang.String[] availParam) throws MXException, java.rmi.RemoteException
ui
- workorder
- id, start date,end date, reference object nameMXException
java.rmi.RemoteException
ISKDItemAvailability getItemAvailabilities(UserInfo ui, java.lang.String[] availParam) throws MXException, java.rmi.RemoteException
ui
- workorder
- id, start date,end date, reference object nameMXException
java.rmi.RemoteException
void getShiftInfoForDispatch(UserInfo userInfo, MXGanttModel model, MboRemote project, boolean trimByProject) throws MXException, java.rmi.RemoteException
ui
- model
- project
- trimByProject
- MXException
java.rmi.RemoteException
boolean activitiesInitialized(MboRemote projectMbo) throws MXException, java.rmi.RemoteException
project
- MXException
java.rmi.RemoteException
ilog.views.gantt.IlvGanttModel getCapacityPlanningGapModel(UserInfo userInfo, SKDCapacityPlanningGapRequestParams params) throws java.rmi.RemoteException, MXException
userInfo
- projectId
- java.rmi.RemoteException
MXException
boolean PopulateSKDOrigiDestMatrix(MboRemote projectMbo) throws MXException, java.rmi.RemoteException
project
- MXException
java.rmi.RemoteException
int updateTravelTimeMatrixFor(java.lang.String orgId, java.util.Map taskSACodeMap, java.util.Map onTheFlyWOIDMap, java.util.Map resourceStartSACodeMap, java.util.Map 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
- MXException
java.io.IOException
java.lang.NullPointerException
java.net.MalformedURLException
java.lang.Exception
int dynamicScheduling(UserInfo userInfo, long skdProjectId, java.lang.String emWhere, boolean autoassign) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
com.ibm.tivoli.maximo.skd.service.SKDAppService#dynamicScheduling()
void assignLaborCrewFromSuggestSet(MboSetRemote emWOAvailResSet, UserInfo userInfo, java.util.Date currentTime) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
com.ibm.tivoli.maximo.skd.service.SKDAppService#assignLaborCrewFromSuggestSet()
java.util.Properties getSKDViewerProperties() throws java.rmi.RemoteException
java.rmi.RemoteException
SKDDD getSKDDD() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
java.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.RemoteException
MXException
java.util.List refreshModel(UserInfo userInfo, MboRemote project, MXGanttModel model) throws MXException, java.rmi.RemoteException
userInfo
- project
- model
- MXException
java.rmi.RemoteException
java.util.Map reloadWorkOrders(java.lang.String projectID, UserInfo userInfo) throws java.rmi.RemoteException, MXException
projectID
- userInfo
- java.rmi.RemoteException
MXException
void refreshActivity(IMXActivity activity, java.util.Map workOrdersByID) throws java.rmi.RemoteException, MXException
activity
- workOrdersByID
- java.rmi.RemoteException
MXException
void createNewAssignment(MboRemote assignment, MboRemote workOrder, MXGanttModel model, UserInfo userInfo) throws java.rmi.RemoteException, MXException
assignment
- workOrder
- model
- userInfo
- java.rmi.RemoteException
MXException
void deleteAssignment(long objectID, UserInfo userInfo) throws java.rmi.RemoteException, MXException
objectID
- projectID
- userInfo
- java.rmi.RemoteException
MXException
void updateAssignment(MboRemote assignment, UserInfo userInfo) throws java.rmi.RemoteException, MXException
objectID
- projectID
- userInfo
- java.rmi.RemoteException
MXException
void deleteUncommitedDuplicateConstraints(long skdProjectID, UserInfo userInfo) throws java.rmi.RemoteException, MXException
skdProjectID
- userInfo
- java.rmi.RemoteException
MXException
void removeCachedModels(UserInfo info) throws java.rmi.RemoteException, MXException
info
- java.rmi.RemoteException
MXException
java.lang.String getPopulateDataObjectsWhere(SKDProject projectMbo) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
void publish(SKDProjectRemote skdProject) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
throws MXException, RemoteException
void refresh(SKDProjectRemote skdProject) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
throws MXException, RemoteException
boolean runOptimization(SKDProjectRemote skdProject) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
throws MXException, RemoteException