psdi.app.configure

Class MaxObject

  • java.lang.Object
  • All Implemented Interfaces:
    java.rmi.Remote, MaxObjectRemote, MboConstants, MboRemote, MaxRemoteProxy


    public class MaxObject
    extends Mbo
    implements MaxObjectRemote
    Mbo object to represent MaxObject.

    See Configure Package description.

    This is a system level object.

    The key attribute for this object is ObjectName.

    The attributes in this object are as follows:

    Attribute NameDescription
    ClassNameName of the Java class for this object (if any). For example, psdi.app.equipment.EquipmentSet.
    DescriptionFreeform description.
    EauditEnabledIdentifies whether any of the attributes on this table are enabled for EAUDIT. The individual attribute flags are on MaxAttribute (EAuditEnabled attribute). Also see MaxTable (EAuditTbname attribute).
    EauditFilterThe SQL for EAUDIT table filter (if any).
    EntityNameThe name of the table or view. If this is a persistent object, entityname is foreign key to maxtable(tablename) or maxview(viewname). If this is a non-persistent object, then EntityName must be null.
    EsigFilterThe SQL for ESIG table filter (if any).
    ExtendsObjectIf this is a view that extends another object (view or table), this is the name of the parent it is extended from. This is used for determining the parent java class (maxobject.classname where objectname = this extendsobject) and for populating the attributes in the Config UI. If this is a table, then ExtendsObject must be null.
    ImportedIndicates whether the object's entityname pre-existed on the native database.
    InternalTrue if this object is for Maximo internal use only (such as Maximo metadata tables); False for everything else.
    IsViewTrue if this is a view, False if this is a table.
    MainObjectIndicates whether this is considered to be a main object for Workflow. Typically, this will mean that a row exists in MaxApps with maintbname equal to this objectname. However, there is no edit check enforcing this. The flag must be properly set by the user.
    ObjectNameThe name of the object.
    PersistentIndicates whether the data is stored on the database. True for a table or view that is defined on the native database.
    ServiceNameForeign key to MaxService.
    SiteOrgTypeIdentifies the scope of this table.
    • SYSTEM is a system-level table.
    • SITE is a site-level table.
    • ORG is an organization-level table.
    UserDefinedIndicates whether this object was added by a user via the Config application. This is False for Maximo objects.
    See Also:
    MaxTable, MaxView, MaxAttribute
    • Constructor Detail

      • MaxObject

        public MaxObject(MboSet ms)
                  throws java.rmi.RemoteException
        Construct the MaxObject object
        Throws:
        java.rmi.RemoteException
    • Method Detail

      • delete

        public void delete(long accessModifier)
                    throws MXException,
                           java.rmi.RemoteException
        Description copied from class: Mbo
        Mark the object to be deleted depending on the access modifier. This will usually be overridden in the subclass of Mbo as there may be application specific rules as to if and when an object can be deleted. Object is not actually deleted in the database until save() is called. This method will also mark all associated Long Description and Translation Mbos for deletion.
        Specified by:
        delete in interface MboRemote
        Overrides:
        delete in class Mbo
        Parameters:
        accessModifier - The bitwise flag specified to determine if certain normal security checks are to be bypassed for this delete request. For example: if the accessModifer is NOACCESSCHECK, then the check for the object's NODELETE flag and the call to the object's canDelete() method will not be performed. If the accessModifer is NONE, then all the access checks are performed before this object is marked delete.
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        Mbo.delete(long)