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, strNoBaseLangValueEntered
ALLASSET, 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, WPTOOL
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 |
---|
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, setHierarchy
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, 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, verifyESig
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAllHierarchies, getHierarchy, getUniqueIDValue, setHierarchy
abortSql, 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, 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 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.MXException
java.rmi.RemoteException
public void workordersForLaborOrCraft(java.lang.String labor, java.lang.String craft) throws MXException, java.rmi.RemoteException
workordersForLaborOrCraft
in interface WOSetRemote
craft
- Craft to use to search for unassigned
requirements.labor
- LaborCode to use to search for assigned
requirements.MXException
java.rmi.RemoteException
workordersForLaborOrCraft(String labor,
String craft)
public void onlyTopLevels() throws MXException, java.rmi.RemoteException
onlyTopLevels
in interface WOSetRemote
MXException
java.rmi.RemoteException
onlyTopLevels()
public void findAllOpenWOsReportedBy(java.lang.String user) throws MXException, java.rmi.RemoteException
findAllOpenWOsReportedBy
in interface WOSetRemote
user
- The name in the reported by field to match.MXException
java.rmi.RemoteException
findAllOpenWOsReportedBy(String user)
public void setHistory(boolean historyWOs) throws MXException, java.rmi.RemoteException
setHistory
in interface WOSetRemote
historyWOs
- The userpref setting for history work orders.MXException
java.rmi.RemoteException
setHistory(boolean historyWOs)
public void setCurrent(boolean currentWOs) throws MXException, java.rmi.RemoteException
setCurrent
in interface WOSetRemote
currentWOs
- The userpref setting for current work orders.MXException
java.rmi.RemoteException
setCurrent(boolean currentWOs)
public void setLocsystem(java.lang.String locationSystem) throws MXException, java.rmi.RemoteException
setLocsystem
in interface WOSetRemote
locationSystem
- The userpref setting for the location system.MXException
java.rmi.RemoteException
setLocsystem(String locationSystem)
public void setLocgroup(java.lang.String locationGroup) throws MXException, java.rmi.RemoteException
setLocgroup
in interface WOSetRemote
locationGroup
- The userpref setting for the location group.MXException
java.rmi.RemoteException
setLocgroup(String locationGroup)
public void setNoCancelled(boolean turnOn) throws MXException, java.rmi.RemoteException
setNoCancelled
in interface WOSetRemote
turnOn
- Turns the flag on or off.MXException
java.rmi.RemoteException
Get Method.
,
If the flag is true, cancelled work orders are excluded.
public boolean getHistory() throws MXException, java.rmi.RemoteException
getHistory
in interface WOSetRemote
MXException
java.rmi.RemoteException
getHistory()
public boolean getCurrent() throws MXException, java.rmi.RemoteException
getCurrent
in interface WOSetRemote
MXException
java.rmi.RemoteException
getCurrent()
public java.lang.String getLocsystem() throws MXException, java.rmi.RemoteException
getLocsystem
in interface WOSetRemote
MXException
java.rmi.RemoteException
getLocsystem()
public java.lang.String getLocgroup() throws MXException, java.rmi.RemoteException
getLocgroup
in interface WOSetRemote
MXException
java.rmi.RemoteException
getLocgroup()
public boolean getNoCancelled() throws MXException, java.rmi.RemoteException
getNoCancelled
in interface WOSetRemote
MXException
java.rmi.RemoteException
Set Method.
,
If the flag is true, cancelled work orders are excluded.
public java.lang.String getUserPrefWhere()
getUserPrefWhere
in class MboSet
Show 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 MboSet
MXException
public void deleteAll() throws MXException, java.rmi.RemoteException
deleteAll
in interface MboSetRemote
deleteAll
in class MboSet
MXException
java.rmi.RemoteException
MboSet.deleteAll()
public MboRemote addAtIndex(long accessModifier, int index) throws MXException, java.rmi.RemoteException
addAtIndex
in interface MboSetRemote
addAtIndex
in class MboSet
accessModifier
- 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.MXException
java.rmi.RemoteException
MboSet.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 MboSetRemote
remove
in class MboSet
MXException
java.rmi.RemoteException
public void changeWorkOrderParent(MboRemote woparent) throws MXException, java.rmi.RemoteException
changeWorkOrderParent
in interface WOSetRemote
woparent
- 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.MXException
java.rmi.RemoteException
psdi.app.workorder.WOSet#changeWorkOrderParent()
public void addListener(MboSetListener l)
addListener
in interface MboSetListenable
l
- The listener to add.public void removeListener(MboSetListener l)
removeListener
in interface MboSetListenable
l
- The listener to remove.public void reportModifiedMbo(MboRemote modifiedMbo) throws MXException, java.rmi.RemoteException
reportModifiedMbo
in interface MboSetListenable
MXException
java.rmi.RemoteException
Listeners 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 MboSetRemote
setQbe
in class MboSet
attribute
- The name of the attribute to set the QBE forexpression
- The Qbe expression.MXException
java.rmi.RemoteException
MboSet.resetQbe()
,
MboSet.setQbe(String[], String)
,
MboSet.reset()
,
MboSet.getMbo()
public void resetQbe()
resetQbe
in interface MboSetRemote
resetQbe
in class MboSet
MboSet.setQbe(String, String)
public java.lang.String getUserWhere(java.lang.String alias) throws MXException, java.rmi.RemoteException
getUserWhere
in class MboSet
MXException
java.rmi.RemoteException
public 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 WOSetRemote
listName
- 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.MXException
java.rmi.RemoteException
psdi.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 WOSetRemote
listName
- 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.MXException
java.rmi.RemoteException
psdi.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 HierarchicalMboSetRemote
object
- - 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.MXException
java.rmi.RemoteException
public MboValueData[] getParent(java.lang.String object, java.lang.String key, java.lang.String[] attrs) throws MXException, java.rmi.RemoteException
getParent
in interface HierarchicalMboSetRemote
object
- - 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.MXException
java.rmi.RemoteException
public MboValueData[][] getSiblings(java.lang.String object, java.lang.String key, java.lang.String[] attrs, int maxRows) throws MXException, java.rmi.RemoteException
getSiblings
in interface HierarchicalMboSetRemote
object
- - 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.MXException
java.rmi.RemoteException
public MboValueData[][] getTop(java.lang.String[] attrs, int maxRows) throws MXException, java.rmi.RemoteException
getTop
in interface HierarchicalMboSetRemote
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.MXException
java.rmi.RemoteException
public MboValueData[][] getPathToTop(java.lang.String object, java.lang.String key, java.lang.String[] attrs, int maxRows) throws MXException, java.rmi.RemoteException
getPathToTop
in interface HierarchicalMboSetRemote
object
- - 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.MXException
java.rmi.RemoteException
public void clearMoveAssetFieldsDefault() throws java.rmi.RemoteException, MXException
clearMoveAssetFieldsDefault
in interface WOSetRemote
java.rmi.RemoteException
MXException
clearMoveAssetFieldsDefault()
public void filterByLinearAsset(MboSetRemote fltrSet) throws MXException, java.rmi.RemoteException
filterByLinearAsset
in interface WOSetRemote
MXException
java.rmi.RemoteException
public java.util.Hashtable getOriginalWOQbe() throws MXException, java.rmi.RemoteException
getOriginalWOQbe
in interface WOSetRemote
MXException
java.rmi.RemoteException
public java.lang.String getOriginalWOUserWhere() throws MXException, java.rmi.RemoteException
getOriginalWOUserWhere
in interface WOSetRemote
MXException
java.rmi.RemoteException
public void setOriginalWOUserWhere(java.lang.String inWhere) throws MXException, java.rmi.RemoteException
setOriginalWOUserWhere
in interface WOSetRemote
MXException
java.rmi.RemoteException
public void setOriginalWOQbe(java.util.Hashtable inQbe) throws MXException, java.rmi.RemoteException
setOriginalWOQbe
in interface WOSetRemote
MXException
java.rmi.RemoteException
public MboSetRemote getListFromAllSites(int row, java.lang.String attribute) throws MXException, java.rmi.RemoteException
getListFromAllSites
in interface WOSetRemote
MXException
java.rmi.RemoteException
public void setSkipRepairFacilityOnNewWOs(boolean skipRepairFacilityOnNewWOs) throws MXException, java.rmi.RemoteException
setSkipRepairFacilityOnNewWOs
in interface WOSetRemote
skipRepairFacilityOnNewWOs
- MXException
java.rmi.RemoteException
setSkipRepairFacilityOnNewWOs(boolean)
public java.lang.String appendToWhere() throws MXException, java.rmi.RemoteException
MboSet
appendToWhere
in class MboSet
MXException
java.rmi.RemoteException
public java.util.Vector getUncommittedAncestorVector() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void storeUncommittedAncestorVector(MXTransaction uncommitted) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void setSourceWODuplicatedBy(MboRemote wo) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public MboRemote getSourceWODuplicatedBy() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void save() throws MXException, java.rmi.RemoteException
save
in interface MboSetRemote
save
in class MboSet
MXException
java.rmi.RemoteException
MboSet.reset()
public java.lang.String getMaxAppsWhere() throws MXException, java.rmi.RemoteException
getMaxAppsWhere
in class MboSet
MXException
java.rmi.RemoteException
Calls this method.