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. |
| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
SEPARATOR_TOKEN |
onListTab, statusChangeButtonSigoption, targetStatusOptionMULTILANGCOPY, phantomList, phantomQueueCAPPLAN, CAPPLANTYPE, CPS, CPSTYPE, LABORMOD, LABORMODTYPE, MANUAL, MANUALTYPE, RESLEVEL, RESLEVELTYPE, SPATIAL, SPATIALTYPEALLROWS, 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.
|
protected java.util.Date |
addMonths(int addMonths,
java.util.Date fromDate)
Calculates a date a number of months from the given date.
|
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
|
protected java.util.Date |
addYears(int addYears,
java.util.Date fromDate)
Calculates a date a number of years from the given date.
|
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,
boolean fromCron)
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)
|
MboRemote |
getCronTaskScenario() |
long |
getCurrentSkdODMERunId()
Gets the current SKDODMERUN.SKDODMERUNID for the inprogress optimization.
|
boolean |
getDashboardByPassYesNo() |
long |
getDefaultScenarioUniqueId(java.lang.String SKDProjectName)
Get default scenario uniqueid
|
java.util.HashMap |
getEWOQuickQueryQbe()
This method is called from the emergency WOs quick query qbe bean.
|
boolean |
getFromAsync() |
java.lang.String |
getMaxSequenceName(java.lang.String tbname) |
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 |
getQuickQueryQbe()
This method is called from the quick query qbe bean.
|
int |
getRollOffset() |
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.
|
protected StatusHandler |
getStatusHandler()
Returns a status handler to change the SKDProject status.
|
protected MboSetRemote |
getStatusHistory()
Returns the SKDProjectStatusSet object.
|
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 (for Graphite Application):
When a user call this actions, a baseline of the current schedule will be created along with the date and time.
|
java.util.HashMap |
publish(boolean fromCron,
java.lang.String baseLineName,
java.lang.String baseLineDescription,
java.lang.String baseLineMemo)
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 savedQbeAttributesQuickQuery)
This method stores qbe values in the hashmap for the given skdproject (for emergency WOs).
|
void |
putQuickQueryQbe(long skdqueryid,
java.util.Hashtable 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(boolean immediately)
Roll the project to the next start date based on its schedule (start date rule)
|
boolean |
runOptimization() |
boolean |
runOptimization(UserInfo userInfo,
boolean async,
boolean immediately) |
boolean |
runOptimization(UserInfo userInfo,
long skdOdmeRunIdIn,
boolean async,
boolean immediately) |
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.
|
void |
setCronTaskScenario(MboRemote scenario) |
long |
setCurrentSkdODMERunId(long skdODMERunID)
Sets the current SKDODMERUN.SKDODMERUNID
|
void |
setDashboardByPassYesNo(boolean byPassYesNo) |
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(boolean immediately)
Roll the project to the next start date based on its schedule (start date rule)
|
void |
setRollOffset(int rolloffset) |
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) |
protected boolean |
skipCopyField(MboValueInfo mvi)
Overrides the skipCopyField() in the Mbo.
|
void |
startScheduleCompliance()
Start the Schedule Compliance
|
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 |
updateRollScheduleData() |
void |
updateTimeBasedNextDueDate()
Update the Next Schedule Compliance End Date, based on Last Compliance Start Date
|
MboRemote |
validateReadyForDashBoard() |
MboSetRemote |
validateScenario(java.lang.String projectName,
java.lang.String scenarioName,
java.lang.String scenarioType)
Check if Scenario exists.
|
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, statusToOptionNameaddMboSetForRequiredCheck, addToDeleteForInsertList, andEvaluateConditions, blindCopy, checkFieldAccess, checkMethodAccess, checkMethodAccess, checkQualifiedRestriction, checkRecordLock, checkSiteOrgAccessForSave, clear, clearRelatedSets, clearRelatedSets, commit, copy, copy, copy, copyFake, copyValue, copyValue, createComm, delete, deleteDoclinks, 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, getMboSetInfo, getMboValue, getMboValueData, getMboValueData, getMboValueData, getMboValueDataForDownload, getMboValueInfoStatic, getMboValueInfoStatic, getMessage, getMessage, getMessage, getMessage, getMXTransaction, getName, getOrgForGL, getOrgSiteForMaxvar, getOwner, getProfile, getPropagateKeyFlag, getProxy, getRecordIdentifer, getRecordMboName, getRecordType, getRelatedSets, getRelatedWhere, getRelatedWhere, getRelationshipNameToLangTable, getResourceName, getRowRestrictionFlag, getRowStamp, getRowStampObject, getSecurityLogger, getSiteOrg, getSqlLogger, getString, getString, getStringInBaseLanguage, getStringInSpecificLocale, getStringTransparent, getSynonymValueWhere, getTenantId, getTenantIdForNoMboRecordData, getThisMboSet, getTranslator, getUniqueIdentifer, getUniqueIDName, getUniqueIDValue, getUniqueLanguageIDRecord, getUserInfo, getUserName, getValidateOrder, hasFieldAccess, hasHierarchyLink, hasLockSaveRights, hasRelatedQbe, hasUniqueID, initFieldFlagsOnMbo, initRelationship, isApiBatchError, isAppLockEnabled, isAutoKeyed, isBasedOn, isChangeByUserWhenSetFromLookup, isDuringInit, 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, setDatabaseDefaultValues, setDatabaseDefaultValues, setDefaultValue, setDefaultValues, setDeleted, setDuringInit, 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, setRecordType, setReferencedMbo, setReferencedMbo, setResolveNoSqlWhere, setResourceName, setTenantIdForNoMboRecordData, 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, sigopGranted, sigOptionAccessAuthorized, smartFill, smartFind, smartFind, smartFind, smartFindByObjectName, smartFindByObjectName, smartFindByObjectNameDirect, startCheckpoint, thisToBeUpdated, throwRequiredException, toBeAdded, toBeDeleted, toBeSaved, toBeUpdated, toBeValidated, undelete, undeleteDoclinks, unlock, unselect, useDataSecurity, validate, validateAttributes, validateKeyUniqueness, valueChangedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcanChangeMaxStatus, canChangeStatus, canChangeStatus, canDeleteAttachedDocs, changeMaxStatus, changeMaxStatus, changeStatus, changeStatus, changeStatus, checkForOpenStatus, getInternalStatus, getOnListTab, getOverridePVStatusException, getStatusChangeButtonSigoption, getStatusList, getTargetStatusOption, getValidStatusList, setOnListTab, setOverridePVStatusException, setStatusChangeButtonSigoption, setTargetStatusOptionaddMboSetForRequiredCheck, 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, smartFind, smartFindByObjectName, smartFindByObjectName, smartFindByObjectNameDirect, startCheckpoint, thisToBeUpdated, toBeAdded, toBeDeleted, toBeSaved, toBeUpdated, toBeValidated, undelete, unlock, unselect, validate, validateAttributesprotected static final java.lang.String SEPARATOR_TOKEN
public SKDProject(MboSet ms) throws java.rmi.RemoteException
ms - MboSetjava.rmi.RemoteExceptionpublic void setAssetLocWhere(java.lang.String key,
java.lang.String where)
throws MXException,
java.rmi.RemoteException
setAssetLocWhere in interface SKDProjectRemotekey - (name|objectname|queryname and wherecondition)MXExceptionjava.rmi.RemoteExceptioncom.ibm.tivoli.maximo.skd.app.SKDProject#setAssetLocWhere()public java.lang.String getAssetLocWhere(java.lang.String key)
throws MXException,
java.rmi.RemoteException
getAssetLocWhere in interface SKDProjectRemotekey - (name|objectname|queryname)MXExceptionjava.rmi.RemoteExceptioncom.ibm.tivoli.maximo.skd.app.SKDProject#getAssetLocWhere()public void init()
throws MXException
init in class Mbonone - MXExceptionpublic void updateProjectData()
throws MXException,
java.rmi.RemoteException
updateProjectData in interface SKDProjectRemoteMXException, - RemoteExceptionMXExceptionjava.rmi.RemoteExceptionSKDProject.updateProjectData()public void save()
throws MXException,
java.rmi.RemoteException
save in class StatefulMboMXException, - RemoteExceptionMXExceptionjava.rmi.RemoteExceptionpublic void add()
throws MXException,
java.rmi.RemoteException
add in interface MboRemoteadd in class Mbonone - MXException, - RemoteExceptionMXExceptionjava.rmi.RemoteExceptionpublic void setCalendarDates()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic java.lang.String originalAppName(java.lang.String appName)
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void dupSchedulerProject(MboRemote selectedproject) throws MXException, java.rmi.RemoteException
MXException, - RemoteExceptionMXExceptionjava.rmi.RemoteExceptionprotected boolean skipCopyField(MboValueInfo mvi) throws java.rmi.RemoteException, MXException
skipCopyField in class MboThe - MboValueInfo object of the MboValue that needs to be copied.MXExceptionjava.rmi.RemoteExceptionSKDProject.loadSkipFieldCopyHashSet()public MboRemote duplicate() throws MXException, java.rmi.RemoteException
Related objects that will also be duplicated are:
duplicate in interface MboRemoteduplicate in class MboMXExceptionjava.rmi.RemoteExceptionpsdi.mbo.Mbo#isAutoKeyed.public void delete(long accessModifier)
throws MXException,
java.rmi.RemoteException
delete in interface MboRemotedelete in class MboaccessModifier - 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.MXExceptionjava.rmi.RemoteExceptionSKDProject.delete(long)public void canDelete()
throws MXException,
java.rmi.RemoteException
canDelete in class MboMXExceptionjava.rmi.RemoteExceptionMXApplicationExceptionpublic void modify()
throws MXException,
java.rmi.RemoteException
modify in class MboMXExceptionjava.rmi.RemoteExceptionpublic void setFromAsync(boolean flag)
public boolean getFromAsync()
public boolean isProjectDataModified()
throws MXException,
java.rmi.RemoteException
isProjectDataModified in interface SKDProjectRemoteMXExceptionjava.rmi.RemoteExceptionSKDProject.isProjectDataModified()public void appValidate()
throws MXException,
java.rmi.RemoteException
appValidate in class MboMXExceptionjava.rmi.RemoteExceptionpublic MboRemote validateReadyForDashBoard() throws MXException, java.rmi.RemoteException
validateReadyForDashBoard in interface SKDProjectRemoteMXExceptionjava.rmi.RemoteExceptionSKDProject.validateReadyForDashBoard()public void startScheduleCompliance()
throws MXException,
java.rmi.RemoteException
startScheduleCompliance in interface SKDProjectRemoteMXExceptionjava.rmi.RemoteExceptionSKDProject.startScheduleCompliance()public void startScheduleCompliance(MboSetRemote skdActivitySet, SKDProjectRemote skdProject, java.util.Date compstart, java.util.Date compend) throws MXException, java.rmi.RemoteException
startScheduleCompliance in interface SKDProjectRemoteMXExceptionjava.rmi.RemoteExceptionSKDProject.startScheduleCompliance()public void endScheduleCompliance(SKDProjectRemote skdProject, java.util.Date compend, boolean fromCron) throws MXException, java.rmi.RemoteException
endScheduleCompliance in interface SKDProjectRemoteMXExceptionjava.rmi.RemoteExceptioncom.ibm.tivoli.maximo.skd.app.SKDProject#endScheduleCompliance()public void setNextDueDate()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void updateNextStartAndEndDate()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void updateTimeBasedNextDueDate()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionprotected java.util.Date addMonths(int addMonths,
java.util.Date fromDate)
throws MXException,
java.rmi.RemoteException
addMonths - Number of months to add to the date.fromDate - The date to add the months to.MXExceptionjava.rmi.RemoteExceptionSKDProject.getNextDate(java.util.Date)protected java.util.Date addYears(int addYears,
java.util.Date fromDate)
addYears - Number of years to add to the date.fromDate - The date to add the years to.MXExceptionjava.rmi.RemoteExceptionSKDProject.getNextDate(java.util.Date)protected StatusHandler getStatusHandler()
getStatusHandler in class StatefulMboprotected MboSetRemote getStatusHistory() throws MXException, java.rmi.RemoteException
getStatusHistory in class StatefulMboMXExceptionjava.rmi.RemoteExceptionpublic java.lang.String getStatusListName()
getStatusListName in interface StatefulMboRemotegetStatusListName in class StatefulMbopublic void publish()
throws MXException,
java.rmi.RemoteException
publish in interface SKDProjectRemoteMXException, - RemoteExceptionMXExceptionjava.rmi.RemoteExceptionSKDProject.publish()public java.util.HashMap publish(boolean fromCron,
java.lang.String baseLineName,
java.lang.String baseLineDescription,
java.lang.String baseLineMemo)
throws MXException,
java.rmi.RemoteException
publish in interface SKDProjectRemoteMXException, - RemoteExceptionMXExceptionjava.rmi.RemoteExceptionSKDProject.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 SKDProjectRemoteMXException, - RemoteExceptionMXExceptionjava.rmi.RemoteExceptioncom.ibm.tivoli.maximo.skd.app.SKDProject#createBaseLine()public long getBaseLineUniqueId()
throws java.rmi.RemoteException,
MXException
getBaseLineUniqueId in interface SKDProjectRemoteMXException, - RemoteExceptionjava.rmi.RemoteExceptionMXExceptioncom.ibm.tivoli.maximo.skd.app.SKDProject#getBaseLineRecordId()public long getDefaultScenarioUniqueId(java.lang.String SKDProjectName)
throws java.rmi.RemoteException,
MXException
getDefaultScenarioUniqueId in interface SKDProjectRemoteMXException, - RemoteExceptionjava.rmi.RemoteExceptionMXExceptioncom.ibm.tivoli.maximo.skd.app.SKDProject#getDefaultScenarioRecordId()public void setDefaultScenario(SKDProjectRemote SKDProject) throws MXException, java.rmi.RemoteException
setDefaultScenario in interface SKDProjectRemoteMXException, - RemoteExceptionMXExceptionjava.rmi.RemoteExceptioncom.ibm.tivoli.maximo.skd.app.SKDProject#setDefaultScenario()public void canPublish()
throws MXException,
java.rmi.RemoteException
canPublish in interface SKDProjectRemoteMXException, - RemoteExceptionMXExceptionjava.rmi.RemoteExceptionSKDProject.canPublish()public void canCreateScenario()
throws MXException,
java.rmi.RemoteException
canCreateScenario in interface SKDProjectRemoteMXException, - RemoteExceptionMXExceptionjava.rmi.RemoteExceptionSKDProject.canCreateScenario()public void canCreateSnapShot()
throws MXException,
java.rmi.RemoteException
canCreateSnapShot in interface SKDProjectRemoteMXException, - RemoteExceptionMXExceptionjava.rmi.RemoteExceptionSKDProject.canPublish()public void setPublishFlag(boolean publish)
throws MXException,
java.rmi.RemoteException
setPublishFlag in interface SKDProjectRemoteMXException, - RemoteExceptionMXExceptionjava.rmi.RemoteExceptioncom.ibm.tivoli.maximo.skd.app.SKDProject#setPublishFlag()public boolean getPublishFlag()
throws MXException,
java.rmi.RemoteException
getPublishFlag in interface SKDProjectRemoteMXException, - RemoteExceptionMXExceptionjava.rmi.RemoteExceptionSKDProject.getPublishFlag()public void setScenarioFlag(boolean scenario)
throws MXException,
java.rmi.RemoteException
setScenarioFlag in interface SKDProjectRemoteMXException, - RemoteExceptionMXExceptionjava.rmi.RemoteExceptioncom.ibm.tivoli.maximo.skd.app.SKDProject#setScenarioFlag()public boolean getScenarioFlag()
throws MXException,
java.rmi.RemoteException
getScenarioFlag in interface SKDProjectRemoteMXException, - RemoteExceptionMXExceptionjava.rmi.RemoteExceptionSKDProject.getScenarioFlag()public void setScenarioProjectString(MboRemote skdProject) throws MXException, java.rmi.RemoteException
MboRemote - MXException, - RemoteExceptionMXExceptionjava.rmi.RemoteExceptionpublic java.lang.String getScenarioString(MboRemote skdProject) throws MXException, java.rmi.RemoteException
MboRemote - MXException, - RemoteExceptionMXExceptionjava.rmi.RemoteExceptionpublic java.util.HashMap getQuickQueryQbe()
throws MXException,
java.rmi.RemoteException
getQuickQueryQbe in interface SKDProjectRemoteMXExceptionjava.rmi.RemoteExceptionSKDProject.getQuickQueryQbe()public void putQuickQueryQbe(long skdqueryid,
java.util.Hashtable savedQbeAttributesQuickQuery)
throws MXException,
java.rmi.RemoteException
putQuickQueryQbe in interface SKDProjectRemoteMXExceptionjava.rmi.RemoteExceptioncom.ibm.tivoli.maximo.skd.app.SKDProject#putQuickQueryQbe(long skdqueryid, Hashtable savedQbeAttributesQuickQuery) public java.util.HashMap getEWOQuickQueryQbe()
throws MXException,
java.rmi.RemoteException
getEWOQuickQueryQbe in interface SKDProjectRemoteMXExceptionjava.rmi.RemoteExceptionSKDProject.getQuickQueryQbe()public void putEWOQuickQueryQbe(long skdprojectid,
java.util.Hashtable savedQbeAttributesQuickQuery)
throws MXException,
java.rmi.RemoteException
putEWOQuickQueryQbe in interface SKDProjectRemoteMXExceptionjava.rmi.RemoteExceptioncom.ibm.tivoli.maximo.skd.app.SKDProject#putQuickQueryQbe(long skdqueryid, Hashtable savedQbeAttributesQuickQuery) public MboSetRemote validateScenario(java.lang.String projectName, java.lang.String scenarioName, java.lang.String scenarioType) throws java.rmi.RemoteException, MXException
validateScenario in interface SKDProjectRemoteMXException, - RemoteExceptionjava.rmi.RemoteExceptionMXExceptioncom.ibm.tivoli.maximo.skd.app.SKDProject#validateResourceLevelScenario()public void setScenarioType(int type)
throws MXException,
java.rmi.RemoteException
setScenarioType in interface SKDProjectRemoteMXException, - RemoteExceptionMXExceptionjava.rmi.RemoteExceptioncom.ibm.tivoli.maximo.skd.app.SKDProject#setScenarioType()public int getScenarioType()
throws java.rmi.RemoteException,
MXException
getScenarioType in interface SKDProjectRemoteMXException, - RemoteExceptionjava.rmi.RemoteExceptionMXExceptionSKDProject.getScenarioType()public void setScenarioType(java.lang.String type)
throws MXException,
java.rmi.RemoteException
setScenarioType in interface SKDProjectRemoteMXException, - RemoteExceptionMXExceptionjava.rmi.RemoteExceptionSKDProject.setScenarioType(String)public java.lang.String getScenarioTypeStr()
throws java.rmi.RemoteException,
MXException
getScenarioTypeStr in interface SKDProjectRemoteMXException, - RemoteExceptionjava.rmi.RemoteExceptionMXExceptionSKDProject.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 SKDProjectRemoteSKDProject - mbo.MXExceptionjava.rmi.RemoteExceptioncom.ibm.tivoli.maximo.skd.app.SKDProject#addSKDProjectScenario()public void deleteUncommitData()
throws MXException,
java.rmi.RemoteException
deleteUncommitData in interface SKDProjectRemoteMXExceptionjava.rmi.RemoteExceptionSKDProject.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 - MXExceptionjava.rmi.RemoteExceptionpublic boolean hasDatesBeenUpdated()
public boolean runOptimization()
throws MXException,
java.rmi.RemoteException
runOptimization in interface SKDProjectRemoteMXExceptionjava.rmi.RemoteExceptionSKDProject.runOptimization()public boolean runOptimization(UserInfo userInfo, boolean async, boolean immediately) throws MXException, java.rmi.RemoteException
runOptimization in interface SKDProjectRemoteMXExceptionjava.rmi.RemoteExceptionSKDProject.runOptimization()public boolean runOptimization(UserInfo userInfo, long skdOdmeRunIdIn, boolean async, boolean immediately) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic boolean populateOriginDestMatrix()
throws MXException,
java.rmi.RemoteException
MXException, - RemoteExceptionMXExceptionjava.rmi.RemoteExceptionpublic boolean needRefreshProject()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic 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
MXExceptionjava.rmi.RemoteExceptionpublic void gotoAssignDate(java.lang.String gotoday)
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void createCronTaskInstance(boolean oneTimeCron)
throws MXException,
java.rmi.RemoteException,
java.text.ParseException
createCronTaskInstance in interface SKDProjectRemoteMXExceptionjava.rmi.RemoteExceptionjava.text.ParseExceptioncom.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 SKDProjectRemoteMXExceptionjava.rmi.RemoteExceptionjava.text.ParseExceptionpublic SKDProjectScenarioRemote getProjectScenario(java.lang.String cronTaskName) throws MXException, java.rmi.RemoteException
getProjectScenario in interface SKDProjectRemotecronTaskName - projectScenario - MXExceptionjava.rmi.RemoteExceptionpublic void removeCronTaskInstance(boolean oneTimeCron)
throws MXException,
java.rmi.RemoteException
removeCronTaskInstance in interface SKDProjectRemoteMXExceptionjava.rmi.RemoteExceptioncom.ibm.tivoli.maximo.skd.app.SKDProject#removeCronTaskInstance()public void removeCronTaskInstance(boolean oneTimeCron,
java.lang.String cronTaskName)
throws MXException,
java.rmi.RemoteException
removeCronTaskInstance in interface SKDProjectRemoteMXExceptionjava.rmi.RemoteExceptionpublic int dynamicScheduling()
throws MXException,
java.rmi.RemoteException
dynamicScheduling in interface SKDProjectRemoteMXExceptionjava.rmi.RemoteExceptionSKDProject.dynamicScheduling()public void assignLaborCrewFromSuggestSet(MboSetRemote emWOAvailResSet) throws MXException, java.rmi.RemoteException
assignLaborCrewFromSuggestSet in interface SKDProjectRemoteMXExceptionjava.rmi.RemoteExceptioncom.ibm.tivoli.maximo.skd.app.SKDProject#assignLaborCrewFromSuggestSet()public void updateActivityDates()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic MboSetRemote getProjectsList(MboSetRemote resultSet, java.lang.String userName) throws MXException, java.rmi.RemoteException
getProjectsList in interface SKDProjectRemoteMXExceptionjava.rmi.RemoteExceptioncom.ibm.tivoli.maximo.skd.app.SKDProject#getProjectsList()public void canCommit(java.lang.String personId)
throws MXException,
java.rmi.RemoteException
canCommit in interface SKDProjectRemoteMXExceptionjava.rmi.RemoteExceptioncom.ibm.tivoli.maximo.skd.app.SKDProject#canCommit()public void copyPersonsToCommPerson(MboSetRemote personSet) throws MXException, java.rmi.RemoteException
copyPersonsToCommPerson in interface SKDProjectRemoteMXExceptionjava.rmi.RemoteExceptionSKDProject.copyPersonsToCommPerson(MboSetRemote personSet)public void copyGroupsToCommGroup(MboSetRemote groupSet) throws MXException, java.rmi.RemoteException
copyGroupsToCommGroup in interface SKDProjectRemoteMXExceptionjava.rmi.RemoteExceptionSKDProject.copyGroupsToCommGroup(MboSetRemote groupSet)public int roll(boolean immediately)
throws MXException,
java.rmi.RemoteException
roll in interface SKDProjectRemoteMXExceptionjava.rmi.RemoteExceptioncom.ibm.tivoli.maximo.skd.app.SKDProject#roll()public int setRollDates(boolean immediately)
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic boolean isOptimizationInprogress()
throws MXException,
java.rmi.RemoteException
isOptimizationInprogress in interface SKDProjectRemoteMXExceptionjava.rmi.RemoteExceptionpublic long getCurrentSkdODMERunId()
throws java.rmi.RemoteException
SKDProjectRemotegetCurrentSkdODMERunId in interface SKDProjectRemotejava.rmi.RemoteExceptionpublic long setCurrentSkdODMERunId(long skdODMERunID)
throws java.rmi.RemoteException
SKDProjectRemotesetCurrentSkdODMERunId in interface SKDProjectRemotejava.rmi.RemoteExceptionpublic java.lang.String getPopulateDataObjectsWhere()
throws java.rmi.RemoteException,
MXException
java.rmi.RemoteExceptionMXExceptionpublic java.lang.String getMaxSequenceName(java.lang.String tbname)
throws java.rmi.RemoteException,
MXException
getMaxSequenceName in interface SKDProjectRemotejava.rmi.RemoteExceptionMXExceptioncom.ibm.tivoli.maximo.skd.app.SKDProject#getMaxSequenceName()public MboRemote getCronTaskScenario() throws java.rmi.RemoteException
getCronTaskScenario in interface SKDProjectRemotejava.rmi.RemoteExceptioncom.ibm.tivoli.maximo.skd.app.SKDProject#getCronTaskScenatio()public void setCronTaskScenario(MboRemote scenario) throws java.rmi.RemoteException
setCronTaskScenario in interface SKDProjectRemotejava.rmi.RemoteExceptioncom.ibm.tivoli.maximo.skd.app.SKDProject#getCronTaskScenatio()public void setDashboardByPassYesNo(boolean byPassYesNo)
throws MXException,
java.rmi.RemoteException
setDashboardByPassYesNo in interface SKDProjectRemoteMXExceptionjava.rmi.RemoteExceptioncom.ibm.tivoli.maximo.skd.app.SKDProject#setDashboardByPassYesNo()public boolean getDashboardByPassYesNo()
throws MXException,
java.rmi.RemoteException
getDashboardByPassYesNo in interface SKDProjectRemoteMXExceptionjava.rmi.RemoteExceptionSKDProject.getDashboardByPassYesNo()public void setRollOffset(int rolloffset)
throws MXException,
java.rmi.RemoteException
setRollOffset in interface SKDProjectRemoteMXExceptionjava.rmi.RemoteExceptioncom.ibm.tivoli.maximo.skd.app.SKDProject#setRollOffset()public int getRollOffset()
throws MXException,
java.rmi.RemoteException
getRollOffset in interface SKDProjectRemoteMXExceptionjava.rmi.RemoteExceptionSKDProject.getRollOffset()public void updateRollScheduleData()
throws MXException,
java.rmi.RemoteException
updateRollScheduleData in interface SKDProjectRemoteMXExceptionjava.rmi.RemoteExceptionSKDProject.updateRollScheduleData()