public class WMAssignmentSet extends AssignmentSet implements WMAssignmentSetRemote
showPage
fetchStopLimitEnabled, LOOKUPMAXROW, maxSorterSize, mboCountCleanuplist, perfStats, strNoBaseLangValueEntered
ASSET, ASSIGNMENT, CALENDARVIEW, DISPATCHASSIGN, LABOR, LOCATION, MAXVARINPUT, PRIMARYSYSLOCWO, WMMATCH, WORKORDER, WOSAFETYPLAN, WPLABOR
ASSIGNLABOR, CRAFT, CRAFTSKILL
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 |
---|
WMAssignmentSet(MboServerInterface ms)
Construct the set of assignment.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
appendToWhere()
Append a value to the where clause.
|
MboSetRemote |
assignCrew(MboSetRemote crewSet,
java.lang.String selectedday) |
void |
assignCrewManyToMany(MboSetRemote crewSet,
java.lang.String selectedday)
Many to many crew assignment.
|
MboSetRemote |
assignLabor(MboSetRemote laborCraftRateSet,
java.lang.String selectedday)
This method verifies the selected labor and selected assignments and
assigns the labor to each assignment depending on the available hrs.
|
void |
assignLaborManyToMany(MboSetRemote laborCraftRateSet,
java.lang.String selectedday)
Many to many labor assignment.
|
void |
canAdd()
Determines if the work order can add Asssignments.
|
void |
checkAssignSet(java.lang.String actionStr)
This method verifies that at least one assignment from the work list was selected.
|
void |
filterByCrew(MboSetRemote matchSet) |
void |
filterByLabor(MboSetRemote matchSet) |
AssignmentSetRemote |
getAssignedCrewSet() |
AssignmentSetRemote |
getAssignLaborSet() |
MboSetRemote |
getAssignSet() |
MboSetRemote |
getAssignSet(java.lang.String selectedAssignStr) |
java.lang.String |
getDispatchStr() |
boolean |
getDisplayDialog() |
java.util.Hashtable |
getOriginalWMQbe() |
java.lang.String |
getOriginalWMUserWhere() |
boolean |
isShowPage() |
void |
setAssignCrewSet(AssignmentSetRemote assignCrewSet) |
void |
setAssignLaborSet(AssignmentSetRemote anAssignLaborSet) |
void |
setOriginalWMQbe(java.util.Hashtable inQbe) |
void |
setOriginalWMUserWhere(java.lang.String inWhere) |
addAtIndex, addListener, addToUserPrefWhere, assignCrew, assignLabor, assignmentsForCrewAndWorkOrder, assignmentsForLaborCode, assignmentsForLaborCodeAndWorkOrder, finishAssignment, fireEventsAfterDB, fireEventsAfterDBCommit, getColumnValue, getEarliestDate, getFinishDate, getLatestDate, getRescheduled, getSevenDayWindow, getUnassigned, getUserAndQbeWhere, getUserPrefWhere, interruptAssignment, remove, removeListener, reportModifiedMbo, save, setFinishDate, setRescheduled, setUnassigned, startAssignment
abortSql, add, add, addAtEnd, addAtEnd, addAtIndex, addFakeAtEnd, addFederatedMboToSorter, addSubQbe, addSubQbe, addSubQbe, addSubQbe, addToEndOfSelectStatement, addWarning, addWarnings, 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, 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, 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, newMboIndex, notExist, positionState, processML, remove, remove, reset, resetForRefreshOnSave, resetQbe, resetWithSelection, rollback, rollbackToCheckpoint, rollbackToCheckpoint, rollbackTransaction, 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
assignCrew, assignLabor, assignmentsForCrewAndWorkOrder, assignmentsForLaborCode, assignmentsForLaborCodeAndWorkOrder, finishAssignment, fireEventsAfterDB, getSevenDayWindow, interruptAssignment, startAssignment
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, fireEventsAfterDBCommit, fireEventsBeforeDB, rollbackTransaction, saveTransaction, undoTransaction, validateTransaction
public WMAssignmentSet(MboServerInterface ms) throws MXException, java.rmi.RemoteException
ms
- The MboServerInterface for WMAssignmentSet.MXException
java.rmi.RemoteException
public void canAdd() throws MXException
AssignmentSet
canAdd
in class AssignmentSet
MXException
public boolean isShowPage() throws MXException, java.rmi.RemoteException
isShowPage
in interface WMAssignmentSetRemote
MXException
java.rmi.RemoteException
public AssignmentSetRemote getAssignLaborSet() throws MXException, java.rmi.RemoteException
getAssignLaborSet
in interface WMAssignmentSetRemote
MXException
java.rmi.RemoteException
public void setAssignLaborSet(AssignmentSetRemote anAssignLaborSet) throws MXException, java.rmi.RemoteException
setAssignLaborSet
in interface WMAssignmentSetRemote
MXException
java.rmi.RemoteException
public MboSetRemote assignLabor(MboSetRemote laborCraftRateSet, java.lang.String selectedday) throws MXException, java.rmi.RemoteException
assignLabor
in interface WMAssignmentSetRemote
MXException
java.rmi.RemoteException
AssignmentSet.assignLabor(psdi.app.labor.LaborCraftRateRemote, java.lang.String)
public void assignLaborManyToMany(MboSetRemote laborCraftRateSet, java.lang.String selectedday) throws MXException, java.rmi.RemoteException
assignLaborManyToMany
in interface WMAssignmentSetRemote
laborCraftRateSet
- The LaborCraftRate mboset containing the selected labors.selectedday
- A string in the form dayN, where N is 1-7, which tells on which day in
the seven-day date range the first assignment will start.MXException
java.rmi.RemoteException
public void checkAssignSet(java.lang.String actionStr) throws MXException, java.rmi.RemoteException
checkAssignSet
in interface WMAssignmentSetRemote
MXException
java.rmi.RemoteException
public MboSetRemote getAssignSet() throws MXException, java.rmi.RemoteException
getAssignSet
in interface WMAssignmentSetRemote
MXException
java.rmi.RemoteException
public MboSetRemote getAssignSet(java.lang.String selectedAssignStr) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.lang.String getDispatchStr() throws MXException, java.rmi.RemoteException
getDispatchStr
in interface WMAssignmentSetRemote
MXException
java.rmi.RemoteException
public boolean getDisplayDialog() throws MXException, java.rmi.RemoteException
getDisplayDialog
in interface WMAssignmentSetRemote
MXException
java.rmi.RemoteException
public void filterByLabor(MboSetRemote matchSet) throws MXException, java.rmi.RemoteException
filterByLabor
in interface WMAssignmentSetRemote
MXException
java.rmi.RemoteException
public java.util.Hashtable getOriginalWMQbe() throws MXException, java.rmi.RemoteException
getOriginalWMQbe
in interface WMAssignmentSetRemote
MXException
java.rmi.RemoteException
public java.lang.String getOriginalWMUserWhere() throws MXException, java.rmi.RemoteException
getOriginalWMUserWhere
in interface WMAssignmentSetRemote
MXException
java.rmi.RemoteException
public void setOriginalWMUserWhere(java.lang.String inWhere) throws MXException, java.rmi.RemoteException
setOriginalWMUserWhere
in interface WMAssignmentSetRemote
MXException
java.rmi.RemoteException
public void setOriginalWMQbe(java.util.Hashtable inQbe) throws MXException, java.rmi.RemoteException
setOriginalWMQbe
in interface WMAssignmentSetRemote
MXException
java.rmi.RemoteException
public java.lang.String appendToWhere() throws MXException, java.rmi.RemoteException
MboSet
appendToWhere
in class MboSet
MXException
java.rmi.RemoteException
public void filterByCrew(MboSetRemote matchSet) throws MXException, java.rmi.RemoteException
filterByCrew
in interface WMAssignmentSetRemote
matchSet
- MXException
java.rmi.RemoteException
filterByCrew(MboSetRemote)
public AssignmentSetRemote getAssignedCrewSet()
getAssignedCrewSet
in interface WMAssignmentSetRemote
WMAssignmentSet#getAssignCrewSet()
public void setAssignCrewSet(AssignmentSetRemote assignCrewSet)
setAssignCrewSet
in interface WMAssignmentSetRemote
setAssignCrewSet(AssignmentSetRemote)
public MboSetRemote assignCrew(MboSetRemote crewSet, java.lang.String selectedday) throws MXException, java.rmi.RemoteException
assignCrew
in interface WMAssignmentSetRemote
MXException
java.rmi.RemoteException
assignCrew(MboSetRemote, String)
public void assignCrewManyToMany(MboSetRemote crewSet, java.lang.String selectedday) throws MXException, java.rmi.RemoteException
assignCrewManyToMany
in interface WMAssignmentSetRemote
crewSet
- The Crew mboset containing the selected crews.selectedday
- A string in the form dayN, where N is 1-7, which tells on which day in
the seven-day date range the first assignment will start.MXException
java.rmi.RemoteException
assignCrewManyToMany(MboSetRemote, String)