public class PlusCWODS extends Mbo implements PlusCWODSRemote
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 |
---|
PlusCWODS(MboSet ms)
Instantiates a new plus cwods.
|
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.
|
java.util.Set<java.lang.String> |
buildStatusMaps(java.util.Set<java.lang.String> currentStatusSet,
int iStatusSet,
boolean bTolStatusDefined,
boolean bSkipAsFound,
boolean bSkipAsLeft,
java.lang.String status1,
java.lang.String status2,
java.lang.String status3,
java.lang.String status4)
Issue 08-16263.
|
void |
canDelete()
Can the object be deleted ?
This is object specific and should be overridden.
|
boolean |
checkForBrokenSynonymDefaultAsFound() |
boolean |
checkForBrokenSynonymDefaultAsLeft() |
void |
childHasChanged()
Child has changed.
|
void |
clearUncertaintyFields()
Clear uncertainty fields.
|
void |
copyDStoWODS()
Change the WO DS - Code got from Action method of PlusCFldWODSPlanNum class.
|
void |
delete(long accessModifier)
Mark the object to be deleted depending on the access modifier.
|
boolean |
getBooleanWithDefault(java.lang.String attribute,
boolean valueIfNull)
Returns the given attributes boolean value, or
valueIfNull
if the attribute is null. |
MboRemote |
getMyInstrOwner()
Gets the my instr owner.
|
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 |
isAddingToWO()
Checks if is adding to wo.
|
boolean |
isDeletingFromWO()
Checks if is deleting from wo.
|
boolean |
isLoop()
Is this a loop Datasheet?.
|
void |
propagateKeyValue(java.lang.String keyName,
java.lang.String keyValue)
Method for propagating key value.
|
static void |
propagateKeyValueToRelatedMbos(MboSetRemote msr,
java.lang.String keyName,
java.lang.String keyValue)
Calls the
propagateKeyValue method on all MBOs of the
given MBOSet. |
void |
save()
Issue 08-16263
Staus setting was rewrite.
|
void |
setDSRequiredStatus(boolean cleared)
Sets the read-only status of the datasheets's REQUIRED field
according to whether its points' as found/left data are filled.
|
void |
setDSRowStatus(java.util.Set<java.lang.String> afMap,
java.util.Set<java.lang.String> alMap)
Issue 08-16263.
|
void |
setFailDSStatusSet()
Set the set with right values.
|
void |
setFailSynonymDSStatusSet()
Issue 08-16263.
|
void |
setIsAddingToWO(boolean setting)
Sets the checks if is adding to wo.
|
void |
setIsDeleteingFromWO(boolean setting)
Sets the checks if is deleteing from wo.
|
static void |
setKeyValueInRelatedMboSetQuery(MboSetRemote msr)
Update the relationship's where clause to reflect a change in the owner
MBO's attributes.
|
void |
setPassDSStatusSet()
Set the set with right values.
|
void |
setReadOnlyFields()
Sets the read only fields.
|
void |
undelete()
Unmark the Mbo for deletion.
|
void |
validateDS(java.lang.String dsNum,
java.lang.String revNum)
Validate ds.
|
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, 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, 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, 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
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, 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 PlusCWODS(MboSet ms) throws MXException, java.rmi.RemoteException
ms
- the msMXException
- the mX exceptionjava.rmi.RemoteException
- the remote exceptionpublic 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 setFailSynonymDSStatusSet() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
- the remote exceptionMXException
- the mX exceptionpublic boolean checkForBrokenSynonymDefaultAsFound() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public boolean checkForBrokenSynonymDefaultAsLeft() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public void setFailDSStatusSet()
public void setPassDSStatusSet()
public void setDSRowStatus(java.util.Set<java.lang.String> afMap, java.util.Set<java.lang.String> alMap) throws java.rmi.RemoteException, MXException
afMap
- the af mapalMap
- the al mapjava.rmi.RemoteException
- the remote exceptionMXException
- the mX exceptionpublic void save() throws MXException, java.rmi.RemoteException
MXException
- the mX exceptionjava.rmi.RemoteException
- the remote exceptionpublic java.util.Set<java.lang.String> buildStatusMaps(java.util.Set<java.lang.String> currentStatusSet, int iStatusSet, boolean bTolStatusDefined, boolean bSkipAsFound, boolean bSkipAsLeft, java.lang.String status1, java.lang.String status2, java.lang.String status3, java.lang.String status4) throws java.rmi.RemoteException, MXException
currentStatusSet
- the current status setiStatusSet
- the i status setbTolStatusDefined
- the b tol status definedbSkipAsFound
- the b skip as foundbSkipAsLeft
- the b skip as leftstatus1
- the status1status2
- the status2status3
- the status3status4
- the status4java.rmi.RemoteException
- the remote exceptionMXException
- the mX exceptionpublic boolean isLoop() throws java.rmi.RemoteException, MXException
isLoop
in interface PlusCWODSRemote
java.rmi.RemoteException
- the remote exceptionMXException
- the mX exceptionpublic void canDelete() throws MXException, java.rmi.RemoteException
Mbo
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 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 static void propagateKeyValueToRelatedMbos(MboSetRemote msr, java.lang.String keyName, java.lang.String keyValue) throws java.rmi.RemoteException, MXException
propagateKeyValue
method on all MBOs of the
given MBOSet.msr
- MBOSet to propagate key value to.keyName
- name of attribute to propagatekeyValue
- value of of attribute to propagatejava.rmi.RemoteException
- the remote exceptionMXException
- the mX exceptionpublic static void setKeyValueInRelatedMboSetQuery(MboSetRemote msr) throws java.rmi.RemoteException, MXException
msr
- MBO Set whose where clause must be updatedjava.rmi.RemoteException
- the remote exceptionMXException
- the mX exceptionpublic void setReadOnlyFields() throws MXException, java.rmi.RemoteException
PlusCWODSRemote
setReadOnlyFields
in interface PlusCWODSRemote
MXException
- the mX exceptionjava.rmi.RemoteException
- the remote exceptionpublic void clearUncertaintyFields() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
- the remote exceptionMXException
- the mX exceptionpublic boolean isAddingToWO() throws MXException, java.rmi.RemoteException
PlusCWODSRemote
isAddingToWO
in interface PlusCWODSRemote
MXException
- the mX exceptionjava.rmi.RemoteException
- the remote exceptionpublic void setIsAddingToWO(boolean setting) throws MXException, java.rmi.RemoteException
PlusCWODSRemote
setIsAddingToWO
in interface PlusCWODSRemote
setting
- the new checks if is adding to woMXException
- the mX exceptionjava.rmi.RemoteException
- the remote exceptionpublic boolean isDeletingFromWO() throws MXException, java.rmi.RemoteException
PlusCWODSRemote
isDeletingFromWO
in interface PlusCWODSRemote
MXException
- the mX exceptionjava.rmi.RemoteException
- the remote exceptionpublic void setIsDeleteingFromWO(boolean setting) throws MXException, java.rmi.RemoteException
PlusCWODSRemote
setIsDeleteingFromWO
in interface PlusCWODSRemote
setting
- the new checks if is deleteing from woMXException
- the mX exceptionjava.rmi.RemoteException
- the remote exceptionpublic MboRemote getMyInstrOwner() throws MXException, java.rmi.RemoteException
MXException
- the mX exceptionjava.rmi.RemoteException
- the remote exceptionpublic void copyDStoWODS() throws MXException, java.rmi.RemoteException
copyDStoWODS
in interface PlusCWODSRemote
MXException
- the mX exceptionjava.rmi.RemoteException
- the remote exceptionpublic void validateDS(java.lang.String dsNum, java.lang.String revNum) throws MXException, java.rmi.RemoteException
PlusCWODSRemote
validateDS
in interface PlusCWODSRemote
dsNum
- the ds numrevNum
- the rev numMXException
- the mX exceptionjava.rmi.RemoteException
- the remote exceptionpublic boolean getBooleanWithDefault(java.lang.String attribute, boolean valueIfNull) throws MXException, java.rmi.RemoteException, MXApplicationException
valueIfNull
if the attribute is null.getBooleanWithDefault
in interface PlusCWODSRemote
attribute
- name of attribute to getvalueIfNull
- value if attribute is nullMXException
- the mX exceptionjava.rmi.RemoteException
- the remote exceptionMXApplicationException
- the mX application exceptionpublic void setDSRequiredStatus(boolean cleared) throws java.rmi.RemoteException, MXException
cleared
argument indicates whether the field's content
has been set to empty (true
) or not empty (false
).setDSRequiredStatus
in interface PlusCWODSRemote
cleared
- whether the field's content has been set to empty (true
) or not empty (false
).java.rmi.RemoteException
- the remote exceptionMXException
- the mX exceptionpublic void childHasChanged() throws MXException, java.rmi.RemoteException
PlusCWODSRemote
childHasChanged
in interface PlusCWODSRemote
MXException
- the mX exceptionjava.rmi.RemoteException
- the remote exceptionpublic void appValidate() throws MXException, java.rmi.RemoteException
Mbo
appValidate
in class Mbo
MXException
java.rmi.RemoteException