public class AssetFeature extends Mbo implements AssetFeatureRemote
| Modifier and Type | Field and Description | 
|---|---|
boolean | 
createNewAssetFeature  | 
MULTILANGCOPY, phantomList, phantomQueueALLROWS, 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 | 
|---|
AssetFeature(MboSet ms)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
add()
This is called when a new Mbo is added to the Mboset collection. 
 | 
void | 
appValidate()
Pre-save validation method. 
 | 
int | 
assetFeatureRefPointMeasIsModified()
Asset-Feature's STARTMEASURE or ENDMEASURE is modified and a user wants to save the changes,
 check other objects that uses the modified Asset-Feature as Start Reference Point or End Reference Point,
 then user is warned with a message, if the user wants to proceed.. 
 | 
void | 
canDelete()
If the AssetFeature is used as Reference in any;
 AssetFeature, AssetLocRelation,PM's, Route_Stop's, AssetFeatureSpec, AssetMeter, Workorder or Ticket. 
 | 
void | 
checkDuplicateAssetFeature(java.lang.String feature,
                          java.lang.String label,
                          double startmeasure,
                          double startyoffset,
                          double startzoffset)
check to see if duplicate feature/label/startmeasure/startyoffset and startzoffset exist. 
 | 
void | 
checkEnd(long afBeingDefined_AFID,
        long afBeingDefined_EndAFID,
        long referencedAF_EndAFID,
        java.lang.String afBeingDefined_EndFeatureLabel)  | 
void | 
checkEndReferencePoint()  | 
void | 
checkEndRefsForSelfRef(MboRemote assetfeaturebeingdefined)  | 
void | 
checkReferencePoint()  | 
void | 
checkStart(long afBeingDefined_AFID,
          long afBeingDefined_StartAFID,
          long referencedAF_StartAFID,
          java.lang.String afBeingDefined_StartFeatureLabel)  | 
void | 
checkStartReferencePoint()  | 
void | 
checkStartRefsForSelfRef(MboRemote assetfeaturebeingdefined)  | 
void | 
clearClassification()
This method clears the classtructureid and delete assetspec 
 | 
void | 
delete(long modifier)
Mark the object to be deleted depending on the access modifier. 
 | 
void | 
doLinearRecalibration()
Start Recalibration for
 AssetFetaure
 AssetMeter
 PM
 Route_Stop
 AssetSpec
 AssetFeatureSpec
 AssetLocRelation 
 | 
void | 
handleAFHistory()
Update Asset Feature History recorsd 
 | 
void | 
init()
Called by the framework when the Mbo has been constructed and the
 MboValues have been initialized. 
 | 
void | 
initFieldFlagsOnMbo(java.lang.String attrName)
The logic of setting the readonly and required field flags to the mbo. 
 | 
boolean | 
isChangeByUserWhenSetFromLookup(java.lang.String lookupAttrName,
                               java.lang.String attributeName)
Indicate whether the changeed by user flag should be set to the attribute when it is set along with other key field
 when the lookup attribute is being set on this Linear Mbo. 
 | 
boolean | 
isFeatureMeasureModified()  | 
void | 
prepareAFLinearRecalibrationStatements()
Prepare Recalibration statement for AssetFetaure 
 | 
void | 
prepareOtherLinearRecalibrationStatements(java.lang.String recalObj)
Prepare Recalibration statement for Other Objects and update Other Objects Measures; If this AssetFeature reference points used. 
 | 
void | 
recalibrationForAssetFeature(java.util.Hashtable<java.lang.Long,java.lang.String> rolling)
Recalibration for Asset-Feature and its reference points in the circular loop. 
 | 
void | 
save()
Override the super class save. 
 | 
void | 
undelete()
IV81533: when this new assetfeature is being undeleted, bring the assetfeaturespecset back if there are 
 assetfeaturespec records. 
 | 
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, 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, propagateKeyValue, 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, valueChangedequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddMboSetForRequiredCheck, 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, 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, validateAttributespublic AssetFeature(MboSet ms) throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic void add()
         throws MXException,
                java.rmi.RemoteException
Mboadd in interface MboRemoteadd in class MboMXExceptionjava.rmi.RemoteExceptionpublic void init()
          throws MXException
Mboinit in class MboMXExceptionpublic boolean isChangeByUserWhenSetFromLookup(java.lang.String lookupAttrName,
                                               java.lang.String attributeName)
isChangeByUserWhenSetFromLookup in class MbolookupAttrName - the attribute whose lookup is being called.attributeName - the attribute that is not the lookup attribute.public void initFieldFlagsOnMbo(java.lang.String attrName)
                         throws MXException
