Maximo Java API · psdi.mbo
MboRemote psdi.mbo.MboRemote
MboRemote is a Maximo interface. It is in every release from 8.5 to 9.3, with 179 public and protected methods and 0 fields.
Using this class in Jython
Use the provided record
The public business-record interface used by automation scripts and returned by record lookups. Remote in the name does not mean a Jython script makes a network call. The script runs inside Manage; check for None when a lookup finds no record.
record = mbo.getMboSet("ASSET").getMbo(0)
Signature and hierarchy
public interface MboRemote extends Remote
Extends: java.rmi.Remote.
740 direct implementors in IBM's code.
Where Maximo uses it
No object, attribute, screen, service or cron task names MboRemote directly. No internal method callers can be inferred from these registrations.
Upgrading
Nothing on MboRemote was removed or moved between 8.5 and 9.3. No recorded removal is not a runtime compatibility guarantee; compare the exact source and target signatures.
Method context
- getString
- Read an attribute as text. Use isNull when the distinction between null and empty text matters.
mbo.getString("DESCRIPTION") - getInt
- Read an integer attribute. Uses the attribute metadata for conversion.
mbo.getInt("WOPRIORITY") - getDouble
- Read a numeric attribute as a Java double. A double is floating point; choose appropriate precision for financial calculations.
mbo.getDouble("LINECOST") - getDate
- Read a date attribute. Returns a java.util.Date, or null when unset.
mbo.getDate("SCHEDSTART") - getBoolean
- Read a boolean attribute. Use this for boolean fields instead of comparing text values.
mbo.getBoolean("ISTASK") - isNull
- Check whether an attribute has no value. Useful before a value-specific validation rule.
mbo.isNull("DESCRIPTION") - setValue
- Assign an attribute through the MBO business layer. Validation and actions depend on the overload and flags. Changes participate in the record transaction; this is not a database commit.
mbo.setValue("DESCRIPTION", "Checked") - setValueNull
- Clear an attribute through the MBO layer. Required-field and other rules may reject the update.
mbo.setValueNull("DESCRIPTION") - getMboSet
- Resolve a relationship to a collection of records. The relationship name is configured on the current object. The set participates in its owning transaction.
assets = mbo.getMboSet("ASSET") - getOwner
- Get the parent record that owns this record in memory. May return None. This is ownership in the MBO graph, not an arbitrary database parent lookup.
owner = mbo.getOwner() - getUserInfo
- Get the user context attached to this record. Pass this context when opening an independent set for the same user.
user = mbo.getUserInfo() - isModified
- Check whether the record or a named attribute changed. Select the overload for an attribute or the whole record.
mbo.isModified("DESCRIPTION") - isNew
- Check whether this is a newly added record. Useful when add and update share a launch point.
mbo.isNew() - getMboValue
- Get the field-value object for an attribute. Lets you inspect field state or work with its MboValue API.
value = mbo.getMboValue("DESCRIPTION") - setFieldFlag
- Set a field state flag such as READONLY. Field state affects subsequent editing; use the intended initialization event.
mbo.setFieldFlag("DESCRIPTION", MboConstants.READONLY, True) - isBasedOn
- Check the underlying business-object name. Useful for code shared between related object types.
mbo.isBasedOn("WORKORDER")
Methods
Signatures across captured releases. Use Browse to filter to one version.
| Signature | Releases |
|---|---|
public abstract void add() | 8.5–9.3 |
public abstract void addMboSetForRequiredCheck(MboSetRemote) | 8.5–9.3 |
public abstract void addToDeleteForInsertList(String) | 8.5–9.3 |
public abstract MboRemote blindCopy(MboSetRemote) | 8.5–9.3 |
public abstract void checkMethodAccess(String) | 8.5–9.3 |
public abstract void clear() | 8.5–9.3 |
public abstract MboRemote copy() | 8.5–9.3 |
public abstract MboRemote copy(MboSetRemote, long) | 8.5–9.3 |
public abstract MboRemote copy(MboSetRemote) | 8.5–9.3 |
public abstract MboRemote copyFake(MboSetRemote) | 8.5–9.3 |
public abstract void copyValue(MboRemote, String, String, long) | 8.5–9.3 |
public abstract void copyValue(MboRemote, String[], String[], long) | 8.5–9.3 |
public abstract MboRemote createComm() | 8.5–9.3 |
public abstract void delete() | 8.5–9.3 |
public abstract void delete(long) | 8.5–9.3 |
public abstract MboRemote duplicate() | 8.5–9.3 |
public abstract boolean evaluateCondition(String) | 8.5–9.3 |
public abstract HashMap evaluateCtrlConditions(HashSet, String) | 8.5–9.3 |
public abstract HashMap evaluateCtrlConditions(HashSet) | 8.5–9.3 |
public abstract boolean excludeObjectForPropagate(String) | 8.5–9.3 |
public abstract void generateAutoKey() | 8.5–9.3 |
public abstract boolean getBoolean(String) | 8.5–9.3 |
public abstract byte getByte(String) | 8.5–9.3 |
public abstract byte[] getBytes(String) | 8.5–9.3 |
public abstract Object[] getCommLogOwnerNameAndUniqueId() | 8.5–9.3 |
public abstract Object getDatabaseValue(String) | 8.5–9.3 |
public abstract Date getDate(String) | 8.5–9.3 |
public abstract Vector getDeleteForInsertList() | 8.5–9.3 |
public abstract int getDocLinksCount() | 8.5–9.3 |
public abstract String[] getDomainIDs(String) | 8.5–9.3 |
public abstract double getDouble(String) | 8.5–9.3 |
public abstract MboSetRemote getExistingMboSet(String) | 8.5–9.3 |
public abstract long getFlags() | 8.5–9.3 |
public abstract float getFloat(String) | 8.5–9.3 |
public abstract boolean getIgnoreLockCheck() | 8.5–9.3 |
public abstract MaxType getInitialValue(String) | 8.5–9.3 |
public abstract String getInsertCompanySetId() | 8.5–9.3 |
public abstract String getInsertItemSetId() | 8.5–9.3 |
public abstract String getInsertOrganization() | 8.5–9.3 |
public abstract String getInsertSite() | 8.5–9.3 |
public abstract int getInt(String) | 8.5–9.3 |
public abstract KeyValue getKeyValue() | 8.5–9.3 |
public abstract String getLinesRelationship() | 8.5–9.3 |
public abstract MboSetRemote getList(String) | 8.5–9.3 |
public abstract String getLockedByDisplayName() | 8.5–9.3 |
public abstract long getLong(String) | 8.5–9.3 |
public abstract String getMatchingAttr(String, String) | 8.5–9.3 |
public abstract String getMatchingAttr(String) | 8.5–9.3 |
public abstract Object[] getMatchingAttrs(String, String) | 8.5–9.3 |
public abstract MaxMessage getMaxMessage(String, String) | 8.5–9.3 |
public abstract MboData getMboData(String[]) | 8.5–9.3 |
public abstract Vector getMboDataSet(String) | 8.5–9.3 |
public abstract MaxType getMboInitialValue(String) | 8.5–9.3 |
public abstract List getMboList(String) | 8.5–9.3 |
public abstract MboSetRemote getMboSet(String, String, String) | 8.5–9.3 |
public abstract MboSetRemote getMboSet(String, String) | 8.5–9.3 |
public abstract MboSetRemote getMboSet(String) | 8.5–9.3 |
public abstract MboValueData getMboValueData(String, boolean) | 8.5–9.3 |
public abstract MboValueData getMboValueData(String) | 8.5–9.3 |
public abstract MboValueData[] getMboValueData(String[]) | 8.5–9.3 |
public abstract MboValueData[] getMboValueDataForDownload(String[]) | 8.5–9.3 |
public abstract MboValueInfoStatic getMboValueInfoStatic(String) | 8.5–9.3 |
public abstract MboValueInfoStatic[] getMboValueInfoStatic(String[]) | 8.5–9.3 |
public abstract String getMessage(MXException) | 8.5–9.3 |
public abstract String getMessage(String, String, Object) | 8.5–9.3 |
public abstract String getMessage(String, String, Object[]) | 8.5–9.3 |
public abstract String getMessage(String, String) | 8.5–9.3 |
public abstract MXTransaction getMXTransaction() | 8.5–9.3 |
public abstract String getName() | 8.5–9.3 |
public abstract String getOrgForGL(String) | 8.5–9.3 |
public abstract String getOrgSiteForMaxvar(String) | 8.5–9.3 |
public abstract MboRemote getOwner() | 8.5–9.3 |
public abstract boolean getPropagateKeyFlag() | 8.5–9.3 |
public abstract String getRecordIdentifer() | 8.5–9.3 |
public abstract String[] getSiteOrg() | 8.5–9.3 |
public abstract String getString(String, String) | 8.5–9.3 |
public abstract String getString(String) | 8.5–9.3 |
public abstract String getStringInBaseLanguage(String) | 8.5–9.3 |
public abstract String getStringInSpecificLocale(String, Locale, TimeZone) | 8.5–9.3 |
public abstract String getStringTransparent(String, String) | 8.5–9.3 |
public abstract MboSetRemote getThisMboSet() | 8.5–9.3 |
public abstract String getUniqueIDName() | 8.5–9.3 |
public abstract long getUniqueIDValue() | 8.5–9.3 |
public abstract UserInfo getUserInfo() | 8.5–9.3 |
public abstract String getUserName() | 8.5–9.3 |
public abstract boolean hasHierarchyLink() | 8.5–9.3 |
public abstract boolean hasLockSaveRights(String) | 8.5–9.3 |
public abstract boolean isAutoKeyed(String) | 8.5–9.3 |
public abstract boolean isBasedOn(String) | 8.5–9.3 |
public abstract boolean isFlagSet(long) | 8.5–9.3 |
public abstract boolean isForDM() | 8.5–9.3 |
public abstract boolean isLocked() | 8.5–9.3 |
public abstract boolean isLocked(boolean) | 8.5–9.3 |
public abstract boolean isMasterTenant(String) | 8.5–9.3 |
public abstract boolean isMboLockedByMe() | 8.5–9.3 |
public abstract boolean isModified() | 8.5–9.3 |
public abstract boolean isModified(String) | 8.5–9.3 |
public abstract boolean isNew() | 8.5–9.3 |
public abstract boolean isNull(String) | 8.5–9.3 |
public abstract boolean isOptionGranted(String, String) | 8.5–9.3 |
public abstract boolean isSelected() | 8.5–9.3 |
public abstract boolean isZombie() | 8.5–9.3 |
public abstract void lock(boolean) | 8.5–9.3 |
public abstract void propagateKeyValue(String, String) | 8.5–9.3 |
public abstract void rollbackToCheckpoint() | 8.5–9.3 |
public abstract void select() | 8.5–9.3 |
public abstract void setApplicationError(String, ApplicationError) | 8.5–9.3 |
public abstract void setApplicationRequired(String, boolean) | 8.5–9.3 |
public abstract void setAutokeyFields() | 8.5–9.3 |
public abstract void setCopyDefaults() | 8.5–9.3 |
public abstract void setDeleted(boolean) | 8.5–9.3 |
public abstract void setESigFieldModified(boolean) | 8.5–9.3 |
public abstract void setFieldFlag(String, long, boolean, MXException) | 8.5–9.3 |
public abstract void setFieldFlag(String, long, boolean) | 8.5–9.3 |
public abstract void setFieldFlag(String[], boolean, long, boolean, MXException) | 8.5–9.3 |
public abstract void setFieldFlag(String[], boolean, long, boolean) | 8.5–9.3 |
public abstract void setFieldFlag(String[], long, boolean, MXException) | 8.5–9.3 |
public abstract void setFieldFlag(String[], long, boolean) | 8.5–9.3 |
public abstract void setFieldFlags(String, long) | 8.5–9.3 |
public abstract void setFlag(long, boolean, MXException) | 8.5–9.3 |
public abstract void setFlag(long, boolean) | 8.5–9.3 |
public abstract void setFlags(long) | 8.5–9.3 |
public abstract void setForDM(boolean) | 8.5–9.3 |
public abstract void setIgnoreRecordLockCheck(boolean) | 8.5–9.3 |
public abstract void setMLValue(String, String, String, long) | 8.5–9.3 |
public abstract void setModified(boolean) | 8.5–9.3 |
public abstract void setNewMbo(boolean) | 8.5–9.3 |
public abstract void setPropagateKeyFlag(boolean) | 8.5–9.3 |
public abstract void setPropagateKeyFlag(String[], boolean) | 8.5–9.3 |
public abstract void setReferencedMbo(String, Mbo) | 8.5–9.3 |
public abstract void setReferencedMbo(String, MboRemote) | 8.5–9.3 |
public abstract void setValue(String, boolean, long) | 8.5–9.3 |
public abstract void setValue(String, boolean) | 8.5–9.3 |
public abstract void setValue(String, byte, long) | 8.5–9.3 |
public abstract void setValue(String, byte) | 8.5–9.3 |
public abstract void setValue(String, byte[], long) | 8.5–9.3 |
public abstract void setValue(String, byte[]) | 8.5–9.3 |
public abstract void setValue(String, Date, long) | 8.5–9.3 |
public abstract void setValue(String, Date) | 8.5–9.3 |
public abstract void setValue(String, double, long) | 8.5–9.3 |
public abstract void setValue(String, double) | 8.5–9.3 |
public abstract void setValue(String, float, long) | 8.5–9.3 |
public abstract void setValue(String, float) | 8.5–9.3 |
public abstract void setValue(String, int, long) | 8.5–9.3 |
public abstract void setValue(String, int) | 8.5–9.3 |
public abstract void setValue(String, long, long) | 8.5–9.3 |
public abstract void setValue(String, long) | 8.5–9.3 |
public abstract void setValue(String, MaxType, long) | 8.5–9.3 |
public abstract void setValue(String, MboRemote) | 8.5–9.3 |
public abstract void setValue(String, MboSetRemote) | 8.5–9.3 |
public abstract void setValue(String, short, long) | 8.5–9.3 |
public abstract void setValue(String, short) | 8.5–9.3 |
public abstract void setValue(String, String, long) | 8.5–9.3 |
public abstract void setValue(String, String) | 8.5–9.3 |
public abstract void setValueNull(String, long) | 8.5–9.3 |
public abstract void setValueNull(String) | 8.5–9.3 |
public abstract boolean sigopGranted(String, String) | 8.5–9.3 |
public abstract boolean sigopGranted(String) | 8.5–9.3 |
public abstract HashMap sigopGranted(Set) | 8.5–9.3 |
public abstract void sigOptionAccessAuthorized(String) | 8.5–9.3 |
public abstract MboSetRemote smartFill(String, String, boolean) | 8.5–9.3 |
public abstract MboSetRemote smartFind(String, String, boolean, boolean) | 8.5–9.3 |
public abstract MboSetRemote smartFind(String, String, boolean) | 8.5–9.3 |
public abstract MboSetRemote smartFind(String, String, String, boolean) | 8.5–9.3 |
public abstract MboSetRemote smartFindByObjectName(String, String, String, boolean, String[][]) | 8.5–9.3 |
public abstract MboSetRemote smartFindByObjectName(String, String, String, boolean) | 8.5–9.3 |
public abstract MboSetRemote smartFindByObjectNameDirect(String, String, String, boolean) | 8.5–9.3 |
public abstract void startCheckpoint() | 8.5–9.3 |
public abstract boolean thisToBeUpdated() | 8.5–9.3 |
public abstract boolean toBeAdded() | 8.5–9.3 |
public abstract boolean toBeDeleted() | 8.5–9.3 |
public abstract boolean toBeSaved() | 8.5–9.3 |
public abstract boolean toBeUpdated() | 8.5–9.3 |
public abstract boolean toBeValidated() | 8.5–9.3 |
public abstract void undelete() | 8.5–9.3 |
public abstract void unlock(boolean) | 8.5–9.3 |
public abstract void unselect() | 8.5–9.3 |
public abstract void validate() | 8.5–9.3 |
public abstract Hashtable validateAttributes() | 8.5–9.3 |
From automation scripts
The public business-record interface used by automation scripts and returned by record lookups.
Read and validate the current record
Object launch point · WORKORDER · Save · Before Save · Add and Update · Jython
# First create message assetize / descriptionRequired in Messages.
if mbo.isNull("DESCRIPTION"):
service.error("assetize", "descriptionRequired")
service.log("Checked work order %s" % mbo.getString("WONUM"))Update an attribute with normal validation
Action launch point · WORKORDER · Jython
if not mbo.isNull("DESCRIPTION"):
before = mbo.getString("DESCRIPTION")
after = before.strip()
if before != after:
mbo.setValue("DESCRIPTION", after)
# The caller owns the save boundary.Follow a relationship and walk its records
Action launch point · WORKORDER · WPMATERIAL relationship configured · Jython
lines = mbo.getMboSet("WPMATERIAL")
line = lines.moveFirst()
total = 0.0
while line is not None:
total += line.getDouble("LINECOST")
line = lines.moveNext()
service.log("Planned material total: %s" % total)
# Leave this related set to the parent transaction.Replace a field override with a launch point
Attribute launch point · WORKORDER.DESCRIPTION · Validate · Jython
# First create message assetize / descriptionRequired in Messages.
if mbo.isNull("DESCRIPTION"):
service.error("assetize", "descriptionRequired")
For IBM's description of each method, see IBM's Javadoc for Maximo and Manage.