public class PM extends StatefulMbo implements PMRemote, LinkedMboRemote, AncMbo
This is a site level object.
The key attributes for this object are SiteId and Pmnum.
The attributes in this object are as follows:
Attribute Name | Description |
---|---|
AdjNextDue | A boolean flag that indicates whether the extdate will be used for calculating the next due date for the generation of workorders from this PM. |
AlertLead | Acceptable period (in days), prior to the PM due date, during which the PM may be performed. |
Assetnum | Identifier of the asset associated with this PM. Foreign Key to Assetnum .
|
Calendar | Calendar to determine shift work is to be done on. Foreign key to Calendar
|
ChangeBy, ChangeDate | Name of the user who last updated this object and date of last change. |
CrewId | Identifies the crew which is assigned to the workorders generated by this PM. |
Description | Description of the PM. |
DownTime | A boolean field that indicates whether the asset has to be down or not to perform the work. |
ERLSTWOGENDATE | It is a non-persistant attribute. Earliest Next Work Order Generation Date |
ExtDate | Identifier of the date that overrides the PM's next due date for generating the workorders. |
FirstDate | Idenfier of the First start date when the workorder is generated from this PM. This initiates the PM work generation cycle. |
Frequency | Identifies the number of time units to elapse between the workorders generated from PM. The time units can be Days, Weeks, Months or Years. |
FreqUnit | The time units for the frequency attribute. |
Friday | Indicates whether Friday is a active Day for a PM. |
GLAccount | The account which will be charged for the costs on the workorders generated from this PM. |
HasChildren | A boolean flag that indentifies whether this PM has any child PM or not. |
Interruptible | A boolean field that indicates whether work orders generated by this PM can be interrupted or not when they are in progress. This information will be copied from the first jobplan in the sequence on this PM. |
Jpnum | The jobplan which will be assigned to the work oder generated by this PM. |
JpSeqInUse | A boolean field that indicates whether the PM uses a jobplan sequnce or not. |
LastCompDate | Indicates the completion date of the last workorder generated from this PM. |
LastMeterDate | Indicates the date of Meter Reading at last WorkOrder generation. |
LastStartDate | Indicates the date on which the last workorder generated from this PM was scheduled to start. This date gets copied over to all workoders which are generated from this PM. |
LDKey | Long Description Key. This is a link to text stored in the LongDescription table. |
Lead | This defines the lead laborer for the work order created by this PM. |
LeadTime | Identifies the number of days in advance of the next due date when this PM generates the work orders. |
LeadTimeActive | Non-persistent attribute that specifies whether LeadTime can be applied to PM for generating the work orders. |
Location | Identifies the location where the work will be done when workorders are generated by this PM. |
MasterPM | Identifies the master PM which can be used as template to create associated PM records. |
Monday | Indicates whether Monday is a active Day for a PM. |
NextDate | The date on which the next work order will be generated by this PM. |
OrgId | Identifier of the organization for this PM.
|
OverrideMasterUpd | A boolean field that indicates whether this PM's schedule information can be updated by its Master or not. |
Owner | The person who will be responsible for the work order created with this PM. |
OwnerGroup | The person group who will be responsible for the work order created with this PM. |
Parent | Identifier of the Parent for a given PM. |
ParentChgsStatus | Flags whether the parent of this generated work order should change this generated work order's status. |
PersonGroup | Persongroup identifier. |
PmActMeter | A boolean field that indicates whether work orders can be generated based on absolute meter reading. |
PMCounter | Identifier of the number of work orders generated from a PM. |
PMAssetWogen | A boolean field that indicates whether work orders will be generated automatically when PM meter frequency is reached, due to the updates to the asset's meter reading. |
PMNum | Identifier for the Preventive Maintenance record. |
Priority | Identifies the priority level used by the system when scheduling the work orders generated from this PM. |
Identifier of the route that is associated with a PM. | |
Saturday | Indicates whether Saturday is a active Day for a PM. |
SiteId | Identifier of the site for the PM.
|
Status | Indicates status of a PM. |
StoreLoc | Identifies the storeroom to get materials from, if the storeroom is not specified on the Job Plan Materials. |
StoreLocSite | Identifies the storeroom's site to get materials from. |
Sunday | Indicates whether Sunday is a active Day for a PM. |
Supervisor | Identifier of the person responsible for implementing the work order. This information will be copied from the first jobplan in the sequence on this PM. |
Thursday | Indicates whether Thursday is a active Day for a PM. |
Tuesday | Indicates whether Tuesday is a active Day for a PM. |
UpdExtDate | A boolean field that indicates whether the Master PM updates extended date and adjust next due date fields on the associated PM records or not. |
UseFrequency | A boolean field that indicates whether this PM has frequency criteria to decide the next work order generation date. |
UseTargetDate | A boolean field that indicates which date begins the PM Frequency Count. If this is set to 'True', the measurement of time between the work order generation from thisPM will begin at 'LastStartDate'. If this is 'false',the measurement will begin at 'LastCompDate'. |
Wednesday | Indicates whether Wednesday is a active Day for a PM. |
WorkType | Type of the work order that will be generated from a PM. |
WOSequence | The sequence number of work orders generated by the PM. |
WoStatus | The status of the work orders generated by the PM. |
InclForecast | Indicates if this PM should be included in the forecast |
LTDPMCounter | Identifier of the number of work orders generated from a PM. Life to Date counter cannot be reset. |
PMEQ1 through PMEQ3 | Extra Fields. |
Modifier and Type | Field and Description |
---|---|
static int |
DELETEREFORECASTCANCEL |
static int |
DELETEREFORECASTLATER |
static int |
DELETEREFORECASTNA |
static int |
DELETEREFORECASTNOW |
boolean |
existingReforecast |
boolean |
forecastFlag
Flag indicates if it is PM forecast
|
static java.lang.String |
GENERATING_WORK
This is a bullentin board key indicating that this thread is generating a work order.
|
boolean |
inViewJpSequence |
static java.lang.String |
PLUSCAPPNAME |
boolean |
pmForecastNonEditable |
Mbo |
pmForecastWithRegenerate |
static int |
REFORECASTCANCEL |
static int |
REFORECASTLATER |
static int |
REFORECASTNA |
static int |
REFORECASTNOW |
onListTab, statusChangeButtonSigoption, targetStatusOption
MULTILANGCOPY, phantomList, phantomQueue
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
Modifier and Type | Method and Description |
---|---|
void |
add()
Sets default values for a new PM object.
|
java.util.Date |
addJobPlanDuration(java.util.Date dueDate,
MboRemote retWOGen) |
void |
addPlusCPMExtDate(boolean setPrevDate,
java.util.Date extdate,
boolean hasToSave,
java.lang.String comments)
Add a new register to PLUSCPMEXTDATE table.
|
void |
addPlusCPMExtDate(boolean setPrevDate,
java.util.Date extdate,
boolean hasToSave,
java.lang.String comments,
java.lang.String commentsLD)
Add a new register to PLUSCPMEXTDATE table.
|
void |
AddPMForecastJPRecord(java.lang.String rootancestor,
MboRemote cancelledWO) |
void |
appValidate()
This method will be called just before save() in order to make sure it is a valid PM record.
|
MboSetRemote |
calculateWork(boolean useFreqCrit,
java.util.Date generateUntil)
Generate work orders for this PM, but do not save them.
|
MboSetRemote |
calcWork(boolean useFreqCrit,
int leadTime)
Calculates what work orders would be generated if generateWork was called.
|
boolean |
canAddPMExtDate()
Allow extdate to be overrided depending on PLUSCEXTDATE maxvar value.
|
void |
canDelete()
Method that checks whether a PM can be deleted or not.
|
boolean |
canDeleteForecast(java.lang.String message) |
boolean |
canDeleteForecast(java.lang.String message,
MboValue fieldValue) |
void |
canDeletePMForecast() |
boolean |
canDisplayForecast() |
void |
canGenerateChildPMForecast() |
int |
canGenerateForecastWork(boolean useFreqCrit) |
void |
canGenerateWork()
Determines if the user can generate work orders.
|
void |
canLockUnlockChildPMForecast() |
void |
canOverride() |
boolean |
canReforecast() |
void |
canReforecastForUntilDate(java.util.Date lastForecastDate,
java.util.Date untilDate) |
int |
canReforecastSubsequentDates(PMForecast newDatePMForecast) |
boolean |
canUpdateForecastJobPlans() |
void |
canViewJpSequence()
Method to find whether jobplan sequence can be viewed or not.
|
void |
changeStatus(java.lang.String status,
boolean rollToAllChildren) |
void |
changeStatus(java.lang.String status,
boolean rollToAllChildren,
java.util.Hashtable changedStatusPMs)
Change the status of the PM(s)
Depending on the value of check box on the Status dialog box, It will change the status of all Children
Throws interactive message in case of UI to delete the PM Hierarchy forecast if the status of the PM is changed.
|
java.util.Date |
checkDate()
Calculates the date of the next date plus the frequency.
|
void |
checkForecastForGenWork() |
boolean |
checkForOpenWO() |
java.util.Date |
checkFrequency(int frequency,
java.util.Date nextDueDate,
int unit)
Return the next date.
|
boolean |
checkJPSeq() |
java.util.Date |
checkSeason(java.util.Date origGenDate,
int totalLeadTime)
used for work order generation to check the season
|
void |
clearLinearAssetFields()
Clear all the linear asset fields.
|
void |
clearNextDueDate()
clears/sets the nextduedate (PM.Nextdate), depending on the frequency.
|
void |
clearPmDeleteForecastVector() |
void |
clearReforecast() |
void |
controlScheduleEarlyOnFreqConflictFlag(boolean reset)
Checks if Schedule Early on Frequency Conflict flag is enabled
Schedule Early on Frequency Conflict is not accessible in the following two cases: When PM Frequency < 7 Days When the PM carries a Meter-Based Frequency |
void |
copyNextJobPlan()
Whenever there is a jobplan/multiple jobplans listed for a PM, this method is
called to copy the next jobplan to be used.
|
void |
delete(long modifier)
Deletes a PM record.
|
void |
deleteForecast() |
void |
deleteForecast(java.lang.String nullValue) |
void |
deleteForecastForHierarchyChange() |
void |
deleteForecastForPMHierarchy() |
void |
deletePMForecast() |
void |
deleteSetForecast() |
MboRemote |
duplicate()
This method creates a duplicate record for PM and related objects(PMSequence).
|
boolean |
editOnlyFirstPMForecastRecord() |
void |
editPMDeleteForecast() |
void |
editPMDeleteForecast(MboValue fieldValue) |
void |
enableScheduleEarlyOnFreqConflict(boolean enable,
boolean reset) |
boolean |
forecastDateBeforeToday(MboRemote pmforecast) |
void |
generateAutoKey()
PM supports autokeying - sets the PMNUM attribute.Only allowed for newly created PMs.
|
void |
generateForecast(int genDuration)
Generates forecast records for this PM.
|
void |
generateForecast(java.lang.String genDuration)
Generates forecast records for this PM.
|
void |
generateWork(boolean useFreqCrit,
int leadTime)
Generates work orders from this PM.
|
MboSetRemote |
generateWork(boolean useFreqCrit,
int leadTime,
boolean forecast)
Generates work orders from this PM.
|
void |
generateWork(java.lang.String useFreqCritLeadTime)
Generates work orders from this PM.
|
java.util.Date |
getActiveDaysAddOn(java.util.Date dtDate) |
AssetRemote |
getAsset()
Get related asset mbo
|
java.util.Calendar |
getCalendarTime(java.util.Date date) |
boolean |
getCanDeleteForecastFlag() |
MboSetRemote |
getChildren()
Gets the MboSet representing the children of this Mbo in the hierarchy.
|
java.util.Date |
getDateWithTimeZone(java.util.Date date) |
boolean |
getDeleteForecastFlag() |
java.util.Date |
getDueDateForOpenWO(MboRemote openWo) |
java.util.Date |
getDueDateForOpenWOWithoutFrequency(MboRemote openWo) |
int |
getDurationBetweenTwoDates(java.util.Date toDate,
java.util.Date fromDate) |
int |
getDurationToForecast(MboRemote pmForecast,
MboSetRemote pmForecastSet) |
java.util.Date |
getFirstPMForecastDate() |
MboRemote |
getFirstPMForecastRecord() |
java.lang.String |
getGeneratedWonum(int priority)
Method that gets the wonum of a workorder generated by a top level PM.
|
java.lang.String[] |
getHierarchies()
For Mbos that support multiple hiearchies, this method returns the names
of all the hierarchy this Mbo is a member of.
|
void |
getJobPlanToUse()
Figures out which JobPlan to use based on the PMCounter & PMSequence records.
|
java.util.Date |
getLastPMForecastDate() |
MboRemote |
getLastPMForecastRecord() |
LocationRemote |
getLocation()
Get related Location mbo
|
java.util.Date |
getMeterNextDueDate(MboRemote pmMeter,
boolean assetMeter)
Finds the next generation date for a PMMeter.
|
java.util.Date |
getMeterNextDueDateNoForecast(MboRemote pmMeter,
boolean assetMeter)
Finds the next generation date for a PMMeter.
|
MboSetRemote |
getParents()
Gets the MboSet representing the parents of this Mbo in the hierarchy.
|
java.util.Date |
getPMDueDate(java.util.Date date,
java.lang.String calledFromFlag) |
java.util.Date |
getPMExtDate(java.util.Date date,
java.lang.String calledFromFlag) |
java.util.Date |
getPMForecastDate(java.util.Date date,
java.lang.String calledFromFlag) |
java.util.Date |
getPMLastCompDate(java.util.Date date,
java.lang.String calledFromFlag) |
java.util.Date |
getPMLastStartDate(java.util.Date date,
java.lang.String calledFromFlag) |
java.util.Date |
getPMNextDate(java.util.Date date,
java.lang.String calledFromFlag) |
java.util.Date |
getReForecastingNextDate(java.util.Date fromDate)
Calculates the ReForecasting NextDate based on the PM's day frequency and the passed on fromDate.
|
java.lang.String |
getStatusListName()
Return the string "ACTUALASSETSTATUS".
|
java.util.Date |
getTargStartDate(java.util.Date date,
java.lang.String calledFromFlag) |
java.util.Date |
getTimeDate()
calculates the time based Due Date for work order generation.
|
MboSetRemote |
getTop()
Gets the MboSet representing top-level Mbos above this Mbo in the hierarchy.
|
int |
getUserChoiceForReforecast() |
java.lang.String |
getWorkType()
Returns this workorder's WORKTYPE TYPE attribute value, converted to the
internal (not translated) representation.
|
java.lang.String |
getWorkTypeCal()
Returns the value of the PLUSCWORKTYPECAL maxvar, which determines the
type of worktype that marks a workorder a calibration.
|
boolean |
hasChildren()
Indicates that this Mbo has Mbos underneath it in the hierarchy
|
boolean |
hasForecast()
Indicates if the PM has forecast.
|
boolean |
hasParents()
Indicates that this Mbo is owned by another Mbo in the hierarchy.
|
boolean |
includeInForecast() |
void |
init()
Initialize the PM object.
|
void |
initFieldFlagsOnMbo(java.lang.String attrName)
The logic of setting the readonly and required field flags to the mbo.
|
boolean |
isCalibrationInstalled()
Return true if License Key CALIBRATION is installed.
|
boolean |
isChangeByUserWhenSetFromLookup(java.lang.String lookupAttrName,
java.lang.String attributeName)
Indicates whether the CHANGEDBY_USER flag should be set
for attributes on this Mbo when their values are set
(along with other key fields) via lookup.
|
boolean |
isFirstForecastRecord(PMForecast pmForecast) |
boolean |
isFrequencyValidForEarlySchedConflict()
Check if PM.Frequency value is valid for Early Schedule Conflicts
Rule: Must be greater then 7 days to be valid
|
boolean |
isFrequencyValidForEarlySchedConflict(long frequency)
Check if a given Frequency value is valid for Early Schedule Conflicts
Rule: Must be greater then 7 days to be valid
|
boolean |
isListSelected()
Checks if is list selected.
|
boolean |
isReforecastPending() |
boolean |
isTop()
This method indicates if the Mbo is at the top level of a hierarchy.
|
void |
lockUnlockForecast(boolean lockForecast) |
void |
modify()
The first time a field of a PM object is modified, the ChangeBy & ChangeDate attributes are updated.
|
boolean |
onSKDPMListTab() |
void |
reforecastSubsequentDates() |
void |
reforecastSubsequentDates(MboRemote newDatePMForecast,
MboSetRemote pmForecastSet) |
void |
reforecastSubsequentDates(PMForecast newDatePMForecast) |
void |
reforecastSubsequentDates(java.lang.String nullValue) |
int |
regenerateForecast(java.lang.String message) |
void |
resetlastPMForecastRecord() |
void |
rolldownFieldValueToChildrens(java.lang.String fieldname,
java.lang.String fieldvalue,
long accessModifier) |
void |
rolldownInclForecastFlagToChildren(boolean torf) |
void |
rolldownLockForecastFlagToChildren(boolean torf) |
void |
save()
Saves the PM record.
|
void |
setCanDeleteForecastFlag(boolean flag) |
void |
setDeleteForecastFlag(boolean flag) |
void |
setEarliestNextDueDate()
Set the Earliest next work order generation date.
|
void |
setLinearAssetFieldsReadOnly(boolean readonlystate)
Set the linear asset fields as a group to ReadOnly or not.
|
void |
setListSelected(boolean isListSelected)
Sets the list selected.
|
void |
setNextDueDate()
updates/sets the nextdate when necessary.
|
void |
setOnSKDPMListTab(boolean listTab) |
void |
setPMCounter(int count)
updates/sets the pmcounter to the specified value.
|
int |
setPMForReForecast(PM tempPM,
int genDuration) |
void |
setPMForReforecastSubsequentDates(java.util.Date newDate) |
void |
setUserChoiceForReforecast(int userChoiceForReforecast) |
void |
throwForecastWarning(MXException exception) |
boolean |
throwOKCANCELMessage(java.lang.String message) |
boolean |
truncateHierarchy(boolean forecast)
Determines if this PM and hierarchy below it can be included in the forecast.
|
void |
updateForecastJobPlans() |
void |
updateForecastUponCancellation(MboRemote cancelledWO)
Update the PM forecast records and LTDPMCounter when a work order generated by the PM is cancelled.
|
void |
updateJpSeqInUse()
sets/clears the 'jpseqinuse' attribute depending on the pmsequence record
when the PM has multiple jobplans listed, or a single jobplan with interval greater than 1, the 'jpseqinuse' flag is set. When the PM doesnot have any jobplan in use, the 'jpseqinuse' flag is cleared. |
void |
updateTimeBasedNextDueDate()
Updates the PM.NEXTDATE when necessary.
|
void |
updateUponCancellation(MboRemote cancelledWO)
This method is used to update the nextdate of PM when a work order generated by the PM is
cancelled.
|
void |
updateUponCompletion(MboRemote completedWO)
Updates the PM record when the work order is completed.
|
void |
validateAssetLoc(boolean newAssetNum,
boolean newLocation)
validates the assetnum and location.
|
void |
validateMetersinMasterPM(java.lang.String assetnum,
java.lang.String location,
java.lang.String masterpm)
Validate all meters defined in the MasterPM for a given PM that accept updates from MasterPM.
|
void |
validateTimeBasedFreq(double frequency)
Validate time based frequency based on the frequncy units provided
|
MboSetRemote |
viewJpSequence()
Method to show a projected list of the job plan sequencing for a PM.
|
void |
woCancel(WORemote newWO)
Wo cancel.
|
canChangeMaxStatus, canChangeStatus, canChangeStatus, canChangeStatus, canDeleteAttachedDocs, changeMaxStatus, changeMaxStatus, changeStatus, changeStatus, changeStatus, checkForOpenStatus, checkStatusChangeAuthorization, 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, generateContentUID, getAlwaysFlags, getAttrRestrictionFlag, getAttrRestrictions, getBoolean, getByte, getBytes, getCheckpoint, getClientLocale, getClientTimeZone, getCommLogOwnerNameAndUniqueId, getCondition, getDatabaseValue, getDate, getDeleteForInsertList, getDocLinksCount, getDomainFilterWhere, getDomainIDs, getDouble, getExistingMboSet, getFetchIndex, getFieldExceptions, getFlags, getFloat, getIgnoreLockCheck, getInitialValue, getInsertCompanySetId, getInsertItemSetId, getInsertOrganization, getInsertSite, getInstanciatedMboSet, getInstanciatedMboValue, getInt, getIntegrationService, getKeyValue, getLanguageRecordRowStamp, getLinesRelationship, getList, getLockedByDisplayName, getLockedByUserID, getLong, getMatchingAttr, getMatchingAttr, getMatchingAttrs, getMaxMessage, getMboData, getMboDataSet, getMboForAttribute, getMboForAttributeStatic, getMboInitialValue, getMboList, getMboLogger, getMboRecordData, getMboServer, getMboSet, getMboSet, getMboSet, getMboSetInfo, getMboValue, getMboValueData, getMboValueData, getMboValueData, getMboValueInfoStatic, getMboValueInfoStatic, getMessage, getMessage, getMessage, getMessage, getMXTransaction, getName, getOrgForGL, getOrgSiteForMaxvar, getOwner, getProfile, getPropagateKeyFlag, getProxy, getRecordIdentifer, getRecordMboName, getRelatedWhere, getRelatedWhere, getRelationshipNameToLangTable, getRowRestrictionFlag, getRowStamp, getSecurityLogger, getSiteOrg, getSqlLogger, getString, getString, getStringInBaseLanguage, getStringInSpecificLocale, getStringTransparent, getSynonymValueWhere, getTenantId, getThisMboSet, getTranslator, getUniqueIdentifer, getUniqueIDName, getUniqueIDValue, getUserInfo, getUserName, getValidateOrder, hasFieldAccess, hasHierarchyLink, hasLockSaveRights, hasRelatedQbe, hasUniqueID, initRelationship, isAutoKeyed, isBasedOn, isEAuditFieldModified, isESigFieldModified, isFlagSet, isForDM, isLocked, isLocked, isLockedByMe, isMasterTenant, isMboLockedByMe, isModified, isModified, isNew, isNull, isOptionGranted, isSelected, isSkipCopyField, isValid, isZombie, lock, moveFieldFlagsToMboValue, needCallInitFieldFlag, orEvaluateConditions, propagateKeyValue, removeRelatedSet, rollbackToCheckpoint, select, setAppDefaultValue, setApplicationError, setApplicationRequired, setAutokeyFields, setCopyDefaults, setDefaultValue, setDefaultValues, setDeleted, setEAuditFieldModified, setESigFieldModified, setFetchIndex, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlags, setFlag, setFlag, setFlags, setForDM, setHierarchyLink, setIgnoreRecordLockCheck, setLangCodeDefault, setMLValue, setModified, setNewMbo, setPropagateKeyFlag, setPropagateKeyFlag, setProxy, setReadonlyWhenParentIsReadonly, setReferencedMbo, setReferencedMbo, 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
addMboSetForRequiredCheck, addToDeleteForInsertList, blindCopy, checkMethodAccess, clear, copy, copy, copy, copyFake, copyValue, copyValue, createComm, delete, evaluateCondition, evaluateCtrlConditions, evaluateCtrlConditions, excludeObjectForPropagate, 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, 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 static final java.lang.String PLUSCAPPNAME
public boolean existingReforecast
public static final java.lang.String GENERATING_WORK
public boolean forecastFlag
public boolean inViewJpSequence
public boolean pmForecastNonEditable
public Mbo pmForecastWithRegenerate
public static int REFORECASTNA
public static int REFORECASTNOW
public static int REFORECASTLATER
public static int REFORECASTCANCEL
public static int DELETEREFORECASTNA
public static int DELETEREFORECASTNOW
public static int DELETEREFORECASTLATER
public static int DELETEREFORECASTCANCEL
public PM(MboSet ms) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void init() throws MXException
init
in class Mbo
MXException
public void initFieldFlagsOnMbo(java.lang.String attrName) throws MXException
Mbo
initFieldFlagsOnMbo
in class Mbo
MXException
public void add() throws MXException, java.rmi.RemoteException
add
in interface MboRemote
add
in class Mbo
MXException
java.rmi.RemoteException
public void modify() throws MXException, java.rmi.RemoteException
modify
in class Mbo
MXException
java.rmi.RemoteException
public void canDelete() throws MXException, java.rmi.RemoteException
canDelete
in class Mbo
MXException
- If PM references a open work order, then MXApplicationException("PM", "OpenWoForPM")MXException
- If PM belongs to a hierarchy, then MXApplicationException("PM", "BelongToHierarchy")java.rmi.RemoteException
public void delete(long modifier) throws MXException, java.rmi.RemoteException
delete
in interface MboRemote
delete
in class Mbo
modifier
- access modifierMXException
java.rmi.RemoteException
Mbo.delete(long)
public void changeStatus(java.lang.String status, boolean rollToAllChildren) throws MXException, java.rmi.RemoteException
changeStatus
in interface PMRemote
MXException
java.rmi.RemoteException
changeStatus(java.lang.String,boolean)
public void changeStatus(java.lang.String status, boolean rollToAllChildren, java.util.Hashtable changedStatusPMs) throws MXException, java.rmi.RemoteException
changeStatus
in interface PMRemote
status
- New statusrollToAllChildren
- Flag indicate if the status is rolled to all childrenchangedStatusPMs
- Hashtable with the PM's whose status is changedMXException
- Thrown if there is a problem, or the status cannot be changed,
as determined by canChangeStatus(String)
.java.rmi.RemoteException
changeStatus(java.lang.String,boolean,java.util.Hashtable)
public void updateUponCompletion(MboRemote completedWO) throws MXException, java.rmi.RemoteException
updateUponCompletion
in interface PMRemote
completedWO
- The work order that was completed.MXException
java.rmi.RemoteException
updateUponCompletion(MboRemote completedWO)
public void updateUponCancellation(MboRemote cancelledWO) throws MXException, java.rmi.RemoteException
updateUponCancellation
in interface PMRemote
cancelledWO
- The work order that was cancelled.MXException
java.rmi.RemoteException
updateUponCancellation(MboRemote cancelledWO)
public void updateForecastUponCancellation(MboRemote cancelledWO) throws MXException, java.rmi.RemoteException
cancelledWO
- The work order that was cancelled.MXException
java.rmi.RemoteException
public void appValidate() throws MXException, java.rmi.RemoteException
appValidate
in class Mbo
MXException
- If Assetnum, Location, and GLAccount are null,
then MXApplicationException("PM","selectAssetLocation")java.rmi.RemoteException
public void save() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void generateAutoKey() throws java.rmi.RemoteException, MXException
generateAutoKey
in interface MboRemote
generateAutoKey
in class Mbo
MXException
- Already saved PMs will throw a MXAccessException("access", "CantGenAutoKey")java.rmi.RemoteException
MboValue.autoKey()
,
MboValue.generateUniqueID()
public void canGenerateWork() throws java.rmi.RemoteException, MXException
canGenerateWork
in interface PMRemote
MXException
- if there are any unsaved modifications for this PM, then MXApplicationException("pm", "UnsavedNoGen", param)MXException
- if this is a Master PM record, then MXApplicationException("pm", "MasterNoGen", param)MXException
- if this is not top level PM, then MXApplicationException("pm", "NoTopNoGen", param)java.rmi.RemoteException
canGenerateWork()
public MboSetRemote generateWork(boolean useFreqCrit, int leadTime, boolean forecast) throws java.rmi.RemoteException, MXException
useFreqCrit
- Flag whether to use the PM's frequency criteria or not.leadTime
- If using frequency criteria, this is the number of days ahead to generate work orders or forecast for.forecast
- Flag to indicate if the wogen is called for forecasting or work order generationMXException
java.rmi.RemoteException
public void generateWork(boolean useFreqCrit, int leadTime) throws java.rmi.RemoteException, MXException
generateWork
in interface PMRemote
useFreqCrit
- Flag whether to use the PM's frequency criteria or not.leadTime
- If using frequency criteria, this is the number of days ahead to generate work orders for.MXException
java.rmi.RemoteException
generateWork(boolean useFreqCrit, int LeadTime)
public MboSetRemote calculateWork(boolean useFreqCrit, java.util.Date generateUntil) throws MXException, java.rmi.RemoteException
calculateWork
in interface PMRemote
generateUntil
- Work Orders are generated for target dates until this date is reached.useFreqCrit
- Flag whether to use frequency criteria to generate PMs.
If this flag is false, the PM hierarchy will generate only one set of work orders, for today's date.
If this flag is true, the PM's frequency will determine the dates and number of work orders to generate.
In this case, there may be no work orders generated.MXException
java.rmi.RemoteException
calculateWork(String,int,boolean)
public MboSetRemote calcWork(boolean useFreqCrit, int leadTime) throws java.rmi.RemoteException, MXException
Although this method may set the value of the Parent attribute, it ignores that field's validation and business rules.
calcWork
in interface PMRemote
useFreqCrit
- Flag whether to use the PM's frequency criteria or not.leadTime
- If using frequency criteria, this is the number of days ahead to generate work orders for.MXException
java.rmi.RemoteException
psdi.app.pm.PMService#calculateWork
public java.util.Date checkSeason(java.util.Date origGenDate, int totalLeadTime) throws java.rmi.RemoteException, MXException
checkSeason
in interface PMRemote
origGenDate
- This date was calculated from frequency data.totalLeadTime
- Total leadtime in days(leadtime plus runtime leadtime)MXException
java.rmi.RemoteException
public void setLinearAssetFieldsReadOnly(boolean readonlystate) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void clearLinearAssetFields() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void getJobPlanToUse() throws java.rmi.RemoteException, MXException
MXException
java.rmi.RemoteException
public void validateAssetLoc(boolean newAssetNum, boolean newLocation) throws MXException, java.rmi.RemoteException
validateAssetLoc
in interface PMRemote
newAssetNum
- Flag to indicate whether Assetnum attribute is changed.newLocation
- Flag to indicate whether location attribute is changed.MXException
java.rmi.RemoteException
validateAssetLoc(boolean newAssetNum, boolean newLocation)
public void updateTimeBasedNextDueDate() throws MXException, java.rmi.RemoteException
updateTimeBasedNextDueDate
in interface PMRemote
MXException
java.rmi.RemoteException
updateTimeBasedNextDueDate()
public java.util.Date checkDate() throws MXException, java.rmi.RemoteException
checkDate
in interface PMRemote
MXException
java.rmi.RemoteException
public void setPMCounter(int count) throws MXException, java.rmi.RemoteException
setPMCounter
in interface PMRemote
count
- The value to which the pmcounter should be set to.java.rmi.RemoteException
MXException
- Thrown with ("PM", "CountNonNegative") if count is negative.setPMCounter(int count)
public void updateJpSeqInUse() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void copyNextJobPlan() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
getJobPlanToUse()
public void canViewJpSequence() throws MXException, java.rmi.RemoteException
canViewJpSequence
in interface PMRemote
MXException
- If jpseqinuse is 'false' then MXApplicationException("PM","noJpSequence")java.rmi.RemoteException
viewJpSequence()
public MboSetRemote viewJpSequence() throws MXException, java.rmi.RemoteException
viewJpSequence
in interface PMRemote
MXException
java.rmi.RemoteException
canViewJpSequence()
public void clearNextDueDate() throws java.rmi.RemoteException, MXException
MXException
java.rmi.RemoteException
public void setNextDueDate() throws MXException, java.rmi.RemoteException
setNextDueDate
in interface PMRemote
MXException
java.rmi.RemoteException
clearNextDueDate()
,
updateTimeBasedNextDueDate()
public java.lang.String getGeneratedWonum(int priority) throws java.rmi.RemoteException, MXException
getGeneratedWonum
in interface PMRemote
priority
- The priority to be set to the newly generated workorder's wopriority
and CalcpriorityMXException
java.rmi.RemoteException
psdi.app.pm.PM#generateWork()
public MboRemote duplicate() throws MXException, java.rmi.RemoteException
duplicate
in interface MboRemote
duplicate
in class Mbo
MXException
java.rmi.RemoteException
public boolean isChangeByUserWhenSetFromLookup(java.lang.String lookupAttrName, java.lang.String attributeName)
isChangeByUserWhenSetFromLookup
in class Mbo
lookupAttrName
- the attribute whose lookup is being called.attributeName
- the attribute that is not the lookup attribute.public boolean checkForOpenWO() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public boolean isTop() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean hasChildren() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean hasParents() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public MboSetRemote getChildren() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public MboSetRemote getParents() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public MboSetRemote getTop() throws MXException, java.rmi.RemoteException
getTop
in interface PMRemote
MXException
java.rmi.RemoteException
getTop()
public java.lang.String[] getHierarchies() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.util.Date getMeterNextDueDate(MboRemote pmMeter, boolean assetMeter) throws java.rmi.RemoteException, MXException
pmMeter
- PMMeter for which the due date is calculatedassetMeter
- flag that indicates whether the PMMeter is an assetmeter or locationmeter.MXException
java.rmi.RemoteException
public java.util.Date addJobPlanDuration(java.util.Date dueDate, MboRemote retWOGen) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public java.util.Date getMeterNextDueDateNoForecast(MboRemote pmMeter, boolean assetMeter) throws java.rmi.RemoteException, MXException
pmMeter
- PMMeter for which the due date is calculatedassetMeter
- flag that indicates whether the PMMeter is an assetmeter or locationmeter.MXException
java.rmi.RemoteException
public java.util.Date getTimeDate() throws java.rmi.RemoteException, MXException
getTimeDate
in interface PMRemote
java.rmi.RemoteException
- the remote exceptionMXException
- the mX exceptiongetTimeDate()
public void validateMetersinMasterPM(java.lang.String assetnum, java.lang.String location, java.lang.String masterpm) throws MXException, java.rmi.RemoteException
validateMetersinMasterPM
in interface PMRemote
MXException
java.rmi.RemoteException
validateMetersinMasterPM(String assetnum, String location, String masterpm)
public java.lang.String getStatusListName()
getStatusListName
in interface StatefulMboRemote
getStatusListName
in class StatefulMbo
public java.util.Date checkFrequency(int frequency, java.util.Date nextDueDate, int unit) throws java.rmi.RemoteException, MXException
frequency
- nextDueDate
- MXException
java.rmi.RemoteException
public void validateTimeBasedFreq(double frequency) throws MXException, java.rmi.RemoteException
frequency
- MXException
java.rmi.RemoteException
public void setEarliestNextDueDate() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void woCancel(WORemote newWO) throws MXException, java.rmi.RemoteException
newWO
- the new woMXException
- the mX exceptionjava.rmi.RemoteException
- the remote exceptionpublic boolean truncateHierarchy(boolean forecast) throws java.rmi.RemoteException, MXException
forecast
- Flag indicates forecasting or work generation.MXException
java.rmi.RemoteException
public boolean includeInForecast() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public java.util.Date getDueDateForOpenWO(MboRemote openWo) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public java.util.Date getDueDateForOpenWOWithoutFrequency(MboRemote openWo) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public void controlScheduleEarlyOnFreqConflictFlag(boolean reset) throws java.rmi.RemoteException, MXException
reset
- - true if wants to reset the flag to false if Schedule Early on Frequency Conflict is a readonly field.java.rmi.RemoteException
MXException
public boolean isFrequencyValidForEarlySchedConflict() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public boolean isFrequencyValidForEarlySchedConflict(long frequency) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public void enableScheduleEarlyOnFreqConflict(boolean enable, boolean reset) throws java.rmi.RemoteException, MXException
enable
- reset
- java.rmi.RemoteException
MXException
public java.util.Date getActiveDaysAddOn(java.util.Date dtDate) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public void generateForecast(java.lang.String genDuration) throws java.rmi.RemoteException, MXException
PMAppActionInterface
generateForecast
in interface PMAppActionInterface
genDuration
- The number of days ahead to generate forecast for in the format of string.java.rmi.RemoteException
MXException
public void generateForecast(int genDuration) throws java.rmi.RemoteException, MXException
generateForecast
in interface PMRemote
genDuration
- The number of days ahead to generate forecast for.MXException
java.rmi.RemoteException
psdi.skd.app.pm.PM#generateForecast(int genDuration)
public void throwForecastWarning(MXException exception) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int setPMForReForecast(PM tempPM, int genDuration) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.util.Date getReForecastingNextDate(java.util.Date fromDate) throws MXException, java.rmi.RemoteException
fromDate
- The last forecasted dateMXException
java.rmi.RemoteException
public MboRemote getLastPMForecastRecord() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.util.Date getLastPMForecastDate() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public MboRemote getFirstPMForecastRecord() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.util.Date getFirstPMForecastDate() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean isFirstForecastRecord(PMForecast pmForecast) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void canReforecastForUntilDate(java.util.Date lastForecastDate, java.util.Date untilDate) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void deleteSetForecast() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void canDeletePMForecast() throws MXException, java.rmi.RemoteException
canDeletePMForecast
in interface PMRemote
MXException
java.rmi.RemoteException
psdi.skd.app.pm.PM#canDeletePMForecast()
public void deleteForecast() throws MXException, java.rmi.RemoteException
deleteForecast
in interface PMRemote
MXException
java.rmi.RemoteException
psdi.skd.app.pm.PM#deleteForecast()
public void deletePMForecast() throws MXException, java.rmi.RemoteException
deletePMForecast
in interface PMRemote
MXException
java.rmi.RemoteException
psdi.skd.app.pm.PM#deletePMForecast()
public void deleteForecastForPMHierarchy() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void deleteForecastForHierarchyChange() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean canDeleteForecast(java.lang.String message) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean canDeleteForecast(java.lang.String message, MboValue fieldValue) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean canDisplayForecast() throws MXException, java.rmi.RemoteException
canDisplayForecast
in interface PMRemote
MXException
java.rmi.RemoteException
psdi.skd.app.pm.PM#canDisplayForecast()
public void rolldownLockForecastFlagToChildren(boolean torf) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void rolldownInclForecastFlagToChildren(boolean torf) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void rolldownFieldValueToChildrens(java.lang.String fieldname, java.lang.String fieldvalue, long accessModifier) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void canGenerateChildPMForecast() throws MXException, java.rmi.RemoteException
canGenerateChildPMForecast
in interface PMRemote
MXException
java.rmi.RemoteException
psdi.skd.app.pm.PM#canGenerateChildPMForecast()
public void setCanDeleteForecastFlag(boolean flag) throws MXException, java.rmi.RemoteException
setCanDeleteForecastFlag
in interface PMRemote
MXException
java.rmi.RemoteException
psdi.skd.app.pm.PM#setCanDeleteForecastFlag(boolean flag)
public boolean getCanDeleteForecastFlag()
public void reforecastSubsequentDates() throws java.rmi.RemoteException, MXException
reforecastSubsequentDates
in interface PMRemote
java.rmi.RemoteException
MXException
psdi.skd.app.pm.PM#reforecastSubsequentDates()
public void reforecastSubsequentDates(PMForecast newDatePMForecast) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public void reforecastSubsequentDates(MboRemote newDatePMForecast, MboSetRemote pmForecastSet) throws java.rmi.RemoteException, MXException
reforecastSubsequentDates
in interface PMRemote
java.rmi.RemoteException
MXException
psdi.skd.app.pm.PM#reforecastSubsequentDates(MboRemote newDatePMForecast, MboSetRemote pmForecastSet)
public void setPMForReforecastSubsequentDates(java.util.Date newDate) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public int getDurationToForecast(MboRemote pmForecast, MboSetRemote pmForecastSet) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public java.util.Calendar getCalendarTime(java.util.Date date)
public int getDurationBetweenTwoDates(java.util.Date toDate, java.util.Date fromDate)
public boolean canReforecast() throws MXException, java.rmi.RemoteException
canReforecast
in interface PMRemote
MXException
java.rmi.RemoteException
psdi.skd.app.pm.PM#canReforecast(boolean lockForecast)
public void setUserChoiceForReforecast(int userChoiceForReforecast) throws MXException, java.rmi.RemoteException
setUserChoiceForReforecast
in interface PMRemote
MXException
java.rmi.RemoteException
psdi.skd.app.pm.PM#setUserChoiceForReforecast(boolean lockForecast)
public int getUserChoiceForReforecast() throws MXException, java.rmi.RemoteException
getUserChoiceForReforecast
in interface PMRemote
MXException
java.rmi.RemoteException
psdi.skd.app.pm.PM#getUserChoiceForReforecast(boolean lockForecast)
public int canReforecastSubsequentDates(PMForecast newDatePMForecast) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void clearReforecast() throws MXException, java.rmi.RemoteException
clearReforecast
in interface PMRemote
MXException
java.rmi.RemoteException
psdi.skd.app.pm.PM#clearReforecast()
public boolean isReforecastPending() throws MXException, java.rmi.RemoteException
isReforecastPending
in interface PMRemote
MXException
java.rmi.RemoteException
psdi.skd.app.pm.PM#isReforecastPending()
public boolean editOnlyFirstPMForecastRecord() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean throwOKCANCELMessage(java.lang.String message) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void setOnSKDPMListTab(boolean listTab) throws java.rmi.RemoteException
setOnSKDPMListTab
in interface PMRemote
java.rmi.RemoteException
psdi.skd.app.pm.PM#setonSKDPMListTab(boolean listTab)
public boolean onSKDPMListTab() throws java.rmi.RemoteException
onSKDPMListTab
in interface PMRemote
java.rmi.RemoteException
psdi.skd.app.pm.PM#onSKDPMListTab()
public void resetlastPMForecastRecord()
public void setDeleteForecastFlag(boolean flag) throws java.rmi.RemoteException
setDeleteForecastFlag
in interface PMRemote
java.rmi.RemoteException
psdi.skd.app.pm.PM#setDeleteForecastFlag(boolean flag)
public boolean getDeleteForecastFlag() throws java.rmi.RemoteException
getDeleteForecastFlag
in interface PMRemote
java.rmi.RemoteException
psdi.skd.app.pm.PM#getDeleteForecastFlag()
public void editPMDeleteForecast() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void editPMDeleteForecast(MboValue fieldValue) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean canUpdateForecastJobPlans() throws MXException, java.rmi.RemoteException
canUpdateForecastJobPlans
in interface PMRemote
MXException
java.rmi.RemoteException
psdi.skd.app.pm.PM#canUpdateForecastJobPlans(boolean flag)
public void updateForecastJobPlans() throws MXException, java.rmi.RemoteException
updateForecastJobPlans
in interface PMRemote
MXException
java.rmi.RemoteException
psdi.skd.app.pm.PM#updateForecastJobPlans(boolean flag)
public void addPlusCPMExtDate(boolean setPrevDate, java.util.Date extdate, boolean hasToSave, java.lang.String comments, java.lang.String commentsLD) throws java.rmi.RemoteException, MXException
addPlusCPMExtDate
in interface PMRemote
setPrevDate
- extdate
- hasToSave
- comments
- java.rmi.RemoteException
MXException
public void addPlusCPMExtDate(boolean setPrevDate, java.util.Date extdate, boolean hasToSave, java.lang.String comments) throws java.rmi.RemoteException, MXException
addPlusCPMExtDate
in interface PMRemote
setPrevDate
- extdate
- hasToSave
- comments
- java.rmi.RemoteException
MXException
public boolean canAddPMExtDate() throws java.rmi.RemoteException, MXException
canAddPMExtDate
in interface PMRemote
java.rmi.RemoteException
MXException
public AssetRemote getAsset() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public LocationRemote getLocation() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void canOverride() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public java.lang.String getWorkType() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.lang.String getWorkTypeCal() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public boolean isCalibrationInstalled() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void generateWork(java.lang.String useFreqCritLeadTime) throws java.rmi.RemoteException, MXException
PMAppActionInterface
generateWork
in interface PMAppActionInterface
useFreqCritLeadTime
- String value indicating PM's frequency criteria and lead time separated by :java.rmi.RemoteException
MXException
public void deleteForecast(java.lang.String nullValue) throws MXException, java.rmi.RemoteException
deleteForecast
in interface PMAppActionInterface
MXException
java.rmi.RemoteException
public void reforecastSubsequentDates(java.lang.String nullValue) throws java.rmi.RemoteException, MXException
reforecastSubsequentDates
in interface PMAppActionInterface
java.rmi.RemoteException
MXException
public int regenerateForecast(java.lang.String message) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean forecastDateBeforeToday(MboRemote pmforecast) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public void checkForecastForGenWork() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public int canGenerateForecastWork(boolean useFreqCrit) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public void lockUnlockForecast(boolean lockForecast) throws java.rmi.RemoteException, MXException
lockUnlockForecast
in interface PMRemote
java.rmi.RemoteException
MXException
psdi.skd.app.pm.PM#lockUnlockForecast(boolean lockForecast)
public boolean checkJPSeq() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void AddPMForecastJPRecord(java.lang.String rootancestor, MboRemote cancelledWO) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void canLockUnlockChildPMForecast() throws MXException, java.rmi.RemoteException
canLockUnlockChildPMForecast
in interface PMRemote
MXException
java.rmi.RemoteException
psdi.skd.app.pm.SKDPM#canLockUnlockChildPMForecast()
public boolean hasForecast() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void clearPmDeleteForecastVector()
public boolean isListSelected() throws MXException, java.rmi.RemoteException
isListSelected
in interface PMRemote
MXException
- the mX exceptionjava.rmi.RemoteException
- the remote exceptionpublic void setListSelected(boolean isListSelected) throws MXException, java.rmi.RemoteException
setListSelected
in interface PMRemote
isListSelected
- the isListSelected to setMXException
- the mX exceptionjava.rmi.RemoteException
- the remote exceptionpublic java.util.Date getTargStartDate(java.util.Date date, java.lang.String calledFromFlag) throws MXException, java.rmi.RemoteException
getTargStartDate
in interface PMRemote
MXException
java.rmi.RemoteException
getTargStartDate(Date date, String calledFromFlag)
public java.util.Date getPMNextDate(java.util.Date date, java.lang.String calledFromFlag) throws MXException, java.rmi.RemoteException
getPMNextDate
in interface PMRemote
MXException
java.rmi.RemoteException
getPMNextDate(Date date, String calledFromFlag)
public java.util.Date getPMLastCompDate(java.util.Date date, java.lang.String calledFromFlag) throws MXException, java.rmi.RemoteException
getPMLastCompDate
in interface PMRemote
MXException
java.rmi.RemoteException
getPMLastCompDate(Date date, String calledFromFlag)
public java.util.Date getPMLastStartDate(java.util.Date date, java.lang.String calledFromFlag) throws MXException, java.rmi.RemoteException
getPMLastStartDate
in interface PMRemote
MXException
java.rmi.RemoteException
getPMLastStartDate(Date date, String calledFromFlag)
public java.util.Date getPMDueDate(java.util.Date date, java.lang.String calledFromFlag) throws MXException, java.rmi.RemoteException
getPMDueDate
in interface PMRemote
MXException
java.rmi.RemoteException
getPMDueDate(Date date, String calledFromFlag)
public java.util.Date getPMExtDate(java.util.Date date, java.lang.String calledFromFlag) throws MXException, java.rmi.RemoteException
getPMExtDate
in interface PMRemote
MXException
java.rmi.RemoteException
getPMExtDate(Date date, String calledFromFlag)
public java.util.Date getPMForecastDate(java.util.Date date, java.lang.String calledFromFlag) throws MXException, java.rmi.RemoteException
getPMForecastDate
in interface PMRemote
MXException
java.rmi.RemoteException
getPMForecastDate(Date date, String calledFromFlag)
public java.util.Date getDateWithTimeZone(java.util.Date date) throws MXException, java.rmi.RemoteException
getDateWithTimeZone
in interface PMRemote
MXException
java.rmi.RemoteException
getDateWithTimeZone(Date date)