psdi.app.signature

Class DefaultQuery

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


    public class DefaultQuery
    extends Mbo
    implements DefaultQueryRemote
    Mbo object to represent DefaultQuery.

    See Signature Package description.

    This is a site level object.

    The key attributes for this object are SiteID, UserID, and App.

    The attributes in this object are as follows:

    Attribute NameDescription
    AppThe application to which this clause applies. The App and ClauseName together compose the foreign key to the Query.
    ClauseNameThe name of this clause. The App and ClauseName together compose the foreign key to the Query.
    OrgIDThe organization for this site, stored on this table for ease of access. This equals the value for OrgID specified on the Site table.
    SiteIDThe site to which this record pertains. Foreign key to Site.
    UserIDThe user who uses this as the default query for the specified application. Foreign key to MaxUser.
    See Also:
    Query
    • Constructor Detail

      • DefaultQuery

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

      • init

        public void init()
                  throws MXException
        Description copied from class: Mbo
        Called by the framework when the Mbo has been constructed and the MboValues have been initialized. This can be overridden by the programmer to provide any custom initialization they would like to do.
        Overrides:
        init in class Mbo
        Throws:
        MXException
      • add

        public void add()
                 throws MXException,
                        java.rmi.RemoteException
        Add a mbo, defaulting the attributes shown below.
        Attribute NameAttribute Value
        Specified by:
        add in interface MboRemote
        Overrides:
        add in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException
      • canDelete

        public void canDelete()
                       throws MXException,
                              java.rmi.RemoteException
        Must have the same username to delete.
        Overrides:
        canDelete in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException