public class SKDAppService extends AppService implements SKDAppServiceRemote
| Modifier and Type | Class and Description |
|---|---|
class |
SKDAppService.ActivityData
Class to store activity information
|
class |
SKDAppService.ReservationData |
class |
SKDAppService.ResourceData |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
APPLINK_APPNAME |
static java.lang.String |
APPLINK_OBJECTNAME |
static java.lang.String |
MAP_LOGGER |
static java.lang.String |
OBJECTNAME_SKDACTIVITY |
static java.lang.String |
OBJECTNAME_SKDCONSTRAINT |
static java.lang.String |
OBJECTNAME_SKDRESERVATION |
static java.lang.String |
OBJECTNAME_SKDRESOURCE |
static java.lang.String |
SCHEDULER_SQLLOGGER |
static java.lang.String |
SKDACTIONINFOMAP_SEPARATOR
Key separator
"\u00ef\u00bf\u00bd"
|
int |
TRAVEL_TIME_MATRIX_API_ERROR_INVALID_ARGUMENTS |
int |
TRAVEL_TIME_MATRIX_API_ERROR_NO_RECORDS_SAVED |
int |
TRAVEL_TIME_MATRIX_API_NO_TABLE_UPDATE_NEEDED |
int |
TRAVEL_TIME_MATRIX_API_SUCCESS_TABLE_UPDATED |
int |
TRAVEL_TIME_MATRIX_API_WARNING_SOME_RECORDS_NOT_SAVED |
APPLOGGER, CRONTASKLOGGER, CRONTASKMGRLOGGER, CRONTASKMGRSQLLOGGER, DBCONNECTIONLOGGER, DDLOGGER, DMLOGGER, EVENTLOGGER, EXCEPTIONLOGGER, MAILLOGGER, MAXIMOLOGGER, MTLOGGER, NULLMBOPOINTER, SECURITY, SENDFAILEDLOGGER, SERVICELOGGER, SQLLOGGERappenderPrefix, LOGGERNAME_APP, LOGGERNAME_CRONTASK, LOGGERNAME_CRONTASKMGR, LOGGERNAME_DBCONNECTION, LOGGERNAME_DD, LOGGERNAME_DM, LOGGERNAME_DMPREVIEW, LOGGERNAME_EVENT, LOGGERNAME_EXCEPTION, LOGGERNAME_MAIL, LOGGERNAME_MAXIMO, LOGGERNAME_MT, LOGGERNAME_NULLMBOPOINTER, LOGGERNAME_SECURITY, LOGGERNAME_SENDFAILED, LOGGERNAME_SERVICE, LOGGERNAME_SQL, LOGGERNAME_SQL_CRONTASKMGR, LOGGERNAME_TXN, loggerPrefix| Constructor and Description |
|---|
SKDAppService(MXServer mxServer)
Constructor for SKDAppService
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
activitiesInitialized(MboRemote projectMbo)
Indicates if activities are initialized or not
|
void |
assignLaborCrewFromSuggestSet(MboSetRemote emWOAvailResSet,
UserInfo userInfo,
java.util.Date currentTime)
Assign labor or crew from suggest set
|
void |
assignLaborCrewtoEMWO(MboRemote wo,
MboRemote reqtoassign,
java.lang.String assigncrew,
java.lang.String assignlaborcode,
java.util.Date currentTime)
Assign labor or crew to assignment requirement
|
boolean |
asyncCommitNeeded(MboRemote projectMbo)
Check if commit will be done by async or not.
|
boolean |
autoAssignLaborCrewtoEMWO(ResourceFinder resFinder,
java.util.List resources,
java.lang.String resourcetype,
MboRemote wo,
MboRemote req,
boolean assignedlist,
java.util.Date currentTime,
java.util.HashMap<java.lang.String,MboRemote> AssignedEMResource)
Auto Assign labor or crew to assignment requirement
|
void |
clearPopulateDataObjectsWhere() |
void |
clearState(SKDState lastSavedState)
Clear all state for the given project and user of the passed in state
|
void |
clearState(java.lang.String skdProjectId,
UserInfo info)
Clear all state for the given project and user of the passed in state
|
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)
Applies the changes made to the model data to the real data.
|
void |
commitModifiedModelChanges(UserInfo userInfo,
java.lang.String projectId,
boolean commitConstraintsOnly)
Applies the changes made to the model data to the real data.
|
void |
commitModifiedModelChanges(UserInfo userInfo,
java.lang.String projectId,
java.lang.String ids,
java.lang.String objectName)
Applies the changes made to the model data to the real data.
|
void |
commitModifiedModelChanges(UserInfo userInfo,
java.lang.String projectId,
java.lang.String ids,
java.lang.String objectName,
boolean commitConstraintsOnly)
Applies the changes made to the model data to the real data.
|
void |
commitScenario(UserInfo userInfo,
java.lang.String ScenarioProjectid)
qiuping-scheduler752
Applies the senario result to the real data.
|
void |
commitScenario(UserInfo userInfo,
java.lang.String ScenarioProjectid,
java.lang.String ids)
qiuping-scheduler752
Applies the senario result to the real data.
|
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 |
deleteObjectData(UserInfo userInfo,
MboRemote projectMbo)
Delete data source related data for the project
|
void |
deleteProjectData(UserInfo userInfo,
MboRemote projectMbo)
Delete project and all its related data
|
void |
deleteSKDData(UserInfo userInfo,
MboRemote projectMbo)
deleted Scheduler intermediate table data for the project
|
void |
deleteSuggestResourceListtoEMWO(long skdprojectid,
UserInfo userInfo,
java.lang.String assignmentids)
delete suggest resource list for project before run dynamic scheduling
|
void |
deleteUncommitedDuplicateConstraints(long skdProjectID,
UserInfo userInfo)
Removes constraints duplicate and uncommited constraints.
|
void |
destroy()
Release system resources.
|
void |
duplicateObjectData(UserInfo userInfo,
java.lang.String orgProjectId,
MboRemote duplicateProjectMbo)
Duplicate data related to the data source.
|
void |
duplicateProjectData(UserInfo userInfo,
java.lang.String orgProjectId,
MboRemote duplicateProjectMbo)
Duplicates the project data i.e the same state as of now
|
void |
duplicateSKDAlternateAvail(UserInfo userInfo,
java.lang.String originalProjectID,
MboRemote duplicateProjectMbo)
Duplicates scheduler alternate availability info.
|
void |
duplicateSKDData(UserInfo userInfo,
java.lang.String orgProjectId,
MboRemote duplicateProjectMbo)
Duplicate scheduler intermediate tables.
|
int |
dynamicScheduling(UserInfo userInfo,
long skdprojectid,
java.lang.String emQuery,
boolean autoassign)
dynamic scheduling for emergency work
|
java.util.HashMap<java.lang.String,java.util.HashMap<java.lang.String,SKDActionInfo>> |
getActionTitle(UserInfo userInfo,
java.util.HashMap<java.lang.String,java.util.HashMap<java.lang.String,SKDActionInfo>> actionInfo)
Returns the Action title for an userinfo
|
java.util.HashMap<java.lang.String,java.util.HashMap<java.lang.String,SKDActionInfo>> |
getActionTitle(UserInfo userInfo,
java.util.HashMap<java.lang.String,java.util.HashMap<java.lang.String,SKDActionInfo>> actionInfo,
java.lang.String useWith)
Returns the Action title for an userinfo
|
MXGanttModel |
getActivitiesModel(UserInfo userInfo,
java.lang.String projectId) |
java.util.Properties |
getALLSKDViewerProperties()
Returns ALL the properties, which includes those from skdviewer.properties, and those from the System Properties
|
java.lang.String |
getAppDescForApp(java.lang.String appName,
UserInfo userInfo)
Return the description from maxapps table
|
java.util.HashMap<java.lang.String,SKDCalendarInfo> |
getAssetMntOpMap(MboRemote project,
java.util.Date startDate,
java.util.Date endDate,
java.lang.String objectName,
java.util.HashMap<java.lang.String,SKDCalendarInfo> shiftCalMap)
Get the Asset Maintenance and Operational Calendar.
|
java.util.HashMap<java.lang.String,SKDCalendarInfo> |
getAssetMntOpMapPM(MboRemote project,
java.util.Date startDate,
java.util.Date endDate,
java.lang.String objectName,
java.util.HashMap<java.lang.String,SKDCalendarInfo> shiftCalMap)
Get the Asset Maintenance and Operational Calendar.
|
int |
getAsyncCount(MboRemote projectMbo,
MboSetRemote activitySet)
Duplicate data related to the data source.
|
java.util.HashMap<java.lang.String,java.lang.String> |
getAuthAppDescMap(UserInfo userInfo,
java.util.List<java.lang.String> appList,
java.util.HashMap<java.lang.String,java.lang.String> appDescMap)
Get the authorized application and its description.
|
ISKDAvailability |
getAvailabilities(UserInfo ui,
java.lang.String[] availParam)
Get availabilities data for a workorder or PM
|
DateRange |
getCalendarDates(MboRemote project) |
MboRemote |
getCalendarMbo(MboRemote project)
Returns the calendar for a project
|
ilog.views.gantt.IlvGanttModel |
getCapacityPlanningGapModel(UserInfo userInfo,
SKDCapacityPlanningGapRequestParams params)
For the given project, read the SKDWORKPLANCAPEXT table and build a MXGanttModel around that
information.
|
java.util.HashMap |
getCrewResourceSACodeList(java.util.HashMap<java.lang.String,java.util.HashMap<java.lang.String,SKDMAPInputParamInfo>> laborResourceSACodeList,
MboRemote projectMbo)
get Crew Resource SACode List for project
|
java.util.TreeSet<SKDDataGroupInfo> |
getDataGroupInfoSet(UserInfo userInfo,
java.lang.String projectId,
java.lang.String skdObjectName)
Returns the data group info list for the given project.
|
java.lang.String |
getDisplayDateTimePattern(UserInfo userInfo)
Get the display datetime pattern for the user.
|
java.util.concurrent.Future<MXGanttModel> |
getFutureModel(UserInfo userInfo,
java.lang.String projectId) |
java.util.concurrent.Future<MXGanttModel> |
getFutureModel(UserInfo userInfo,
java.lang.String projectId,
SKDAppServiceCache appCache) |
GanttConfigInfo |
getGanttConfigInfo(UserInfo userInfo,
MboRemote project)
Get GanttConfigInfo for an user and project mbo.
|
GanttConfigInfo |
getGanttConfigInfo(UserInfo userInfo,
MboRemote project,
SKDAppService.ActivityData activityData,
SKDAppService.ResourceData resourceData,
SKDAppService.ReservationData reservationData,
com.ibm.tivoli.maximo.skd.service.SKDAppService.ConstraintData constraintData,
java.util.HashMap<java.lang.String,java.lang.String> appDescMap)
Get GanttConfigInfo for an user and project mbo and skd object data
|
GanttConfigInfo |
getGanttConfigInfo(UserInfo userInfo,
java.lang.String projectId)
Get GanttConfigInfo for an user and project unique id.
|
SKDItemAvailability |
getItemAvailabilities(UserInfo ui,
java.lang.String[] availParam)
Get itema nd tool availabilities data for a workorder
|
java.util.HashMap<java.lang.String,SKDCalendarInfo> |
getLocationMntOpMap(MboRemote project,
java.util.Date startDate,
java.util.Date endDate,
java.lang.String objectName,
java.util.HashMap<java.lang.String,SKDCalendarInfo> shiftCalMap)
get location calendar map
|
java.util.HashMap<java.lang.String,SKDCalendarInfo> |
getLocationMntOpMapPM(MboRemote project,
java.util.Date startDate,
java.util.Date endDate,
java.lang.String objectName,
java.util.HashMap<java.lang.String,SKDCalendarInfo> shiftCalMap)
get location calendar map
|
MXLogger |
getMapLogger() |
ilog.views.gantt.IlvGanttModel |
getModel(UserInfo userInfo,
MboRemote project,
UserInfo createdByUserInfo,
boolean getModelForCreatedUser)
Get Gantt model for a project
|
ilog.views.gantt.IlvGanttModel |
getModel(UserInfo userInfo,
java.lang.String projectId)
Get Gantt model for a project
|
MXActivityFactory |
getNewMXActivityFactoryInstance()
Returns a new factory class for creating objects of type MXActivity
|
MXReservationFactory |
getNewMXReservationFactoryInstance()
Returns a new instance of a factory for creating objects of type MXReservation.
|
java.lang.String |
getOriginalAppForApp(java.lang.String appName,
UserInfo userInfo)
Return the originalapp from maxapps table
|
java.util.HashMap<java.lang.String,java.util.ArrayList<SKDDateInterval>> |
getOverlappingMntOpSchedule(java.util.HashMap<java.lang.String,SKDCalendarInfo> assetLocMntCalMap,
java.util.HashMap<java.lang.String,SKDCalendarInfo> assetLocOpCalMap)
Get overlap schedule
|
MboRemote |
getParentActivity(MboRemote project,
java.lang.String parentid)
qiuping 7520
get parent activity SKDACtivityMbo of activity
|
java.lang.String |
getPopulateDataObjectsWhere(SKDProject projectMbo) |
DateRange |
getProjectDates(MboRemote project) |
DateRange |
getProjectDatesAdjustedForCalendar(MboRemote project,
DateRange calDates,
boolean trimByProject) |
java.util.HashMap<java.lang.String,java.lang.String> |
getPropertyTitle(UserInfo userInfo,
java.lang.String skdObjectName)
Returns the Property name and title for skdobjectname.
|
java.util.HashMap |
getResourceSACodeList(MboRemote projectMbo)
get Resource SACode start and end List for project
|
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
|
java.util.HashMap<java.lang.String,java.lang.String> |
getSKDDataGroupTitle(UserInfo userInfo,
java.lang.String projectId,
java.lang.String skdObjectName)
Returns the group name and title for skdobjectname.
|
SKDDD |
getSKDDD() |
java.util.HashMap<java.lang.String,SKDMessage> |
getSKDMaxMessages(UserInfo userInfo)
Get the messages for an user.
|
ISKDUIInfo |
getSKDUIInfo(UserInfo userInfo)
Returns ISKDUIInfo information.
|
ISKDUIInfo |
getSKDUIInfo(UserInfo userInfo,
java.lang.String appName)
Returns ISKDUIInfo information.
|
ISKDUIInfo |
getSKDUIInfo(UserInfo userInfo,
java.lang.String appName,
java.lang.String projectId)
Returns ISKDUIInfo information.
|
SKDUserLocaleData |
getSKDUserLocaleData(UserInfo userInfo)
Get the Message and formatting data for user locale.
|
java.util.Properties |
getSKDViewerProperties()
Returns the overridden properties for the Scheduler Applet from the MAXPROP cache
|
MXLogger |
getSqlLogger()
Get the logger
|
java.util.HashMap |
getTaskSACodeList(MboRemote projectMbo)
get Task SACode List for project
|
MboSetRemote |
getTemplatesMboSet(java.lang.String templateName,
MboRemote projectMbo) |
java.util.HashMap<java.lang.String,SKDCalendarInfo> |
getWorkingHours(MboRemote project,
boolean trimByProject)
Read workperiod records and get working hours for a day for calendar and shift.
|
java.util.HashMap<java.lang.String,SKDCalendarInfo> |
getWorkingHours(MboRemote project,
Range<java.util.Date> range)
Read workperiod records and get working hours for a day for calendar and shift.
|
void |
init()
Initialize the service
|
static boolean |
isEAMSchedulerLicensePresent()
Returns true, if the EAM scheduler license is present, otherwise false.
|
static boolean |
isLicensePresent(java.lang.String lic)
returns true if the license is present
|
static boolean |
isScheduler7510LicensePresent()
Returns true, if the Scheduler 7.5.1.0 license is present, otherwise false.
|
static boolean |
isScheduler7520LicensePresent()
Returns true, if the Scheduler 7.5.2.0 license is present, otherwise false.
|
static boolean |
isSchedulerAviationLicensePresent()
Returns true, if the Scheduler Aviation license is present, otherwise false.
|
boolean |
isWorkorderSchedule(UserInfo userInfo,
java.lang.String skdProjectId)
Return true if it is workorder schedule.
|
void |
loadAdditionalReservations(UserInfo userInfo,
MXGanttModel model,
MboRemote project,
SKDAppService.ActivityData activityData,
SKDAppService.ResourceData resourceData,
SKDAppService.ReservationData reservationData) |
java.util.concurrent.Future<GRSchedule> |
loadScheduleGR(java.lang.String projectId,
IProjectManagerCallback helper)
Load a Scheduler Max project by it's Scheduler Project ID
|
java.util.concurrent.Future<GWASchedule> |
loadScheduleGWA(java.lang.String projectId,
IProjectManagerCallback helper)
Load a Scheduler Max project by it's Scheduler Project ID
|
java.util.concurrent.Future<Schedule> |
loadScheduleMax(java.lang.String projectId,
IProjectManagerCallback helper)
Load a Scheduler Max project by it's Scheduler Project ID
|
SKDState |
loadState(SKDState lastSavedState) |
java.util.HashMap<java.lang.String,java.lang.Object> |
loadSystemPropMap(UserInfo ui)
Load system properties need to be passed to applet
|
java.lang.String |
loadTemplate(java.lang.String templateName,
MboRemote projectMbo,
SKDTemplateResolver alternateResolver)
Loads the given template from the database, and optionally, upgrades the template in the database if the
template is upgradeable and the digest values are different for the current and newly resolved template
|
static void |
logDebugStatementForInfo(MXLogger sqlLogger,
java.lang.String msgId,
java.lang.Object[] params)
Log the debug information for sql operation.
|
static void |
logDebugStatementForTime(MXLogger sqlLogger,
UserInfo userInfo,
java.sql.Connection connection,
java.lang.String projectId,
long timeTaken,
java.lang.String query)
Log the sql statement that takes more time than the timelimit
|
java.lang.Object |
performSkdAction(java.lang.String projectId,
UserInfo ui,
java.lang.String actionId,
java.lang.Object actionObject,
boolean saveBeforeAction,
SKDAppServiceBeanRemote serviceBean)
Perform action by calling action class
|
void |
populateProjectData(UserInfo userInfo,
MboRemote projectMbo)
Populates skd tables with project information
|
void |
populateProjectData(UserInfo userInfo,
java.lang.String projectId)
Populates skd tables with project information
|
static void |
populateResourceUse(java.sql.Connection conn,
UserInfo userInfo,
java.lang.String projectId,
MXLogger sqlLogger)
Deprecated.
Populate skdsourceuse table
Don't call this method,use the new method populateResourceUse(Connection conn,UserInfo userInfo, String projectId,MXLogger sqlLogger,String refObjName)
else resources will not be deleted properly.
|
static void |
populateResourceUse(java.sql.Connection conn,
UserInfo userInfo,
java.lang.String projectId,
MXLogger sqlLogger,
java.lang.String refObjName)
Populate skdresourceuse for the specific reference object
|
boolean |
PopulateSKDOrigiDestMatrix(MboRemote projectMbo)
populate skdorigindestmatrix for project - need invoke API updateTravelTimeMatrixFor(..)
|
void |
populateSKDPropValue(ilog.views.gantt.property.IlvUserPropertyHolder propValue,
java.lang.String propertyName,
int maxtype,
MboRemote mbo,
java.lang.String attributeName)
Populate property values
|
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 projectMbo,
java.util.List<IMXActivity> selectedActivities,
boolean preserveSkdData)
Populates skd tables with project information
|
java.util.Map<java.lang.Long,MboRemote> |
reloadWorkOrders(java.lang.String projectID,
UserInfo userInfo)
Refresh Project Work Orders.
|
java.util.List |
removeAssignedEMResource(java.util.List resoureSet,
java.lang.String resourcetype,
java.util.HashMap<java.lang.String,MboRemote> AssignedEMResource)
Auto Assign labor or crew to assignment requirement
|
void |
removeCachedModel(UserInfo info) |
void |
removeCachedModels(UserInfo info)
Remove model from memory cache.
|
void |
removeFutureModel(UserInfo info,
java.lang.String projectId) |
<T> java.util.concurrent.Future<T> |
runtTask(java.util.concurrent.Callable<T> task)
Run a task on the Scheduler Thread Pool, and return the result as a Future
|
void |
saveInitializedReservationChanges(UserInfo userInfo,
MboRemote project,
java.util.ArrayList<MXReservation> modifiedReservations)
Save initialized reservations for a project.
|
void |
saveState(SKDState lastSavedState) |
void |
saveSuggestResourceListtoEMWO(java.util.List resoureSet,
MboRemote wo,
MboRemote reqtoassign,
java.util.HashMap<java.lang.String,java.util.HashMap<java.lang.String,java.lang.Double>> woandtraveltime,
long skdprojectid,
UserInfo userInfo)
save suggest resource list for assignment requirement
|
static java.lang.Double |
secondsToDuration(long seconds) |
void |
updateAssignment(MboRemote assignment,
UserInfo userInfo)
Updates SKDActivity and SKDReservation records.
|
void |
updateCalendarInfoInProject(MboRemote project,
UserInfo userInfo,
IMXGanttModel model,
java.util.Date startDate,
java.util.Date endDate,
SKDAppServiceCache appCache,
boolean getModelForCreatedUser) |
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, configure, freeDBConnection, freeMboSet, getCriteria, getCurrentState, getDBConnection, getLiveObjCount, getLoad, getMaximoDD, getMaxVar, getMboSet, getMXServer, getName, getProfile, getProxy, getSchemaOwner, getServiceInfo, getServiceLogger, getSetForRelationship, getSetFromKeys, getStateCmdList, getStateList, getURL, initCriteriaList, isAppService, isRunning, isSingletonService, restart, setProxy, setRunning, setURL, verifyUser, verifyUserequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckSecurity, getCriteria, getCurrentState, getLiveObjCount, getMboSet, getName, getSchemaOwner, getSetForRelationship, getSetFromKeys, getStateCmdList, getStateList, getURL, verifyUser, verifyUserisAppService, isSingletonService, restartpublic static final java.lang.String OBJECTNAME_SKDACTIVITY
public static final java.lang.String OBJECTNAME_SKDRESOURCE
public static final java.lang.String OBJECTNAME_SKDRESERVATION
public static final java.lang.String OBJECTNAME_SKDCONSTRAINT
public static final java.lang.String SCHEDULER_SQLLOGGER
public static final java.lang.String MAP_LOGGER
public static final java.lang.String APPLINK_OBJECTNAME
public static final java.lang.String APPLINK_APPNAME
public final int TRAVEL_TIME_MATRIX_API_SUCCESS_TABLE_UPDATED
public final int TRAVEL_TIME_MATRIX_API_NO_TABLE_UPDATE_NEEDED
public final int TRAVEL_TIME_MATRIX_API_ERROR_NO_RECORDS_SAVED
public final int TRAVEL_TIME_MATRIX_API_ERROR_INVALID_ARGUMENTS
public final int TRAVEL_TIME_MATRIX_API_WARNING_SOME_RECORDS_NOT_SAVED
public static final java.lang.String SKDACTIONINFOMAP_SEPARATOR
public SKDAppService(MXServer mxServer) throws java.rmi.RemoteException
mxServer - java.rmi.RemoteExceptionpublic void init()
init in interface Serviceinit in class AppServiceServicepublic void destroy()
Servicedestroy in interface Servicedestroy in class AppServiceServicepublic SKDAppServiceBeanRemote getSKDAppServiceBean(UserInfo userInfo) throws MXException, java.rmi.RemoteException
getSKDAppServiceBean in interface SKDAppServiceRemoteuserInfo - user informationMXExceptionjava.rmi.RemoteExceptionpublic void populateProjectData(UserInfo userInfo, java.lang.String projectId) throws MXException, java.rmi.RemoteException
populateProjectData in interface SKDAppServiceRemoteuserInfo - user informationproject - unique idMXExceptionjava.rmi.RemoteExceptionpublic void populateProjectData(UserInfo userInfo, MboRemote projectMbo) throws MXException, java.rmi.RemoteException
populateProjectData in interface SKDAppServiceRemoteuserInfo - user informationprojectMbo - project mboMXExceptionjava.rmi.RemoteExceptionpublic java.util.List<IMXActivity> refreshSelectedActivities(IMXGanttModel model, UserInfo userInfo, MboRemote projectMbo, java.util.List<IMXActivity> selectedActivities, boolean preserveSkdData) throws MXException, java.rmi.RemoteException
refreshSelectedActivities in interface SKDAppServiceRemoteuserInfo - user informationprojectMbo - project mboMXExceptionjava.rmi.RemoteExceptionpublic <T> java.util.concurrent.Future<T> runtTask(java.util.concurrent.Callable<T> task)
task - public java.util.concurrent.Future<Schedule> loadScheduleMax(java.lang.String projectId, IProjectManagerCallback helper)
projectId - helper - cache - public java.util.concurrent.Future<GWASchedule> loadScheduleGWA(java.lang.String projectId, IProjectManagerCallback helper)
projectId - helper - cache - public java.util.concurrent.Future<GRSchedule> loadScheduleGR(java.lang.String projectId, IProjectManagerCallback helper)
projectId - helper - cache - public java.util.concurrent.Future<MXGanttModel> getFutureModel(UserInfo userInfo, java.lang.String projectId)
public java.util.concurrent.Future<MXGanttModel> getFutureModel(UserInfo userInfo, java.lang.String projectId, SKDAppServiceCache appCache)
public void removeCachedModels(UserInfo info)
SKDAppServiceRemoteremoveCachedModels in interface SKDAppServiceRemotepublic void removeFutureModel(UserInfo info, java.lang.String projectId)
public void removeCachedModel(UserInfo info)
public ilog.views.gantt.IlvGanttModel getModel(UserInfo userInfo, java.lang.String projectId) throws MXException, java.rmi.RemoteException
getModel in interface SKDAppServiceRemoteuserInfo - user information,project unique idproject - idMXExceptionjava.rmi.RemoteExceptionpublic ilog.views.gantt.IlvGanttModel getModel(UserInfo userInfo, MboRemote project, UserInfo createdByUserInfo, boolean getModelForCreatedUser) throws MXException, java.rmi.RemoteException
userInfo - user information,project unique idproject - idMXExceptionjava.rmi.RemoteExceptionpublic MXGanttModel getActivitiesModel(UserInfo userInfo, java.lang.String projectId) throws java.rmi.RemoteException, MXException, java.sql.SQLException
java.rmi.RemoteExceptionMXExceptionjava.sql.SQLExceptionpublic void updateCalendarInfoInProject(MboRemote project, UserInfo userInfo, IMXGanttModel model, java.util.Date startDate, java.util.Date endDate, SKDAppServiceCache appCache, boolean getModelForCreatedUser) throws java.rmi.RemoteException, MXException
java.rmi.RemoteExceptionMXExceptionpublic void duplicateProjectData(UserInfo userInfo, java.lang.String orgProjectId, MboRemote duplicateProjectMbo) throws MXException, java.rmi.RemoteException
duplicateProjectData in interface SKDAppServiceRemoteuserInfo - projectId - duplicateProjectMbo - - Duplicated project MboMXExceptionjava.rmi.RemoteExceptionpublic void duplicateObjectData(UserInfo userInfo, java.lang.String orgProjectId, MboRemote duplicateProjectMbo) throws MXException, java.rmi.RemoteException
userInfo - orgProjectId - duplicateProjectMbo - MXExceptionjava.rmi.RemoteExceptionpublic void duplicateSKDAlternateAvail(UserInfo userInfo, java.lang.String originalProjectID, MboRemote duplicateProjectMbo) throws MXException, java.rmi.RemoteException
duplicateSKDAlternateAvail in interface SKDAppServiceRemoteuserInfo - projectName - duplicateProjectId - MXExceptionjava.rmi.RemoteExceptionpublic void duplicateSKDData(UserInfo userInfo, java.lang.String orgProjectId, MboRemote duplicateProjectMbo) throws MXException, java.rmi.RemoteException
userInfo - projectId - duplicateProjectId - MXExceptionjava.rmi.RemoteExceptionpublic java.util.HashMap<java.lang.String,java.lang.String> getSKDDataGroupTitle(UserInfo userInfo, java.lang.String projectId, java.lang.String skdObjectName) throws MXException, java.rmi.RemoteException
userInfo - project - idskdObjectName - MXExceptionjava.rmi.RemoteExceptionpublic void populateSKDPropValue(ilog.views.gantt.property.IlvUserPropertyHolder propValue,
java.lang.String propertyName,
int maxtype,
MboRemote mbo,
java.lang.String attributeName)
throws MXException,
java.rmi.RemoteException
propValue - propertyName - maxtype - mbo - attributeName - MXExceptionjava.rmi.RemoteExceptionpublic MXActivityFactory getNewMXActivityFactoryInstance()
public MXReservationFactory getNewMXReservationFactoryInstance()
public void saveInitializedReservationChanges(UserInfo userInfo, MboRemote project, java.util.ArrayList<MXReservation> modifiedReservations) throws MXException, java.rmi.RemoteException
userInfo - project - modifiedReservations - MXExceptionjava.rmi.RemoteExceptionpublic void loadAdditionalReservations(UserInfo userInfo, MXGanttModel model, MboRemote project, SKDAppService.ActivityData activityData, SKDAppService.ResourceData resourceData, SKDAppService.ReservationData reservationData) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic MXLogger getSqlLogger()
public MXLogger getMapLogger()
public static void populateResourceUse(java.sql.Connection conn,
UserInfo userInfo,
java.lang.String projectId,
MXLogger sqlLogger)
throws java.lang.Exception
conn - userInfo - projectId - sqlLogger - java.lang.Exceptionpublic static void populateResourceUse(java.sql.Connection conn,
UserInfo userInfo,
java.lang.String projectId,
MXLogger sqlLogger,
java.lang.String refObjName)
throws java.lang.Exception
conn - userInfo - projectId - sqlLogger - refObjName - java.lang.Exceptionpublic void commitScenario(UserInfo userInfo, java.lang.String ScenarioProjectid) throws MXException, java.rmi.RemoteException
commitScenario in interface SKDAppServiceRemoteuserInfo - projectId - MXExceptionjava.rmi.RemoteExceptionpublic void commitScenario(UserInfo userInfo, java.lang.String ScenarioProjectid, java.lang.String ids) throws MXException, java.rmi.RemoteException
commitScenario in interface SKDAppServiceRemoteuserInfo - ids - projectId - MXExceptionjava.rmi.RemoteExceptionpublic void commitModifiedModelChanges(UserInfo userInfo, java.lang.String projectId) throws MXException, java.rmi.RemoteException
commitModifiedModelChanges in interface SKDAppServiceRemoteuserInfo - projectId - MXExceptionjava.rmi.RemoteExceptionpublic void commitModifiedModelChanges(UserInfo userInfo, java.lang.String projectId, boolean commitConstraintsOnly) throws MXException, java.rmi.RemoteException
commitModifiedModelChanges in interface SKDAppServiceRemoteuserInfo - projectId - commitConstraintsOnly - - Flag used to indicate that the commit action will only persist constraint changes.MXExceptionjava.rmi.RemoteExceptionpublic void commitModifiedModelChanges(UserInfo userInfo, java.lang.String projectId, java.lang.String ids, java.lang.String objectName) throws MXException, java.rmi.RemoteException
commitModifiedModelChanges in interface SKDAppServiceRemoteuserInfo - projectId - MXExceptionjava.rmi.RemoteExceptionpublic void commitModifiedModelChanges(UserInfo userInfo, java.lang.String projectId, java.lang.String ids, java.lang.String objectName, boolean commitConstraintsOnly) throws MXException, java.rmi.RemoteException
commitModifiedModelChanges in interface SKDAppServiceRemoteuserInfo - projectId - commitConstraintsOnly - - Flag used to indicate that the commit action will only persist constraint changes.MXExceptionjava.rmi.RemoteExceptionpublic GanttConfigInfo getGanttConfigInfo(UserInfo userInfo, java.lang.String projectId) throws MXException, java.rmi.RemoteException
getGanttConfigInfo in interface SKDAppServiceRemoteuserInfo - projectid - MXExceptionjava.rmi.RemoteExceptionpublic GanttConfigInfo getGanttConfigInfo(UserInfo userInfo, MboRemote project) throws MXException, java.rmi.RemoteException
getGanttConfigInfo in interface SKDAppServiceRemoteuserInfo - project - mboMXExceptionjava.rmi.RemoteExceptionpublic GanttConfigInfo getGanttConfigInfo(UserInfo userInfo, MboRemote project, SKDAppService.ActivityData activityData, SKDAppService.ResourceData resourceData, SKDAppService.ReservationData reservationData, com.ibm.tivoli.maximo.skd.service.SKDAppService.ConstraintData constraintData, java.util.HashMap<java.lang.String,java.lang.String> appDescMap) throws MXException, java.rmi.RemoteException
userInfo - project - activityData - resourceData - reservationData - constraintData - MXExceptionjava.rmi.RemoteExceptionpublic java.util.HashMap<java.lang.String,java.lang.Object> loadSystemPropMap(UserInfo ui) throws MXException, java.rmi.RemoteException
ui - MXExceptionjava.rmi.RemoteExceptionpublic java.util.HashMap<java.lang.String,java.lang.String> getPropertyTitle(UserInfo userInfo, java.lang.String skdObjectName) throws MXException, java.rmi.RemoteException
userInfo - skdObjectName - MXExceptionjava.rmi.RemoteExceptionpublic java.util.HashMap<java.lang.String,java.util.HashMap<java.lang.String,SKDActionInfo>> getActionTitle(UserInfo userInfo, java.util.HashMap<java.lang.String,java.util.HashMap<java.lang.String,SKDActionInfo>> actionInfo, java.lang.String useWith) throws MXException, java.rmi.RemoteException
userInfo - HashMap - HashMap> useWith - String appnameMXExceptionjava.rmi.RemoteExceptionpublic java.util.HashMap<java.lang.String,java.util.HashMap<java.lang.String,SKDActionInfo>> getActionTitle(UserInfo userInfo, java.util.HashMap<java.lang.String,java.util.HashMap<java.lang.String,SKDActionInfo>> actionInfo) throws MXException, java.rmi.RemoteException
userInfo - HashMap - HashMap> MXExceptionjava.rmi.RemoteExceptionpublic java.util.HashMap<java.lang.String,java.lang.String> getAuthAppDescMap(UserInfo userInfo, java.util.List<java.lang.String> appList, java.util.HashMap<java.lang.String,java.lang.String> appDescMap) throws MXException, java.rmi.RemoteException
userInfo - appList - appDescMap - MXExceptionjava.rmi.RemoteExceptionpublic java.lang.String getAppDescForApp(java.lang.String appName,
UserInfo userInfo)
throws MXException,
java.rmi.RemoteException
appName - java.lang.ExceptionMXExceptionjava.rmi.RemoteExceptionpublic java.lang.String getOriginalAppForApp(java.lang.String appName,
UserInfo userInfo)
throws MXException,
java.rmi.RemoteException
appName - java.lang.ExceptionMXExceptionjava.rmi.RemoteExceptionpublic SKDUserLocaleData getSKDUserLocaleData(UserInfo userInfo) throws MXException, java.rmi.RemoteException
getSKDUserLocaleData in interface SKDAppServiceRemoteMXExceptionjava.rmi.RemoteExceptionpublic ISKDUIInfo getSKDUIInfo(UserInfo userInfo) throws MXException, java.rmi.RemoteException
getSKDUIInfo in interface SKDAppServiceRemoteMXExceptionjava.rmi.RemoteExceptionpublic ISKDUIInfo getSKDUIInfo(UserInfo userInfo, java.lang.String appName) throws MXException, java.rmi.RemoteException
getSKDUIInfo in interface SKDAppServiceRemoteMXExceptionjava.rmi.RemoteExceptionpublic ISKDUIInfo getSKDUIInfo(UserInfo userInfo, java.lang.String appName, java.lang.String projectId) throws MXException, java.rmi.RemoteException
getSKDUIInfo in interface SKDAppServiceRemoteMXExceptionjava.rmi.RemoteExceptionpublic boolean isWorkorderSchedule(UserInfo userInfo, java.lang.String skdProjectId) throws MXException, java.rmi.RemoteException
userInfo - skdProjectId - MXExceptionjava.rmi.RemoteExceptionpublic java.lang.String getDisplayDateTimePattern(UserInfo userInfo) throws MXException, java.rmi.RemoteException
userInfo - java.lang.ExceptionMXExceptionjava.rmi.RemoteExceptionpublic java.util.HashMap<java.lang.String,SKDMessage> getSKDMaxMessages(UserInfo userInfo) throws MXException, java.rmi.RemoteException
userInfo - MXExceptionjava.rmi.RemoteExceptionpublic java.util.HashMap<java.lang.String,SKDCalendarInfo> getWorkingHours(MboRemote project, boolean trimByProject) throws SchedulerException, java.rmi.RemoteException
project - trimByProject - - Defines if SKDProject start and end dates should be used to filter the working hoursSchedulerExceptionjava.rmi.RemoteExceptionpublic DateRange getCalendarDates(MboRemote project) throws java.rmi.RemoteException, MXException
java.rmi.RemoteExceptionMXExceptionpublic DateRange getProjectDates(MboRemote project) throws java.rmi.RemoteException, MXException
java.rmi.RemoteExceptionMXExceptionpublic DateRange getProjectDatesAdjustedForCalendar(MboRemote project, DateRange calDates, boolean trimByProject) throws java.rmi.RemoteException, MXException
java.rmi.RemoteExceptionMXExceptionpublic java.util.HashMap<java.lang.String,SKDCalendarInfo> getWorkingHours(MboRemote project, Range<java.util.Date> range) throws SchedulerException, java.rmi.RemoteException
project - trimByProject - - Defines if SKDProject start and end dates should be used to filter the working hoursSchedulerExceptionjava.rmi.RemoteExceptionpublic MboRemote getCalendarMbo(MboRemote project) throws MXException, java.rmi.RemoteException
project - MXExceptionjava.rmi.RemoteExceptionpublic java.util.TreeSet<SKDDataGroupInfo> getDataGroupInfoSet(UserInfo userInfo, java.lang.String projectId, java.lang.String skdObjectName) throws MXException, java.rmi.RemoteException
userInfo - projectId - skdObjectName - MXExceptionjava.rmi.RemoteExceptionpublic boolean asyncCommitNeeded(MboRemote projectMbo) throws MXException, java.rmi.RemoteException
asyncCommitNeeded in interface SKDAppServiceRemoteproject - mbo
return true if async commit else falseMXExceptionjava.rmi.RemoteExceptionpublic static void logDebugStatementForTime(MXLogger sqlLogger, UserInfo userInfo, java.sql.Connection connection, java.lang.String projectId, long timeTaken, java.lang.String query)
sqlLogger - userInfo - connection - projectId - - project idtimeTaken - - time taken to execute the queryquery - - query stringpublic static void logDebugStatementForInfo(MXLogger sqlLogger, java.lang.String msgId, java.lang.Object[] params)
sqlLogger - msgId - - message idparams - - message parameterpublic java.lang.Object performSkdAction(java.lang.String projectId,
UserInfo ui,
java.lang.String actionId,
java.lang.Object actionObject,
boolean saveBeforeAction,
SKDAppServiceBeanRemote serviceBean)
throws MXException,
java.rmi.RemoteException
performSkdAction in interface SKDAppServiceRemoteprojectId - - 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.RemoteExceptionpublic void deleteProjectData(UserInfo userInfo, MboRemote projectMbo) throws MXException, java.rmi.RemoteException
deleteProjectData in interface SKDAppServiceRemote- - userinfo- - Project mboMXExceptionjava.rmi.RemoteExceptionpublic void deleteSKDData(UserInfo userInfo, MboRemote projectMbo) throws MXException, java.rmi.RemoteException
userInfo - projectMbo - MXExceptionjava.rmi.RemoteExceptionpublic void deleteObjectData(UserInfo userInfo, MboRemote projectMbo) throws MXException, java.rmi.RemoteException
userInfo - projectMbo - MXExceptionjava.rmi.RemoteExceptionpublic java.util.Date getServerDate()
throws MXException,
java.rmi.RemoteException
getServerDate in interface SKDAppServiceRemoteMXExceptionjava.rmi.RemoteExceptionpublic int getAsyncCount(MboRemote projectMbo, MboSetRemote activitySet) throws MXException, java.rmi.RemoteException
userInfo - orgProjectId - duplicateProjectMbo - MXExceptionjava.rmi.RemoteExceptionpublic static boolean isEAMSchedulerLicensePresent()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic static boolean isScheduler7510LicensePresent()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic static boolean isScheduler7520LicensePresent()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic static boolean isSchedulerAviationLicensePresent()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic static boolean isLicensePresent(java.lang.String lic)
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic ISKDAvailability getAvailabilities(UserInfo ui, java.lang.String[] availParam) throws MXException, java.rmi.RemoteException
getAvailabilities in interface SKDAppServiceRemoteuserinfo - parameters - from UIMXException, - RemoteExceptionMXExceptionjava.rmi.RemoteExceptionpublic SKDItemAvailability getItemAvailabilities(UserInfo ui, java.lang.String[] availParam) throws MXException, java.rmi.RemoteException
getItemAvailabilities in interface SKDAppServiceRemoteuserinfo - parameters - from UIMXException, - RemoteExceptionMXExceptionjava.rmi.RemoteExceptionpublic void getShiftInfoForDispatch(UserInfo userInfo, MXGanttModel model, MboRemote project, boolean trimByProject) throws MXException, java.rmi.RemoteException
SKDAppServiceRemotegetShiftInfoForDispatch in interface SKDAppServiceRemoteMXExceptionjava.rmi.RemoteExceptionpublic boolean activitiesInitialized(MboRemote projectMbo) throws MXException, java.rmi.RemoteException
activitiesInitialized in interface SKDAppServiceRemoteproject - MXExceptionjava.rmi.RemoteExceptionpublic MboRemote getParentActivity(MboRemote project, java.lang.String parentid) throws MXException, java.rmi.RemoteException
project - MXExceptionjava.rmi.RemoteExceptionpublic ilog.views.gantt.IlvGanttModel getCapacityPlanningGapModel(UserInfo userInfo, SKDCapacityPlanningGapRequestParams params) throws java.rmi.RemoteException, MXException
getCapacityPlanningGapModel in interface SKDAppServiceRemotejava.rmi.RemoteExceptionMXExceptionpublic boolean PopulateSKDOrigiDestMatrix(MboRemote projectMbo) throws MXException, java.rmi.RemoteException
PopulateSKDOrigiDestMatrix in interface SKDAppServiceRemoteproject - MXExceptionjava.rmi.RemoteExceptionpublic java.util.HashMap getTaskSACodeList(MboRemote projectMbo) throws MXException, java.rmi.RemoteException
project - MXExceptionjava.rmi.RemoteExceptionpublic java.util.HashMap getResourceSACodeList(MboRemote projectMbo) throws MXException, java.rmi.RemoteException
project - MXExceptionjava.rmi.RemoteExceptionpublic java.util.HashMap getCrewResourceSACodeList(java.util.HashMap<java.lang.String,java.util.HashMap<java.lang.String,SKDMAPInputParamInfo>> laborResourceSACodeList, MboRemote projectMbo) throws MXException, java.rmi.RemoteException
project - MXExceptionjava.rmi.RemoteExceptionpublic 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)
throws java.io.IOException,
java.lang.Exception
SKDAppServiceRemoteupdateTravelTimeMatrixFor in interface SKDAppServiceRemotetaskSACodeMap - 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)java.io.IOExceptionMXExceptionjava.lang.Exceptionpublic static java.lang.Double secondsToDuration(long seconds)
public int dynamicScheduling(UserInfo userInfo, long skdprojectid, java.lang.String emQuery, boolean autoassign) throws MXException, java.rmi.RemoteException
dynamicScheduling in interface SKDAppServiceRemoteskdProjectId - skdproject unique idemWhere - skdproject unique idMXExceptionjava.rmi.RemoteExceptioncom.ibm.tivoli.maximo.skd.service.SKDAppService#dynamicScheduling()public void deleteSuggestResourceListtoEMWO(long skdprojectid,
UserInfo userInfo,
java.lang.String assignmentids)
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void saveSuggestResourceListtoEMWO(java.util.List resoureSet,
MboRemote wo,
MboRemote reqtoassign,
java.util.HashMap<java.lang.String,java.util.HashMap<java.lang.String,java.lang.Double>> woandtraveltime,
long skdprojectid,
UserInfo userInfo)
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void assignLaborCrewtoEMWO(MboRemote wo, MboRemote reqtoassign, java.lang.String assigncrew, java.lang.String assignlaborcode, java.util.Date currentTime) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic boolean autoAssignLaborCrewtoEMWO(ResourceFinder resFinder, java.util.List resources, java.lang.String resourcetype, MboRemote wo, MboRemote req, boolean assignedlist, java.util.Date currentTime, java.util.HashMap<java.lang.String,MboRemote> AssignedEMResource) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void assignLaborCrewFromSuggestSet(MboSetRemote emWOAvailResSet, UserInfo userInfo, java.util.Date currentTime) throws MXException, java.rmi.RemoteException
assignLaborCrewFromSuggestSet in interface SKDAppServiceRemoteMXExceptionjava.rmi.RemoteExceptioncom.ibm.tivoli.maximo.skd.service.SKDAppService#assignLaborCrewFromSuggestSet()public java.util.List removeAssignedEMResource(java.util.List resoureSet,
java.lang.String resourcetype,
java.util.HashMap<java.lang.String,MboRemote> AssignedEMResource)
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic java.util.Properties getALLSKDViewerProperties()
throws java.io.IOException
java.io.IOExceptionjava.rmi.RemoteExceptionpublic java.util.Properties getSKDViewerProperties()
throws java.rmi.RemoteException
getSKDViewerProperties in interface SKDAppServiceRemotejava.rmi.RemoteExceptionpublic SKDDD getSKDDD() throws MXException, java.rmi.RemoteException
getSKDDD in interface SKDAppServiceRemoteMXExceptionjava.rmi.RemoteExceptionpublic void saveState(SKDState lastSavedState) throws java.rmi.RemoteException, MXException
java.rmi.RemoteExceptionMXExceptionpublic SKDState loadState(SKDState lastSavedState) throws java.rmi.RemoteException, MXException
java.rmi.RemoteExceptionMXExceptionpublic MboSetRemote getTemplatesMboSet(java.lang.String templateName, MboRemote projectMbo) throws java.rmi.RemoteException, MXException
java.rmi.RemoteExceptionMXExceptionpublic java.lang.String loadTemplate(java.lang.String templateName,
MboRemote projectMbo,
SKDTemplateResolver alternateResolver)
throws java.rmi.RemoteException,
MXException
loadTemplate in interface SKDAppServiceRemotetemplateName - template nameprojectMbo - main scheduler project mboalternateResolver - resolve to use when no template is foundjava.rmi.RemoteExceptionMXExceptionpublic java.util.HashMap<java.lang.String,SKDCalendarInfo> getAssetMntOpMap(MboRemote project, java.util.Date startDate, java.util.Date endDate, java.lang.String objectName, java.util.HashMap<java.lang.String,SKDCalendarInfo> shiftCalMap) throws SchedulerException
project - startDate - endDate - objectName - shiftCalMap - SchedulerExceptionpublic java.util.HashMap<java.lang.String,SKDCalendarInfo> getAssetMntOpMapPM(MboRemote project, java.util.Date startDate, java.util.Date endDate, java.lang.String objectName, java.util.HashMap<java.lang.String,SKDCalendarInfo> shiftCalMap) throws SchedulerException
project - startDate - endDate - objectName - shiftCalMap - SchedulerExceptionpublic java.util.HashMap<java.lang.String,SKDCalendarInfo> getLocationMntOpMap(MboRemote project, java.util.Date startDate, java.util.Date endDate, java.lang.String objectName, java.util.HashMap<java.lang.String,SKDCalendarInfo> shiftCalMap) throws SchedulerException
project - startDate - endDate - objectName - shiftCalMap - SchedulerExceptionpublic java.util.HashMap<java.lang.String,SKDCalendarInfo> getLocationMntOpMapPM(MboRemote project, java.util.Date startDate, java.util.Date endDate, java.lang.String objectName, java.util.HashMap<java.lang.String,SKDCalendarInfo> shiftCalMap) throws SchedulerException
project - startDate - endDate - objectName - shiftCalMap - SchedulerExceptionpublic java.util.HashMap<java.lang.String,java.util.ArrayList<SKDDateInterval>> getOverlappingMntOpSchedule(java.util.HashMap<java.lang.String,SKDCalendarInfo> assetLocMntCalMap, java.util.HashMap<java.lang.String,SKDCalendarInfo> assetLocOpCalMap)
public void clearState(SKDState lastSavedState) throws java.rmi.RemoteException, MXException
lastSavedState - java.rmi.RemoteExceptionMXExceptionpublic void clearState(java.lang.String skdProjectId,
UserInfo info)
throws java.rmi.RemoteException,
MXException
lastSavedState - java.rmi.RemoteExceptionMXExceptionpublic void commitMaxSchedule(UserInfo userInfo, java.lang.String projectid, boolean commitConstraintsOnly) throws MXException, java.rmi.RemoteException
commitMaxSchedule in interface SKDAppServiceRemoteuserInfo - projectId - MXExceptionjava.rmi.RemoteExceptionpublic void commitMaxSchedule(UserInfo userInfo, java.lang.String projectid, java.lang.String ids, boolean commitConstraintsOnly) throws MXException, java.rmi.RemoteException
commitMaxSchedule in interface SKDAppServiceRemoteuserInfo - projectId - ids - MXExceptionjava.rmi.RemoteExceptionpublic java.util.List<MXReservation> refreshModel(UserInfo userInfo, MboRemote project, MXGanttModel model) throws MXException, java.rmi.RemoteException
refreshModel in interface SKDAppServiceRemoteuserInfo - project - model - MXExceptionjava.rmi.RemoteExceptionpublic java.util.Map<java.lang.Long,MboRemote> reloadWorkOrders(java.lang.String projectID, UserInfo userInfo) throws java.rmi.RemoteException, MXException
reloadWorkOrders in interface SKDAppServiceRemoteprojectID - userInfo - java.rmi.RemoteExceptionMXExceptionpublic void refreshActivity(IMXActivity activity, java.util.Map<java.lang.Long,MboRemote> workOrdersByID) throws java.rmi.RemoteException, MXException
refreshActivity in interface SKDAppServiceRemoteactivity - workOrdersByID - java.rmi.RemoteExceptionMXExceptionpublic void createNewAssignment(MboRemote assignment, MboRemote workOrder, MXGanttModel model, UserInfo userInfo) throws java.rmi.RemoteException, MXException
SKDAppServiceRemotecreateNewAssignment in interface SKDAppServiceRemotejava.rmi.RemoteExceptionMXExceptionpublic void deleteAssignment(long objectID,
UserInfo userInfo)
throws java.rmi.RemoteException,
MXException
SKDAppServiceRemotedeleteAssignment in interface SKDAppServiceRemotejava.rmi.RemoteExceptionMXExceptionpublic void updateAssignment(MboRemote assignment, UserInfo userInfo) throws java.rmi.RemoteException, MXException
SKDAppServiceRemoteupdateAssignment in interface SKDAppServiceRemotejava.rmi.RemoteExceptionMXExceptionpublic void deleteUncommitedDuplicateConstraints(long skdProjectID,
UserInfo userInfo)
throws java.rmi.RemoteException,
MXException
SKDAppServiceRemotedeleteUncommitedDuplicateConstraints in interface SKDAppServiceRemotejava.rmi.RemoteExceptionMXExceptionpublic java.lang.String getPopulateDataObjectsWhere(SKDProject projectMbo) throws java.rmi.RemoteException, MXException
getPopulateDataObjectsWhere in interface SKDAppServiceRemotejava.rmi.RemoteExceptionMXExceptionpublic void clearPopulateDataObjectsWhere()
throws java.rmi.RemoteException,
MXException
java.rmi.RemoteExceptionMXException