public class ChildrenSet extends FauxMboSet implements FauxMboSetRemote, MboSetListener, MboSetListenable
This is the set of the other
work order children.
,
Serialized FormINSERTONLY, INSERTORUPDATE, UPDATEONLY
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 |
---|
ChildrenSet(MboRemote owner)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
MboRemote |
add(long accessModifier,
int woClass)
Adds a new Mbo at the beginning of the set.
|
MboRemote |
addAtEnd(int woClass)
Adds a new Mbo at the end of the set.
|
MboRemote |
addAtIndex(int index,
int woClass)
Access defaulted to NONE
|
MboRemote |
addAtIndex(long accessModifier,
int index,
int woClass)
Adds a new Mbo to the set.
|
void |
addedMbo(MboRemote newMbo,
int position)
A mbo has been added to the WO's CHILDREN set.
|
void |
addListener(MboSetListener l)
Add a listener to this MboSet.
|
void |
canAdd(int woClass)
Can we add more work orders to this set?
|
void |
fetchMbos(int toPosition)
This method needs to be overridden to produce the Mbos which are members of this "MboSet".
|
void |
fetchMbosOriginal(int toPosition)
Mbo supplier method.
|
java.lang.String |
getName()
Define to give the MboSet a name.
|
java.lang.String |
getOrderBy()
Returns the current order by of the set.
|
MboRemote |
getZombie()
This method should be overridden so that in returns a Zombie Mbo
of the type of Mbo that makes up this set.
|
double |
max(java.lang.String attribute)
Undefined in the faux set.
|
void |
modifiedMbo(MboRemote modifiedMbo)
Received a report that a Mbo has been modified, in a significant way.
|
void |
removedMbo(MboRemote newMbo,
int position)
Reports that a Mbo has been removed from the MboSet.
|
void |
removeListener(MboSetListener l)
Remove a listener
|
void |
reportModifiedMbo(MboRemote modifiedMbo)
Assumes that the modified Mbo is a member of the set.
|
void |
reset()
Reset method overridden to reset internal variables.
|
void |
setOrderBy(java.lang.String orderByClause)
Setting the order by for this set sets the order by in the realset.
|
void |
setOwner(MboRemote mbo)
Given the owner of this MboSet, now can set self as a listener
to the owner's children set.
|
abortSql, add, add, addAtEnd, addAtEnd, addAtIndex, addAtIndex, addFakeAtEnd, addSubQbe, addSubQbe, addSubQbe, addSubQbe, addWarning, addWarnings, checkMethodAccess, cleanup, clear, clearLongOpPipe, clearWarnings, close, commit, commitTransaction, copy, copy, copyForDM, count, count, deleteAll, deleteAll, deleteAndRemove, deleteAndRemove, deleteAndRemove, deleteAndRemove, deleteAndRemove, deleteAndRemoveAll, deleteAndRemoveAll, determineRequiredFieldsFromERM, earliestDate, fetchNext, findAllNullRequiredFields, findByIntegrationKey, findKey, fireEventsAfterDB, fireEventsAfterDBCommit, fireEventsBeforeDB, getApp, getAppAlwaysFieldFlags, getAppWhere, getBoolean, getByte, getBytes, getClientLocale, getClientTimeZone, getCompleteWhere, getCurrentPosition, getDate, getDBFetchMaxRows, getDefaultValue, getDefaultValueHash, getDouble, getERMEntity, getESigTransactionId, getExcludeMeFromPropagation, getFetchAttributes, getFetchAttributes, getFlags, getFloat, getInt, getJspDefaultValueHash, getKeyAttributes, getList, getList, getLong, getMaxMessage, getMbo, getMbo, getMboForUniqueId, getMboSetData, getMboSetData, getMboSetInfo, getMboSetRetainMboPositionData, getMboSetRetainMboPositionInfo, getMboSetValueData, getMboSetValueData, getMboValueData, getMboValueData, getMboValueData, getMboValueInfoStatic, getMboValueInfoStatic, getMessage, getMessage, getMessage, getMessage, getMLFromClause, getMXTransaction, getOwner, getParentApp, getProfile, getQbe, getQbe, getQbe, getQbeWhere, getQueryTimeout, getRelationName, getRelationship, getSelection, getSelectionWhere, getSetOrderByForUI, getSize, getSQLOptions, getString, getTxnPropertyMap, getUserAndQbeWhere, getUserInfo, getUserName, getUserWhere, getUserWhere, getWarnings, getWhere, hasFetchAttributes, hasMLQbe, hasQbe, hasWarnings, ignoreQbeExactMatchSet, incrementDeletedCount, init, isBasedOn, isClosed, isDMDeploySet, isDMSkipFieldValidation, isEmpty, isESigNeeded, isFlagSet, isFromGetList, isIgnoreQbeExactMatchSet, isNull, isQbeCaseSensitive, isQbeExactMatch, isRetainMboPosition, latestDate, locateMbo, logESigVerification, min, moveFirst, moveLast, moveNext, movePrev, moveTo, newMboIndex, notExist, positionState, processML, remove, remove, remove, resetQbe, resetWithSelection, rollback, rollbackToCheckpoint, rollbackToCheckpoint, rollbackTransaction, save, save, saveTransaction, select, select, select, selectAll, setAllowQualifiedRestriction, setApp, setAppAlwaysFieldFlag, setAppWhere, setAutoKeyFlag, setDBFetchMaxRows, setDefaultOrderBy, setDefaultValue, setDefaultValue, setDefaultValues, setDefaultValues, setDMDeploySet, setDMSkipFieldValidation, setERMEntity, setESigFieldModified, setExcludeMeFromPropagation, setFetchAttributes, setFlag, setFlag, setFlags, setFromGetList, setInsertCompanySet, setInsertItemSet, setInsertOrg, setInsertSite, setLastESigTransId, setLogLargFetchResultDisabled, setMboSetInfo, setMXTransaction, setNoNeedtoFetchFromDB, setOverrideOptimisticLock, setQbe, setQbe, setQbe, setQbe, setQbe, setQbeCaseSensitive, setQbeCaseSensitive, setQbeExactMatch, setQbeExactMatch, setQbeOperatorOr, setQueryBySiteQbe, setQueryTimeout, setRelationName, setRelationship, setRequiedFlagsFromERM, setRetainMboPosition, setSetOrderByForUI, setSQLOptions, setTableDomainLookup, setTxnPropertyMap, setupLongOpPipe, setUserWhere, setUserWhereAfterParse, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueNull, setValueNull, setWhere, setWhereQbe, smartFill, smartFill, smartFind, smartFind, smartFind, smartFind, startCheckpoint, startCheckpoint, sum, toBeSaved, undeleteAll, undoTransaction, unselect, unselect, unselect, unselectAll, useStoredQuery, validate, validateTransaction, verifyESig
clone, exportObject, exportObject, exportObject, unexportObject
equals, getRef, hashCode, toString, toStub
abortSql, add, add, addAtEnd, addAtEnd, addAtIndex, addAtIndex, addFakeAtEnd, addSubQbe, addSubQbe, addSubQbe, addSubQbe, addWarning, addWarnings, checkMethodAccess, cleanup, clear, clearLongOpPipe, close, commit, copy, copy, copyForDM, count, count, deleteAll, deleteAll, deleteAndRemove, deleteAndRemove, deleteAndRemove, deleteAndRemove, deleteAndRemove, deleteAndRemoveAll, deleteAndRemoveAll, determineRequiredFieldsFromERM, earliestDate, fetchNext, findAllNullRequiredFields, findByIntegrationKey, findKey, getApp, getAppAlwaysFieldFlags, getAppWhere, getCompleteWhere, getCurrentPosition, getDBFetchMaxRows, getDefaultValue, getERMEntity, getESigTransactionId, getExcludeMeFromPropagation, getFlags, getKeyAttributes, getList, getList, getMaxMessage, getMbo, getMbo, getMboForUniqueId, getMboSetData, getMboSetData, getMboSetInfo, getMboSetRetainMboPositionData, getMboSetRetainMboPositionInfo, getMboSetValueData, getMboValueData, getMboValueData, getMboValueData, getMboValueInfoStatic, getMboValueInfoStatic, getMessage, getMessage, getMessage, getMessage, getMLFromClause, getMXTransaction, getOwner, getParentApp, getProfile, getQbe, getQbe, getQbe, getQbeWhere, getQueryTimeout, getRelationName, getRelationship, getSelection, getSelectionWhere, getSetOrderByForUI, getSize, getSQLOptions, getTxnPropertyMap, getUserAndQbeWhere, getUserInfo, getUserName, getUserWhere, getWarnings, getWhere, hasMLQbe, hasQbe, hasWarnings, ignoreQbeExactMatchSet, incrementDeletedCount, init, isBasedOn, isDMDeploySet, isDMSkipFieldValidation, isEmpty, isESigNeeded, isFlagSet, isQbeCaseSensitive, isQbeExactMatch, isRetainMboPosition, latestDate, locateMbo, logESigVerification, min, moveFirst, moveLast, moveNext, movePrev, moveTo, newMboIndex, notExist, positionState, processML, remove, remove, remove, resetQbe, resetWithSelection, rollback, rollbackToCheckpoint, rollbackToCheckpoint, save, save, select, select, select, selectAll, setAllowQualifiedRestriction, setApp, setAppAlwaysFieldFlag, setAppWhere, setAutoKeyFlag, setDBFetchMaxRows, setDefaultOrderBy, setDefaultValue, setDefaultValue, setDefaultValues, setDMDeploySet, setDMSkipFieldValidation, setERMEntity, setESigFieldModified, setExcludeMeFromPropagation, setFlag, setFlag, setFlags, setInsertCompanySet, setInsertItemSet, setInsertOrg, setInsertSite, setLastESigTransId, setLogLargFetchResultDisabled, setMboSetInfo, setMXTransaction, setNoNeedtoFetchFromDB, setQbe, setQbe, setQbe, setQbe, setQbe, setQbeCaseSensitive, setQbeCaseSensitive, setQbeExactMatch, setQbeExactMatch, setQbeOperatorOr, setQueryBySiteQbe, setQueryTimeout, setRelationName, setRelationship, setRequiedFlagsFromERM, setRetainMboPosition, setSetOrderByForUI, setSQLOptions, setTableDomainLookup, setTxnPropertyMap, setupLongOpPipe, setUserWhere, setUserWhereAfterParse, setWhere, setWhereQbe, smartFill, smartFill, smartFind, smartFind, startCheckpoint, startCheckpoint, sum, toBeSaved, undeleteAll, unselect, unselect, unselect, unselectAll, useStoredQuery, validate, verifyESig
getBoolean, getByte, getBytes, getDate, getDouble, getFloat, getInt, getLong, getString, isNull, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueNull, setValueNull
commitTransaction, fireEventsAfterDB, fireEventsAfterDBCommit, fireEventsBeforeDB, rollbackTransaction, saveTransaction, undoTransaction, validateTransaction
public ChildrenSet(MboRemote owner) throws java.rmi.RemoteException
java.rmi.RemoteException
public void fetchMbos(int toPosition) throws MXException, java.rmi.RemoteException
FauxMboSet
fetchMbos
in class FauxMboSet
MXException
java.rmi.RemoteException
public void reset() throws MXException, java.rmi.RemoteException
reset
in interface MboSetRemote
reset
in class FauxMboSet
MXException
java.rmi.RemoteException
MboSet.reset()
public void fetchMbosOriginal(int toPosition) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.lang.String getName() throws java.rmi.RemoteException
FauxMboSet
getName
in interface MboSetRemote
getName
in class FauxMboSet
java.rmi.RemoteException
public final void setOwner(MboRemote mbo) throws MXException, java.rmi.RemoteException
setOwner
in interface MboSetRemote
setOwner
in class FauxMboSet
MXException
java.rmi.RemoteException
FauxMboSet.getOwner()
public void canAdd(int woClass) throws MXException
MXException
Delegated to the real set.
public MboRemote add(long accessModifier, int woClass) throws MXException, java.rmi.RemoteException
accessModifier
- FlagMXException
java.rmi.RemoteException
calls this method with the index parameter set to 0.
public MboRemote addAtIndex(int index, int woClass) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public MboRemote addAtIndex(long accessModifier, int index, int woClass) throws java.rmi.RemoteException, MXException
accessModifier
- Access override flagindex
- Where to put the new record. 0 means the beginning, -1 the end of the set.woClass
- What type of record to add.java.rmi.RemoteException
MXException
public MboRemote addAtEnd(int woClass) throws MXException, java.rmi.RemoteException
accessModifier
- FlagMXException
java.rmi.RemoteException
public MboRemote getZombie() throws java.rmi.RemoteException
getZombie
in interface MboSetRemote
getZombie
in class FauxMboSet
java.rmi.RemoteException
public void setOrderBy(java.lang.String orderByClause) throws MXException, java.rmi.RemoteException
setOrderBy
in interface MboSetRemote
setOrderBy
in class FauxMboSet
orderByClause
- The persistent columns to order by.MXException
java.rmi.RemoteException
MboSet.setOrderBy(String orderByClause)
public java.lang.String getOrderBy() throws java.rmi.RemoteException
getOrderBy
in interface MboSetRemote
getOrderBy
in class FauxMboSet
java.rmi.RemoteException
public void addedMbo(MboRemote newMbo, int position) throws MXException, java.rmi.RemoteException
addedMbo
in interface MboSetListener
newMbo
- The newly created Mbo.position
- The postion of the new Mbo.MXException
java.rmi.RemoteException
public void removedMbo(MboRemote newMbo, int position) throws MXException, java.rmi.RemoteException
removedMbo
in interface MboSetListener
newMbo
- The recently removed Mbo.position
- The postion of the Mbo before it was removed.MXException
java.rmi.RemoteException
public void modifiedMbo(MboRemote modifiedMbo) throws MXException, java.rmi.RemoteException
modifiedMbo
in interface MboSetListener
modifiedMbo
- The recently modified Mbo.MXException
java.rmi.RemoteException
public void addListener(MboSetListener l)
addListener
in interface MboSetListenable
addListener
in class FauxMboSet
l
- The listener to add.public void removeListener(MboSetListener l)
removeListener
in interface MboSetListenable
removeListener
in class FauxMboSet
l
- The listener to remove.public void reportModifiedMbo(MboRemote modifiedMbo) throws MXException, java.rmi.RemoteException
reportModifiedMbo
in interface MboSetListenable
reportModifiedMbo
in class FauxMboSet
MXException
java.rmi.RemoteException
Listeners are informed of the modified Mbo.
public double max(java.lang.String attribute) throws MXException, java.rmi.RemoteException
FauxMboSet
max
in interface MboSetRemote
max
in class FauxMboSet
MXException
java.rmi.RemoteException
MboSet.max(String attribute)