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, 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.
|
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, statusToOptionName
addMboSetForRequiredCheck, 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, valueChanged
clone, equals, finalize, 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, smartFind, smartFindByObjectName, smartFindByObjectName, smartFindByObjectNameDirect, startCheckpoint, thisToBeUpdated, toBeAdded, toBeDeleted, toBeSaved, toBeUpdated, toBeValidated, undelete, unlock, unselect, validate, validateAttributes
protected static final java.lang.String SEPARATOR_TOKEN
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
SKDProject.updateProjectData()
public void save() throws MXException, java.rmi.RemoteException
save
in class StatefulMbo
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
protected boolean skipCopyField(MboValueInfo mvi) throws java.rmi.RemoteException, MXException
skipCopyField
in class Mbo
The
- MboValueInfo object of the MboValue that needs to be copied.MXException
java.rmi.RemoteException
SKDProject.loadSkipFieldCopyHashSet()
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
SKDProject.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
SKDProject.isProjectDataModified()
public void appValidate() throws MXException, java.rmi.RemoteException
appValidate
in class Mbo
MXException
java.rmi.RemoteException
public MboRemote validateReadyForDashBoard() throws MXException, java.rmi.RemoteException
validateReadyForDashBoard
in interface SKDProjectRemote
MXException
java.rmi.RemoteException
SKDProject.validateReadyForDashBoard()
public void startScheduleCompliance() throws MXException, java.rmi.RemoteException
startScheduleCompliance
in interface SKDProjectRemote
MXException
java.rmi.RemoteException
SKDProject.startScheduleCompliance()
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
SKDProject.startScheduleCompliance()
public void endScheduleCompliance(SKDProjectRemote skdProject, java.util.Date compend, boolean fromCron) 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
protected 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.MXException
java.rmi.RemoteException
SKDProject.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.MXException
java.rmi.RemoteException
SKDProject.getNextDate(java.util.Date)
protected StatusHandler getStatusHandler()
getStatusHandler
in class StatefulMbo
protected MboSetRemote getStatusHistory() throws MXException, java.rmi.RemoteException
getStatusHistory
in class StatefulMbo
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
SKDProject.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 SKDProjectRemote
MXException,
- RemoteExceptionMXException
java.rmi.RemoteException
SKDProject.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
SKDProject.canPublish()
public void canCreateScenario() throws MXException, java.rmi.RemoteException
canCreateScenario
in interface SKDProjectRemote
MXException,
- RemoteExceptionMXException
java.rmi.RemoteException
SKDProject.canCreateScenario()
public void canCreateSnapShot() throws MXException, java.rmi.RemoteException
canCreateSnapShot
in interface SKDProjectRemote
MXException,
- RemoteExceptionMXException
java.rmi.RemoteException
SKDProject.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
SKDProject.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
SKDProject.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 getQuickQueryQbe() throws MXException, java.rmi.RemoteException
getQuickQueryQbe
in interface SKDProjectRemote
MXException
java.rmi.RemoteException
SKDProject.getQuickQueryQbe()
public void putQuickQueryQbe(long skdqueryid, java.util.Hashtable 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 getEWOQuickQueryQbe() throws MXException, java.rmi.RemoteException
getEWOQuickQueryQbe
in interface SKDProjectRemote
MXException
java.rmi.RemoteException
SKDProject.getQuickQueryQbe()
public void putEWOQuickQueryQbe(long skdprojectid, java.util.Hashtable 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 MboSetRemote validateScenario(java.lang.String projectName, java.lang.String scenarioName, java.lang.String scenarioType) throws java.rmi.RemoteException, MXException
validateScenario
in interface SKDProjectRemote
MXException,
- RemoteExceptionjava.rmi.RemoteException
MXException
com.ibm.tivoli.maximo.skd.app.SKDProject#validateResourceLevelScenario()
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
SKDProject.getScenarioType()
public void setScenarioType(java.lang.String type) throws MXException, java.rmi.RemoteException
setScenarioType
in interface SKDProjectRemote
MXException,
- RemoteExceptionMXException
java.rmi.RemoteException
SKDProject.setScenarioType(String)
public java.lang.String getScenarioTypeStr() throws java.rmi.RemoteException, MXException
getScenarioTypeStr
in interface SKDProjectRemote
MXException,
- RemoteExceptionjava.rmi.RemoteException
MXException
SKDProject.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
SKDProject.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() throws MXException, java.rmi.RemoteException
runOptimization
in interface SKDProjectRemote
MXException
java.rmi.RemoteException
SKDProject.runOptimization()
public boolean runOptimization(UserInfo userInfo, boolean async, boolean immediately) throws MXException, java.rmi.RemoteException
runOptimization
in interface SKDProjectRemote
MXException
java.rmi.RemoteException
SKDProject.runOptimization()
public boolean runOptimization(UserInfo userInfo, long skdOdmeRunIdIn, boolean async, boolean immediately) 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
SKDProject.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
SKDProject.copyPersonsToCommPerson(MboSetRemote personSet)
public void copyGroupsToCommGroup(MboSetRemote groupSet) throws MXException, java.rmi.RemoteException
copyGroupsToCommGroup
in interface SKDProjectRemote
MXException
java.rmi.RemoteException
SKDProject.copyGroupsToCommGroup(MboSetRemote groupSet)
public int roll(boolean immediately) throws MXException, java.rmi.RemoteException
roll
in interface SKDProjectRemote
MXException
java.rmi.RemoteException
com.ibm.tivoli.maximo.skd.app.SKDProject#roll()
public int setRollDates(boolean immediately) 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
public java.lang.String getMaxSequenceName(java.lang.String tbname) throws java.rmi.RemoteException, MXException
getMaxSequenceName
in interface SKDProjectRemote
java.rmi.RemoteException
MXException
com.ibm.tivoli.maximo.skd.app.SKDProject#getMaxSequenceName()
public MboRemote getCronTaskScenario() throws java.rmi.RemoteException
getCronTaskScenario
in interface SKDProjectRemote
java.rmi.RemoteException
com.ibm.tivoli.maximo.skd.app.SKDProject#getCronTaskScenatio()
public void setCronTaskScenario(MboRemote scenario) throws java.rmi.RemoteException
setCronTaskScenario
in interface SKDProjectRemote
java.rmi.RemoteException
com.ibm.tivoli.maximo.skd.app.SKDProject#getCronTaskScenatio()
public void setDashboardByPassYesNo(boolean byPassYesNo) throws MXException, java.rmi.RemoteException
setDashboardByPassYesNo
in interface SKDProjectRemote
MXException
java.rmi.RemoteException
com.ibm.tivoli.maximo.skd.app.SKDProject#setDashboardByPassYesNo()
public boolean getDashboardByPassYesNo() throws MXException, java.rmi.RemoteException
getDashboardByPassYesNo
in interface SKDProjectRemote
MXException
java.rmi.RemoteException
SKDProject.getDashboardByPassYesNo()
public void setRollOffset(int rolloffset) throws MXException, java.rmi.RemoteException
setRollOffset
in interface SKDProjectRemote
MXException
java.rmi.RemoteException
com.ibm.tivoli.maximo.skd.app.SKDProject#setRollOffset()
public int getRollOffset() throws MXException, java.rmi.RemoteException
getRollOffset
in interface SKDProjectRemote
MXException
java.rmi.RemoteException
SKDProject.getRollOffset()
public void updateRollScheduleData() throws MXException, java.rmi.RemoteException
updateRollScheduleData
in interface SKDProjectRemote
MXException
java.rmi.RemoteException
SKDProject.updateRollScheduleData()