public class FailureReportSet extends MboSet implements FailureReportSetRemote
FailureReport,
FldWOFailureCode,
FldWOProblemCode,
FldFRCodefetchStopLimitEnabled, LOOKUPMAXROW, maxSorterSize, mboCountCleanuplist, perfStats, strNoBaseLangValueEnteredFAILURECODE, FAILURELISTINSERTONLY, 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, USERAPPLOGGER, CRONTASKLOGGER, CRONTASKMGRLOGGER, CRONTASKMGRSQLLOGGER, DBCONNECTIONLOGGER, DDLOGGER, DMLOGGER, EVENTLOGGER, EXCEPTIONLOGGER, MAILLOGGER, MAXIMOLOGGER, MTLOGGER, NULLMBOPOINTER, SECURITY, SENDFAILEDLOGGER, SERVICELOGGER, SQLLOGGERappenderPrefix, 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 |
|---|
FailureReportSet(MboServerInterface ms)
Construct the set
|
| Modifier and Type | Method and Description |
|---|---|
MboRemote |
addAtIndex(long accessModifier,
int index)
The add method is restricted to adding to the end of the failure report.
|
void |
canAdd()
Can't add if the report is complete or if the owning work order
does not have a value for its FailureCode attribute.
|
void |
clearFromHere(FailureReport fr)
Delete from the passed FR down to the end of the failure report.
|
void |
codeSet(MboRemote forThisFR)
Called when a FR's FailureCode is set and should be called after the LineNum
attribute is set.
|
void |
deleteAll(long accessModifier)
Overridden for efficancy's sake.
|
boolean |
doDelete()
Called by FR's when they are to be deleted.
|
boolean |
doUndelete()
Called by FR's when they are to be deleted.
|
MboRemote |
getEndOfReport()
Returns the end of the failure report.
|
MboRemote |
getMbo(int index)
Overrode getMbo to return the nth mbo in the ordered report.
|
java.lang.String |
getParentOfProblemCode()
Returns the parent key into FailureList for the 1st level of the report.
|
boolean |
isComplete()
Returns whether this report can be added to.
|
boolean |
isLevelEditable(int levelNum)
Registers FR<#>Code attributes on the Work Order
|
void |
reflectFailureClass()
Called when the WO's FailureCode attribute's value is changed.
|
void |
reflectProblemCode()
Called when the WO's ProblemCode attribute is updated.
|
void |
refreshFRCodes()
Refreshes the values of the FR<#>Code attributes on the work order
|
void |
register(int levelNum) |
void |
setOwner(MboRemote mbo)
setOwner is overridden so we can save a reference to the workorder owner.
|
void |
undeleteAll()
Once a FR is deleted, it can't be undeleted.
|
void |
undeleteFromHere(FailureReport fr) |
abortSql, add, add, addAtEnd, addAtEnd, addAtIndex, addFakeAtEnd, addFederatedMboToSorter, addSubQbe, addSubQbe, addSubQbe, addSubQbe, addToEndOfSelectStatement, addWarning, addWarnings, appendToWhere, applyRowSecurity, avg, cancelAndClose, checkMethodAccess, checkMethodAccess, cleanup, clear, clearBatchedPreparedStmt, clearBatchedPreparedStmts, clearESigTransactionIdThread, clearESigTransIDForAdmin, clearIgnoredAutokeyAttrs, clearLongOpPipe, clearToBeSaved, clearTransactionReference, clearWarnings, close, commit, commitTransaction, copy, copy, copy, copyForDM, count, count, deleteAll, deleteAndRemove, deleteAndRemove, deleteAndRemove, deleteAndRemove, deleteAndRemove, deleteAndRemoveAll, deleteAndRemoveAll, determineRequiredFieldsFromERM, dump, earliestDate, enableMethod, executeBatch, fetchNext, findAllNullRequiredFields, findByIntegrationKey, findKey, fireEventsAfterDB, fireEventsAfterDBCommit, fireEventsBeforeDB, forceDBSort, 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, getMboForUniqueId, getMboLogger, getMboServer, getMboSetData, getMboSetData, getMboSetInfo, getMboSetRetainMboPositionData, getMboSetRetainMboPositionInfo, getMboSetValueData, getMboSetValueData, getMboValueData, getMboValueData, getMboValueData, getMboValueInfoStatic, getMboValueInfoStatic, getMessage, getMessage, getMessage, getMessage, getMLFromClause, getMultiSiteWhere, getMXTransaction, getName, getOrderBy, getOwner, getParentApp, getPreparedStmt, 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, getUserPrefWhere, 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, newMboIndex, notExist, positionState, processML, remove, 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, setFederatedResources, setFlag, setFlag, setFlags, setInsertCompanySet, setInsertItemSet, setInsertOrg, setInsertSite, setLastESigTransId, setLogLargFetchResultDisabled, setMboSetInfo, setMXTransaction, setNoNeedtoFetchFromDB, setOrderBy, setOrderByNVL, 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, undoTransaction, unselect, unselect, unselect, unselectAll, useStoredQuery, validate, validateTransaction, verifyESigequals, getClass, hashCode, notify, notifyAll, toString, 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, 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, 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, newMboIndex, notExist, positionState, processML, remove, 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, 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, validateTransactionpublic FailureReportSet(MboServerInterface ms) throws MXException, java.rmi.RemoteException
ms - The MboServerInterface of failure report.MXExceptionjava.rmi.RemoteExceptionpublic void setOwner(MboRemote mbo) throws MXException, java.rmi.RemoteException
setOwner in interface MboSetRemotesetOwner in class MboSetmbo - The owner Mbo of the failure report, it should be WORKORDER or null.MXExceptionjava.rmi.RemoteExceptionpublic void canAdd()
throws MXException
canAdd in class MboSetMXAccessException - Thrown with "access","method" when it's not possible to
add to the failure report.MXApplicationException - Thrown with "workorder", "FRNoEditWithOutWO" if
this set isn't owned by its work order.MXExceptionpublic MboRemote addAtIndex(long accessModifier, int index) throws MXException, java.rmi.RemoteException
addAtIndex in interface MboSetRemoteaddAtIndex in class MboSetaccessModifier - index - Where to add the new Mbo. Zero is the beginning, while -1 will put the Mbo at
the end of the MboSet.MXExceptionjava.rmi.RemoteExceptionMboSet.getMboInstance(psdi.mbo.MboSet),
MboSet.addMbo(Mbo),
MboSet.addMbo(Mbo, int),
MboSet.moveTo(int)public boolean doDelete()
public void clearFromHere(FailureReport fr) throws MXException, java.rmi.RemoteException
fr - The level to delete from.MXApplicationException - FRBroken when the FR to delete is not found.MXExceptionjava.rmi.RemoteExceptionpublic void deleteAll(long accessModifier)
throws MXException,
java.rmi.RemoteException
deleteAll in interface MboSetRemotedeleteAll in class MboSetaccessModifier - MXExceptionjava.rmi.RemoteExceptionpublic void codeSet(MboRemote forThisFR) throws MXException, java.rmi.RemoteException
forThisFR - The FailureReport line whose FailureCode
attribute changed.MXExceptionjava.rmi.RemoteExceptionFldFRCodepublic boolean isComplete()
throws MXException,
java.rmi.RemoteException
isComplete in interface FailureReportSetRemoteMXExceptionjava.rmi.RemoteExceptionisComplete()public void reflectFailureClass()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionFldWOFailureCodepublic void reflectProblemCode()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionFldWOProblemCodepublic java.lang.String getParentOfProblemCode()
throws MXException,
java.rmi.RemoteException
getParentOfProblemCode in interface FailureReportSetRemoteMXExceptionjava.rmi.RemoteExceptiongetParentOfProblemCode()public MboRemote getMbo(int index) throws MXException, java.rmi.RemoteException
getMbo in interface MboSetRemotegetMbo in class MboSetindex - The number of the report level to return.MXExceptionjava.rmi.RemoteExceptionMboSet.fetchMbos(int),
MboSet.loadMboVecFromMrd(int)public void undeleteAll()
throws MXException,
java.rmi.RemoteException
undeleteAll in interface MboSetRemoteundeleteAll in class MboSetMXExceptionjava.rmi.RemoteExceptionMboSet.undeleteAll()public MboRemote getEndOfReport() throws MXException, java.rmi.RemoteException
getEndOfReport in interface FailureReportSetRemoteMXExceptionjava.rmi.RemoteExceptiongetEndOfReport()public void register(int levelNum)
public boolean isLevelEditable(int levelNum)
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void refreshFRCodes()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic boolean doUndelete()
public void undeleteFromHere(FailureReport fr) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteException