Maximo Java API · psdi.mbo
StatefulMbo psdi.mbo.StatefulMbo
StatefulMbo is a Maximo abstract class. It is in every release from 8.5 to 9.3, with 31 public and protected methods and 3 fields.
Using this class in Jython
Use a status-capable record
A business record that supports managed status transitions. Use changeStatus for business status transitions. A direct write to STATUS does not express the full status-change operation.
# A WORKORDER mbo inherits StatefulMbo behaviour.
Signature and hierarchy
public abstract class StatefulMbo extends Mbo implements StatefulMboRemote
Extends: psdi.mbo.Mbo → java.lang.Object.
Implements: psdi.mbo.StatefulMboRemote.
40 direct subclasses in IBM's code.
Where Maximo uses it
No object, attribute, screen, service or cron task names StatefulMbo directly. No internal method callers can be inferred from these registrations.
Upgrading
Nothing on StatefulMbo 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
- changeStatus
- Request a business status transition. Maximo applies transition rules; use a valid status from the configured domain.
mbo.changeStatus(targetStatus, server.getDate(), "Reviewed") - getStatus
- Read the status of a status-capable business object. Use a record whose class exposes this operation.
status = mbo.getStatus()
Methods
Signatures across captured releases. Use Browse to filter to one version.
| Signature | Releases |
|---|---|
public StatefulMbo(MboSet) | 8.5–9.3 |
public void canChangeMaxStatus(String) | 8.5–9.3 |
public void canChangeStatus(String, long) | 8.5–9.3 |
public void canChangeStatus(String, String, long) | 8.5–9.3 |
public void canChangeStatus(String) | 8.5–9.3 |
public void canDeleteAttachedDocs() | 8.5–9.3 |
public void changeMaxStatus(String, Date, String, long) | 8.5–9.3 |
public void changeMaxStatus(String, Date, String) | 8.5–9.3 |
public void changeStatus(String, Date, String, long) | 8.5–9.3 |
public void changeStatus(String, Date, String) | 8.5–9.3 |
public void changeStatus(String, String, Date, String, long) | 8.5–9.3 |
public void checkForOpenStatus() | 8.5–9.3 |
public void checkStatusChangeAuthorization(String, boolean) | 8.5–9.3 |
public void filterByValidStatusList(boolean, MboSetRemote) | 8.5–9.3 |
public synchronized void fireEvent(String) | 8.5–9.3 |
public String getInternalStatus() | 8.5–9.3 |
public boolean getOnListTab() | 8.5–9.3 |
public boolean getOverridePVStatusException() | 8.5–9.3 |
public String getStatusChangeButtonSigoption() | 8.5–9.3 |
protected abstract StatusHandler getStatusHandler() | 8.5–9.3 |
protected abstract MboSetRemote getStatusHistory() | 8.5–9.3 |
public MboSetRemote getStatusList() | 8.5–9.3 |
public abstract String getStatusListName() | 8.5–9.3 |
public String getTargetStatusOption() | 8.5–9.3 |
public MboSetRemote getValidStatusList() | 8.5–9.3 |
protected void save() | 8.5–9.3 |
public void setOnListTab(boolean) | 8.5–9.3 |
public void setOverridePVStatusException(boolean) | 8.5–9.3 |
public void setStatusChangeButtonSigoption(String) | 8.5–9.3 |
public void setTargetStatusOption(String) | 8.5–9.3 |
public String statusToOptionName(String) | 8.5–9.3 |
From automation scripts
A business record that supports managed status transitions.
Request a business status transition
Action launch point · WORKORDER · intended transition is valid · Jython
from psdi.server import MXServer
# Use a valid external status from this environment's WOSTATUS domain.
targetStatus = "APPR"
mbo.changeStatus(targetStatus, MXServer.getMXServer().getDate(),
"Reviewed through an action script")
For IBM's description of each method, see IBM's Javadoc for Maximo and Manage.