MboinitFieldFlagsOnMbo in class MboMXExceptionpublic void canDelete()
               throws MXException,
                      java.rmi.RemoteException
canDelete in class MboMXExceptionjava.rmi.RemoteExceptionpublic boolean isFeatureMeasureModified()
                                 throws MXException,
                                        java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void save()
          throws MXException,
                 java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void checkStartReferencePoint()
                              throws MXException,
                                     java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void checkEndReferencePoint()
                            throws MXException,
                                   java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void checkStart(long afBeingDefined_AFID,
                       long afBeingDefined_StartAFID,
                       long referencedAF_StartAFID,
                       java.lang.String afBeingDefined_StartFeatureLabel)
                throws MXException,
                       java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void checkEnd(long afBeingDefined_AFID,
                     long afBeingDefined_EndAFID,
                     long referencedAF_EndAFID,
                     java.lang.String afBeingDefined_EndFeatureLabel)
              throws MXException,
                     java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void checkReferencePoint()
                         throws MXException,
                                java.rmi.RemoteException
checkReferencePoint in interface AssetFeatureRemoteMXExceptionjava.rmi.RemoteExceptioncheckReferencePoint()public void checkStartRefsForSelfRef(MboRemote assetfeaturebeingdefined) throws MXException, java.rmi.RemoteException
checkStartRefsForSelfRef in interface AssetFeatureRemoteMXExceptionjava.rmi.RemoteExceptioncheckStartRefsForSelfRef(MboRemote)public void checkEndRefsForSelfRef(MboRemote assetfeaturebeingdefined) throws MXException, java.rmi.RemoteException
checkEndRefsForSelfRef in interface AssetFeatureRemoteMXExceptionjava.rmi.RemoteExceptioncheckEndRefsForSelfRef(MboRemote)public void clearClassification()
                         throws java.rmi.RemoteException,
                                MXException
java.rmi.RemoteExceptionMXExceptionpublic void appValidate()
                 throws MXException,
                        java.rmi.RemoteException
MboappValidate in class MboMXExceptionjava.rmi.RemoteExceptionpublic void checkDuplicateAssetFeature(java.lang.String feature,
                                       java.lang.String label,
                                       double startmeasure,
                                       double startyoffset,
                                       double startzoffset)
                                throws MXException,
                                       java.rmi.RemoteException
MXApplicationException("asset","featureoffsetmeasdupe") - when a duplicate feature/label/startmeasure/startyoffset and startzoffset exist in asset-feature.MXExceptionjava.rmi.RemoteExceptionpublic void delete(long modifier)
            throws MXException,
                   java.rmi.RemoteException
Mbodelete in interface MboRemotedelete in class Mbomodifier - The bitwise flag specified to determine
                                                         if certain normal security checks are to be
                                                         bypassed for this delete request.
                                                         For example:
                                                         if the accessModifer is NOACCESSCHECK, then the
                                                         check for the object's NODELETE flag and the
                                                         call to the object's canDelete() method
                                                         will not be performed.
                                                     If the accessModifer is NONE, then all the
                                                         access checks are performed before this object
                                                         is marked delete.MXExceptionjava.rmi.RemoteExceptionMbo.delete(long)public int assetFeatureRefPointMeasIsModified()
                                       throws MXException,
                                              java.rmi.RemoteException
MXException, - RemoteExceptionMXExceptionjava.rmi.RemoteExceptionpublic void doLinearRecalibration()
                           throws MXException,
                                  java.rmi.RemoteException
MXException, - RemoteExceptionMXExceptionjava.rmi.RemoteExceptionpublic void prepareAFLinearRecalibrationStatements()
                                            throws MXException,
                                                   java.rmi.RemoteException
MXException, - RemoteExceptionMXExceptionjava.rmi.RemoteExceptionpublic void prepareOtherLinearRecalibrationStatements(java.lang.String recalObj)
                                               throws MXException,
                                                      java.rmi.RemoteException
MXException, - RemoteExceptionMXExceptionjava.rmi.RemoteExceptionpublic void handleAFHistory()
                     throws MXException,
                            java.rmi.RemoteException
MXException, - RemoteExceptionMXExceptionjava.rmi.RemoteExceptionpublic void recalibrationForAssetFeature(java.util.Hashtable<java.lang.Long,java.lang.String> rolling)
                                  throws MXException,
                                         java.rmi.RemoteException
MXException, - RemoteExceptionMXExceptionjava.rmi.RemoteExceptionpublic void undelete()
              throws MXException,
                     java.rmi.RemoteException
undelete in interface MboRemoteundelete in class MboMXExceptionjava.rmi.RemoteException