public class AMCrewLaborSet extends MboSet implements AMCrewLaborSetRemote
fetchStopLimitEnabled, LOOKUPMAXROW, maxSorterSize, mboCountCleanuplist, perfStats, strNoBaseLangValueEntered
ADD_RESOURCE, CANCEL, OK, REPLACE_RESOURCE
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 |
---|
AMCrewLaborSet(MboServerInterface ms) |
Modifier and Type | Method and Description |
---|---|
void |
checkExistingLabor(MboRemote unrestrictedMbo,
MboRemote owner)
Checks to see if the unrestirctedMbo's labor already exists in the current labors set based on
the laborcode and the effective date.
|
void |
checkForSecondEntry(MboRemote unrestrictedMbo,
MboRemote owner) |
void |
checkPositionSequence(MboRemote unrestrictedMbo,
MboRemote owner) |
boolean |
checkSetInMemory(MboRemote unrestrictedMbo,
MboSetRemote foundCollisions) |
boolean |
checkSetInMemory(MboRemote unrestrictedMbo,
MboSetRemote foundCollisions,
boolean findAnyOverlap) |
void |
createAMCrewLabor(MboRemote unrestrictedMbo,
MboRemote owner) |
void |
createAMCrewLabor(MboRemote unrestrictedMbo,
MboRemote owner,
boolean fromNewRow) |
void |
createAMCrewLabor(MboRemote unrestrictedMbo,
MboRemote owner,
boolean fromNewRow,
java.lang.String dialogID) |
void |
createAMCrewLaborForRemove(MboRemote unrestrictedMbo,
MboRemote amCrewLab,
java.lang.String dialogID) |
void |
createAMCrewLaborSqEntry(MboRemote unrestrictedMbo,
MboRemote owner) |
java.util.Date |
getCurrentDate()
Calculate Current Date
|
java.util.Date |
getEffectiveDate(java.util.Date effectivedate)
`
Calculate Effective Date
|
java.util.Date |
getEffectiveDateTimeMinus(java.util.Date effectivedate)
`
Calculate Effective Date Time -1 Minute
|
java.util.Date |
getEffectiveDateTimePlus(java.util.Date effectivedate)
`
Calculate Effective Date Time +1 Minute
|
java.util.Date |
getEndDate(java.util.Date enddate)
Calculate End Date
|
java.util.Date |
getEndDateTimePlus(java.util.Date enddate) |
java.lang.String |
getLaborPositionQualStatus(MboRemote crewQual,
java.util.Date desireddate) |
java.lang.String |
getLaborQualStatus(MboRemote crewQual,
java.util.Date desireddate) |
java.lang.String |
getLaborRequirementStatus(MboRemote laborPos)
Deprecated.
as of 7.5.0.5
Requirement status is set in AMCrewLabPos.setStatusFromAssignedLabor
|
MboRemote |
getToBeDeletedMbo()
Check if the testedmbo has any conflict for dates.
|
boolean |
isFromNewRow() |
boolean |
needRefresh() |
MboSetRemote |
removeLaborAssignment(MboRemote unrestrictedMbo,
MboRemote amCrewLab,
java.lang.String dialogID) |
MboSetRemote |
removeLaborAssignment(MboRemote unrestrictedMbo,
MboRemote amCrewLab,
java.lang.String dialogID,
MboRemote collision)
Modifies existing records based on collisions found based on the unrestrictedMbo.
|
void |
setFromNewRow(boolean fromNewRow) |
void |
updateStatusTableViewStatusDialog()
Loops through the requirements to see if the requirements have been fulfilled.
|
abortSql, add, add, addAtEnd, addAtEnd, addAtIndex, addAtIndex, addFakeAtEnd, addFederatedMboToSorter, addSubQbe, addSubQbe, addSubQbe, addSubQbe, addToEndOfSelectStatement, addWarning, addWarnings, appendToWhere, applyRowSecurity, avg, canAdd, 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 AMCrewLaborSet(MboServerInterface ms) throws java.rmi.RemoteException
ms
- java.rmi.RemoteException
public java.lang.String getLaborRequirementStatus(MboRemote laborPos) throws MXException, java.rmi.RemoteException
AMCrewLaborSetRemote
getLaborRequirementStatus
in interface AMCrewLaborSetRemote
laborPos
- MXException
java.rmi.RemoteException
public java.lang.String getLaborPositionQualStatus(MboRemote crewQual, java.util.Date desireddate) throws MXException, java.rmi.RemoteException
getLaborPositionQualStatus
in interface AMCrewLaborSetRemote
MXException
java.rmi.RemoteException
getLaborPositionQualStatus(MboRemote, Date)
public java.lang.String getLaborQualStatus(MboRemote crewQual, java.util.Date desireddate) throws MXException, java.rmi.RemoteException
getLaborQualStatus
in interface AMCrewLaborSetRemote
MXException
java.rmi.RemoteException
getLaborQualStatus(MboRemote, Date)
public MboRemote getToBeDeletedMbo() throws java.rmi.RemoteException
AMCrewLaborSetRemote
getToBeDeletedMbo
in interface AMCrewLaborSetRemote
java.rmi.RemoteException
AMCrewLaborSet#validateEffectiveDate(MboRemote)
public boolean needRefresh() throws java.rmi.RemoteException
needRefresh
in interface AMCrewLaborSetRemote
java.rmi.RemoteException
public java.util.Date getEffectiveDate(java.util.Date effectivedate) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.util.Date getEffectiveDateTimeMinus(java.util.Date effectivedate) throws MXException, java.rmi.RemoteException
getEffectiveDateTimeMinus
in interface AMCrewLaborSetRemote
MXException
java.rmi.RemoteException
getEffectiveDateTimeMinus(Date)
public java.util.Date getEffectiveDateTimePlus(java.util.Date effectivedate) throws MXException, java.rmi.RemoteException
getEffectiveDateTimePlus
in interface AMCrewLaborSetRemote
MXException
java.rmi.RemoteException
getEffectiveDateTimePlus(Date)
public java.util.Date getEndDate(java.util.Date enddate) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.util.Date getCurrentDate() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public MboSetRemote removeLaborAssignment(MboRemote unrestrictedMbo, MboRemote amCrewLab, java.lang.String dialogID) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public MboSetRemote removeLaborAssignment(MboRemote unrestrictedMbo, MboRemote amCrewLab, java.lang.String dialogID, MboRemote collision) throws MXException, java.rmi.RemoteException
unrestrictedMbo
- amCrewLab
- dialogID
- collision
- If the Mbo of the collision is already found, pass it in. This is only used when the unrestrictedMbo is based on AMCREWLABOR, otherwise pass nullMXException
java.rmi.RemoteException
public void createAMCrewLaborForRemove(MboRemote unrestrictedMbo, MboRemote amCrewLab, java.lang.String dialogID) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void createAMCrewLabor(MboRemote unrestrictedMbo, MboRemote owner) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void createAMCrewLabor(MboRemote unrestrictedMbo, MboRemote owner, boolean fromNewRow, java.lang.String dialogID) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void createAMCrewLabor(MboRemote unrestrictedMbo, MboRemote owner, boolean fromNewRow) throws MXException, java.rmi.RemoteException
createAMCrewLabor
in interface AMCrewLaborSetRemote
MXException
java.rmi.RemoteException
createAMCrewLabor(MboRemote, MboRemote, boolean)
public void checkExistingLabor(MboRemote unrestrictedMbo, MboRemote owner) throws MXException, java.rmi.RemoteException
unrestrictedMbo
- owner
- MXException
java.rmi.RemoteException
public void checkForSecondEntry(MboRemote unrestrictedMbo, MboRemote owner) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void createAMCrewLaborSqEntry(MboRemote unrestrictedMbo, MboRemote owner) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void checkPositionSequence(MboRemote unrestrictedMbo, MboRemote owner) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean checkSetInMemory(MboRemote unrestrictedMbo, MboSetRemote foundCollisions) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean checkSetInMemory(MboRemote unrestrictedMbo, MboSetRemote foundCollisions, boolean findAnyOverlap) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean isFromNewRow()
public void setFromNewRow(boolean fromNewRow) throws java.rmi.RemoteException
java.rmi.RemoteException
public void updateStatusTableViewStatusDialog() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.util.Date getEndDateTimePlus(java.util.Date enddate) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException