public class WoSafetyLinkSet extends MboSet implements WoSafetyLinkSetRemote
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
SOURCE_SAFETYPLAN
Value for wosafetydatasource indicating that it was
added due to the safety plan or job plan.
|
static java.lang.String |
SOURCE_WORKORDER
Value for wosafetydatasource indicating that it was
explicitly requested by a user.
|
static java.lang.String |
SOURCE_WORKPLAN
Value for wosafetydatasource indicating that it was
added due to the work plan (planned materials that are hazardous).
|
dmDeploySet, dmDeploySkipFieldValidation, fetchStopLimitEnabled, LOOKUPMAXROW, maxSorterSize, mboCountCleanuplist, mboVec, mrdVec, perfStats, strNoBaseLangValueEntered, toBeSavedHAZARD, TAGOUT, WOALLHAZARDPREC, WOALLSAFETYLINKTAG, WOHAZARD, WOHAZARDPREC, WOLOCKOUT, WOPRECAUTIONS, WOSAFETYLINKTAG, WOTAGLOCK, WOTAGOUT, WOTAGOUTSINSERTONLY, 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 |
|---|
WoSafetyLinkSet(MboServerInterface ms) |
| Modifier and Type | Method and Description |
|---|---|
MboRemote |
addHazardSafetyLink(java.lang.String hazardID,
java.lang.String assetnum,
java.lang.String location,
java.lang.String dataSource,
MboSetRemote woHazardSet)
Add a Mbo to this set for a hazard.
|
MboRemote[] |
addTagOutSafetyLink(java.lang.String hazardID,
java.lang.String tagoutID,
java.lang.String assetnum,
java.lang.String location,
java.lang.String applyseq,
java.lang.String removeseq,
java.lang.String dataSource,
MboSetRemote woTagOutSet)
Add a Mbo to this set for a tagout.
|
void |
canAdd()
Determines if the work order can add WoSafetyLink.
|
void |
clearSafetyPlanLinks()
Removes all safety information related to the safety plan or manually entered.
|
MboRemote |
copyHazard(java.lang.String hazardid,
java.lang.String assetnum,
java.lang.String location,
java.lang.String dataSource,
MboSetRemote woHazardSet,
MboSetRemote woHazardPrecSet,
MboSetRemote woPrecautionSet)
Add a Hazard WoSafetyLink.
|
void |
copyHazardFromSafetyLexicon(MboRemote safetylex,
java.lang.String dataSource,
MboSetRemote woHazardSet,
MboSetRemote woHazardPrecSet,
MboSetRemote woPrecautionSet)
Add a Hazard WoSafetyLink.
|
void |
copyTagOutFromSafetyLexicon(MboRemote safetylex,
java.lang.String dataSource,
MboSetRemote woTagOutSet,
MboSetRemote woTagLockSet,
MboSetRemote woLockOutSet)
Add a TagOut WoSafetyLink.
|
protected Mbo |
getMboInstance(MboSet ms)
Generate a new WoSafetyLink object
|
java.lang.String |
getThisRelationName()
Returns the name of the relationship that got this set,
when this set was fetched from a Workorder or WoSafetyLink object.
|
void |
removeHazardousMaterialLink(java.lang.String hazardID,
java.lang.String dataSource)
Removes a safety link, perhaps starting a cascade delete.
|
void |
setHazardTagOutBeingDeleted(boolean beingDeleted) |
void |
setThisRelationName(java.lang.String relName)
Stores the name of the relationship that got this set,
when this set is fetched from a Workorder or WoSafetyLink object.
|
abortSql, add, add, addAliasForML, addAliasForML, addAtEnd, addAtEnd, addAtIndex, addAtIndex, addFakeAtEnd, addFederatedMboToSorter, addJoinedAttribute, addMbo, addMbo, addSubQbe, addSubQbe, addSubQbe, addSubQbe, addToEndOfSelectStatement, addWarning, addWarnings, appendToWhere, applyAppSpecificAuthorization, 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, countAndCleanup, countAndCleanup, deleteAll, deleteAll, deleteAndRemove, deleteAndRemove, deleteAndRemove, deleteAndRemove, deleteAndRemove, deleteAndRemoveAll, deleteAndRemoveAll, deleteMbo, determineRequiredFieldsFromERM, dump, earliestDate, enableMethod, executeBatch, fetchNext, findAllNullRequiredFields, findByIntegrationKey, findKey, fireEventsAfterDB, fireEventsAfterDBCommit, fireEventsBeforeDB, forceDBSort, getAllAppAlwaysFieldFlags, getAllowQualifiedRestriction, getAlwaysFlags, getAlwaysFlags, getApp, getAppAlwaysFieldFlags, getAppWhere, getAttrRestrictions, getBoolean, getByte, getBytes, getClientLocale, getClientTimeZone, getCompleteWhere, getCurrentPosition, getDate, getDBFetchMaxRows, getDefaultValue, getDefaultValueHash, getDouble, getERMEntity, getESigTransactionId, getExcludeMeFromPropagation, getFlags, getFloat, getFromClause, getIgnoredAutokeyAttrs, getInsertCompanySet, getInsertItemSet, getInsertOrg, getInsertSite, getInt, getJspDefaultValueHash, getKeyAttributes, getList, getList, getLong, getMaxAppsWhere, getMaxMessage, getMbo, getMbo, getMboCtx, 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, getRetainRecordLimit, getRowRestrictions, getSecurityLogger, getSelectClause, getSelectClause, getSelection, getSelectionWhere, getSelectWhereClause, getSetOrderByForUI, getSharedMboSet, getSize, getSkipFirstNRows, getSqlLogger, getSQLOptions, getString, getTranslator, getTxnPropertyMap, getUserAndQbeWhere, getUserInfo, getUserName, getUserPrefWhere, getUserWhere, getUserWhere, getWarnings, getWhere, getZombie, handleMLMbo, handleMLMbo, hasMLQbe, hasQbe, hasWarnings, ignoreAutokeyAttr, ignoreAutokeyAttr, ignoreQbeExactMatchSet, includeRelatedMbosOfOwnersChildren, incrementDeletedCount, init, init, initDataDictionary, insertDeltaRow, insertMbo, isBasedOn, isClosed, isDeltaStorage, isDMDeploySet, isDMSkipFieldValidation, isDownloadSet, isEAuditFieldModified, isEAuditNeeded, isEmpty, isESigFieldModified, isESigNeeded, isESigNeeded, isFlagSet, isIgnoreQbeExactMatchSet, isInMemorySort, isJoinedAttribute, isLookup, isNull, isQbeCaseSensitive, isQbeExactMatch, isRetainMboPosition, isRetainRecordEnabled, isTableDomainLookup, latestDate, locateMbo, logESigVerification, logRowUpdatedException, max, min, moveFirst, moveLast, moveNext, movePrev, moveTo, moveToKey, newMboIndex, notExist, positionState, processML, remove, remove, remove, removeAllJoinedAttributes, removeCtx, removeJoinedAttribute, reset, resetForRefreshOnSave, resetQbe, resetWithSelection, rollback, rollbackToCheckpoint, rollbackToCheckpoint, rollbackTransaction, save, save, save, save, saveMbos, saveTransaction, select, select, select, selectAll, setAllowQualifiedRestriction, setApp, setAppAlwaysFieldFlag, setAppWhere, setAutoKeyFlag, setBindValueAsBytes, setDBFetchMaxRows, setDefaultOrderBy, setDefaultValue, setDefaultValue, setDefaultValues, setDefaultValues, setDiscardableFlag, setDMDeploySet, setDMSkipFieldValidation, setDownloadSet, setEAuditFieldModified, setERMEntity, setESigFieldModified, setExcludeMeFromPropagation, setFederatedResources, setFlag, setFlag, setFlags, setInsertCompanySet, setInsertItemSet, setInsertOrg, setInsertSite, setLastESigTransId, setLogLargFetchResultDisabled, setMboCtx, setMboSetInfo, setMXTransaction, setNoNeedtoFetchFromDB, setNoSaveFlag, setOrderBy, setOrderByNVL, setOverrideSelectClause, setOverrideSelectFromClause, setOverrideSelectWhereClause, setOwner, 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, updateMbo, updateMboSetRetainMboPositionData, updateRelatedMboSetRetainMboPositionData, useStoredQuery, validate, validateTransaction, verifyESigclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitabortSql, add, add, addAtEnd, addAtEnd, addAtIndex, 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, isDownloadSet, 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, setDownloadSet, setERMEntity, setESigFieldModified, setExcludeMeFromPropagation, setFlag, setFlag, setFlags, setInsertCompanySet, setInsertItemSet, setInsertOrg, setInsertSite, setLastESigTransId, setLogLargFetchResultDisabled, setMboSetInfo, setMXTransaction, setNoNeedtoFetchFromDB, setOrderBy, setOwner, 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, validateTransactionpublic static final java.lang.String SOURCE_WORKORDER
public static final java.lang.String SOURCE_WORKPLAN
public static final java.lang.String SOURCE_SAFETYPLAN
public WoSafetyLinkSet(MboServerInterface ms) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionprotected Mbo getMboInstance(MboSet ms) throws MXException, java.rmi.RemoteException
getMboInstance in class MboSetMXExceptionjava.rmi.RemoteExceptionpublic void setThisRelationName(java.lang.String relName)
public java.lang.String getThisRelationName()
WoSafetyLinkSet.thisRelationNamepublic void copyHazardFromSafetyLexicon(MboRemote safetylex, java.lang.String dataSource, MboSetRemote woHazardSet, MboSetRemote woHazardPrecSet, MboSetRemote woPrecautionSet) throws MXException, java.rmi.RemoteException
WOSafetyPlan copyPlan and
WPMaterial copyHazardForItem.safetylex - The SafetyLexicon mbo being copied to this workorder.dataSource - The value for WoSafetyDataSource
(SOURCE_WORKORDER, SOURCE_WORKPLAN, or SOURCE_SAFETYPLAN).woHazardSet - The set of WoHazard for this workorder.woHazardPrecSet - The set of WoHazardPrec for this workorder.woPrecautionSet - The set of WoPrecaution for this workorder.MXExceptionjava.rmi.RemoteExceptionWoSafetyLinkSet.copyHazard(java.lang.String, java.lang.String, java.lang.String, java.lang.String, psdi.mbo.MboSetRemote, psdi.mbo.MboSetRemote, psdi.mbo.MboSetRemote)public MboRemote copyHazard(java.lang.String hazardid, java.lang.String assetnum, java.lang.String location, java.lang.String dataSource, MboSetRemote woHazardSet, MboSetRemote woHazardPrecSet, MboSetRemote woPrecautionSet) throws MXException, java.rmi.RemoteException
copyHazardFromSafetyLexicon
and WO applyHazardToWoHazardSet.hazardid - The hazardid being copied to this workorder.assetnum - the assetnum this hazard associated with.location - the location this hazard associated with.dataSource - The value for WoSafetyDataSource
(SOURCE_WORKORDER, SOURCE_WORKPLAN, or SOURCE_SAFETYPLAN).woHazardSet - The set of WoHazard for this workorder.woHazardPrecSet - The set of WoHazardPrec for this workorder.woPrecautionSet - The set of WoPrecaution for this workorder.MXExceptionjava.rmi.RemoteExceptionWoSafetyLinkSet.addHazardSafetyLink(java.lang.String, java.lang.String, java.lang.String, java.lang.String, psdi.mbo.MboSetRemote)public MboRemote addHazardSafetyLink(java.lang.String hazardID, java.lang.String assetnum, java.lang.String location, java.lang.String dataSource, MboSetRemote woHazardSet) throws MXException, java.rmi.RemoteException
copyHazard.hazardID - This is the value of hazardid on the new wosafetylink.assetnum - Can be null.
assetnum and location cannot both be non-null.
This is the value of assetnum on the new wosafetylink.location - Can be null.
assetnum and location cannot both be non-null.
This is the value of location on the new wosafetylink.dataSource - The value for wosafetydatasource
(SOURCE_WORKORDER, SOURCE_WORKPLAN, or SOURCE_SAFETYPLAN).woHazardSet - The set of WoHazard for this workorder.MXExceptionjava.rmi.RemoteExceptionWoHazardSet.copyFromHazard(psdi.mbo.MboRemote, java.lang.String),
WoSafetyLinkSet.findWoHazardMbo(psdi.mbo.MboRemote, psdi.mbo.MboSetRemote),
WoHazard.woslVirtualOwnerpublic void copyTagOutFromSafetyLexicon(MboRemote safetylex, java.lang.String dataSource, MboSetRemote woTagOutSet, MboSetRemote woTagLockSet, MboSetRemote woLockOutSet) throws MXException, java.rmi.RemoteException
WoSafetyPlan copyPlan.safetylex - The SafetyLexicon mbo being copied to this workorder.dataSource - The value for WoSafetyDataSource
(SOURCE_WORKORDER, SOURCE_WORKPLAN, or SOURCE_SAFETYPLAN).woTagOutSet - The set of WoTagOut for this workorder.woTagLockSet - The set of WoTagLock for this workorder.woLockOutSet - The set of WoLockOut for this workorder.MXExceptionjava.rmi.RemoteExceptionWoSafetyLinkSet.addTagOutSafetyLink(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, psdi.mbo.MboSetRemote),
WoTagOutSet.copyFromTagOut(psdi.mbo.MboRemote, java.lang.String),
WoTagLockSet.copyFromTagLock(psdi.mbo.MboRemote, java.lang.String),
WoLockOutSet.copyFromLockOut(psdi.mbo.MboRemote, java.lang.String)public MboRemote[] addTagOutSafetyLink(java.lang.String hazardID, java.lang.String tagoutID, java.lang.String assetnum, java.lang.String location, java.lang.String applyseq, java.lang.String removeseq, java.lang.String dataSource, MboSetRemote woTagOutSet) throws MXException, java.rmi.RemoteException
copyTagOutFromSafetyLexicon,
which controls the cascading.hazardID - Can be null if this installation does not
group tagouts under hazards.
This is the value of hazardid on the new wosafetylink.tagoutID - This is the value of tagoutid on the new wosafetylink.assetnum - Can be null.
Assetnum and location cannot both be non-null.
This is the value of assetnum on the new wosafetylink.location - Can be null.
Assetnum and location cannot both be non-null.
This is the value of location on the new wosafetylink.applyseq - Can be null.
This is the value of applyseq on the new wosafetylink.removeseq - Can be null.
This is the value of removeseq on the new wosafetylink.dataSource - The value for wosafetydatasource
(SOURCE_WORKORDER, SOURCE_WORKPLAN, or SOURCE_SAFETYPLAN).woTagOutSet - The set of WoTagOut for this workorder.MXExceptionjava.rmi.RemoteExceptionWoTagOutSet.copyFromTagOut(psdi.mbo.MboRemote, java.lang.String),
WoSafetyLinkSet.findWoTagOutMbo(psdi.mbo.MboRemote, psdi.mbo.MboSetRemote),
WoTagOut.woslVirtualOwnerpublic void clearSafetyPlanLinks()
throws MXException,
java.rmi.RemoteException
WOSafetyPlanSet clearSafetyPlan.MXExceptionjava.rmi.RemoteExceptionpublic void removeHazardousMaterialLink(java.lang.String hazardID,
java.lang.String dataSource)
throws MXException,
java.rmi.RemoteException
WPMaterialSet checkToRemoveHazardInfo.hazardID - The hazardid of the WPMaterial's item.dataSource - The value for wosafetydatasource (SOURCE_WORKPLAN).MXExceptionjava.rmi.RemoteExceptionpublic void canAdd()
throws MXException
If owner is null or is not WORKORDER, WOSAFETYLINK, WOHAZARD, or WOTAGOUT, throws workorder/ownerWoSafetyLink.
If owner is WORKORDER, call canEditRelatedSet
with param WOSAFETYLINK.
If owner is to be deleted, throws jspmessages/table_cannotadd.
canAdd in class MboSetMXExceptionpublic void setHazardTagOutBeingDeleted(boolean beingDeleted)
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteException