public class PlusCDSInstr extends Mbo implements PlusCDSInstrRemote
Modifier and Type | Field and Description |
---|---|
static java.util.ArrayList<java.lang.String> |
FULL_INSTR_TOLS_LIST
The Constant FULL_INSTR_TOLS_LIST.
|
java.util.ArrayList<java.lang.String> |
instrTolsList
The instr tols list.
|
java.lang.String[] |
sharedReadOnly
The shared read only.
|
java.lang.String[] |
uncertaintyHeader
The uncertainty header.
|
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 |
---|
PlusCDSInstr(MboSet ms)
Instantiates a new plus cds instr.
|
Modifier and Type | Method and Description |
---|---|
void |
add()
Adds a new MBO to set.
|
void |
appValidate()
Pre-save validation method.
|
void |
canDelete()
Check if a MBO is able to be deleted.
|
void |
changePointsEU()
Issue 07-16500.
|
void |
childHasChanged()
Child has changed.
|
void |
copyAttributesValues(MboRemote mbo,
MboSetRemote mboset,
long mboAddFlags)
Copies the information for each of the fields into the new mbo from this.
|
void |
delete(long accessModifier)
Mark the object to be deleted depending on the access modifier.
|
void |
generateAutoKey()
PlusCDSInstr supports autokeying - sets the instrseq attribute.
|
static java.util.ArrayList |
getFullInstrTolsList()
Gets the full instrTolsList ArrayList without to take Tolerances' or
Instrument's types into account.
|
java.util.ArrayList |
getInstrTolsList(boolean summed,
boolean single,
boolean forNonLinear)
Gets the instrTolsList ArrayList considering validations against the
Tolerances's types (i.e.summed/single) and Instrument NonLinear Set Issue
07-23017
|
MboRemote |
getOwner()
Return the owner of mbo
|
void |
init()
Called by the framework when the Mbo has been constructed and the
MboValues have been initialized.
|
boolean |
isAllBlankByPointsType(MboRemote mboRemote)
Issue 08-17303.
|
boolean |
isAllBlankInstrTolerances(MboRemote mboRemote,
boolean summed,
boolean single,
boolean forNonLinear)
Issue 08-17303.
|
void |
propagateKeyValue(java.lang.String keyName,
java.lang.String keyValue)
Method for propagating key value.
|
void |
setBlankByPointsType(MboRemote mboRemote)
Issue 08-17303.
|
void |
setBlankInstrTolerances(MboRemote mboRemote,
boolean summed,
boolean single,
boolean forNonLinear)
Issue 08-17303.
|
void |
setByInstrType(MboRemote mboRemote)
Issue 08-17245.
|
void |
setFieldEditibilityFlags()
Sets the field editibility flags.
|
void |
setFlagsByInstrType(MboRemote mboRemote,
boolean flag,
boolean flagP)
Issue 08-17245.
|
void |
setFlagsByPointsType(MboRemote mboRemote,
boolean flag)
Issue 08-17245.
|
void |
setInstrAsNonLinear(boolean flag)
Non-Linear Instruments - Issue # 14594, 93937 Issue 07-21909.
|
void |
setInstrAsRepeatable(boolean repeatable)
Sets the instr as repeatable.
|
void |
setInstrFieldFlag()
Issue 07-21773.
|
void |
setInstrFlagsAsManual(boolean flag)
Set the Flags for the Instrument when it is a manual one.
|
void |
setInstrTolerancesFlags(MboRemote mboRemote,
boolean summed,
boolean single,
boolean flag,
boolean forNonLinear)
Set Instr tolerances as readonly Issue 07-23017 - this method was changed
in order to support callings from field classes (i.e.
|
void |
undelete()
Unmark the Mbo for deletion.
|
void |
validateInstrAsManual()
Validates if the Instrument has to be reset as Manual.
|
void |
validateInstrAsNonLinear()
Non-Linear Instruments - Issue # 14594, 93937 Issue 07-21909 Validates if
the Instrument has to be reset as Non Linear.
|
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, 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, 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, isChangeByUserWhenSetFromLookup, 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, 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, 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 java.util.ArrayList<java.lang.String> instrTolsList
public static final java.util.ArrayList<java.lang.String> FULL_INSTR_TOLS_LIST
public java.lang.String[] sharedReadOnly
public java.lang.String[] uncertaintyHeader
public PlusCDSInstr(MboSet ms) throws MXException, java.rmi.RemoteException
ms
- the msMXException
- the mX exceptionjava.rmi.RemoteException
- the remote exceptionpublic void validateInstrAsManual() throws java.rmi.RemoteException, MXException
validateInstrAsManual
in interface PlusCDSInstrRemote
java.rmi.RemoteException
- the remote exceptionMXException
- the mX exceptionpublic void setInstrFlagsAsManual(boolean flag) throws java.rmi.RemoteException, MXException
setInstrFlagsAsManual
in interface PlusCDSInstrRemote
flag
- the new instr flags as manualjava.rmi.RemoteException
- the remote exceptionMXException
- the mX exceptionpublic void setInstrTolerancesFlags(MboRemote mboRemote, boolean summed, boolean single, boolean flag, boolean forNonLinear) throws java.rmi.RemoteException
setInstrTolerancesFlags
in interface PlusCDSInstrRemote
mboRemote
- the mbo remotesummed
- the summedsingle
- the singleflag
- the flagforNonLinear
- the for non linearjava.rmi.RemoteException
- the remote exceptionpublic void setByInstrType(MboRemote mboRemote) throws java.rmi.RemoteException, MXException
setByInstrType
in interface PlusCDSInstrRemote
mboRemote
- the new by instr typejava.rmi.RemoteException
- the remote exceptionMXException
- the mX exceptionpublic void setFlagsByPointsType(MboRemote mboRemote, boolean flag) throws java.rmi.RemoteException
setFlagsByPointsType
in interface PlusCDSInstrRemote
mboRemote
- the mbo remoteflag
- the flagjava.rmi.RemoteException
- the remote exceptionpublic void setBlankByPointsType(MboRemote mboRemote) throws java.rmi.RemoteException, MXException
setBlankByPointsType
in interface PlusCDSInstrRemote
mboRemote
- the new blank by points typejava.rmi.RemoteException
- the remote exceptionMXException
- the mX exceptionpublic void setBlankInstrTolerances(MboRemote mboRemote, boolean summed, boolean single, boolean forNonLinear) throws java.rmi.RemoteException, MXException
setBlankInstrTolerances
in interface PlusCDSInstrRemote
mboRemote
- the mbo remotesummed
- the summedsingle
- the singleforNonLinear
- the for non linearjava.rmi.RemoteException
- the remote exceptionMXException
- the mX exceptionpublic boolean isAllBlankByPointsType(MboRemote mboRemote) throws java.rmi.RemoteException, MXException
isAllBlankByPointsType
in interface PlusCDSInstrRemote
mboRemote
- the mbo remotejava.rmi.RemoteException
- the remote exceptionMXException
- the mX exceptionpublic boolean isAllBlankInstrTolerances(MboRemote mboRemote, boolean summed, boolean single, boolean forNonLinear) throws java.rmi.RemoteException, MXException
isAllBlankInstrTolerances
in interface PlusCDSInstrRemote
mboRemote
- the mbo remotesummed
- the summedsingle
- the singleforNonLinear
- the for non linearjava.rmi.RemoteException
- the remote exceptionMXException
- the mX exceptionpublic void setFlagsByInstrType(MboRemote mboRemote, boolean flag, boolean flagP) throws java.rmi.RemoteException
setFlagsByInstrType
in interface PlusCDSInstrRemote
mboRemote
- the mbo remoteflag
- the flagflagP
- the flag pjava.rmi.RemoteException
- the remote exceptionpublic java.util.ArrayList getInstrTolsList(boolean summed, boolean single, boolean forNonLinear) throws java.rmi.RemoteException, MXException
summed
- the summedsingle
- the singleforNonLinear
- the for non linearjava.rmi.RemoteException
- the remote exceptionMXException
- the mX exceptionpublic static java.util.ArrayList getFullInstrTolsList()
public void changePointsEU() throws java.rmi.RemoteException, MXException
changePointsEU
in interface PlusCDSInstrRemote
java.rmi.RemoteException
- the remote exceptionMXException
- the mX exceptionpublic void setInstrAsNonLinear(boolean flag) throws java.rmi.RemoteException, MXException
setInstrAsNonLinear
in interface PlusCDSInstrRemote
flag
- the new instr as non linearjava.rmi.RemoteException
- the remote exceptionMXException
- the mX exceptionpublic void validateInstrAsNonLinear() throws java.rmi.RemoteException, MXException
validateInstrAsNonLinear
in interface PlusCDSInstrRemote
java.rmi.RemoteException
- the remote exceptionMXException
- the mX exceptionpublic void setInstrAsRepeatable(boolean repeatable) throws java.rmi.RemoteException, MXException
PlusCDSInstrRemote
setInstrAsRepeatable
in interface PlusCDSInstrRemote
repeatable
- the new instr as repeatablejava.rmi.RemoteException
- the remote exceptionMXException
- the mX exceptionpublic void setInstrFieldFlag() throws MXException, java.rmi.RemoteException
setInstrFieldFlag
in interface PlusCDSInstrRemote
MXException
- the mX exceptionjava.rmi.RemoteException
- the remote exceptionpublic void init() throws MXException
Mbo
init
in class Mbo
MXException
public void setFieldEditibilityFlags() throws MXException, java.rmi.RemoteException
PlusCDSInstrRemote
setFieldEditibilityFlags
in interface PlusCDSInstrRemote
MXException
- the mX exceptionjava.rmi.RemoteException
- the remote exceptionpublic void add() throws MXException, java.rmi.RemoteException
add
in interface MboRemote
add
in class Mbo
MXException
- the mX exceptionjava.rmi.RemoteException
- the remote exceptionpublic void generateAutoKey() throws java.rmi.RemoteException, MXException
generateAutoKey
in interface MboRemote
generateAutoKey
in class Mbo
java.rmi.RemoteException
- the remote exceptionMXException
- the mX exceptionMboValue.autoKey()
,
MboValue.generateUniqueID()
public void canDelete() throws MXException, java.rmi.RemoteException
canDelete
in class Mbo
MXException
- the mX exceptionjava.rmi.RemoteException
- the remote exceptionpublic 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 propagateKeyValue(java.lang.String keyName, java.lang.String keyValue) throws MXException, java.rmi.RemoteException
Mbo
propagateKeyValue
in interface MboRemote
propagateKeyValue
in class Mbo
MXException
java.rmi.RemoteException
public void appValidate() throws MXException, java.rmi.RemoteException
Mbo
appValidate
in class Mbo
MXException
java.rmi.RemoteException
public void childHasChanged() throws MXException, java.rmi.RemoteException
PlusCDSInstrRemote
childHasChanged
in interface PlusCDSInstrRemote
MXException
- the mX exceptionjava.rmi.RemoteException
- the remote exceptionpublic void copyAttributesValues(MboRemote mbo, MboSetRemote mboset, long mboAddFlags) throws MXException, java.rmi.RemoteException
copyAttributesValues
in interface PlusCDSInstrRemote
mbo
- The newly created mbo which copies the values of this mbomboset
- The set into which the new mbo will be added.mboAddFlags
- Flags to use when adding the new Mbo.MXException
- the mX exceptionjava.rmi.RemoteException
- the remote exception