public class ShowPlanMboSet extends FauxMboSet implements ShowPlanMboSetRemote, MboSetListener
| Modifier and Type | Field and Description |
|---|---|
protected int |
addPosition
Records where to add the last Mbo.
|
protected java.lang.String |
applicationClause
issue 07-19842 - store the application where
|
protected boolean |
compareOrderBy
Before reading the first record from the real set, we compare the order by clauses.
|
protected int |
currentChildPos
Current position in the children set.
|
protected ChildrenSet |
currentChildren
CHILDREN set of the current work order.
|
protected WO |
currentWO
The current work order this set is displaying for.
|
protected int |
DEFAULT_ADD_POSITION
Determines the default position where new Mbos are added.
|
protected java.lang.String |
name
Name of the set
|
protected OrderBy |
orderby
Special data structure to hold the order by clause
|
protected java.lang.String |
relationship
Name of the relationship to use to get the Mbos that make up the set.
|
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 |
|---|
ShowPlanMboSet(MboRemote owner,
java.lang.String name,
java.lang.String relationship)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
MboRemote |
addAtIndex(long accessModifier,
int index)
Adds a new Mbo at the position specified.
|
void |
addedMbo(MboRemote newMbo,
int position)
A mbo has been added to the WO's related mboset.
|
protected Mbo |
addForFauxSet(MboSet realSet)
Create for issue 08-22334, add with jspdefaults defined against the FauxMboSet
|
void |
canAdd()
Since additions to this set will occur in the parent's set, check that set
to see if can add.
|
void |
checkMethodAccess(java.lang.String method)
Since action to this set will occur in the parent's set, check that set
to see if can do this action.
|
void |
fetchMbos(int toPosition)
Mbo supplier method checks for any order by defined.
|
protected void |
finishPlanMove(MboRemote original,
MboRemote copy)
This method completes any moves of Plan Mbos between the different work order
owned Plan Sets.
|
java.lang.String |
getAppWhere()
Gets the application where clause.
|
java.lang.String |
getDefaultValue(java.lang.String attribute)
Gets the screen default from the real set of the top WO.
|
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.
|
void |
modifiedMbo(MboRemote modifiedMbo)
Received a report that a Mbo has been modified, in a significant way.
|
void |
preValidateIpcBom(IpcBomSetRemote bomset)
Hook for IPC to prevalidate bills of materials for this particular application
|
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 |
returnIPCParts(IpcSelectedPartsSetRemote partset)
Hook for IPC to return selected parts in IPC back to Plans
|
void |
setAppWhere(java.lang.String appWhere)
Sets the application where clause.
|
void |
setCurrentWorkOrder(MboRemote mbo)
This method provides a new current work order for which we want to display
work plan labor for.
|
void |
setDefaultValue(java.lang.String attribute,
java.lang.String value)
Sets the screen default to the real set of the top WO.
|
void |
setOrderBy(java.lang.String orderByClause)
Sets the order by for this set.
|
void |
setOwner(MboRemote mbo)
Setup set once we get the work order owner.
|
abortSql, add, add, addAtEnd, addAtEnd, addAtIndex, addFakeAtEnd, addForFauxSet, addListener, addSubQbe, addSubQbe, addSubQbe, addSubQbe, addWarning, addWarnings, 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, getBoolean, getByte, getBytes, getClientLocale, getClientTimeZone, getCompleteWhere, getCurrentPosition, getDate, getDBFetchMaxRows, 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, setAutoKeyFlag, setDBFetchMaxRows, setDefaultOrderBy, 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, 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, getCompleteWhere, getCurrentPosition, getDBFetchMaxRows, 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, setAutoKeyFlag, setDBFetchMaxRows, setDefaultOrderBy, 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 java.lang.String name
protected java.lang.String relationship
protected boolean compareOrderBy
protected OrderBy orderby
protected WO currentWO
protected ChildrenSet currentChildren
protected int currentChildPos
protected final int DEFAULT_ADD_POSITION
ShowPlanMboSet.addPosition,
Constant Field Valuesprotected int addPosition
protected java.lang.String applicationClause
public ShowPlanMboSet(MboRemote owner, java.lang.String name, java.lang.String relationship) throws java.rmi.RemoteException
relationship - "WPLABOR", "WPMATERIAL", "WPTOOL"java.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 setCurrentWorkOrder(MboRemote mbo) throws MXException, java.rmi.RemoteException
mbo - The new current work order.MXExceptionjava.rmi.RemoteExceptionpublic void fetchMbos(int toPosition)
throws MXException,
java.rmi.RemoteException
fetchMbos in class FauxMboSetMXExceptionjava.rmi.RemoteExceptionpublic void reset()
throws MXException,
java.rmi.RemoteException
reset in interface MboSetRemotereset in class FauxMboSetMXExceptionjava.rmi.RemoteExceptionMboSet.reset()public void setOrderBy(java.lang.String orderByClause)
throws MXException,
java.rmi.RemoteException
setOrderBy in interface MboSetRemotesetOrderBy in class FauxMboSetorderByClause - The 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 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)protected Mbo addForFauxSet(MboSet realSet) throws java.rmi.RemoteException, MXException
realSet - where to actually add the Mbojava.rmi.RemoteExceptionMXExceptionpublic MboRemote getZombie() throws java.rmi.RemoteException
getZombie in interface MboSetRemotegetZombie in class FauxMboSetjava.rmi.RemoteExceptionpublic void canAdd()
throws MXException
MXExceptionpublic void checkMethodAccess(java.lang.String method)
throws MXException
checkMethodAccess in interface MboSetRemotecheckMethodAccess in class FauxMboSetMXExceptionprotected void finishPlanMove(MboRemote original, MboRemote copy) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic java.lang.String getDefaultValue(java.lang.String attribute)
throws MXException,
java.rmi.RemoteException
getDefaultValue in interface MboSetRemotegetDefaultValue in class FauxMboSetattribute - NameMXExceptionjava.rmi.RemoteExceptionpublic void setDefaultValue(java.lang.String attribute,
java.lang.String value)
throws MXException,
java.rmi.RemoteException
setDefaultValue in interface MboSetRemotesetDefaultValue in class FauxMboSetattribute - NameMXExceptionjava.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.RemoteExceptionpublic 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.RemoteExceptionThis informs the set listeners that
the mbo needs to move to another work order's mboset.public void returnIPCParts(IpcSelectedPartsSetRemote partset) throws MXException, java.rmi.RemoteException
returnIPCParts in interface ShowPlanMboSetRemoteMXExceptionjava.rmi.RemoteExceptionpublic void preValidateIpcBom(IpcBomSetRemote bomset) throws MXException, java.rmi.RemoteException
preValidateIpcBom in interface ShowPlanMboSetRemoteMXExceptionjava.rmi.RemoteExceptionpublic void setAppWhere(java.lang.String appWhere)
throws MXException,
java.rmi.RemoteException
FauxMboSetsetAppWhere in interface MboSetRemotesetAppWhere in class FauxMboSetappWhere - This where clause will be added to the final assembled where clauseMXExceptionjava.rmi.RemoteExceptionGetter method.,
Assembles the where clause used to get records.public java.lang.String getAppWhere()
throws MXException,
java.rmi.RemoteException
FauxMboSetgetAppWhere in interface MboSetRemotegetAppWhere in class FauxMboSetMXExceptionjava.rmi.RemoteExceptionSetter method.,
Assembles the where clause used to get records.