public class SKDProject extends StatefulMbo implements SKDProjectRemote
This is a system level object.
The key attributes for this object is: NAME.
The attributes in this object are as follows:
Attribute Name | Description |
---|---|
NAME | Identifies the schedule. This value must be unique. The schedule consists of a group of work records and their required resources. The schedule can be viewed and edited in the Gantt View tab. |
DESCRIPTION | Describes the schedule. |
COMMITTIME | The date and time when the schedule was last used to update the work records. |
INITIALIZED | Has the data been initialized? |
SAVETIME | The date and time when the schedule was last saved. |
SKDPROJECTID | Unique Id. |
CALNUM | Calendar that will be used in the Gantt view. This is used to determine work days versus non-work days. |
SHIFTNUM | Shift that will be used in the Gantt view. This is used to determine work hours on a daily basis. |
ORGID | Calendar Organization Identifier. |
CREATEBY | The name of the person who created the schedule. |
CREATEDATE | The date and time when the schedule was created. |
ISPUBLIC | Determines if this query can be accessed by all users. |
CHANGEBY | The name of the person who modified the schedule. |
CHANGEDATE | The date and time when the schedule was modified. |
SAVEBY | Last Saved By. |
COMMITBY | Last Committed By. |
onListTab, statusChangeButtonSigoption, targetStatusOption
MULTILANGCOPY, phantomList, phantomQueue
CAPPLAN, CAPPLANTYPE, CPS, CPSTYPE, LABORMOD, LABORMODTYPE, MANUAL, MANUALTYPE, RESLEVEL, RESLEVELTYPE, SPATIAL, SPATIALTYPE
ALLROWS, CHANGEDBY_USER, COUNT_ADDITIONS, COUNT_AFTERSAVE, COUNT_DATABASE, COUNT_DELETED, COUNT_EXISTING, DBCONFIG, DELAYVALIDATION, DELAYVALIDATIONONLY, DISCARDABLE, GOTCOMPLETEWHERE, HIDDEN, NO_RELATEDMBOS_OF_OWNERSCHILDREN_FETCH, NOACCESSCHECK, NOACTION, NOADD, NOCOMMIT, NODELETE, NONE, NOOVERWRITE, NOSAVE, NOSETVALUE, NOUPDATE, NOVALIDATION, NOVALIDATION_AND_NOACTION, NOVALIDATION_AND_NOACTION_ALLOWCROSSOVER, READONLY, REBUILD, REQUIRED, SAMEVALUEVALIDATION, SETBYPARENT, USER
Constructor and Description |
---|
SKDProject(MboSet ms)
Constructs the SKDProject object.
|
Modifier and Type | Method and Description |
---|---|
void |
add()
Adds a new SKDProject object.
|
void |
addSKDProjectScenario(java.lang.String inputObj,
java.lang.String ODMAppName,
java.lang.String scenarioName,
java.lang.String inputName,
long inputObjId)
Add or replace SKDProjectScenario row for the passed in SKDProject
|
void |
appValidate()
Checks if start date is present when end date is set
|
void |
assignLaborCrewFromSuggestSet(MboSetRemote emWOAvailResSet) |
void |
canCommit(java.lang.String personId)
Check if the user can commit a project
|
void |
canCreateScenario()
Can create scenario for the schedule:
|
void |
canCreateSnapShot()
Can create snapshot (baseline) of the schedule:
|
void |
canDelete()
Before delete, here we check, If the Schedule(SKDProject) is been createdby the loggedin user.
|
void |
canPublish()
Can publish the schedule:
|
void |
copyGroupsToCommGroup(MboSetRemote groupSet)
Copies the selected groups values to the commitgroup.
|
void |
copyPersonsToCommPerson(MboSetRemote personSet)
Copies the selected person values to the commitperson.
|
MboRemote |
createBaseLine(java.lang.String baseLineName,
java.lang.String baseLineDescription,
java.lang.String baseLineMemo,
java.lang.String inputName,
java.lang.String scenarioType)
Create base line of the project:
|
void |
createCronTaskInstance(boolean oneTimeCron) |
void |
createCronTaskInstance(boolean oneTimeCron,
java.lang.String cronTaskName) |
void |
delete(long accessModifier)
Delete's Schedule record and associated objects.
|
void |
deleteData(java.sql.Connection conn,
java.lang.String objectName,
java.lang.String msgStr,
long projectId)
Delete the data from skd tables.
|
void |
deleteUncommitData()
This method deletes uncommitted data from the following tables for the current scenario.
|
MboRemote |
duplicate()
duplicates SKDProject and related objects.
|
void |
dupSchedulerProject(MboRemote selectedproject)
duplicate a scheduler project to assignment project.
|
int |
dynamicScheduling() |
void |
endScheduleCompliance(SKDProjectRemote skdProject,
java.util.Date compend)
Finish the Schedule Compliance
|
java.lang.String |
getAssetLocWhere(java.lang.String key)
Get asset or location where condition from a hash map
|
long |
getBaseLineUniqueId()
Get uniqueid of recently created base line (or scenario)
|
long |
getCurrentSkdODMERunId()
Gets the current SKDODMERUN.SKDODMERUNID for the inprogress optimization.
|
long |
getDefaultScenarioUniqueId(java.lang.String SKDProjectName)
Get default scenario uniqueid
|
java.util.HashMap<java.lang.Long,java.util.Hashtable<java.lang.String,java.lang.String>> |
getEWOQuickQueryQbe()
This method is called from the emergency WOs quick query qbe bean.
|
boolean |
getFromAsync() |
java.lang.String |
getPopulateDataObjectsWhere() |
SKDProjectScenarioRemote |
getProjectScenario(java.lang.String cronTaskName)
Return the ProjectScenario
|
MboSetRemote |
getProjectsList(MboSetRemote resultSet,
java.lang.String userName)
Get list of projects visible for the user
|
boolean |
getPublishFlag()
Get commit value.
|
java.util.HashMap<java.lang.Long,java.util.Hashtable<java.lang.String,java.lang.String>> |
getQuickQueryQbe()
This method is called from the quick query qbe bean.
|
boolean |
getScenarioFlag()
Get scenario value.
|
java.lang.String |
getScenarioString(MboRemote skdProject)
7520 -get scenariostring
|
int |
getScenarioType()
Get scenario type.
|
java.lang.String |
getScenarioTypeStr()
Get scenario type.
|
java.lang.String |
getStatusListName()
Return the string "SCHDSTATUS".
|
void |
gotoAssignDate(java.lang.String gotoday) |
boolean |
hasDatesBeenUpdated() |
void |
init()
Initialization routine.
|
boolean |
isOptimizationInprogress()
Return true if an optimization is inprogress for the current scenario.
|
boolean |
isProjectDataModified()
This method is called from the SKDProjectAppBean.SAVE()
|
void |
modify()
called whenever a field is modified to update the change date,change by attributes.
|
boolean |
needRefreshProject() |
java.lang.String |
originalAppName(java.lang.String appName) |
boolean |
populateOriginDestMatrix()
populate the skdorigindestmatrix for the project
|
void |
publish()
Publish the project:
When a user call this actions, a baseline of the current schedule will be created along with the date and time.
|
void |
putEWOQuickQueryQbe(long skdprojectid,
java.util.Hashtable<java.lang.String,java.lang.String> savedQbeAttributesQuickQuery)
This method stores qbe values in the hashmap for the given skdproject (for emergency WOs).
|
void |
putQuickQueryQbe(long skdqueryid,
java.util.Hashtable<java.lang.String,java.lang.String> savedQbeAttributesQuickQuery)
This method stores qbe values in the hashmap for the given skdqueryid.
|
void |
removeCronTaskInstance(boolean oneTimeCron) |
void |
removeCronTaskInstance(boolean oneTimeCron,
java.lang.String cronTaskName) |
int |
roll()
Roll the project to the next start date based on its schedule (start date rule)
|
boolean |
runOptimization(UserInfo userInfo,
boolean async) |
boolean |
runOptimization(UserInfo userInfo,
long skdOdmeRunIdIn,
boolean async) |
void |
save()
Saves a SKDProject Object.
|
void |
setAssetLocWhere(java.lang.String key,
java.lang.String where)
Set asset or location where condition in a hash map
|
void |
setCalendarDates()
set the Calendar Dates.
|
long |
setCurrentSkdODMERunId(long skdODMERunID)
Sets the current SKDODMERUN.SKDODMERUNID
|
void |
setDefaultScenario(SKDProjectRemote SKDProject)
Set project to be default scenario
|
void |
setFromAsync(boolean flag) |
void |
setNextDueDate()
Calculates the next value for the SKDCompEnd (Schedule Compliance End Date) attribute, based on the Schedule frequency.
|
void |
setProjectAssignDate(boolean next) |
void |
setPublishFlag(boolean publish)
Set commit value.
|
int |
setRollDates()
Roll the project to the next start date based on its schedule (start date rule)
|
void |
setScenarioFlag(boolean scenario)
Set scenario value.
|
void |
setScenarioProjectString(MboRemote skdProject)
7520 -set scenarioprojectstring
|
void |
setScenarioType(int type)
Set scenario type.
|
void |
setScenarioType(java.lang.String type)
Set scenario type.
|
boolean |
ShiftWorkingTime(java.util.Date workdate,
java.lang.String Orgid,
java.lang.String Calnum,
java.lang.String shiftnum) |
MboRemote |
ShiftWorkperiod(java.util.Date workdate,
java.lang.String Orgid,
java.lang.String Calnum,
java.lang.String shiftnum) |
void |
startScheduleCompliance(MboSetRemote skdActivitySet,
SKDProjectRemote skdProject,
java.util.Date compstart,
java.util.Date compend)
Start the Schedule Compliance
|
void |
updateActivityDates()
This method updates the previous and current schedule dates.
|
void |
updateNextStartAndEndDate()
Update the Next Schedule Compliance Start Date and End Date, based on Last Compliance Start Date
|
void |
updateProjectData()
Update the project data if there are one or more queries defined.
|
void |
updateTimeBasedNextDueDate()
Update the Next Schedule Compliance End Date, based on Last Compliance Start Date
|
canChangeMaxStatus, canChangeStatus, canChangeStatus, canChangeStatus, canDeleteAttachedDocs, changeMaxStatus, changeMaxStatus, changeStatus, changeStatus, changeStatus, checkForOpenStatus, checkStatusChangeAuthorization, filterByValidStatusList, fireEvent, getInternalStatus, getOnListTab, getOverridePVStatusException, getStatusChangeButtonSigoption, getStatusList, getTargetStatusOption, getValidStatusList, setOnListTab, setOverridePVStatusException, setStatusChangeButtonSigoption, setTargetStatusOption
addMboSetForRequiredCheck, addToDeleteForInsertList, andEvaluateConditions, blindCopy, checkFieldAccess, checkMethodAccess, checkMethodAccess, checkQualifiedRestriction, checkSiteOrgAccessForSave, clear, copy, copy, copy, copyFake, copyValue, copyValue, createComm, delete, determineRequiredFieldsFromERM, enableMethod, evaluateCondition, evaluateCondition, evaluateCtrlConditions, evaluateCtrlConditions, evaluateRestriction, excludeObjectForPropagate, findAllNullRequiredFields, generateAutoKey, generateContentUID, getAlwaysFlags, getAttrRestrictionFlag, getAttrRestrictions, getBoolean, getByte, getBytes, getCheckpoint, getClientLocale, getClientTimeZone, getCommLogOwnerNameAndUniqueId, getCondition, getDatabaseValue, getDate, getDeleteForInsertList, getDocLinksCount, getDomainFilterWhere, getDomainIDs, getDouble, getESId, getExistingMboSet, getFetchIndex, getFieldExceptions, getFlags, getFloat, getIgnoreLockCheck, getInitialValue, getInsertCompanySetId, getInsertItemSetId, getInsertOrganization, getInsertOrgForSite, getInsertSite, getInstanciatedMboSet, getInstanciatedMboValue, getInt, getIntegrationService, getKeyValue, getLanguageRecordRowStamp, getLinesRelationship, getList, getLockedByDisplayName, getLockedByUserID, getLong, getMatchingAttr, getMatchingAttr, getMatchingAttrs, getMaxMessage, getMboCtx, getMboData, getMboDataSet, getMboForAttribute, getMboForAttributeStatic, getMboInitialValue, getMboList, getMboLogger, getMboRecordData, getMboServer, getMboSet, getMboSet, getMboSet, getMboSetInfo, getMboValue, getMboValueData, getMboValueData, getMboValueData, getMboValueDataForDownload, getMboValueInfoStatic, getMboValueInfoStatic, getMessage, getMessage, getMessage, getMessage, getMXTransaction, getName, getOrgForGL, getOrgSiteForMaxvar, getOwner, getProfile, getPropagateKeyFlag, getProxy, getRecordIdentifer, getRecordMboName, getRelatedWhere, getRelatedWhere, getRelationshipNameToLangTable, getResourceName, getRowRestrictionFlag, getRowStamp, getRowStampObject, getSecurityLogger, getSiteOrg, getSqlLogger, getString, getString, getStringInBaseLanguage, getStringInSpecificLocale, getStringTransparent, getSynonymValueWhere, getTenantId, getThisMboSet, getTranslator, getUniqueIdentifer, getUniqueIDName, getUniqueIDValue, getUniqueLanguageIDRecord, getUserInfo, getUserName, getValidateOrder, hasFieldAccess, hasHierarchyLink, hasLockSaveRights, hasRelatedQbe, hasUniqueID, initFieldFlagsOnMbo, initRelationship, isApiBatchError, isAutoKeyed, isBasedOn, isChangeByUserWhenSetFromLookup, isEAuditFieldModified, isESigFieldModified, isFlagSet, isForDM, isLocked, isLocked, isLockedByMe, isMasterTenant, isMboLockedByMe, isModified, isModified, isNew, isNoSql, isNull, isOptionGranted, isSelected, isSkipCopyField, isValid, isZombie, lock, moveFieldFlagsToMboValue, needCallInitFieldFlag, orEvaluateConditions, propagateKeyValue, removeCtx, removeRelatedSet, resolveNoSqlWhere, rollbackToCheckpoint, select, setAppDefaultValue, setApplicationError, setApplicationRequired, setAutokeyFields, setCopyDefaults, setDefaultValue, setDefaultValues, setDeleted, setEAuditFieldModified, setESId, setESigFieldModified, setFetchIndex, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlags, setFlag, setFlag, setFlags, setForDM, setHierarchyLink, setIgnoreRecordLockCheck, setLangCodeDefault, setMboCtx, setMLValue, setModified, setModifiedForIntegrationOnly, setNewMbo, setNoSql, setPropagateKeyFlag, setPropagateKeyFlag, setProxy, setReadonlyWhenParentIsReadonly, setReferencedMbo, setReferencedMbo, setResolveNoSqlWhere, setResourceName, setUniqueIDValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueFromSequence, setValueNull, setValueNull, sigopGranted, sigopGranted, sigopGranted, sigOptionAccessAuthorized, smartFill, smartFind, smartFind, smartFindByObjectName, smartFindByObjectName, smartFindByObjectNameDirect, startCheckpoint, thisToBeUpdated, toBeAdded, toBeDeleted, toBeSaved, toBeUpdated, toBeValidated, undelete, unlock, unselect, useDataSecurity, validate, validateAttributes, validateKeyUniqueness, valueChanged
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canChangeMaxStatus, canChangeStatus, canChangeStatus, canDeleteAttachedDocs, changeMaxStatus, changeMaxStatus, changeStatus, changeStatus, changeStatus, checkForOpenStatus, getInternalStatus, getOnListTab, getOverridePVStatusException, getStatusChangeButtonSigoption, getStatusList, getTargetStatusOption, getValidStatusList, setOnListTab, setOverridePVStatusException, setStatusChangeButtonSigoption, setTargetStatusOption
addMboSetForRequiredCheck, addToDeleteForInsertList, blindCopy, checkMethodAccess, clear, copy, copy, copy, copyFake, copyValue, copyValue, createComm, delete, evaluateCondition, evaluateCtrlConditions, evaluateCtrlConditions, excludeObjectForPropagate, generateAutoKey, getBoolean, getByte, getBytes, getCommLogOwnerNameAndUniqueId, getDatabaseValue, getDate, getDeleteForInsertList, getDocLinksCount, getDomainIDs, getDouble, getExistingMboSet, getFlags, getFloat, getIgnoreLockCheck, getInitialValue, getInsertCompanySetId, getInsertItemSetId, getInsertOrganization, getInsertSite, getInt, getKeyValue, getLinesRelationship, getList, getLockedByDisplayName, getLong, getMatchingAttr, getMatchingAttr, getMatchingAttrs, getMaxMessage, getMboData, getMboDataSet, getMboInitialValue, getMboList, getMboSet, getMboSet, getMboSet, getMboValueData, getMboValueData, getMboValueData, getMboValueDataForDownload, getMboValueInfoStatic, getMboValueInfoStatic, getMessage, getMessage, getMessage, getMessage, getMXTransaction, getName, getOrgForGL, getOrgSiteForMaxvar, getOwner, getPropagateKeyFlag, getRecordIdentifer, getSiteOrg, getString, getString, getStringInBaseLanguage, getStringInSpecificLocale, getStringTransparent, getThisMboSet, getUniqueIDName, getUniqueIDValue, getUserInfo, getUserName, hasHierarchyLink, hasLockSaveRights, isAutoKeyed, isBasedOn, isFlagSet, isForDM, isLocked, isLocked, isMasterTenant, isMboLockedByMe, isModified, isModified, isNew, isNull, isOptionGranted, isSelected, isZombie, lock, propagateKeyValue, rollbackToCheckpoint, select, setApplicationError, setApplicationRequired, setAutokeyFields, setCopyDefaults, setDeleted, setESigFieldModified, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlags, setFlag, setFlag, setFlags, setForDM, setIgnoreRecordLockCheck, setMLValue, setModified, setNewMbo, setPropagateKeyFlag, setPropagateKeyFlag, setReferencedMbo, setReferencedMbo, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueNull, setValueNull, sigopGranted, sigopGranted, sigopGranted, sigOptionAccessAuthorized, smartFill, smartFind, smartFind, smartFindByObjectName, smartFindByObjectName, smartFindByObjectNameDirect, startCheckpoint, thisToBeUpdated, toBeAdded, toBeDeleted, toBeSaved, toBeUpdated, toBeValidated, undelete, unlock, unselect, validate, validateAttributes
public SKDProject(MboSet ms) throws java.rmi.RemoteException
ms
- MboSetjava.rmi.RemoteException
public void setAssetLocWhere(java.lang.String key, java.lang.String where) throws MXException, java.rmi.RemoteException
setAssetLocWhere
in interface SKDProjectRemote
key
- (name|objectname|queryname and wherecondition)MXException
java.rmi.RemoteException
com.ibm.tivoli.maximo.skd.app.SKDProject#setAssetLocWhere()
public java.lang.String getAssetLocWhere(java.lang.String key) throws MXException, java.rmi.RemoteException
getAssetLocWhere
in interface SKDProjectRemote
key
- (name|objectname|queryname)MXException
java.rmi.RemoteException
com.ibm.tivoli.maximo.skd.app.SKDProject#getAssetLocWhere()
public void init() throws MXException
init
in class Mbo
none
- MXException
public void updateProjectData() throws MXException, java.rmi.RemoteException
updateProjectData
in interface SKDProjectRemote
MXException,
- RemoteExceptionMXException
java.rmi.RemoteException
updateProjectData()
public void save() throws MXException, java.rmi.RemoteException
MXException,
- RemoteExceptionMXException
java.rmi.RemoteException
public void add() throws MXException, java.rmi.RemoteException
add
in interface MboRemote
add
in class Mbo
none
- MXException,
- RemoteExceptionMXException
java.rmi.RemoteException
public void setCalendarDates() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.lang.String originalAppName(java.lang.String appName) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void dupSchedulerProject(MboRemote selectedproject) throws MXException, java.rmi.RemoteException
MXException,
- RemoteExceptionMXException
java.rmi.RemoteException
public MboRemote duplicate() throws MXException, java.rmi.RemoteException
Related objects that will also be duplicated are:
duplicate
in interface MboRemote
duplicate
in class Mbo
MXException
java.rmi.RemoteException
psdi.mbo.Mbo#isAutoKeyed.
public void delete(long accessModifier) throws MXException, java.rmi.RemoteException
delete
in interface MboRemote
delete
in class Mbo
accessModifier
- The bitwise flag specified to determine
if certain normal security checks are to be
bypassed for this delete request.
For example:
if the accessModifer is NOACCESSCHECK, then the
check for the object's NODELETE flag and the
call to the object's canDelete() method
will not be performed.
If the accessModifer is NONE, then all the
access checks are performed before this object
is marked delete.MXException
java.rmi.RemoteException
delete(long)
public void canDelete() throws MXException, java.rmi.RemoteException
canDelete
in class Mbo
MXException
java.rmi.RemoteException
MXApplicationException
public void modify() throws MXException, java.rmi.RemoteException
modify
in class Mbo
MXException
java.rmi.RemoteException
public void setFromAsync(boolean flag)
public boolean getFromAsync()
public boolean isProjectDataModified() throws MXException, java.rmi.RemoteException
isProjectDataModified
in interface SKDProjectRemote
MXException
java.rmi.RemoteException
isProjectDataModified()
public void appValidate() throws MXException, java.rmi.RemoteException
appValidate
in class Mbo
MXException
java.rmi.RemoteException
public void startScheduleCompliance(MboSetRemote skdActivitySet, SKDProjectRemote skdProject, java.util.Date compstart, java.util.Date compend) throws MXException, java.rmi.RemoteException
startScheduleCompliance
in interface SKDProjectRemote
MXException
java.rmi.RemoteException
com.ibm.tivoli.maximo.skd.app.SKDProject#startScheduleCompliance()
public void endScheduleCompliance(SKDProjectRemote skdProject, java.util.Date compend) throws MXException, java.rmi.RemoteException
endScheduleCompliance
in interface SKDProjectRemote
MXException
java.rmi.RemoteException
com.ibm.tivoli.maximo.skd.app.SKDProject#endScheduleCompliance()
public void setNextDueDate() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void updateNextStartAndEndDate() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void updateTimeBasedNextDueDate() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.lang.String getStatusListName()
getStatusListName
in interface StatefulMboRemote
getStatusListName
in class StatefulMbo
public void publish() throws MXException, java.rmi.RemoteException
publish
in interface SKDProjectRemote
MXException,
- RemoteExceptionMXException
java.rmi.RemoteException
publish()
public MboRemote createBaseLine(java.lang.String baseLineName, java.lang.String baseLineDescription, java.lang.String baseLineMemo, java.lang.String inputName, java.lang.String scenarioType) throws MXException, java.rmi.RemoteException
createBaseLine
in interface SKDProjectRemote
MXException,
- RemoteExceptionMXException
java.rmi.RemoteException
com.ibm.tivoli.maximo.skd.app.SKDProject#createBaseLine()
public long getBaseLineUniqueId() throws java.rmi.RemoteException, MXException
getBaseLineUniqueId
in interface SKDProjectRemote
MXException,
- RemoteExceptionjava.rmi.RemoteException
MXException
com.ibm.tivoli.maximo.skd.app.SKDProject#getBaseLineRecordId()
public long getDefaultScenarioUniqueId(java.lang.String SKDProjectName) throws java.rmi.RemoteException, MXException
getDefaultScenarioUniqueId
in interface SKDProjectRemote
MXException,
- RemoteExceptionjava.rmi.RemoteException
MXException
com.ibm.tivoli.maximo.skd.app.SKDProject#getDefaultScenarioRecordId()
public void setDefaultScenario(SKDProjectRemote SKDProject) throws MXException, java.rmi.RemoteException
setDefaultScenario
in interface SKDProjectRemote
MXException,
- RemoteExceptionMXException
java.rmi.RemoteException
com.ibm.tivoli.maximo.skd.app.SKDProject#setDefaultScenario()
public void canPublish() throws MXException, java.rmi.RemoteException
canPublish
in interface SKDProjectRemote
MXException,
- RemoteExceptionMXException
java.rmi.RemoteException
canPublish()
public void canCreateScenario() throws MXException, java.rmi.RemoteException
canCreateScenario
in interface SKDProjectRemote
MXException,
- RemoteExceptionMXException
java.rmi.RemoteException
canCreateScenario()
public void canCreateSnapShot() throws MXException, java.rmi.RemoteException
canCreateSnapShot
in interface SKDProjectRemote
MXException,
- RemoteExceptionMXException
java.rmi.RemoteException
canPublish()
public void setPublishFlag(boolean publish) throws MXException, java.rmi.RemoteException
setPublishFlag
in interface SKDProjectRemote
MXException,
- RemoteExceptionMXException
java.rmi.RemoteException
com.ibm.tivoli.maximo.skd.app.SKDProject#setPublishFlag()
public boolean getPublishFlag() throws MXException, java.rmi.RemoteException
getPublishFlag
in interface SKDProjectRemote
MXException,
- RemoteExceptionMXException
java.rmi.RemoteException
getPublishFlag()
public void setScenarioFlag(boolean scenario) throws MXException, java.rmi.RemoteException
setScenarioFlag
in interface SKDProjectRemote
MXException,
- RemoteExceptionMXException
java.rmi.RemoteException
com.ibm.tivoli.maximo.skd.app.SKDProject#setScenarioFlag()
public boolean getScenarioFlag() throws MXException, java.rmi.RemoteException
getScenarioFlag
in interface SKDProjectRemote
MXException,
- RemoteExceptionMXException
java.rmi.RemoteException
getScenarioFlag()
public void setScenarioProjectString(MboRemote skdProject) throws MXException, java.rmi.RemoteException
MboRemote
- MXException,
- RemoteExceptionMXException
java.rmi.RemoteException
public java.lang.String getScenarioString(MboRemote skdProject) throws MXException, java.rmi.RemoteException
MboRemote
- MXException,
- RemoteExceptionMXException
java.rmi.RemoteException
public java.util.HashMap<java.lang.Long,java.util.Hashtable<java.lang.String,java.lang.String>> getQuickQueryQbe() throws MXException, java.rmi.RemoteException
getQuickQueryQbe
in interface SKDProjectRemote
MXException
java.rmi.RemoteException
getQuickQueryQbe()
public void putQuickQueryQbe(long skdqueryid, java.util.Hashtable<java.lang.String,java.lang.String> savedQbeAttributesQuickQuery) throws MXException, java.rmi.RemoteException
putQuickQueryQbe
in interface SKDProjectRemote
MXException
java.rmi.RemoteException
com.ibm.tivoli.maximo.skd.app.SKDProject#putQuickQueryQbe(long skdqueryid, Hashtable savedQbeAttributesQuickQuery)
public java.util.HashMap<java.lang.Long,java.util.Hashtable<java.lang.String,java.lang.String>> getEWOQuickQueryQbe() throws MXException, java.rmi.RemoteException
getEWOQuickQueryQbe
in interface SKDProjectRemote
MXException
java.rmi.RemoteException
getQuickQueryQbe()
public void putEWOQuickQueryQbe(long skdprojectid, java.util.Hashtable<java.lang.String,java.lang.String> savedQbeAttributesQuickQuery) throws MXException, java.rmi.RemoteException
putEWOQuickQueryQbe
in interface SKDProjectRemote
MXException
java.rmi.RemoteException
com.ibm.tivoli.maximo.skd.app.SKDProject#putQuickQueryQbe(long skdqueryid, Hashtable savedQbeAttributesQuickQuery)
public void setScenarioType(int type) throws MXException, java.rmi.RemoteException
setScenarioType
in interface SKDProjectRemote
MXException,
- RemoteExceptionMXException
java.rmi.RemoteException
com.ibm.tivoli.maximo.skd.app.SKDProject#setScenarioType()
public int getScenarioType() throws java.rmi.RemoteException, MXException
getScenarioType
in interface SKDProjectRemote
MXException,
- RemoteExceptionjava.rmi.RemoteException
MXException
getScenarioType()
public void setScenarioType(java.lang.String type) throws MXException, java.rmi.RemoteException
setScenarioType
in interface SKDProjectRemote
MXException,
- RemoteExceptionMXException
java.rmi.RemoteException
setScenarioType(String)
public java.lang.String getScenarioTypeStr() throws java.rmi.RemoteException, MXException
getScenarioTypeStr
in interface SKDProjectRemote
MXException,
- RemoteExceptionjava.rmi.RemoteException
MXException
getScenarioTypeStr()
public void addSKDProjectScenario(java.lang.String inputObj, java.lang.String ODMAppName, java.lang.String scenarioName, java.lang.String inputName, long inputObjId) throws MXException, java.rmi.RemoteException
addSKDProjectScenario
in interface SKDProjectRemote
SKDProject
- mbo.MXException
java.rmi.RemoteException
com.ibm.tivoli.maximo.skd.app.SKDProject#addSKDProjectScenario()
public void deleteUncommitData() throws MXException, java.rmi.RemoteException
deleteUncommitData
in interface SKDProjectRemote
MXException
java.rmi.RemoteException
deleteUncommitData()
public void deleteData(java.sql.Connection conn, java.lang.String objectName, java.lang.String msgStr, long projectId) throws MXException, java.rmi.RemoteException
conn
- objectName
- projectId
- msgStr
- sqlLogger
- MXException
java.rmi.RemoteException
public boolean hasDatesBeenUpdated()
public boolean runOptimization(UserInfo userInfo, boolean async) throws MXException, java.rmi.RemoteException
runOptimization
in interface SKDProjectRemote
MXException
java.rmi.RemoteException
com.ibm.tivoli.maximo.skd.app.SKDProject#runOptimization()
public boolean runOptimization(UserInfo userInfo, long skdOdmeRunIdIn, boolean async) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean populateOriginDestMatrix() throws MXException, java.rmi.RemoteException
MXException,
- RemoteExceptionMXException
java.rmi.RemoteException
public boolean needRefreshProject() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public MboRemote ShiftWorkperiod(java.util.Date workdate, java.lang.String Orgid, java.lang.String Calnum, java.lang.String shiftnum)
public boolean ShiftWorkingTime(java.util.Date workdate, java.lang.String Orgid, java.lang.String Calnum, java.lang.String shiftnum)
public void setProjectAssignDate(boolean next) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void gotoAssignDate(java.lang.String gotoday) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void createCronTaskInstance(boolean oneTimeCron) throws MXException, java.rmi.RemoteException, java.text.ParseException
createCronTaskInstance
in interface SKDProjectRemote
MXException
java.rmi.RemoteException
java.text.ParseException
com.ibm.tivoli.maximo.skd.app.SKDProject#createCronTaskInstance()
public void createCronTaskInstance(boolean oneTimeCron, java.lang.String cronTaskName) throws MXException, java.rmi.RemoteException, java.text.ParseException
createCronTaskInstance
in interface SKDProjectRemote
MXException
java.rmi.RemoteException
java.text.ParseException
public SKDProjectScenarioRemote getProjectScenario(java.lang.String cronTaskName) throws MXException, java.rmi.RemoteException
getProjectScenario
in interface SKDProjectRemote
cronTaskName
- projectScenario
- MXException
java.rmi.RemoteException
public void removeCronTaskInstance(boolean oneTimeCron) throws MXException, java.rmi.RemoteException
removeCronTaskInstance
in interface SKDProjectRemote
MXException
java.rmi.RemoteException
com.ibm.tivoli.maximo.skd.app.SKDProject#removeCronTaskInstance()
public void removeCronTaskInstance(boolean oneTimeCron, java.lang.String cronTaskName) throws MXException, java.rmi.RemoteException
removeCronTaskInstance
in interface SKDProjectRemote
MXException
java.rmi.RemoteException
public int dynamicScheduling() throws MXException, java.rmi.RemoteException
dynamicScheduling
in interface SKDProjectRemote
MXException
java.rmi.RemoteException
dynamicScheduling()
public void assignLaborCrewFromSuggestSet(MboSetRemote emWOAvailResSet) throws MXException, java.rmi.RemoteException
assignLaborCrewFromSuggestSet
in interface SKDProjectRemote
MXException
java.rmi.RemoteException
com.ibm.tivoli.maximo.skd.app.SKDProject#assignLaborCrewFromSuggestSet()
public void updateActivityDates() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public MboSetRemote getProjectsList(MboSetRemote resultSet, java.lang.String userName) throws MXException, java.rmi.RemoteException
getProjectsList
in interface SKDProjectRemote
MXException
java.rmi.RemoteException
com.ibm.tivoli.maximo.skd.app.SKDProject#getProjectsList()
public void canCommit(java.lang.String personId) throws MXException, java.rmi.RemoteException
canCommit
in interface SKDProjectRemote
MXException
java.rmi.RemoteException
com.ibm.tivoli.maximo.skd.app.SKDProject#canCommit()
public void copyPersonsToCommPerson(MboSetRemote personSet) throws MXException, java.rmi.RemoteException
copyPersonsToCommPerson
in interface SKDProjectRemote
MXException
java.rmi.RemoteException
copyPersonsToCommPerson(MboSetRemote personSet)
public void copyGroupsToCommGroup(MboSetRemote groupSet) throws MXException, java.rmi.RemoteException
copyGroupsToCommGroup
in interface SKDProjectRemote
MXException
java.rmi.RemoteException
copyGroupsToCommGroup(MboSetRemote groupSet)
public int roll() throws MXException, java.rmi.RemoteException
roll
in interface SKDProjectRemote
MXException
java.rmi.RemoteException
roll()
public int setRollDates() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean isOptimizationInprogress() throws MXException, java.rmi.RemoteException
isOptimizationInprogress
in interface SKDProjectRemote
MXException
java.rmi.RemoteException
public long getCurrentSkdODMERunId() throws java.rmi.RemoteException
SKDProjectRemote
getCurrentSkdODMERunId
in interface SKDProjectRemote
java.rmi.RemoteException
public long setCurrentSkdODMERunId(long skdODMERunID) throws java.rmi.RemoteException
SKDProjectRemote
setCurrentSkdODMERunId
in interface SKDProjectRemote
java.rmi.RemoteException
public java.lang.String getPopulateDataObjectsWhere() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException