psdi.app.appsetup

Class AppFieldDefaults

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


    public class AppFieldDefaults
    extends Mbo
    implements AppFieldDefaultsRemote
    Mbo object to represent AppFieldDefaults.

    This is a site level object.

    The key attributes for this object are Site ID, Application Name, Table Name, Column Name, User, and Group.

    The attributes in this object are as follows:

    Attribute NameDescription
    AppThe application to which this default applies. Foreign key to MaxApps. Cannot be null.
    AttributeNameThe attribute name. ObjectName and AttributeName compose the foreign key to MaxAttribute. Cannot be null.
    DefaultValueThe default value to be displayed and loaded into the object.
    GrpNameThe group name for which this default applies. Either User Name or Group Name must contain a value (not both). Foreign key to MaxGroups.
    ObjectNameThe object name. ObjectName and AttributeName compose the foreign key to MaxAttribute. Cannot be null.
    SiteIDThe site for which this default applies. Foreign key to Site. Cannot be null.
    UserNameThe user name for which this default applies. Either User Name or Group Name must contain a value (not both). Foreign key to MaxUser.
    • Constructor Detail

      • AppFieldDefaults

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

      • skipCopyField

        protected boolean skipCopyField(MboValueInfo mvi)
                                 throws MXException,
                                        java.rmi.RemoteException
        Overrides the skipCopyField() in the Mbo. The following field(s) will be skipped without being copied to the newly duplicated AppFieldDefaults:
        1. app
        Overrides:
        skipCopyField in class Mbo
        Parameters:
        mvi - The MboValueInfo object of the MboValue that needs to be copied.
        Returns:
        true If the field does not need to be copied, in all other cases return false.
        Throws:
        MXException
        java.rmi.RemoteException