public class AssetSet extends HierarchicalMboSet implements AssetSetRemote
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PLUSCASSETSTATUS |
dmDeploySet, dmDeploySkipFieldValidation, fetchStopLimitEnabled, LOOKUPMAXROW, maxSorterSize, mboCountCleanuplist, mboVec, mrdVec, perfStats, strNoBaseLangValueEntered, toBeSavedACTIVEASSETMETER, ADJUSTMETER, ASSETANCESTOR, ASSETCBDIST, ASSETCHILDREN, ASSETFEATURES, ASSETHIERARCHY, ASSETHISTORY, ASSETLOCRELATION, ASSETMETER, ASSETREFWO, ASSETSITE, ASSETSPEC, ASSETSPECCLASS, ASSETSPECDELETE, ASSETSTATUS, ASSETSTATUSDUMMY, ASSETTRANS, ASSETTRANSMOVEHIST, ASSETUSERCUST, ASSETWO, ASSETZEROCOSTS, ASSTLRM, AUTOATTRUPDATE, BOOKMARK, CHANGEITEMNUM, CHILDREN, CLASSSPEC, CLASSSTRUCTURE, COLLECTDETAILS, COMPANIES, CONTRACT, DEPLOYEDASSET, DOCLINKS, FAILURELIST, INVENTORY, INVOICECOST, ITEM, ITEMSPEC, JPASSETSPLINK, LINKCLASSSPEC, LOCATION, LOCATIONSPEC, LOCKOUT, MANUFACTURER, MATRECTRANS, MATUSETRANS, MEASUREPOINT, MEASUREPOINT_ALL, METERINGROUP, METERROLLDOWN, MOVEDASSET, MOVETOINVBALANCES, MOVETOINVBALANCES_BINNULL, MOVETOINVENTORY, MULTIASSETLOCCI, NEWASSETSITE, NEWLOCATION, NEWPARENT, OPENWO, PARENT, PLUSCASSETSTHIST, PLUSTASSETQUAL, PM, PMVIAROUTE, PRIMARYSYSLOCASSET, REPLACEASSET, ROUTE_STOP, SAFETYLEXHAZMAT, SAFETYLEXHAZPREC, SAFETYLEXICON, SAFETYLEXTAGOUT, SERVICEADDRESSLOGIC, SPAREPART, SPAREPART_AVAILTOADD, SPAREPARTITEM, SPRELATEDASSET, SPRELATEDASSETRELASSET, SPWORKASSET, SRVAD_LOC_ANCESTOR_RELATIONSHP, TAGOUT, TLOAMASSETPERSONGRP, TOPITEMSTRUCT, UPDATEAVGUNITSINSERTONLY, 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 |
|---|
AssetSet(MboServerInterface ms)
Construct the set
|
| Modifier and Type | Method and Description |
|---|---|
void |
addAssetMntSKD(MboSetRemote npAssetOpSKDSet) |
void |
addAssetOpSKD(MboSetRemote npAssetOpSKDSet) |
void |
addAssetsToCollectDetails(java.lang.String collectionNum)
Add Assets to Collections, on a selected list of Asset's or a single
Asset.
|
void |
addWorkZones(java.lang.String workzone,
java.lang.String type,
java.lang.String orgid) |
void |
applyAssetModifyDefaults(AssetModifyDfltSetRemote assetModifyDfltSet)
Sets the default modify values, asset attributes to the assetspec for
mass asset move
|
void |
applyAssetMoveDefaults(AssetMoveDfltSetRemote assetMoveDfltSet,
java.lang.String applytype)
Sets the specific default value or all the values to the set of assets
|
void |
applyAssetPersonGroupDefaults(AssetGrpDfltSetRemote personGroupDefaults)
Executes when the Apply button is clicked on the Move/Modify Assets >
Group > Modify All tab
|
void |
applyAssetUserCustDefaults(AssetUserCusDfltSetRemote assetUserCusDfltSet)
Sets the default user custodians for mass asset move or delete the person
from the assetusercust set if marked for delete
|
void |
changeStatus(java.lang.String status,
boolean rollToAllChildren,
boolean removeFromActiveRoutes,
boolean removeFromActiveSP,
boolean changePMStatus)
Change the status of the Asset(s) Depending of the check boxes of the Status dialog box - change the status of
all children assets - remove asset reference from all active job plan - remove asset reference from all active
routes - remove asset reference from all active safety plans - make asset's PM inactive
If the status of the asset is changing to NOT READY or OPERATING, check if the PM's are in 'ACTIVE' status and
have forecast and delete the PM forecast.
|
void |
filterByLinearAsset(MboSetRemote fltrSet)
This method filters Asset records by Linear asset.
|
void |
findAsset(java.lang.String asset)
selects from the Asset table the record possessing the Assetnum passed to
this method
|
void |
findAssetAtLocation(java.lang.String location)
find the asset records for the location, choosing only one asset in a
hierarchy.
|
void |
findAssetsAtLocation(java.lang.String location)
selects those Asset records from the Asset table that exist in the
location passed to this method.
|
void |
findNotDecommissionedAssets()
selects not decommissioned assets
|
void |
findNotMovedAssets()
Filter Moved assets
|
void |
findSelectedAssets(java.lang.String where)
selects from the Asset table those records whose key exists in the set of
Assetnums passed to this method
|
void |
findTopLevel()
Resets the set to contain only the top level asset.
|
protected boolean |
fromWO() |
MboRemote |
getAssetForSpecifications()
09-14550
|
protected java.util.Vector |
getAssetsMovedDirectly()
returns Vector populated in moveAsset().
|
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.
|
MboRemote |
getItemMbo()
08-15967: for performance
|
MboRemote |
getItemOrgInfo()
08-15967: for performance
|
java.lang.String |
getLocgroup()
gets the operating location filter set by the user
|
java.lang.String |
getLocsystem()
gets the operating location systemid filter set by the user
|
java.lang.String |
getMaxAppsWhere()
IV90199: In Receiving app and Shipment Receiving app, there is a app restriction internal=:NO on the MAXAPPS table.
|
protected Mbo |
getMboInstance(MboSet ms)
Generate a new asset object
|
boolean |
getMoveAssetPageFlag()
Flag indicates action move asset
|
java.util.Hashtable |
getOriginalAssetQbe() |
java.lang.String |
getOriginalAssetUserWhere() |
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.
|
protected java.lang.String |
getPoNum()
returns the ponum if move equipment is launched from a purchase order
added for 041104
|
protected java.lang.String |
getPoSiteId()
returns the positeid if move asset is launched from a purchase order
|
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.
|
java.lang.String |
getSqlForFiltering(MboSetRemote fltrSet)
This method builds the SQL string for filtering Asset records based on
linear asset.
|
boolean |
getSwapAssetPageFlag()
Flag indicates action swap asset
|
MboValueData[][] |
getTop(java.lang.String[] attrs,
int maxRows)
Returns all the top level objects in the hierarchy, i.e.
|
MboValueData |
getUniqueIDValue(java.lang.String object,
java.lang.String[] attributes,
java.lang.String[] values)
Returns the unique id value of the object using the list of attributes
and values.
|
java.lang.String |
getUserPrefWhere()
overrides the MboSet getUserPrefWhere() to return a userpref where clause
which is appended to the existing whereClause.
|
protected java.lang.String |
getWoNum()
returns the wonum if move equipment is launched from a work order.
|
MboRemote |
inMassMoveNewLocationMbo()
09-16727
|
void |
inventoryLocationHasChecked(java.lang.String location,
java.lang.String siteid)
08-15967: to reduce location mbos being instantiated in createMAtRecTrans
- Receive Rotating assets
|
boolean |
isInMassMoveLocation()
09-16727
|
void |
moveAsset()
Moves or swaps set of assets across orgs
|
protected boolean |
moveGLAccount(MboRemote asset) |
void |
moveSingleAsset(Asset asset)
initiates an Asset move by calling the appropriate Asset methods
depending on whether or not the destination location is an inventory type
location and whether or not the asset being moved is rotating or not.
|
void |
setAssetForSpecifications(MboRemote asseet)
09-14550
|
void |
setItemMbo(MboRemote item)
08-15967: for performance
|
void |
setItemOrgInfo(MboRemote itemOrgInfo)
08-15967: for performance
|
void |
setLocgroup(java.util.Vector locationGroup)
sets the userpref value used to filter Asset records in the result set by
operating location.
|
void |
setLocsystem(java.lang.String locationSystem)
sets the userpref value used to filter Asset records in the result set by
operating location systemid.
|
void |
setMoveAssetPageFlag(boolean flag)
Flag indicates action move asset
|
void |
setOriginalAssetQbe(java.util.Hashtable inQbe) |
void |
setOriginalAssetUserWhere(java.lang.String inWhere) |
void |
setPoNumAssetSetMv(java.lang.String setPoNum)
Sets the Purchase order number when asset is moved in PO app
|
void |
setPoSiteIdAssetSetMv(java.lang.String setPoSiteId)
Sets the Purchase order siteid when asset is moved in PO app
|
void |
setSwapAssetPageFlag(boolean flag)
Flag indicates action swap asset
|
void |
setWoNumAssetSetMv(java.lang.String setWonum)
Sets the workorder number when asset is moved in workorder app
|
void |
storeAssetsInMultiAssetLocCISet(MboSetRemote malcSet)
09-15293: pre-store all the assets being moved in MultiAssetLocCI table
in the hashtable
|
boolean |
toCheckInventoryLocation()
08-15967: to reduce location mbos being instantiated in createMAtRecTrans
- Receive Rotating assets
|
void |
zeroCosts(boolean ytd,
boolean total)
sets Asset cost attributes to zero.
|
getAllHierarchies, getHierarchy, setHierarchyabortSql, add, add, addAliasForML, addAliasForML, addAtEnd, addAtEnd, addAtIndex, addAtIndex, addFakeAtEnd, addFederatedMboToSorter, addJoinedAttribute, addMbo, addMbo, addSubQbe, addSubQbe, addSubQbe, addSubQbe, addToEndOfSelectStatement, addWarning, addWarnings, appendToWhere, applyAppSpecificAuthorization, 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, countAndCleanup, countAndCleanup, deleteAll, deleteAll, deleteAndRemove, deleteAndRemove, deleteAndRemove, deleteAndRemove, deleteAndRemove, deleteAndRemoveAll, deleteAndRemoveAll, deleteMbo, determineRequiredFieldsFromERM, dump, earliestDate, enableMethod, executeBatch, fetchNext, findAllNullRequiredFields, findByIntegrationKey, findKey, fireEventsAfterDB, fireEventsAfterDBCommit, fireEventsBeforeDB, forceDBSort, getAllAppAlwaysFieldFlags, getAllowQualifiedRestriction, getAlwaysFlags, getAlwaysFlags, getApp, getAppAlwaysFieldFlags, getAppWhere, getAttrRestrictions, getBoolean, getByte, getBytes, getClientLocale, getClientTimeZone, getCompleteWhere, getCurrentPosition, getDate, getDBFetchMaxRows, getDefaultValue, getDefaultValueHash, getDouble, getERMEntity, getESigTransactionId, getExcludeMeFromPropagation, getFlags, getFloat, getFromClause, getIgnoredAutokeyAttrs, getInsertCompanySet, getInsertItemSet, getInsertOrg, getInsertSite, getInt, getJspDefaultValueHash, getKeyAttributes, getList, getList, getLong, getMaxMessage, getMbo, getMbo, getMboCtx, 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, getRetainRecordLimit, getRowRestrictions, getSecurityLogger, getSelectClause, getSelectClause, getSelection, getSelectionWhere, getSelectWhereClause, getSetOrderByForUI, getSharedMboSet, getSize, getSkipFirstNRows, getSqlLogger, getSQLOptions, getString, getTranslator, getTxnPropertyMap, getUserAndQbeWhere, getUserInfo, getUserName, getUserWhere, getUserWhere, getWarnings, getWhere, getZombie, handleMLMbo, handleMLMbo, hasMLQbe, hasQbe, hasWarnings, ignoreAutokeyAttr, ignoreAutokeyAttr, ignoreQbeExactMatchSet, includeRelatedMbosOfOwnersChildren, incrementDeletedCount, init, init, initDataDictionary, insertDeltaRow, insertMbo, isBasedOn, isClosed, isDeltaStorage, isDMDeploySet, isDMSkipFieldValidation, isDownloadSet, isEAuditFieldModified, isEAuditNeeded, isEmpty, isESigFieldModified, isESigNeeded, isESigNeeded, isFlagSet, isIgnoreQbeExactMatchSet, isInMemorySort, isJoinedAttribute, isLookup, isNull, isQbeCaseSensitive, isQbeExactMatch, isRetainMboPosition, isRetainRecordEnabled, isTableDomainLookup, latestDate, locateMbo, logESigVerification, logRowUpdatedException, max, min, moveFirst, moveLast, moveNext, movePrev, moveTo, moveToKey, newMboIndex, notExist, positionState, processML, remove, remove, remove, removeAllJoinedAttributes, removeCtx, removeJoinedAttribute, reset, resetForRefreshOnSave, resetQbe, resetWithSelection, rollback, rollbackToCheckpoint, rollbackToCheckpoint, rollbackTransaction, save, save, save, save, saveMbos, saveTransaction, select, select, select, selectAll, setAllowQualifiedRestriction, setApp, setAppAlwaysFieldFlag, setAppWhere, setAutoKeyFlag, setBindValueAsBytes, setDBFetchMaxRows, setDefaultOrderBy, setDefaultValue, setDefaultValue, setDefaultValues, setDefaultValues, setDiscardableFlag, setDMDeploySet, setDMSkipFieldValidation, setDownloadSet, setEAuditFieldModified, setERMEntity, setESigFieldModified, setExcludeMeFromPropagation, setFederatedResources, setFlag, setFlag, setFlags, setInsertCompanySet, setInsertItemSet, setInsertOrg, setInsertSite, setLastESigTransId, setLogLargFetchResultDisabled, setMboCtx, setMboSetInfo, setMXTransaction, setNoNeedtoFetchFromDB, setNoSaveFlag, setOrderBy, setOrderByNVL, setOverrideSelectClause, setOverrideSelectFromClause, setOverrideSelectWhereClause, 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, updateMbo, updateMboSetRetainMboPositionData, updateRelatedMboSetRetainMboPositionData, useStoredQuery, validate, validateTransaction, verifyESigclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAllHierarchies, getHierarchy, setHierarchyabortSql, 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, isDownloadSet, 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, setDownloadSet, 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, 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 static final java.lang.String PLUSCASSETSTATUS
public AssetSet(MboServerInterface ms) throws MXException, java.rmi.RemoteException
ms - MXExceptionjava.rmi.RemoteExceptionprotected Mbo getMboInstance(MboSet ms) throws MXException, java.rmi.RemoteException
getMboInstance in class MboSetms - MXExceptionjava.rmi.RemoteExceptionprotected java.util.Vector getAssetsMovedDirectly()
throws MXException,
java.rmi.RemoteException
MoveDetails object.MXExceptionjava.rmi.RemoteExceptionmoveAssetpublic void moveAsset()
throws MXException,
java.rmi.RemoteException
moveAsset in interface AssetSetRemoteMXExceptionjava.rmi.RemoteExceptionAssetSet.moveAsset()protected boolean moveGLAccount(MboRemote asset) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionprotected boolean fromWO()
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic void moveSingleAsset(Asset asset) throws MXException, java.rmi.RemoteException
moveSingleAsset in interface AssetSetRemoteasset - Asset to be movedMXApplicationException - ("asset", "newsiteundefined")
MXApplicationException("asset", "cantmovemodify")
MXApplicationException("locations", "invalidlocationsite",
params) MXApplicationException("asset",
"newstatusundefined", params)MXExceptionjava.rmi.RemoteExceptionAssetSet.moveSingleAsset(Asset asset)public void findTopLevel()
throws MXException,
java.rmi.RemoteException
findTopLevel in interface AssetSetRemoteMXExceptionjava.rmi.RemoteExceptionAssetSet.findTopLevel()public void findAssetsAtLocation(java.lang.String location)
throws MXException,
java.rmi.RemoteException
findAssetsAtLocation in interface AssetSetRemotelocation - location that will be used to query the Asset tableMXExceptionjava.rmi.RemoteExceptionAssetSet.findAssetsAtLocation(String location)public void findAsset(java.lang.String asset)
throws MXException,
java.rmi.RemoteException
findAsset in interface AssetSetRemoteasset - Asset that will be used to query the Asset tableMXExceptionjava.rmi.RemoteExceptionAssetSet.findAsset(String asset)public void findSelectedAssets(java.lang.String where)
throws MXException,
java.rmi.RemoteException
findSelectedAssets in interface AssetSetRemotewhere - String containing a set of Assetnums to be used in a SQL queryMXExceptionjava.rmi.RemoteExceptionAssetSet.findSelectedAssets(String where)public void findNotDecommissionedAssets()
throws MXException,
java.rmi.RemoteException
findNotDecommissionedAssets in interface AssetSetRemoteMXExceptionjava.rmi.RemoteExceptionAssetSet.findNotDecommissionedAssets()public void findNotMovedAssets()
throws MXException,
java.rmi.RemoteException
findNotMovedAssets in interface AssetSetRemoteMXExceptionjava.rmi.RemoteExceptionAssetSet.findNotMovedAssets()public void setLocsystem(java.lang.String locationSystem)
throws MXException,
java.rmi.RemoteException
setLocsystem in interface AssetSetRemotelocationSystem - userpref setting for the location systemMXExceptionjava.rmi.RemoteExceptionAssetSet.setLocsystem(String locationSystem)public void setLocgroup(java.util.Vector locationGroup)
throws MXException,
java.rmi.RemoteException
setLocgroup in interface AssetSetRemotelocationGroup - userpref setting for the location group. This setting is a
Vector containing all operating locations to be included in
resulting Asset set.MXExceptionjava.rmi.RemoteExceptionpsdi.app.asset.AssetSet#setLocgroup(String locationGroup)public java.lang.String getLocsystem()
throws MXException,
java.rmi.RemoteException
getLocsystem in interface AssetSetRemoteMXExceptionjava.rmi.RemoteExceptionsetLocsystempublic java.lang.String getLocgroup()
throws MXException,
java.rmi.RemoteException
getLocgroup in interface AssetSetRemoteMXExceptionjava.rmi.RemoteExceptionsetLocgrouppublic java.lang.String getUserPrefWhere()
getUserPrefWhere in class MboSetpublic void findAssetAtLocation(java.lang.String location)
throws MXException,
java.rmi.RemoteException
findAssetAtLocation in interface AssetSetRemotelocation - the location where the asset is.MXExceptionjava.rmi.RemoteExceptionpsdi.app.asset.AssetSet#findAssetForLocation(String location)public void setMoveAssetPageFlag(boolean flag)
throws MXException,
java.rmi.RemoteException
setMoveAssetPageFlag in interface AssetSetRemoteflag - , set true in move asset page. Set false when out of move
asset pageMXExceptionjava.rmi.RemoteExceptionAssetSet.setMoveAssetPageFlag(boolean flag)public boolean getMoveAssetPageFlag()
throws MXException,
java.rmi.RemoteException
getMoveAssetPageFlag in interface AssetSetRemoteMXExceptionjava.rmi.RemoteExceptionAssetSet.getMoveAssetPageFlag()public void setSwapAssetPageFlag(boolean flag)
throws MXException,
java.rmi.RemoteException
setSwapAssetPageFlag in interface AssetSetRemoteflag - , set true in swap asset page. Set false when out of swap
asset pageMXExceptionjava.rmi.RemoteExceptionAssetSet.setSwapAssetPageFlag(boolean flag)public boolean getSwapAssetPageFlag()
throws MXException,
java.rmi.RemoteException
getSwapAssetPageFlag in interface AssetSetRemoteMXExceptionjava.rmi.RemoteExceptionAssetSet.getSwapAssetPageFlag()public void setWoNumAssetSetMv(java.lang.String setWonum)
throws MXException,
java.rmi.RemoteException
setWoNumAssetSetMv in interface AssetSetRemotewonum - Workorder number where asset is movedMXExceptionjava.rmi.RemoteExceptionAssetSet.setWoNumAssetSetMv(String wonum)protected java.lang.String getWoNum()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void setPoNumAssetSetMv(java.lang.String setPoNum)
throws MXException,
java.rmi.RemoteException
setPoNumAssetSetMv in interface AssetSetRemoteponum - Purchase order number where asset is movedMXExceptionjava.rmi.RemoteExceptionAssetSet.setPoNumAssetSetMv(String ponum)public void setPoSiteIdAssetSetMv(java.lang.String setPoSiteId)
throws MXException,
java.rmi.RemoteException
setPoSiteIdAssetSetMv in interface AssetSetRemotepositeid - Purchase order siteidMXExceptionjava.rmi.RemoteExceptionAssetSet.setPoSiteIdAssetSetMv(String positeid)protected java.lang.String getPoNum()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionprotected java.lang.String getPoSiteId()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void applyAssetMoveDefaults(AssetMoveDfltSetRemote assetMoveDfltSet, java.lang.String applytype) throws MXException, java.rmi.RemoteException
applyAssetMoveDefaults in interface AssetSetRemoteassetMoveDflt - Nonpersistant object which stores the default valuesapplytype - Type of value (parent or location or bin or all)MXExceptionjava.rmi.RemoteExceptionpsdi.app.asset.AssetSet#applyAssetMoveDefaults(AssetMoveDflt assetMoveDflt, String applytype)public void applyAssetUserCustDefaults(AssetUserCusDfltSetRemote assetUserCusDfltSet) throws MXException, java.rmi.RemoteException
applyAssetUserCustDefaults in interface AssetSetRemoteassetUserCusDflt - Nonpersistant object which stores the default valuesMXExceptionjava.rmi.RemoteExceptionAssetSet.applyAssetUserCustDefaults(AssetUserCusDfltSetRemote assetUserCusDfltSet)public void applyAssetModifyDefaults(AssetModifyDfltSetRemote assetModifyDfltSet) throws MXException, java.rmi.RemoteException
applyAssetModifyDefaults in interface AssetSetRemoteassetModifyDflt - Nonpersistant object which stores the default values for
attributesMXExceptionjava.rmi.RemoteExceptionAssetSet.applyAssetModifyDefaults(AssetModifyDfltSetRemote assetModifyDfltSet)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 getUniqueIDValue(java.lang.String object, java.lang.String[] attributes, java.lang.String[] values) throws MXException, java.rmi.RemoteException
getUniqueIDValue in interface HierarchicalMboSetRemotegetUniqueIDValue in class HierarchicalMboSetobject - attributes - values - 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 zeroCosts(boolean ytd,
boolean total)
throws MXException,
java.rmi.RemoteException
zeroCosts in interface AssetSetRemoteytd - zero out this Asset's year-to-date cost?total - zero out this Asset's total cost?MXExceptionjava.rmi.RemoteExceptionAsset.zeroCosts(boolean, boolean)public void addAssetsToCollectDetails(java.lang.String collectionNum)
throws MXException,
java.rmi.RemoteException
addAssetsToCollectDetails in interface AssetSetRemoteMXExceptionjava.rmi.RemoteExceptionpsdi.app.asset.Asset#addAssetsToCollectDetails()public void setItemMbo(MboRemote item) throws MXException, java.rmi.RemoteException
item - MXExceptionjava.rmi.RemoteExceptionpublic void setItemOrgInfo(MboRemote itemOrgInfo) throws MXException, java.rmi.RemoteException
item - MXExceptionjava.rmi.RemoteExceptionpublic MboRemote getItemMbo() throws MXException, java.rmi.RemoteException
item - MXExceptionjava.rmi.RemoteExceptionpublic MboRemote getItemOrgInfo() throws MXException, java.rmi.RemoteException
item - MXExceptionjava.rmi.RemoteExceptionpublic void inventoryLocationHasChecked(java.lang.String location,
java.lang.String siteid)
throws MXException,
java.rmi.RemoteException
hasChecked - MXExceptionjava.rmi.RemoteExceptionpublic boolean toCheckInventoryLocation()
throws MXException,
java.rmi.RemoteException
hasChecked - MXExceptionjava.rmi.RemoteExceptionpublic void setAssetForSpecifications(MboRemote asseet) throws MXException, java.rmi.RemoteException
asseet - MXExceptionjava.rmi.RemoteExceptionpublic MboRemote getAssetForSpecifications() throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void storeAssetsInMultiAssetLocCISet(MboSetRemote malcSet) throws java.rmi.RemoteException, MXException
malcSet - java.rmi.RemoteExceptionMXExceptionpublic boolean isInMassMoveLocation()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic MboRemote inMassMoveNewLocationMbo() throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void filterByLinearAsset(MboSetRemote fltrSet) throws MXException, java.rmi.RemoteException
filterByLinearAsset in interface AssetSetRemoteMXExceptionjava.rmi.RemoteExceptionpsdi.app.asset.Asset#filterByLinearAsset()public java.lang.String getSqlForFiltering(MboSetRemote fltrSet) throws MXException, java.rmi.RemoteException
fltrSet - the set to be filteredMXExceptionjava.rmi.RemoteExceptionpublic java.util.Hashtable getOriginalAssetQbe()
throws MXException,
java.rmi.RemoteException
getOriginalAssetQbe in interface AssetSetRemoteMXExceptionjava.rmi.RemoteExceptionpsdi.app.asset.Asset#getOriginalAssetQbe()public java.lang.String getOriginalAssetUserWhere()
throws MXException,
java.rmi.RemoteException
getOriginalAssetUserWhere in interface AssetSetRemoteMXExceptionjava.rmi.RemoteExceptionpsdi.app.asset.Asset#getOriginalAssetUserWhere()public void setOriginalAssetUserWhere(java.lang.String inWhere)
throws MXException,
java.rmi.RemoteException
setOriginalAssetUserWhere in interface AssetSetRemoteMXExceptionjava.rmi.RemoteExceptionpsdi.app.asset.Asset#setOriginalAssetUserWhere()public void setOriginalAssetQbe(java.util.Hashtable inQbe)
throws MXException,
java.rmi.RemoteException
setOriginalAssetQbe in interface AssetSetRemoteMXExceptionjava.rmi.RemoteExceptionpsdi.app.asset.Asset#setOriginalAssetQbe()public void applyAssetPersonGroupDefaults(AssetGrpDfltSetRemote personGroupDefaults) throws MXException, java.rmi.RemoteException
applyAssetPersonGroupDefaults in interface AssetSetRemoteMXExceptionjava.rmi.RemoteExceptionpublic void addAssetOpSKD(MboSetRemote npAssetOpSKDSet) throws MXException, java.rmi.RemoteException
addAssetOpSKD in interface AssetSetRemoteMXExceptionjava.rmi.RemoteExceptionpsdi.app.asset.AssetSet#addAssetOpSKD()public void addAssetMntSKD(MboSetRemote npAssetOpSKDSet) throws MXException, java.rmi.RemoteException
addAssetMntSKD in interface AssetSetRemoteMXExceptionjava.rmi.RemoteExceptionpsdi.app.asset.AssetSet#addAssetMntSKD()public void addWorkZones(java.lang.String workzone,
java.lang.String type,
java.lang.String orgid)
throws MXException,
java.rmi.RemoteException
addWorkZones in interface AssetSetRemoteMXExceptionjava.rmi.RemoteExceptionpsdi.app.asset.Asset#addWorkZones()public void changeStatus(java.lang.String status,
boolean rollToAllChildren,
boolean removeFromActiveRoutes,
boolean removeFromActiveSP,
boolean changePMStatus)
throws MXException,
java.rmi.RemoteException
changeStatus in interface AssetSetRemotestatus - New statusrollToAllChildren - Flag indicate if the status is rolled to all childrenremoveFromActiveRoutes - Flag indicates if asset reference from all active routes need to be removedremoveFromActiveSP - Flag indicates if asset reference from all active safety plans need to be removedchangePMStatus - Flag indicates if asset reference from all active PM need to be removedchangedStatusPMs - Hashtable with the PM's whose status is changedMXExceptionjava.rmi.RemoteExceptionpsdi.app.asset.Asset#changeStatus()public java.lang.String getMaxAppsWhere()
throws MXException,
java.rmi.RemoteException
getMaxAppsWhere in class MboSetMXExceptionjava.rmi.RemoteExceptionCalls this method.