public class WOSet extends HierarchicalMboSet implements WOSetRemote, MboSetListenable
| Modifier and Type | Field and Description |
|---|---|
boolean |
skipappvalidate |
java.util.Vector |
unCommittedAncestors |
fetchStopLimitEnabled, LOOKUPMAXROW, maxSorterSize, mboCountCleanuplist, perfStats, strNoBaseLangValueEnteredALLASSET, ALLCI, ALLLOCATION, ANCESTORS, ASSET, ASSETAUTOATTRUPDATE, ASSETSPEC, ASSETTRANS, ASSIGNMENT, ASSIGNMENTNOWPLABORID, AUTOATTRUPDATE, BOOKMARK, CALENDAR, CHILDNOTASK, CHILDREN, CIAUTOATTRUPDATE, CISPEC, CLASSSTRUCTURE, COMPLETEWF, CONTRACT, CUSTOMWOWORKLOG, DESCENDANTS, DOCLINKS, DOWNTIMEREPORT, DRILLDOWN, FAILURE, FAILUREREMARK, FAILUREREPORT, FINCNTRL, FLOWACTION, FOLLOWUPWOS, FR1CODE, FR2CODE, INVRESERVE, JOBPLAN, JPFROMWOINPUT, LABTRANS, LEADCRAFT, LOCATION, LOCATIONSPEC, LOCAUTOATTRUPDATE, MATUSETRANS, MEASUREMENT, MEASUREPOINT, MR, MRLINE, MULTIASSETLOCCI, OWNERHISTORY, PARENT, PLANNEDLABOR, PLUSCDSASSET, PLUSCDSEQUIPMENT, PLUSCDSINSTRASSET, PLUSCDSINSTREQUIPMENT, PLUSCWODS, PLUSCWODSINSTR, PLUSCWODSINSTRPOINTS, PLUSCWODSLOOPPOINTS, PLUSDSPLAN, PM, POLINE, POLINEISSUE, POTENTIALCHILDREN, PRIMARYSYSLOCWO, PRLINE, PROBLEM, REASSIGNWF, RELATEDONTICKET, RELATEDRECORD, RELATEDWO, REPORTEDBY, RFQLINE, SELECTINVRESVITEM, SERVICES, SHOWACTUALLABOR, SHOWACTUALMATERIAL, SHOWACTUALSERVICE, SHOWACTUALTOOL, SHOWALLPLANITEM, SHOWALLPLANLABOR, SHOWALLPLANMATERIAL, SHOWALLPLANSERVICE, SHOWALLPLANTOOL, SHOWALLTASKRELATION, SHOWASSIGNMENT, SHOWCHILDREN, SHOWINVRESERVE, SHOWPLANITEM, SHOWPLANLABOR, SHOWPLANMATERIAL, SHOWPLANSERVICE, SHOWPLANTOOL, SHOWTASKRELATION, SHOWTASKS, SHOWWOHIERARCHY, SPLANASSET, SPLANASSETLOC, SPLANJP, SPLANLOC, SPRELATEDASSET, STARTWF, STOPWF, SUPERVISOR, TAGOUTENABLED, TOOLTRANS, VIEWPOLINE, VIEWPRLINE, WO_TASKS, WOACTIVITY, WOANCESTOR, WOCHANGE, WOCHANGESTATUS, WOCONTRACT, WOFAILLIST, WOGRANDTOTAL, WOHAZARD, WOHAZARDPREC, WOHAZMATENABLED, WOHAZPRECENABLED, WOHAZTAGENABLED, WOLOCKOUT, WOMETER, WOOWNERHISTORY, WOPOINFO, WOPRECAUTION, WOPREDREFWONUM, WOPRIMARYASSET, WORELEASE, WORKLOG, WORKORDERPERSONGROUP, WORKORDERSPECCLASS, WORKTYPE, WORKVIEW, WOSAFETYLINK, WOSAFETYPLAN, WOSERVICEADDRESS, WOSIBLINGS, WOSLHAZMATENABLED, WOSLHAZPRECENABLED, WOSLTAGENABLED, WOSTATUS, WOTAGLOCK, WOTAGOUT, WOTASKLOOKUP, WOTASKRELATION, WOTOTAL, WOWORKORDER, WPITEM, WPLABOR, WPMATERIAL, WPMATERIALTASK, WPSERVICE, WPTOOLINSERTONLY, 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 |
|---|
WOSet(MboServerInterface ms)
Construct the set of work orders.
|
| Modifier and Type | Method and Description |
|---|---|
MboRemote |
addAtIndex(long accessModifier,
int index)
Method overridden to support MboSet Listeners.
|
void |
addListener(MboSetListener l)
Add a listener to this MboSet.
|
java.lang.String |
appendToWhere()
Append a value to the where clause.
|
void |
canAdd()
Work orders may be added to a set which is owned by a work order
which may not own other work orders.
|
void |
changeWorkOrderParent(MboRemote woparent)
Changes the selected work order's parents to point to the work order passed as a
parameter.
|
void |
clearMoveAssetFieldsDefault()
This method will clear the asset move to fields default
|
void |
deleteAll()
Delete all the objects in the set -fix issue 12-13510 need handle tasks and children for wo
|
void |
filterByLinearAsset(MboSetRemote fltrSet) |
void |
findAllOpenWOsReportedBy(java.lang.String user)
Finds all open work orders reported by the given user.
|
MboValueData[][] |
getChildren(java.lang.String object,
java.lang.String key,
java.lang.String[] attrs,
int maxRows)
Returns zero or more children objects in the hierarchy.
|
boolean |
getCurrent()
Gets the current setting which was set by the user.
|
java.lang.String |
getExternalList(java.lang.String listName,
java.lang.String internalValue,
java.lang.String siteID,
java.lang.String orgID)
Returns the external list of synonyms for a given valuelist and maxvalue (+ site and org).
|
java.lang.String |
getExternalValues(java.lang.String listName,
java.lang.String internalValue,
java.lang.String siteID,
java.lang.String orgID)
Returns the external list of synonyms for a given valuelist and maxvalue (+ site and org).
|
boolean |
getHistory()
Get method for show no cancelled work orders filter.
|
MboSetRemote |
getListFromAllSites(int row,
java.lang.String attribute) |
java.lang.String |
getLocgroup()
Gets the locgroup setting which was set by the user.
|
java.lang.String |
getLocsystem()
Gets the locsystem setting which was set by the user.
|
java.lang.String |
getMaxAppsWhere()
IV98844: overrides getMaxAppsWhere to detect if the app is true WO based app.
|
boolean |
getNoCancelled()
Get method for show no cancelled work orders filter.
|
java.util.Hashtable |
getOriginalWOQbe() |
java.lang.String |
getOriginalWOUserWhere() |
MboValueData[] |
getParent(java.lang.String object,
java.lang.String key,
java.lang.String[] attrs)
Returns zero or one parent object for the given object in the hierarchy.
|
MboValueData[][] |
getPathToTop(java.lang.String object,
java.lang.String key,
java.lang.String[] attrs,
int maxRows)
Returns all objects in the path to the top from the current object, i.e.
|
MboValueData[][] |
getSiblings(java.lang.String object,
java.lang.String key,
java.lang.String[] attrs,
int maxRows)
Returns zero or more siblings of the given object in the hierarchy.
|
MboRemote |
getSourceWODuplicatedBy()
IV32850/64208:get the original wo that duplicat() is happening - this is used in WO.createAssociatedWOSA
and wo.duplicate()
|
MboValueData[][] |
getTop(java.lang.String[] attrs,
int maxRows)
Returns all the top level objects in the hierarchy, i.e.
|
java.util.Vector |
getUncommittedAncestorVector()
12-10173/IV12943:WOANCESOTR did not go out via publish channel
|
java.lang.String |
getUserPrefWhere()
Overrides the MboSet getUserPrefWhere() to return a userpref where clause
which is appended to the existing whereClause.
|
java.lang.String |
getUserWhere(java.lang.String alias)
This method overridden to support QBE on nonpersistent attributes DisplayWonum
and DisplayTaskID.
|
void |
onlyTopLevels()
Takes the current where clause of the set and limits it further
to work orders which aren't sub-work orders.
|
void |
remove(MboRemote mbo)
remove the child mbo need inform the listeners of the removal.
|
void |
removeListener(MboSetListener l)
Remove a listener
|
void |
reportModifiedMbo(MboRemote modifiedMbo)
Assumes that the modified Mbo is a member of the set.
|
void |
resetQbe()
This method overridden to support QBE on nonpersistent attributes DisplayWonum
and DisplayTaskID.
|
void |
save()
IV78777: Extend save() to display correct warnings if a WO rollback has occured.
|
void |
setCurrent(boolean currentWOs)
Sets the userpref current setting.
|
void |
setHistory(boolean historyWOs)
Sets the userpref history setting.
|
void |
setLocgroup(java.lang.String locationGroup)
Sets the userpref locgroup setting.
|
void |
setLocsystem(java.lang.String locationSystem)
Sets the userpref locsystem setting.
|
void |
setNoCancelled(boolean turnOn)
Set method for show no cancelled work orders filter.
|
void |
setOriginalWOQbe(java.util.Hashtable inQbe) |
void |
setOriginalWOUserWhere(java.lang.String inWhere) |
void |
setQbe(java.lang.String attribute,
java.lang.String expression)
This method overridden to support QBE on nonpersistent attributes DisplayWonum
and DisplayTaskID.
|
void |
setSkipRepairFacilityOnNewWOs(boolean skipRepairFacilityOnNewWOs)
To specify that work orders added will not have repair facility automatically set
|
void |
setSourceWODuplicatedBy(MboRemote wo)
IV32850/64208:set by WO.duplicate() and WO.createAssociatedWOSA to indicate that the passed wo is the original/source work order
that user uses Select Action Duplicate to duplicate a new work order.
|
void |
storeUncommittedAncestorVector(MXTransaction uncommitted)
12-10173/IV12943: store the uncommited transaction in vector
|
void |
workordersForLaborOrCraft(java.lang.String labor,
java.lang.String craft)
Sets this WOSet to work orders which have assignments either assigned for the laborcode
specified or wait-to-be-assigned for the craft specified.
|
getAllHierarchies, getHierarchy, getUniqueIDValue, setHierarchyabortSql, 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, 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, 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, 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, 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, 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, verifyESigequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAllHierarchies, getHierarchy, getUniqueIDValue, setHierarchyabortSql, 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, 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, reset, resetWithSelection, rollback, rollbackToCheckpoint, rollbackToCheckpoint, 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, 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 boolean skipappvalidate
public java.util.Vector unCommittedAncestors
public WOSet(MboServerInterface ms) throws MXException, java.rmi.RemoteException
ms - The MboServerInterface WOSet used to access internals of the MXServer.MXExceptionjava.rmi.RemoteExceptionpublic void workordersForLaborOrCraft(java.lang.String labor,
java.lang.String craft)
throws MXException,
java.rmi.RemoteException
workordersForLaborOrCraft in interface WOSetRemotecraft - Craft to use to search for unassigned
requirements.labor - LaborCode to use to search for assigned
requirements.MXExceptionjava.rmi.RemoteExceptionworkordersForLaborOrCraft(String labor,
String craft)public void onlyTopLevels()
throws MXException,
java.rmi.RemoteException
onlyTopLevels in interface WOSetRemoteMXExceptionjava.rmi.RemoteExceptiononlyTopLevels()public void findAllOpenWOsReportedBy(java.lang.String user)
throws MXException,
java.rmi.RemoteException
findAllOpenWOsReportedBy in interface WOSetRemoteuser - The name in the reported by field to match.MXExceptionjava.rmi.RemoteExceptionfindAllOpenWOsReportedBy(String user)public void setHistory(boolean historyWOs)
throws MXException,
java.rmi.RemoteException
setHistory in interface WOSetRemotehistoryWOs - The userpref setting for history work orders.MXExceptionjava.rmi.RemoteExceptionsetHistory(boolean historyWOs)public void setCurrent(boolean currentWOs)
throws MXException,
java.rmi.RemoteException
setCurrent in interface WOSetRemotecurrentWOs - The userpref setting for current work orders.MXExceptionjava.rmi.RemoteExceptionsetCurrent(boolean currentWOs)public void setLocsystem(java.lang.String locationSystem)
throws MXException,
java.rmi.RemoteException
setLocsystem in interface WOSetRemotelocationSystem - The userpref setting for the location system.MXExceptionjava.rmi.RemoteExceptionsetLocsystem(String locationSystem)public void setLocgroup(java.lang.String locationGroup)
throws MXException,
java.rmi.RemoteException
setLocgroup in interface WOSetRemotelocationGroup - The userpref setting for the location group.MXExceptionjava.rmi.RemoteExceptionsetLocgroup(String locationGroup)public void setNoCancelled(boolean turnOn)
throws MXException,
java.rmi.RemoteException
setNoCancelled in interface WOSetRemoteturnOn - Turns the flag on or off.MXExceptionjava.rmi.RemoteExceptionGet Method.,
If the flag is true, cancelled work orders are excluded.public boolean getHistory()
throws MXException,
java.rmi.RemoteException
getHistory in interface WOSetRemoteMXExceptionjava.rmi.RemoteExceptiongetHistory()public boolean getCurrent()
throws MXException,
java.rmi.RemoteException
getCurrent in interface WOSetRemoteMXExceptionjava.rmi.RemoteExceptiongetCurrent()public java.lang.String getLocsystem()
throws MXException,
java.rmi.RemoteException
getLocsystem in interface WOSetRemoteMXExceptionjava.rmi.RemoteExceptiongetLocsystem()public java.lang.String getLocgroup()
throws MXException,
java.rmi.RemoteException
getLocgroup in interface WOSetRemoteMXExceptionjava.rmi.RemoteExceptiongetLocgroup()public boolean getNoCancelled()
throws MXException,
java.rmi.RemoteException
getNoCancelled in interface WOSetRemoteMXExceptionjava.rmi.RemoteExceptionSet Method.,
If the flag is true, cancelled work orders are excluded.public java.lang.String getUserPrefWhere()
getUserPrefWhere in class MboSetShow work orders in history?,
Show open work orders?,
Restrict work orders to a system of locations?,
Restrict work orders to a location group?,
Show cancelled work orders?public void canAdd()
throws MXException
canAdd in class MboSetMXExceptionpublic void deleteAll()
throws MXException,
java.rmi.RemoteException
deleteAll in interface MboSetRemotedeleteAll in class MboSetMXExceptionjava.rmi.RemoteExceptionMboSet.deleteAll()public MboRemote addAtIndex(long accessModifier, int index) throws MXException, java.rmi.RemoteException
addAtIndex in interface MboSetRemoteaddAtIndex in class MboSetaccessModifier - Determines whether an access check is made.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 void remove(MboRemote mbo) throws MXException, java.rmi.RemoteException
remove in interface MboSetRemoteremove in class MboSetMXExceptionjava.rmi.RemoteExceptionpublic void changeWorkOrderParent(MboRemote woparent) throws MXException, java.rmi.RemoteException
changeWorkOrderParent in interface WOSetRemotewoparent - The new parent of this work order.executeAsync - If true, a new thread is spawned to perform the task in the background.MXAccessException - Thrown with "workorder","noemail" when the logged in user
does not have an email address defined.MXApplicationException - Thrown with "pm", "MailServerMissing" when there's no
email server defined in the MXServer properties file.MXExceptionjava.rmi.RemoteExceptionpsdi.app.workorder.WOSet#changeWorkOrderParent()public void addListener(MboSetListener l)
addListener in interface MboSetListenablel - The listener to add.public void removeListener(MboSetListener l)
removeListener in interface MboSetListenablel - The listener to remove.public void reportModifiedMbo(MboRemote modifiedMbo) throws MXException, java.rmi.RemoteException
reportModifiedMbo in interface MboSetListenableMXExceptionjava.rmi.RemoteExceptionListeners are informed of the modified Mbo.public void setQbe(java.lang.String attribute,
java.lang.String expression)
throws MXException,
java.rmi.RemoteException
setQbe in interface MboSetRemotesetQbe in class MboSetattribute - The name of the attribute to set the QBE forexpression - The Qbe expression.MXExceptionjava.rmi.RemoteExceptionMboSet.resetQbe(),
MboSet.setQbe(String[], String),
MboSet.reset(),
MboSet.getMbo()public void resetQbe()
resetQbe in interface MboSetRemoteresetQbe in class MboSetMboSet.setQbe(String, String)public java.lang.String getUserWhere(java.lang.String alias)
throws MXException,
java.rmi.RemoteException
getUserWhere in class MboSetMXExceptionjava.rmi.RemoteExceptionpublic java.lang.String getExternalList(java.lang.String listName,
java.lang.String internalValue,
java.lang.String siteID,
java.lang.String orgID)
throws MXException,
java.rmi.RemoteException
getExternalList in interface WOSetRemotelistName - Name of the ValueListinternalValue - The MaxValue to get synonyms forsiteID - The Site to get the synonyms for.orgID - The organization to get the synonyms for.MXExceptionjava.rmi.RemoteExceptionpsdi.app.workorder.WOSet#getExternalList(String listName, String
internalValue)public java.lang.String getExternalValues(java.lang.String listName,
java.lang.String internalValue,
java.lang.String siteID,
java.lang.String orgID)
throws MXException,
java.rmi.RemoteException
getExternalValues in interface WOSetRemotelistName - Name of the ValueListinternalValue - The MaxValue to get synonyms forsiteID - The Site to get the synonyms for.orgID - The organization to get the synonyms for.MXExceptionjava.rmi.RemoteExceptionpsdi.app.workorder.WOSet#getExternalList(String listName, String
internalValue)public MboValueData[][] getChildren(java.lang.String object, java.lang.String key, java.lang.String[] attrs, int maxRows) throws MXException, java.rmi.RemoteException
getChildren in interface HierarchicalMboSetRemoteobject - - name of the object whose children are being requested.key - - unique id of the object whose children are being fetched.attrs - - list of attributes whose values are requested, the attribute data
returned in the attribute list correspond to this list.maxRows - - maximum number of rows to return.MXExceptionjava.rmi.RemoteExceptionpublic MboValueData[] getParent(java.lang.String object, java.lang.String key, java.lang.String[] attrs) throws MXException, java.rmi.RemoteException
getParent in interface HierarchicalMboSetRemoteobject - - name of the object whose children are being requested.key - - unique id of the object whose children are being fetched.attrs - - list of attributes whose values are requested, the attribute data
returned in the attribute list correspond to this list.MXExceptionjava.rmi.RemoteExceptionpublic MboValueData[][] getSiblings(java.lang.String object, java.lang.String key, java.lang.String[] attrs, int maxRows) throws MXException, java.rmi.RemoteException
getSiblings in interface HierarchicalMboSetRemoteobject - - name of the object whose children are being requested.key - - unique id of the object whose children are being fetched.attrs - - list of attributes whose values are requested, the attribute data
returned in the attribute list correspond to this list.maxRows - - maximum number of rows to return.MXExceptionjava.rmi.RemoteExceptionpublic MboValueData[][] getTop(java.lang.String[] attrs, int maxRows) throws MXException, java.rmi.RemoteException
getTop in interface HierarchicalMboSetRemoteattrs - - list of attributes whose values are requested, the attribute data
returned in the attribute list correspond to this list.maxRows - - maximum number of rows to return.MXExceptionjava.rmi.RemoteExceptionpublic MboValueData[][] getPathToTop(java.lang.String object, java.lang.String key, java.lang.String[] attrs, int maxRows) throws MXException, java.rmi.RemoteException
getPathToTop in interface HierarchicalMboSetRemoteobject - - name of the object whose children are being requested.key - - unique id of the object whose children are being fetched.attrs - - list of attributes whose values are requested, the attribute data
returned in the attribute list correspond to this list.maxRows - - maximum number of rows to return.MXExceptionjava.rmi.RemoteExceptionpublic void clearMoveAssetFieldsDefault()
throws java.rmi.RemoteException,
MXException
clearMoveAssetFieldsDefault in interface WOSetRemotejava.rmi.RemoteExceptionMXExceptionclearMoveAssetFieldsDefault()public void filterByLinearAsset(MboSetRemote fltrSet) throws MXException, java.rmi.RemoteException
filterByLinearAsset in interface WOSetRemoteMXExceptionjava.rmi.RemoteExceptionpublic java.util.Hashtable getOriginalWOQbe()
throws MXException,
java.rmi.RemoteException
getOriginalWOQbe in interface WOSetRemoteMXExceptionjava.rmi.RemoteExceptionpublic java.lang.String getOriginalWOUserWhere()
throws MXException,
java.rmi.RemoteException
getOriginalWOUserWhere in interface WOSetRemoteMXExceptionjava.rmi.RemoteExceptionpublic void setOriginalWOUserWhere(java.lang.String inWhere)
throws MXException,
java.rmi.RemoteException
setOriginalWOUserWhere in interface WOSetRemoteMXExceptionjava.rmi.RemoteExceptionpublic void setOriginalWOQbe(java.util.Hashtable inQbe)
throws MXException,
java.rmi.RemoteException
setOriginalWOQbe in interface WOSetRemoteMXExceptionjava.rmi.RemoteExceptionpublic MboSetRemote getListFromAllSites(int row, java.lang.String attribute) throws MXException, java.rmi.RemoteException
getListFromAllSites in interface WOSetRemoteMXExceptionjava.rmi.RemoteExceptionpublic void setSkipRepairFacilityOnNewWOs(boolean skipRepairFacilityOnNewWOs)
throws MXException,
java.rmi.RemoteException
setSkipRepairFacilityOnNewWOs in interface WOSetRemoteskipRepairFacilityOnNewWOs - MXExceptionjava.rmi.RemoteExceptionsetSkipRepairFacilityOnNewWOs(boolean)public java.lang.String appendToWhere()
throws MXException,
java.rmi.RemoteException
MboSetappendToWhere in class MboSetMXExceptionjava.rmi.RemoteExceptionpublic java.util.Vector getUncommittedAncestorVector()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void storeUncommittedAncestorVector(MXTransaction uncommitted) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void setSourceWODuplicatedBy(MboRemote wo) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic MboRemote getSourceWODuplicatedBy() throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void save()
throws MXException,
java.rmi.RemoteException
save in interface MboSetRemotesave in class MboSetMXExceptionjava.rmi.RemoteExceptionMboSet.reset()public java.lang.String getMaxAppsWhere()
throws MXException,
java.rmi.RemoteException
getMaxAppsWhere in class MboSetMXExceptionjava.rmi.RemoteExceptionCalls this method.