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).
|
fetchStopLimitEnabled, LOOKUPMAXROW, maxSorterSize, mboCountCleanuplist, perfStats, strNoBaseLangValueEntered
HAZARD, TAGOUT, WOALLHAZARDPREC, WOALLSAFETYLINKTAG, WOHAZARD, WOHAZARDPREC, WOLOCKOUT, WOPRECAUTIONS, WOSAFETYLINKTAG, WOTAGLOCK, WOTAGOUT, WOTAGOUTS
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 |
---|
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.
|
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, addAtEnd, addAtEnd, addAtIndex, 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, 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, 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, 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, useStoredQuery, validate, validateTransaction, verifyESig
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
abortSql, 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, 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, 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, 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 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
MXException
java.rmi.RemoteException
public void setThisRelationName(java.lang.String relName)
public java.lang.String getThisRelationName()
thisRelationName
public 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.MXException
java.rmi.RemoteException
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.MXException
java.rmi.RemoteException
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.MXException
java.rmi.RemoteException
WoHazardSet.copyFromHazard(psdi.mbo.MboRemote, java.lang.String)
,
findWoHazardMbo(psdi.mbo.MboRemote, psdi.mbo.MboSetRemote)
,
WoHazard.woslVirtualOwner
public 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.MXException
java.rmi.RemoteException
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.MXException
java.rmi.RemoteException
WoTagOutSet.copyFromTagOut(psdi.mbo.MboRemote, java.lang.String)
,
findWoTagOutMbo(psdi.mbo.MboRemote, psdi.mbo.MboSetRemote)
,
WoTagOut.woslVirtualOwner
public void clearSafetyPlanLinks() throws MXException, java.rmi.RemoteException
WOSafetyPlanSet clearSafetyPlan
.MXException
java.rmi.RemoteException
public 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).MXException
java.rmi.RemoteException
public 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 MboSet
MXException
public void setHazardTagOutBeingDeleted(boolean beingDeleted) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException