public class ModDowntimeHist extends NonPersistentMbo implements ModDowntimeHistRemote
Attribute Name | Description |
---|---|
ASSETNUM | The asset number of the asset who's downtime is being modified. |
DOWNTIME | The length of time (hours:minutes) that the asset is down. |
ENDCODE | The downtime code that ends the downtime. |
ENDDATE | The date that the asset is brought back up. |
ENDOPERATIONAL | Flag that indicates whether the asset is operational or not when brought back up. |
ENDWONUM | The optional workorder that brings the asset back up. |
ORGID | The organization the asset belongs to. |
SITEID | The site the asset belongs to. |
STARTCODE | The downtime code that begins the downtime. |
STARTDATE | The date the asset is brought down. |
STARTOPERATIONAL | Flag that indicates whether the asset is operational when brought down. |
STARTWONUM | The optional workorder that brings the asset down. |
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
Constructor and Description |
---|
ModDowntimeHist(MboSet ms)
Construct the ModDowntimeHistMbo.
|
Modifier and Type | Method and Description |
---|---|
void |
delete(long accessModifier)
Delete the start and end assetStatus records associated with this record, then remove this record from memory.
|
AssetRemote |
getAssetMbo()
Get the assetMbo object.
|
MboRemote |
getEndAssetStatus()
Get the ending AssetStatus record.
|
MboRemote |
getStartAssetStatus()
Get the starting AssetStatus record.
|
void |
init()
Set fields to readonly and required.
|
void |
makeEndAssetStatusReadonly()
Set the fields associated with the endAssetStatus to readonly.
|
void |
makeStartAssetStatusReadonly()
Set the fields associated with the startAssetStatus to readonly.
|
void |
setAssetMbo(AssetRemote asset)
Set the assetMbo object.
|
void |
setEndAssetStatus(MboRemote assetStatus)
Set the values associated with the end AssetStatus record and store the Mbo.
|
void |
setStartAssetStatus(MboRemote assetStatus)
Set the values associated with the start AssetStatus record and store the Mbo.
|
void |
undelete()
Undelete this non-persistent object and the start and end assetStatus records associated with it.
|
void |
writeChangesToAssetStatus()
Write any changed values to the appropriate asset status record.
|
add, addMboSetForRequiredCheck, addToDeleteForInsertList, andEvaluateConditions, appValidate, blindCopy, canDelete, checkFieldAccess, checkMethodAccess, checkMethodAccess, checkQualifiedRestriction, checkSiteOrgAccessForSave, clear, copy, copy, copy, copyFake, copyValue, copyValue, createComm, delete, determineRequiredFieldsFromERM, duplicate, enableMethod, evaluateCondition, evaluateCondition, evaluateCtrlConditions, evaluateCtrlConditions, evaluateRestriction, excludeObjectForPropagate, findAllNullRequiredFields, fireEvent, generateAutoKey, 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, initFieldFlagsOnMbo, initRelationship, isAutoKeyed, isBasedOn, isChangeByUserWhenSetFromLookup, isEAuditFieldModified, isESigFieldModified, isFlagSet, isForDM, isLocked, isLocked, isLockedByMe, isMasterTenant, isMboLockedByMe, isModified, isModified, isNew, isNull, isOptionGranted, isSelected, isSkipCopyField, isValid, isZombie, lock, modify, 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, unlock, unselect, useDataSecurity, validate, validateAttributes, validateKeyUniqueness, valueChanged
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
add, addMboSetForRequiredCheck, addToDeleteForInsertList, blindCopy, checkMethodAccess, clear, copy, copy, copy, copyFake, copyValue, copyValue, createComm, delete, duplicate, 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, 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, unlock, unselect, validate, validateAttributes
public ModDowntimeHist(MboSet ms) throws java.rmi.RemoteException
ms
- MboSetMXException
java.rmi.RemoteException
public void init() throws MXException
init
in class Mbo
MXException
java.rmi.RemoteException
public void setAssetMbo(AssetRemote asset) throws MXException, java.rmi.RemoteException
setAssetMbo
in interface ModDowntimeHistRemote
asset
- The mbo to be set.MXException
java.rmi.RemoteException
public AssetRemote getAssetMbo() throws MXException, java.rmi.RemoteException
getAssetMbo
in interface ModDowntimeHistRemote
MXException
java.rmi.RemoteException
public void setEndAssetStatus(MboRemote assetStatus) throws MXException, java.rmi.RemoteException
setEndAssetStatus
in interface ModDowntimeHistRemote
assetStatus
- The assetStatus record to store as the endAssetStatus object.MXException
java.rmi.RemoteException
public void setStartAssetStatus(MboRemote assetStatus) throws MXException, java.rmi.RemoteException
setStartAssetStatus
in interface ModDowntimeHistRemote
assetStatus
- The assetStatus record to be stored as the startAssetStatus object.MXException
java.rmi.RemoteException
public MboRemote getEndAssetStatus() throws java.rmi.RemoteException
getEndAssetStatus
in interface ModDowntimeHistRemote
MXException
java.rmi.RemoteException
public MboRemote getStartAssetStatus() throws java.rmi.RemoteException
getStartAssetStatus
in interface ModDowntimeHistRemote
MXException
java.rmi.RemoteException
public void writeChangesToAssetStatus() throws MXException, java.rmi.RemoteException
writeChangesToAssetStatus
in interface ModDowntimeHistRemote
MXException
java.rmi.RemoteException
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
Mbo.delete(long)
public void undelete() throws MXException, java.rmi.RemoteException
undelete
in interface MboRemote
undelete
in class Mbo
MXException
java.rmi.RemoteException
public void makeStartAssetStatusReadonly() throws MXException, java.rmi.RemoteException
makeStartAssetStatusReadonly
in interface ModDowntimeHistRemote
MXException
java.rmi.RemoteException
public void makeEndAssetStatusReadonly() throws MXException, java.rmi.RemoteException
makeEndAssetStatusReadonly
in interface ModDowntimeHistRemote
MXException
java.rmi.RemoteException