public class ToolTransSet extends MboSet implements ToolTransSetRemote, MboSetListenable
fetchStopLimitEnabled, LOOKUPMAXROW, maxSorterSize, mboCountCleanuplist, perfStats, strNoBaseLangValueEntered
ASSET, LOCATIONS, TOOL, WORKORDER
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
APPLOGGER, CRONTASKLOGGER, CRONTASKMGRLOGGER, CRONTASKMGRSQLLOGGER, DBCONNECTIONLOGGER, DDLOGGER, DMLOGGER, EVENTLOGGER, EXCEPTIONLOGGER, MAILLOGGER, MAXIMOLOGGER, MTLOGGER, NULLMBOPOINTER, SECURITY, SENDFAILEDLOGGER, SERVICELOGGER, SQLLOGGER
appenderPrefix, LOGGERNAME_APP, LOGGERNAME_CRONTASK, LOGGERNAME_CRONTASKMGR, LOGGERNAME_DBCONNECTION, LOGGERNAME_DD, LOGGERNAME_DM, LOGGERNAME_DMPREVIEW, LOGGERNAME_EVENT, LOGGERNAME_EXCEPTION, LOGGERNAME_MAIL, LOGGERNAME_MAXIMO, LOGGERNAME_MT, LOGGERNAME_NULLMBOPOINTER, LOGGERNAME_SECURITY, LOGGERNAME_SENDFAILED, LOGGERNAME_SERVICE, LOGGERNAME_SQL, LOGGERNAME_SQL_CRONTASKMGR, LOGGERNAME_TXN, loggerPrefix
Constructor and Description |
---|
ToolTransSet(MboServerInterface ms)
Construct the set
|
Modifier and Type | Method and Description |
---|---|
MboRemote |
addAtIndex(long accessModifier,
int index)
Method overridden to support MboSet Listeners.
|
java.util.Date |
addDates(java.util.Date date,
int days)
Add or minus days from the given date.
|
void |
addListener(MboSetListener l)
Add a listener to this MboSet.
|
void |
canAdd()
Determines if the work order can add tool transactions.
|
boolean |
getAllDates()
Get the alldates setting which was set at the startup of the application or later
changed by the user.
|
java.util.Date |
getEndDate()
Get the end date set by the user.
|
java.util.Date |
getStartDate()
Get the start date set by the user.
|
java.lang.String |
getUserPrefWhere()
Override the MboSet getUserPrefWhere() to return a userpref where clause
which is appended to th existing whereClause.
|
void |
remove(MboRemote mbo)
remove the child mbo need remove it from the childlookup.
|
void |
removeListener(MboSetListener l)
Remove a listener
|
void |
reportModifiedMbo(MboRemote modifiedMbo)
Assumes that the modified Mbo is a member of the set.
|
void |
setAllDates(boolean allDatesActLab)
Set the userpref alldates setting.
|
void |
setEndDate(java.util.Date endDateActLab)
Set by the user.
|
void |
setOwner(MboRemote mbo)
setOwner is overridden so the owner can be looked up in the attribute listeners and save method.
|
void |
setStartDate(java.util.Date startDateActLab)
Set by the user.
|
abortSql, add, add, addAtEnd, addAtEnd, addAtIndex, addFakeAtEnd, addSubQbe, addSubQbe, addSubQbe, addSubQbe, addToEndOfSelectStatement, addWarning, addWarnings, appendToWhere, applyRowSecurity, cancelAndClose, checkMethodAccess, checkMethodAccess, cleanup, clear, clearESigTransIDForAdmin, clearIgnoredAutokeyAttrs, clearLongOpPipe, clearToBeSaved, clearTransactionReference, clearWarnings, close, commit, commitTransaction, copy, copy, copy, copyForDM, count, count, deleteAll, deleteAll, deleteAndRemove, deleteAndRemove, deleteAndRemove, deleteAndRemove, deleteAndRemove, deleteAndRemoveAll, deleteAndRemoveAll, determineRequiredFieldsFromERM, dump, earliestDate, enableMethod, fetchNext, findAllNullRequiredFields, findByIntegrationKey, findKey, fireEventsAfterDB, fireEventsAfterDBCommit, fireEventsBeforeDB, getAllowQualifiedRestriction, getAlwaysFlags, getAlwaysFlags, getApp, getAppAlwaysFieldFlags, getAppWhere, getAttrRestrictions, getBoolean, getByte, getBytes, getClientLocale, getClientTimeZone, getCompleteWhere, getCurrentPosition, getDate, getDBFetchMaxRows, getDefaultValue, getDefaultValueHash, getDouble, getERMEntity, getESigTransactionId, getExcludeMeFromPropagation, getFlags, getFloat, getIgnoredAutokeyAttrs, getInsertCompanySet, getInsertItemSet, getInsertOrg, getInsertSite, getInt, getJspDefaultValueHash, getKeyAttributes, getList, getList, getLong, getMaxAppsWhere, getMaxMessage, getMbo, getMbo, getMboForUniqueId, getMboLogger, getMboSetData, getMboSetData, getMboSetInfo, getMboSetRetainMboPositionData, getMboSetRetainMboPositionInfo, getMboSetValueData, getMboSetValueData, getMboValueData, getMboValueData, getMboValueData, getMboValueInfoStatic, getMboValueInfoStatic, getMessage, getMessage, getMessage, getMessage, getMLFromClause, getMultiSiteWhere, getMXTransaction, getName, getOrderBy, getOwner, getParentApp, getProfile, getProxy, getQbe, getQbe, getQbe, getQbeSiteAuthorization, getQbeWhere, getQualifiedWhere, getQueryTimeout, getRelationName, getRelationship, getRowRestrictions, getSecurityLogger, getSelection, getSelectionWhere, getSetOrderByForUI, getSharedMboSet, getSize, getSkipFirstNRows, getSqlLogger, getSQLOptions, getString, getTxnPropertyMap, getUserAndQbeWhere, getUserInfo, getUserName, getUserWhere, getUserWhere, getWarnings, getWhere, getZombie, handleMLMbo, handleMLMbo, hasMLQbe, hasQbe, hasWarnings, ignoreAutokeyAttr, ignoreAutokeyAttr, ignoreQbeExactMatchSet, incrementDeletedCount, init, init, initDataDictionary, isBasedOn, isClosed, isDeltaStorage, isDMDeploySet, isDMSkipFieldValidation, isEAuditFieldModified, isEmpty, isESigFieldModified, isESigNeeded, isFlagSet, isIgnoreQbeExactMatchSet, isLookup, isNull, isQbeCaseSensitive, isQbeExactMatch, isRetainMboPosition, isTableDomainLookup, latestDate, locateMbo, logESigVerification, logRowUpdatedException, max, min, moveFirst, moveLast, moveNext, movePrev, moveTo, moveToKey, notExist, positionState, processML, remove, remove, reset, resetForRefreshOnSave, resetQbe, resetWithSelection, rollback, rollbackToCheckpoint, rollbackToCheckpoint, rollbackTransaction, save, save, save, save, saveMbos, saveTransaction, select, select, select, selectAll, setAllowQualifiedRestriction, setApp, setAppAlwaysFieldFlag, setAppWhere, setAutoKeyFlag, setDBFetchMaxRows, setDefaultOrderBy, setDefaultValue, setDefaultValue, setDefaultValues, setDefaultValues, setDMDeploySet, setDMSkipFieldValidation, setEAuditFieldModified, setERMEntity, setESigFieldModified, setExcludeMeFromPropagation, setFlag, setFlag, setFlags, setInsertCompanySet, setInsertItemSet, setInsertOrg, setInsertSite, setLastESigTransId, setLogLargFetchResultDisabled, setMboSetInfo, setMXTransaction, setNoNeedtoFetchFromDB, setOrderBy, setPreserveOrderByCase, setProxy, setQbe, setQbe, setQbe, setQbe, setQbe, setQbeCaseSensitive, setQbeCaseSensitive, setQbeExactMatch, setQbeExactMatch, setQbeOperatorOr, setQueryBySiteQbe, setQueryTimeout, setRelationName, setRelationship, setRequiedFlagsFromERM, setRetainMboPosition, setSetOrderByForUI, setSkipFirstNRows, 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, setValue, setValue, setValueNull, setValueNull, setWhere, setWhereQbe, smartFill, smartFill, smartFind, smartFind, smartFind, smartFind, sort, splitOrderBy, startCheckpoint, startCheckpoint, sum, toBeSaved, undeleteAll, undoTransaction, unselect, unselect, unselect, unselectAll, useStoredQuery, validate, validateTransaction, verifyESig
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
abortSql, 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, getName, getOrderBy, getOwner, getParentApp, getProfile, getQbe, getQbe, getQbe, getQbeWhere, getQueryTimeout, getRelationName, getRelationship, getSelection, getSelectionWhere, getSetOrderByForUI, getSize, getSQLOptions, getTxnPropertyMap, getUserAndQbeWhere, getUserInfo, getUserName, getUserWhere, getWarnings, getWhere, getZombie, 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, notExist, positionState, processML, remove, remove, reset, 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, setOrderBy, 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 ToolTransSet(MboServerInterface ms) throws MXException, java.rmi.RemoteException
ms
- Mbo server interfaceMXException
java.rmi.RemoteException
public void setOwner(MboRemote mbo) throws MXException, java.rmi.RemoteException
setOwner
in interface MboSetRemote
setOwner
in class MboSet
mbo
- mbo objectMXException
java.rmi.RemoteException
public void setAllDates(boolean allDatesActLab) throws MXException, java.rmi.RemoteException
setAllDates
in interface ToolTransSetRemote
allDatesActLab
- The userpref setting for alldates i.e. all the existing
tool transactions.MXException
java.rmi.RemoteException
psdi.app.tool.ToolTransSet#setAllDates()
public void setStartDate(java.util.Date startDateActLab) throws MXException, java.rmi.RemoteException
setStartDate
in interface ToolTransSetRemote
startDateActLab
- The start date to be set by the user.MXException
java.rmi.RemoteException
psdi.app.tool.ToolTransSet#setStartDate()
public void setEndDate(java.util.Date endDateActLab) throws MXException, java.rmi.RemoteException
setEndDate
in interface ToolTransSetRemote
endDateActLab
- The end date to be set by the user.MXException
java.rmi.RemoteException
psdi.app.tool.ToolTransSet#setEndDate()
public boolean getAllDates() throws MXException, java.rmi.RemoteException
getAllDates
in interface ToolTransSetRemote
MXException
java.rmi.RemoteException
getAllDates()
public java.util.Date getStartDate() throws MXException, java.rmi.RemoteException
getStartDate
in interface ToolTransSetRemote
MXException
java.rmi.RemoteException
getStartDate()
public java.util.Date getEndDate() throws MXException, java.rmi.RemoteException
getEndDate
in interface ToolTransSetRemote
MXException
java.rmi.RemoteException
getEndDate()
public java.lang.String getUserPrefWhere()
getUserPrefWhere
in class MboSet
MXException
- is caught.java.rmi.RemoteException
- is caught.public java.util.Date addDates(java.util.Date date, int days)
date
- Given datedays
- days to be addedpublic void canAdd() throws MXException
canAdd
in class MboSet
MXApplicationException
- Thrown with "workorder","ActualsAppr", param(wonum)
if the work order owner is not approved. MXException
public MboRemote addAtIndex(long accessModifier, int index) throws MXException, java.rmi.RemoteException
addAtIndex
in interface MboSetRemote
addAtIndex
in class MboSet
accessModifier
- Determines whether an access check is made.index
- Where to add the new Mbo. Zero is the beginning, while -1 will put the Mbo at
the end of the MboSet.MXException
java.rmi.RemoteException
MboSet.getMboInstance(psdi.mbo.MboSet)
,
MboSet.addMbo(Mbo)
,
MboSet.addMbo(Mbo, int)
,
MboSet.moveTo(int)
public void remove(MboRemote mbo) throws MXException, java.rmi.RemoteException
remove
in interface MboSetRemote
remove
in class MboSet
MXException
java.rmi.RemoteException
public void addListener(MboSetListener l)
addListener
in interface MboSetListenable
l
- The listener to add.public void removeListener(MboSetListener l)
removeListener
in interface MboSetListenable
l
- The listener to remove.public void reportModifiedMbo(MboRemote modifiedMbo) throws MXException, java.rmi.RemoteException
reportModifiedMbo
in interface MboSetListenable
MXException
java.rmi.RemoteException
Listeners are informed of the modified Mbo.