public class ShowChildrenSet extends FauxMboSet implements FauxMboSetRemote, MboSetListener
| Modifier and Type | Field and Description |
|---|---|
protected int |
addPosition
Records where to add the last Mbo.
|
protected boolean |
compareOrderBy
Before reading the first record from the real set, we compare the order by clauses.
|
protected int |
cur
Where in the real set are we?
|
protected int |
DEFAULT_ADD_POSITION
Determines the default position where new Mbos are added.
|
protected int |
nestedJPClass |
protected OrderBy |
orderby
Special data structure to hold the order by clause
|
protected ChildrenSet |
realSet
Link to the real MboSet which this set show some of the Mbos of.
|
protected int |
woClass |
appName, closed, currIndex, currMbo, dmDeploySet, dmDeploySkipFieldValidation, mbosetinfo, mboVec, ownerMbo, relationName, relationshipWhere, user, whereClauseINSERTONLY, INSERTORUPDATE, UPDATEONLYALLROWS, 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 |
|---|
ShowChildrenSet(MboRemote owner)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
MboRemote |
addAtEnd(java.lang.String jpWOClassSyn)
when child work orders are being generated using nested job plans the job plan
class of the nested job plan is used for the work order's work class.
|
MboRemote |
addAtIndex(long accessModifier,
int index)
Adds a new Mbo at the position specified.
|
MboRemote |
addAtIndex(long accessModifier,
java.lang.String newChildClass,
int index)
Adds a new Mbo with the defined woclass at the position specified.
|
void |
addedMbo(MboRemote newMbo,
int position)
A mbo has been added to the WO's CHILDREN set.
|
void |
canAdd()
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.
|
protected void |
insertMbo(MboRemote mbo)
Insert the mbo where it belongs in the 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 |
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, addFakeAtEnd, addForFauxSet, addListener, 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, getAllAppAlwaysFieldFlags, getApp, getAppAlwaysFieldFlags, getAppWhere, getBoolean, getByte, getBytes, getClientLocale, getClientTimeZone, getCompleteWhere, getCurrentPosition, getDate, getDBFetchMaxRows, getDefaultValue, getDefaultValueHash, getDouble, getERMEntity, getESigTransactionId, getExcludeMeFromPropagation, getFetchAttributes, getFetchAttributes, getFilter, 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, isDownloadSet, isEmpty, isESigNeeded, isFlagSet, isFromGetList, isIgnoreQbeExactMatchSet, isNull, isQbeCaseSensitive, isQbeExactMatch, isRetainMboPosition, latestDate, locateMbo, logESigVerification, max, min, moveFirst, moveLast, moveNext, movePrev, moveTo, newMboIndex, notExist, positionState, processML, remove, remove, remove, removeFromVector, removeListener, reportModifiedMbo, 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, setDownloadSet, 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, verifyESigclone, exportObject, exportObject, exportObject, unexportObjectequals, getRef, hashCode, toString, toStubfinalize, getClass, notify, notifyAll, wait, wait, waitabortSql, add, add, addAtEnd, addAtEnd, 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, isDownloadSet, isEmpty, isESigNeeded, isFlagSet, isQbeCaseSensitive, isQbeExactMatch, isRetainMboPosition, latestDate, locateMbo, logESigVerification, max, 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, setDownloadSet, 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, verifyESiggetBoolean, 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, setValueNullcommitTransaction, fireEventsAfterDB, fireEventsAfterDBCommit, fireEventsBeforeDB, rollbackTransaction, saveTransaction, undoTransaction, validateTransactionprotected ChildrenSet realSet
protected int woClass
protected int nestedJPClass
protected int cur
protected boolean compareOrderBy
protected OrderBy orderby
protected final int DEFAULT_ADD_POSITION
ShowChildrenSet.addPosition,
Constant Field Valuesprotected int addPosition
public ShowChildrenSet(MboRemote owner) throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic void fetchMbos(int toPosition)
throws MXException,
java.rmi.RemoteException
FauxMboSetfetchMbos in class FauxMboSetMXExceptionjava.rmi.RemoteExceptionpublic void reset()
throws MXException,
java.rmi.RemoteException
reset in interface MboSetRemotereset in class FauxMboSetMXExceptionjava.rmi.RemoteExceptionMboSet.reset()public void fetchMbosOriginal(int toPosition)
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic java.lang.String getName()
throws java.rmi.RemoteException
FauxMboSetgetName in interface MboSetRemotegetName in class FauxMboSetjava.rmi.RemoteExceptionpublic final void setOwner(MboRemote mbo) throws MXException, java.rmi.RemoteException
setOwner in interface MboSetRemotesetOwner in class FauxMboSetMXExceptionjava.rmi.RemoteExceptionFauxMboSet.getOwner()public void canAdd()
throws MXException
MXExceptionDelegated to the real set.public MboRemote addAtEnd(java.lang.String jpWOClassSyn) throws MXException, java.rmi.RemoteException
WO object using this method.jpWOClass - This is the synonym of the work order class to add.MXExceptionjava.rmi.RemoteExceptionWO.createOperations( MboSetRemote operations)public MboRemote addAtIndex(long accessModifier, java.lang.String newChildClass, int index) throws MXException, java.rmi.RemoteException
index - Where to add the new Mbo.newChildClass - type of mbo to add (Activity,Release,Change, WorkOrder)MXExceptionjava.rmi.RemoteExceptionpublic MboRemote addAtIndex(long accessModifier, int index) throws MXException, java.rmi.RemoteException
addAtIndex in interface MboSetRemoteaddAtIndex in class FauxMboSetindex - Where to add the new Mbo.MXExceptionjava.rmi.RemoteExceptionpsdi.mbo.MboSet#addAtIndex(int, long)public MboRemote getZombie() throws java.rmi.RemoteException
getZombie in interface MboSetRemotegetZombie in class FauxMboSetjava.rmi.RemoteExceptionpublic void setOrderBy(java.lang.String orderByClause)
throws MXException,
java.rmi.RemoteException
setOrderBy in interface MboSetRemotesetOrderBy in class FauxMboSetorderByClause - The persistent columns to order by.MXExceptionjava.rmi.RemoteExceptionMboSet.setOrderBy(String orderByClause)public java.lang.String getOrderBy()
throws java.rmi.RemoteException
getOrderBy in interface MboSetRemotegetOrderBy in class FauxMboSetjava.rmi.RemoteExceptionpublic void addedMbo(MboRemote newMbo, int position) throws MXException, java.rmi.RemoteException
addedMbo in interface MboSetListenernewMbo - The newly created Mbo.position - The postion of the new Mbo.MXExceptionjava.rmi.RemoteExceptionprotected void insertMbo(MboRemote mbo) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionShowChildrenSet.addPositionpublic void removedMbo(MboRemote newMbo, int position) throws MXException, java.rmi.RemoteException
removedMbo in interface MboSetListenernewMbo - The recently removed Mbo.position - The postion of the Mbo before it was removed.MXExceptionjava.rmi.RemoteExceptionpublic void modifiedMbo(MboRemote modifiedMbo) throws MXException, java.rmi.RemoteException
modifiedMbo in interface MboSetListenermodifiedMbo - The recently modified Mbo.MXExceptionjava.rmi.RemoteException