public class MultiAssetLocCI extends Mbo implements MultiAssetLocCIRemote
This is a site level object.
There are no key attributes for this object.
The attributes in this object are as follows:
Identifier of the Asset | |
Identifier of the Location | |
Identifier of the Configuration Iterm | |
ADHOC | Identifier of the Ticket |
PROGRESS | Progress of the work |
SEQUENCE | Sequence |
ISPRIMARY | Is Primary Asset |
CLASS | Type of the ticket |
WONUM | Unique Identifier |
ORGID | Constraint Identifier of the organization |
SITEID | Unique Identifier of the Site |
WORKORGID | Constraint Identifier of the work organization |
WORKSITEID | Unique Identifier of the work Site |
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 |
---|
MultiAssetLocCI(MboSet ms)
Construct the WOAssetsPlan object
|
Modifier and Type | Method and Description |
---|---|
void |
add()
This is called when a new Mbo is added to the Mboset collection.
|
void |
applyToAllUser(MboRemote currentUserCust)
This method will apply the specified user and custodian to WOAssetUserCust and WOLocUserCust
|
void |
appValidate()
check if the row is valid.
|
void |
canDelete()
Can not be delete when primary record when fields in owner wo is not cleared - apar IV63019
|
void |
clearLinearAssetFields()
Clear all the linear asset fields.
|
void |
delete(long accessModifier)
Mark the object to be deleted depending on the access modifier.
|
MboRemote |
findAssetMboForReplacement()
IV75060: The current multiassetlocci is the replacement asset.
|
MboRemote |
findReplaceAssetMbo()
IV75060: this multiassetlocci is the asset that contains the replacement asset.
|
void |
getAssetForCI()
Called by the cinum attribute to set the MultiAssetLocCI's asset to the CI's asset
If the CI has a valid asset for the MultiAssetLocCI, that asset will be put on
the MultiAssetLocCI, if the asset field is blank.
|
void |
getCIForAsset()
Called by the assetnum attribute to set the MultiAssetLocCI's CINum to the CIt's Asset
If the asset has a Valid CI for the MultiAssetLocCI, that CI will be put on
the MultiAssetLocCI, if the CI field is blank.
|
void |
getLocForAsset()
Called by the assetnum attribute to set the MultiAssetLocCI's location to the Asset's location
If the asset has a valid location for the MultiAssetLocCI, that location will be put on
the MultiAssetLocCI, if the location field is blank.
|
void |
init()
Called by the framework when the Mbo has been constructed and the
MboValues have been initialized.
|
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 |
isStoreDestinationLocation()
Checks if move to location is a STOREROOM.
|
void |
modifyAssetLocationAttributes()
This method will modify the asset and location attributes
|
void |
modifyAssetLocationUserCust()
This method will modify AssetUserCust or LocationUserCust
|
void |
moveAsset()
This method will move the asset
|
void |
propagateKeyValue(java.lang.String keyName,
java.lang.String keyValue)
Set value for Wonum or ticketid.
|
void |
setLinearAssetFieldsReadOnly(boolean readonlystate)
Set the linear asset fields as a group to ReadOnly or not.
|
void |
setMoveAssetFieldsDefault()
This method will modify the asset and location attributes
|
void |
undelete()
Unmark the Mbo for deletion.
|
addMboSetForRequiredCheck, addToDeleteForInsertList, andEvaluateConditions, blindCopy, 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, getESId, getExistingMboSet, getFetchIndex, getFieldExceptions, getFlags, getFloat, getIgnoreLockCheck, getInitialValue, getInsertCompanySetId, getInsertItemSetId, getInsertOrganization, getInsertOrgForSite, getInsertSite, getInstanciatedMboSet, getInstanciatedMboValue, getInt, getIntegrationService, getKeyValue, getLanguageRecordRowStamp, getLinesRelationship, getList, getLockedByDisplayName, getLockedByUserID, getLong, getMatchingAttr, getMatchingAttr, getMatchingAttrs, getMaxMessage, getMboCtx, getMboData, getMboDataSet, getMboForAttribute, getMboForAttributeStatic, getMboInitialValue, getMboList, getMboLogger, getMboRecordData, getMboServer, getMboSet, getMboSet, getMboSet, getMboSetInfo, getMboValue, getMboValueData, getMboValueData, getMboValueData, getMboValueDataForDownload, getMboValueInfoStatic, getMboValueInfoStatic, getMessage, getMessage, getMessage, getMessage, getMXTransaction, getName, getOrgForGL, getOrgSiteForMaxvar, getOwner, getProfile, getPropagateKeyFlag, getProxy, getRecordIdentifer, getRecordMboName, getRelatedWhere, getRelatedWhere, getRelationshipNameToLangTable, getResourceName, getRowRestrictionFlag, getRowStamp, getRowStampObject, getSecurityLogger, getSiteOrg, getSqlLogger, getString, getString, getStringInBaseLanguage, getStringInSpecificLocale, getStringTransparent, getSynonymValueWhere, getTenantId, getThisMboSet, getTranslator, getUniqueIdentifer, getUniqueIDName, getUniqueIDValue, getUniqueLanguageIDRecord, getUserInfo, getUserName, getValidateOrder, hasFieldAccess, hasHierarchyLink, hasLockSaveRights, hasRelatedQbe, hasUniqueID, initFieldFlagsOnMbo, initRelationship, isApiBatchError, isAutoKeyed, isBasedOn, isEAuditFieldModified, isESigFieldModified, isFlagSet, isForDM, isLocked, isLocked, isLockedByMe, isMasterTenant, isMboLockedByMe, isModified, isModified, isNew, isNoSql, isNull, isOptionGranted, isSelected, isSkipCopyField, isValid, isZombie, lock, modify, moveFieldFlagsToMboValue, needCallInitFieldFlag, orEvaluateConditions, removeCtx, removeRelatedSet, resolveNoSqlWhere, rollbackToCheckpoint, select, setAppDefaultValue, setApplicationError, setApplicationRequired, setAutokeyFields, setCopyDefaults, setDefaultValue, setDefaultValues, setDeleted, setEAuditFieldModified, setESId, setESigFieldModified, setFetchIndex, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlags, setFlag, setFlag, setFlags, setForDM, setHierarchyLink, setIgnoreRecordLockCheck, setLangCodeDefault, setMboCtx, setMLValue, setModified, setModifiedForIntegrationOnly, setNewMbo, setNoSql, setPropagateKeyFlag, setPropagateKeyFlag, setProxy, setReadonlyWhenParentIsReadonly, setReferencedMbo, setReferencedMbo, setResolveNoSqlWhere, setResourceName, setUniqueIDValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueFromSequence, setValueNull, setValueNull, sigopGranted, sigopGranted, sigopGranted, sigOptionAccessAuthorized, smartFill, smartFind, smartFind, smartFindByObjectName, smartFindByObjectName, smartFindByObjectNameDirect, startCheckpoint, thisToBeUpdated, toBeAdded, toBeDeleted, toBeSaved, toBeUpdated, toBeValidated, 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, 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, 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, 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 MultiAssetLocCI(MboSet ms) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void init() throws MXException
Mbo
init
in class Mbo
MXException
public void add() throws MXException, java.rmi.RemoteException
Mbo
add
in interface MboRemote
add
in class Mbo
MXException
java.rmi.RemoteException
public void getLocForAsset() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void getCIForAsset() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void getAssetForCI() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void propagateKeyValue(java.lang.String keyName, java.lang.String keyValue) throws MXException, java.rmi.RemoteException
propagateKeyValue
in interface MboRemote
propagateKeyValue
in class Mbo
keyName
- Should equal "wonum" or ticketid, else nothing will be propagated.keyValue
- The new value of wonum or ticketidMXException
java.rmi.RemoteException
public void canDelete() throws MXException, java.rmi.RemoteException
canDelete
in class Mbo
MXException
java.rmi.RemoteException
public void delete(long accessModifier) throws MXException, java.rmi.RemoteException
Mbo
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
Mbo
undelete
in interface MboRemote
undelete
in class Mbo
MXException
java.rmi.RemoteException
public void appValidate() throws MXException, java.rmi.RemoteException
appValidate
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 void setLinearAssetFieldsReadOnly(boolean readonlystate) throws MXException, java.rmi.RemoteException
setLinearAssetFieldsReadOnly
in interface MultiAssetLocCIRemote
MXException
java.rmi.RemoteException
public void clearLinearAssetFields() throws MXException, java.rmi.RemoteException
clearLinearAssetFields
in interface MultiAssetLocCIRemote
MXException
java.rmi.RemoteException
public void moveAsset() throws java.rmi.RemoteException, MXException
moveAsset
in interface MultiAssetLocCIRemote
java.rmi.RemoteException
MXException
moveAsset()
public void modifyAssetLocationAttributes() throws java.rmi.RemoteException, MXException
modifyAssetLocationAttributes
in interface MultiAssetLocCIRemote
java.rmi.RemoteException
MXException
modifyAssetLocationAttributes()
public void setMoveAssetFieldsDefault() throws java.rmi.RemoteException, MXException
setMoveAssetFieldsDefault
in interface MultiAssetLocCIRemote
java.rmi.RemoteException
MXException
setMoveAssetFieldsDefault()
public boolean isStoreDestinationLocation() throws MXException, java.rmi.RemoteException
isStoreDestinationLocation
in interface MultiAssetLocCIRemote
MXException
java.rmi.RemoteException
isStoreDestinationLocation()
public void modifyAssetLocationUserCust() throws java.rmi.RemoteException, MXException
modifyAssetLocationUserCust
in interface MultiAssetLocCIRemote
java.rmi.RemoteException
MXException
modifyAssetLocationUserCust()
public void applyToAllUser(MboRemote currentUserCust) throws java.rmi.RemoteException, MXException
applyToAllUser
in interface MultiAssetLocCIRemote
currentUserCust
- the modify user and custodian will apply to WOAssetUserCust and WOLocUserCustjava.rmi.RemoteException
MXException
psdi.app.workorder.MultiAssetLocCI#applyToAllUser()
public MboRemote findAssetMboForReplacement() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public MboRemote findReplaceAssetMbo() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException