public class AssetSet extends HierarchicalMboSet implements AssetSetRemote
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PLUSCASSETSTATUS |
fetchStopLimitEnabled, LOOKUPMAXROW, maxSorterSize, mboCountCleanuplist, perfStats, strNoBaseLangValueEntered
ACTIVEASSETMETER, 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, UPDATEAVGUNITS
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 |
---|
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.
|
MboRemote |
getAssetForSpecifications()
09-14550
|
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.
|
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.
|
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.
|
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
|
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, setHierarchy
abortSql, add, add, addAtEnd, addAtEnd, addAtIndex, addAtIndex, addFakeAtEnd, addFederatedMboToSorter, addSubQbe, addSubQbe, addSubQbe, addSubQbe, addToEndOfSelectStatement, addWarning, addWarnings, appendToWhere, applyRowSecurity, avg, canAdd, cancelAndClose, checkMethodAccess, checkMethodAccess, cleanup, clear, clearBatchedPreparedStmt, clearBatchedPreparedStmts, clearESigTransactionIdThread, clearESigTransIDForAdmin, clearIgnoredAutokeyAttrs, clearLongOpPipe, clearToBeSaved, clearTransactionReference, clearWarnings, close, commit, commitTransaction, copy, copy, copy, copyForDM, count, count, deleteAll, deleteAll, deleteAndRemove, deleteAndRemove, deleteAndRemove, deleteAndRemove, deleteAndRemove, deleteAndRemoveAll, deleteAndRemoveAll, determineRequiredFieldsFromERM, dump, earliestDate, enableMethod, executeBatch, fetchNext, findAllNullRequiredFields, findByIntegrationKey, findKey, fireEventsAfterDB, fireEventsAfterDBCommit, fireEventsBeforeDB, forceDBSort, getAllowQualifiedRestriction, getAlwaysFlags, getAlwaysFlags, getApp, getAppAlwaysFieldFlags, getAppWhere, getAttrRestrictions, getBoolean, getByte, getBytes, getClientLocale, getClientTimeZone, getCompleteWhere, getCurrentPosition, getDate, getDBFetchMaxRows, getDefaultValue, getDefaultValueHash, getDouble, getERMEntity, getESigTransactionId, getExcludeMeFromPropagation, getFlags, getFloat, getIgnoredAutokeyAttrs, getInsertCompanySet, getInsertItemSet, getInsertOrg, getInsertSite, getInt, getJspDefaultValueHash, getKeyAttributes, getList, getList, getLong, 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, getUserWhere, getWarnings, getWhere, getZombie, handleMLMbo, handleMLMbo, hasMLQbe, hasQbe, hasWarnings, ignoreAutokeyAttr, ignoreAutokeyAttr, ignoreQbeExactMatchSet, incrementDeletedCount, init, init, initDataDictionary, isBasedOn, isClosed, isDeltaStorage, isDMDeploySet, isDMSkipFieldValidation, isEAuditFieldModified, isEmpty, isESigFieldModified, isESigNeeded, isFlagSet, isIgnoreQbeExactMatchSet, isLookup, isNull, isQbeCaseSensitive, isQbeExactMatch, isRetainMboPosition, isTableDomainLookup, latestDate, locateMbo, logESigVerification, logRowUpdatedException, max, min, moveFirst, moveLast, moveNext, movePrev, moveTo, moveToKey, newMboIndex, notExist, positionState, processML, remove, remove, remove, reset, resetForRefreshOnSave, resetQbe, resetWithSelection, rollback, rollbackToCheckpoint, rollbackToCheckpoint, rollbackTransaction, save, save, save, save, saveMbos, saveTransaction, select, select, select, selectAll, setAllowQualifiedRestriction, setApp, setAppAlwaysFieldFlag, setAppWhere, setAutoKeyFlag, setDBFetchMaxRows, setDefaultOrderBy, setDefaultValue, setDefaultValue, setDefaultValues, setDefaultValues, setDMDeploySet, setDMSkipFieldValidation, setEAuditFieldModified, setERMEntity, setESigFieldModified, setExcludeMeFromPropagation, setFederatedResources, setFlag, setFlag, setFlags, setInsertCompanySet, setInsertItemSet, setInsertOrg, setInsertSite, setLastESigTransId, setLogLargFetchResultDisabled, setMboSetInfo, setMXTransaction, setNoNeedtoFetchFromDB, setOrderBy, setOrderByNVL, setOwner, setPreserveOrderByCase, setProxy, setQbe, setQbe, setQbe, setQbe, setQbe, setQbeCaseSensitive, setQbeCaseSensitive, setQbeExactMatch, setQbeExactMatch, setQbeOperatorOr, setQueryBySiteQbe, setQueryTimeout, setRelationName, setRelationship, setRequiedFlagsFromERM, setRetainMboPosition, setSetOrderByForUI, setSkipFirstNRows, setSQLOptions, setTableDomainLookup, setTxnPropertyMap, setupLongOpPipe, setUserWhere, setUserWhereAfterParse, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueNull, setValueNull, setWhere, setWhereQbe, smartFill, smartFill, smartFind, smartFind, smartFind, smartFind, sort, splitOrderBy, startCheckpoint, startCheckpoint, sum, toBeSaved, undeleteAll, undoTransaction, unselect, unselect, unselect, unselectAll, useStoredQuery, validate, validateTransaction, verifyESig
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAllHierarchies, getHierarchy, setHierarchy
abortSql, add, add, addAtEnd, addAtEnd, addAtIndex, addAtIndex, addFakeAtEnd, addSubQbe, addSubQbe, addSubQbe, addSubQbe, addWarning, addWarnings, checkMethodAccess, cleanup, clear, clearLongOpPipe, close, commit, copy, copy, copyForDM, count, count, deleteAll, deleteAll, deleteAndRemove, deleteAndRemove, deleteAndRemove, deleteAndRemove, deleteAndRemove, deleteAndRemoveAll, deleteAndRemoveAll, determineRequiredFieldsFromERM, earliestDate, fetchNext, findAllNullRequiredFields, findByIntegrationKey, findKey, getApp, getAppAlwaysFieldFlags, getAppWhere, getCompleteWhere, getCurrentPosition, getDBFetchMaxRows, getDefaultValue, getERMEntity, getESigTransactionId, getExcludeMeFromPropagation, getFlags, getKeyAttributes, getList, getList, getMaxMessage, getMbo, getMbo, getMboForUniqueId, getMboSetData, getMboSetData, getMboSetInfo, getMboSetRetainMboPositionData, getMboSetRetainMboPositionInfo, getMboSetValueData, getMboValueData, getMboValueData, getMboValueData, getMboValueInfoStatic, getMboValueInfoStatic, getMessage, getMessage, getMessage, getMessage, getMLFromClause, getMXTransaction, getName, getOrderBy, getOwner, getParentApp, getProfile, getQbe, getQbe, getQbe, getQbeWhere, getQueryTimeout, getRelationName, getRelationship, getSelection, getSelectionWhere, getSetOrderByForUI, getSize, getSQLOptions, getTxnPropertyMap, getUserAndQbeWhere, getUserInfo, getUserName, getUserWhere, getWarnings, getWhere, getZombie, hasMLQbe, hasQbe, hasWarnings, ignoreQbeExactMatchSet, incrementDeletedCount, init, isBasedOn, isDMDeploySet, isDMSkipFieldValidation, isEmpty, isESigNeeded, isFlagSet, isQbeCaseSensitive, isQbeExactMatch, isRetainMboPosition, latestDate, locateMbo, logESigVerification, max, min, moveFirst, moveLast, moveNext, movePrev, moveTo, newMboIndex, notExist, positionState, processML, remove, remove, remove, reset, resetQbe, resetWithSelection, rollback, rollbackToCheckpoint, rollbackToCheckpoint, save, save, select, select, select, selectAll, setAllowQualifiedRestriction, setApp, setAppAlwaysFieldFlag, setAppWhere, setAutoKeyFlag, setDBFetchMaxRows, setDefaultOrderBy, setDefaultValue, setDefaultValue, setDefaultValues, setDMDeploySet, setDMSkipFieldValidation, setERMEntity, setESigFieldModified, setExcludeMeFromPropagation, setFlag, setFlag, setFlags, setInsertCompanySet, setInsertItemSet, setInsertOrg, setInsertSite, setLastESigTransId, setLogLargFetchResultDisabled, setMboSetInfo, setMXTransaction, setNoNeedtoFetchFromDB, setOrderBy, setOwner, setQbe, setQbe, setQbe, setQbe, setQbe, setQbeCaseSensitive, setQbeCaseSensitive, setQbeExactMatch, setQbeExactMatch, setQbeOperatorOr, setQueryBySiteQbe, setQueryTimeout, setRelationName, setRelationship, setRequiedFlagsFromERM, setRetainMboPosition, setSetOrderByForUI, setSQLOptions, setTableDomainLookup, setTxnPropertyMap, setupLongOpPipe, setUserWhere, setUserWhereAfterParse, setWhere, setWhereQbe, smartFill, smartFill, smartFind, smartFind, startCheckpoint, startCheckpoint, sum, toBeSaved, undeleteAll, unselect, unselect, unselect, unselectAll, useStoredQuery, validate, verifyESig
getBoolean, getByte, getBytes, getDate, getDouble, getFloat, getInt, getLong, getString, isNull, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueNull, setValueNull
commitTransaction, fireEventsAfterDB, fireEventsAfterDBCommit, fireEventsBeforeDB, rollbackTransaction, saveTransaction, undoTransaction, validateTransaction
public static final java.lang.String PLUSCASSETSTATUS
public AssetSet(MboServerInterface ms) throws MXException, java.rmi.RemoteException
ms
- MXException
java.rmi.RemoteException
public void moveAsset() throws MXException, java.rmi.RemoteException
moveAsset
in interface AssetSetRemote
MXException
java.rmi.RemoteException
moveAsset()
public void moveSingleAsset(Asset asset) throws MXException, java.rmi.RemoteException
moveSingleAsset
in interface AssetSetRemote
asset
- Asset to be movedMXApplicationException
- ("asset", "newsiteundefined")
MXApplicationException("asset", "cantmovemodify")
MXApplicationException("locations", "invalidlocationsite",
params) MXApplicationException("asset",
"newstatusundefined", params)MXException
java.rmi.RemoteException
moveSingleAsset(Asset asset)
public void findTopLevel() throws MXException, java.rmi.RemoteException
findTopLevel
in interface AssetSetRemote
MXException
java.rmi.RemoteException
findTopLevel()
public void findAssetsAtLocation(java.lang.String location) throws MXException, java.rmi.RemoteException
findAssetsAtLocation
in interface AssetSetRemote
location
- location that will be used to query the Asset tableMXException
java.rmi.RemoteException
findAssetsAtLocation(String location)
public void findAsset(java.lang.String asset) throws MXException, java.rmi.RemoteException
findAsset
in interface AssetSetRemote
asset
- Asset that will be used to query the Asset tableMXException
java.rmi.RemoteException
findAsset(String asset)
public void findSelectedAssets(java.lang.String where) throws MXException, java.rmi.RemoteException
findSelectedAssets
in interface AssetSetRemote
where
- String containing a set of Assetnums to be used in a SQL queryMXException
java.rmi.RemoteException
findSelectedAssets(String where)
public void findNotDecommissionedAssets() throws MXException, java.rmi.RemoteException
findNotDecommissionedAssets
in interface AssetSetRemote
MXException
java.rmi.RemoteException
findNotDecommissionedAssets()
public void findNotMovedAssets() throws MXException, java.rmi.RemoteException
findNotMovedAssets
in interface AssetSetRemote
MXException
java.rmi.RemoteException
findNotMovedAssets()
public void setLocsystem(java.lang.String locationSystem) throws MXException, java.rmi.RemoteException
setLocsystem
in interface AssetSetRemote
locationSystem
- userpref setting for the location systemMXException
java.rmi.RemoteException
setLocsystem(String locationSystem)
public void setLocgroup(java.util.Vector locationGroup) throws MXException, java.rmi.RemoteException
setLocgroup
in interface AssetSetRemote
locationGroup
- userpref setting for the location group. This setting is a
Vector containing all operating locations to be included in
resulting Asset set.MXException
java.rmi.RemoteException
psdi.app.asset.AssetSet#setLocgroup(String locationGroup)
public java.lang.String getLocsystem() throws MXException, java.rmi.RemoteException
getLocsystem
in interface AssetSetRemote
MXException
java.rmi.RemoteException
setLocsystem
public java.lang.String getLocgroup() throws MXException, java.rmi.RemoteException
getLocgroup
in interface AssetSetRemote
MXException
java.rmi.RemoteException
setLocgroup
public java.lang.String getUserPrefWhere()
getUserPrefWhere
in class MboSet
public void findAssetAtLocation(java.lang.String location) throws MXException, java.rmi.RemoteException
findAssetAtLocation
in interface AssetSetRemote
location
- the location where the asset is.MXException
java.rmi.RemoteException
psdi.app.asset.AssetSet#findAssetForLocation(String location)
public void setMoveAssetPageFlag(boolean flag) throws MXException, java.rmi.RemoteException
setMoveAssetPageFlag
in interface AssetSetRemote
flag
- , set true in move asset page. Set false when out of move
asset pageMXException
java.rmi.RemoteException
setMoveAssetPageFlag(boolean flag)
public boolean getMoveAssetPageFlag() throws MXException, java.rmi.RemoteException
getMoveAssetPageFlag
in interface AssetSetRemote
MXException
java.rmi.RemoteException
getMoveAssetPageFlag()
public void setSwapAssetPageFlag(boolean flag) throws MXException, java.rmi.RemoteException
setSwapAssetPageFlag
in interface AssetSetRemote
flag
- , set true in swap asset page. Set false when out of swap
asset pageMXException
java.rmi.RemoteException
setSwapAssetPageFlag(boolean flag)
public boolean getSwapAssetPageFlag() throws MXException, java.rmi.RemoteException
getSwapAssetPageFlag
in interface AssetSetRemote
MXException
java.rmi.RemoteException
getSwapAssetPageFlag()
public void setWoNumAssetSetMv(java.lang.String setWonum) throws MXException, java.rmi.RemoteException
setWoNumAssetSetMv
in interface AssetSetRemote
wonum
- Workorder number where asset is movedMXException
java.rmi.RemoteException
setWoNumAssetSetMv(String wonum)
public void setPoNumAssetSetMv(java.lang.String setPoNum) throws MXException, java.rmi.RemoteException
setPoNumAssetSetMv
in interface AssetSetRemote
ponum
- Purchase order number where asset is movedMXException
java.rmi.RemoteException
setPoNumAssetSetMv(String ponum)
public void setPoSiteIdAssetSetMv(java.lang.String setPoSiteId) throws MXException, java.rmi.RemoteException
setPoSiteIdAssetSetMv
in interface AssetSetRemote
positeid
- Purchase order siteidMXException
java.rmi.RemoteException
setPoSiteIdAssetSetMv(String positeid)
public void applyAssetMoveDefaults(AssetMoveDfltSetRemote assetMoveDfltSet, java.lang.String applytype) throws MXException, java.rmi.RemoteException
applyAssetMoveDefaults
in interface AssetSetRemote
assetMoveDflt
- Nonpersistant object which stores the default valuesapplytype
- Type of value (parent or location or bin or all)MXException
java.rmi.RemoteException
psdi.app.asset.AssetSet#applyAssetMoveDefaults(AssetMoveDflt assetMoveDflt, String applytype)
public void applyAssetUserCustDefaults(AssetUserCusDfltSetRemote assetUserCusDfltSet) throws MXException, java.rmi.RemoteException
applyAssetUserCustDefaults
in interface AssetSetRemote
assetUserCusDflt
- Nonpersistant object which stores the default valuesMXException
java.rmi.RemoteException
applyAssetUserCustDefaults(AssetUserCusDfltSetRemote assetUserCusDfltSet)
public void applyAssetModifyDefaults(AssetModifyDfltSetRemote assetModifyDfltSet) throws MXException, java.rmi.RemoteException
applyAssetModifyDefaults
in interface AssetSetRemote
assetModifyDflt
- Nonpersistant object which stores the default values for
attributesMXException
java.rmi.RemoteException
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 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 getUniqueIDValue(java.lang.String object, java.lang.String[] attributes, java.lang.String[] values) throws MXException, java.rmi.RemoteException
getUniqueIDValue
in interface HierarchicalMboSetRemote
getUniqueIDValue
in class HierarchicalMboSet
object
- attributes
- values
- 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 zeroCosts(boolean ytd, boolean total) throws MXException, java.rmi.RemoteException
zeroCosts
in interface AssetSetRemote
ytd
- zero out this Asset's year-to-date cost?total
- zero out this Asset's total cost?MXException
java.rmi.RemoteException
Asset.zeroCosts(boolean, boolean)
public void addAssetsToCollectDetails(java.lang.String collectionNum) throws MXException, java.rmi.RemoteException
addAssetsToCollectDetails
in interface AssetSetRemote
MXException
java.rmi.RemoteException
psdi.app.asset.Asset#addAssetsToCollectDetails()
public void setItemMbo(MboRemote item) throws MXException, java.rmi.RemoteException
item
- MXException
java.rmi.RemoteException
public void setItemOrgInfo(MboRemote itemOrgInfo) throws MXException, java.rmi.RemoteException
item
- MXException
java.rmi.RemoteException
public MboRemote getItemMbo() throws MXException, java.rmi.RemoteException
item
- MXException
java.rmi.RemoteException
public MboRemote getItemOrgInfo() throws MXException, java.rmi.RemoteException
item
- MXException
java.rmi.RemoteException
public void inventoryLocationHasChecked(java.lang.String location, java.lang.String siteid) throws MXException, java.rmi.RemoteException
hasChecked
- MXException
java.rmi.RemoteException
public boolean toCheckInventoryLocation() throws MXException, java.rmi.RemoteException
hasChecked
- MXException
java.rmi.RemoteException
public void setAssetForSpecifications(MboRemote asseet) throws MXException, java.rmi.RemoteException
asseet
- MXException
java.rmi.RemoteException
public MboRemote getAssetForSpecifications() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void storeAssetsInMultiAssetLocCISet(MboSetRemote malcSet) throws java.rmi.RemoteException, MXException
malcSet
- java.rmi.RemoteException
MXException
public boolean isInMassMoveLocation() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public MboRemote inMassMoveNewLocationMbo() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void filterByLinearAsset(MboSetRemote fltrSet) throws MXException, java.rmi.RemoteException
filterByLinearAsset
in interface AssetSetRemote
MXException
java.rmi.RemoteException
psdi.app.asset.Asset#filterByLinearAsset()
public java.lang.String getSqlForFiltering(MboSetRemote fltrSet) throws MXException, java.rmi.RemoteException
fltrSet
- the set to be filteredMXException
java.rmi.RemoteException
public java.util.Hashtable getOriginalAssetQbe() throws MXException, java.rmi.RemoteException
getOriginalAssetQbe
in interface AssetSetRemote
MXException
java.rmi.RemoteException
psdi.app.asset.Asset#getOriginalAssetQbe()
public java.lang.String getOriginalAssetUserWhere() throws MXException, java.rmi.RemoteException
getOriginalAssetUserWhere
in interface AssetSetRemote
MXException
java.rmi.RemoteException
psdi.app.asset.Asset#getOriginalAssetUserWhere()
public void setOriginalAssetUserWhere(java.lang.String inWhere) throws MXException, java.rmi.RemoteException
setOriginalAssetUserWhere
in interface AssetSetRemote
MXException
java.rmi.RemoteException
psdi.app.asset.Asset#setOriginalAssetUserWhere()
public void setOriginalAssetQbe(java.util.Hashtable inQbe) throws MXException, java.rmi.RemoteException
setOriginalAssetQbe
in interface AssetSetRemote
MXException
java.rmi.RemoteException
psdi.app.asset.Asset#setOriginalAssetQbe()
public void applyAssetPersonGroupDefaults(AssetGrpDfltSetRemote personGroupDefaults) throws MXException, java.rmi.RemoteException
applyAssetPersonGroupDefaults
in interface AssetSetRemote
MXException
java.rmi.RemoteException
public void addAssetOpSKD(MboSetRemote npAssetOpSKDSet) throws MXException, java.rmi.RemoteException
addAssetOpSKD
in interface AssetSetRemote
MXException
java.rmi.RemoteException
psdi.app.asset.AssetSet#addAssetOpSKD()
public void addAssetMntSKD(MboSetRemote npAssetOpSKDSet) throws MXException, java.rmi.RemoteException
addAssetMntSKD
in interface AssetSetRemote
MXException
java.rmi.RemoteException
psdi.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 AssetSetRemote
MXException
java.rmi.RemoteException
psdi.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 AssetSetRemote
status
- 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 changedMXException
java.rmi.RemoteException
psdi.app.asset.Asset#changeStatus()
public java.lang.String getMaxAppsWhere() throws MXException, java.rmi.RemoteException
getMaxAppsWhere
in class MboSet
MXException
java.rmi.RemoteException
Calls this method.