public class ShowPlanMboSet extends FauxMboSet implements ShowPlanMboSetRemote, MboSetListener
INSERTONLY, 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 |
---|
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.
|
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.
|
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, 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, getApp, getAppAlwaysFieldFlags, getBoolean, getByte, getBytes, getClientLocale, getClientTimeZone, getCompleteWhere, getCurrentPosition, getDate, getDBFetchMaxRows, 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, max, min, moveFirst, moveLast, moveNext, movePrev, moveTo, newMboIndex, notExist, positionState, processML, remove, remove, remove, 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, 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, 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, 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, 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 ShowPlanMboSet(MboRemote owner, java.lang.String name, java.lang.String relationship) throws java.rmi.RemoteException
relationship
- "WPLABOR", "WPMATERIAL", "WPTOOL"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 setCurrentWorkOrder(MboRemote mbo) throws MXException, java.rmi.RemoteException
mbo
- The new current work order.MXException
java.rmi.RemoteException
public void fetchMbos(int toPosition) throws MXException, java.rmi.RemoteException
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 setOrderBy(java.lang.String orderByClause) throws MXException, java.rmi.RemoteException
setOrderBy
in interface MboSetRemote
setOrderBy
in class FauxMboSet
orderByClause
- The 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 MboRemote addAtIndex(long accessModifier, int index) throws MXException, java.rmi.RemoteException
addAtIndex
in interface MboSetRemote
addAtIndex
in class FauxMboSet
index
- Where to add the new Mbo.MXException
java.rmi.RemoteException
psdi.mbo.MboSet#addAtIndex(int, long)
public MboRemote getZombie() throws java.rmi.RemoteException
getZombie
in interface MboSetRemote
getZombie
in class FauxMboSet
java.rmi.RemoteException
public void canAdd() throws MXException
MXException
public void checkMethodAccess(java.lang.String method) throws MXException
checkMethodAccess
in interface MboSetRemote
checkMethodAccess
in class FauxMboSet
MXException
public java.lang.String getDefaultValue(java.lang.String attribute) throws MXException, java.rmi.RemoteException
getDefaultValue
in interface MboSetRemote
getDefaultValue
in class FauxMboSet
attribute
- NameMXException
java.rmi.RemoteException
public void setDefaultValue(java.lang.String attribute, java.lang.String value) throws MXException, java.rmi.RemoteException
setDefaultValue
in interface MboSetRemote
setDefaultValue
in class FauxMboSet
attribute
- NameMXException
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
This 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 ShowPlanMboSetRemote
MXException
java.rmi.RemoteException
public void preValidateIpcBom(IpcBomSetRemote bomset) throws MXException, java.rmi.RemoteException
preValidateIpcBom
in interface ShowPlanMboSetRemote
MXException
java.rmi.RemoteException
public void setAppWhere(java.lang.String appWhere) throws MXException, java.rmi.RemoteException
FauxMboSet
setAppWhere
in interface MboSetRemote
setAppWhere
in class FauxMboSet
appWhere
- This where clause will be added to the final assembled where clauseMXException
java.rmi.RemoteException
Getter method.
,
Assembles the where clause used to get records.
public java.lang.String getAppWhere() throws MXException, java.rmi.RemoteException
FauxMboSet
getAppWhere
in interface MboSetRemote
getAppWhere
in class FauxMboSet
MXException
java.rmi.RemoteException
Setter method.
,
Assembles the where clause used to get records.