psdi.app.compmaster

Class CompContactMaster

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


    public class CompContactMaster
    extends Mbo
    implements CompContactMasterRemote
    Mbo object to represent company contact masters. The CompContactMaster object maintains information about a default contact for one company master. The contact's company and contact name are required attributes; the contact's title, phone number, home phone number, e-mail address, pager number, and fax number may also be entered. Attributes are provided to enter a buyer's procurement credit card number and expiration date.

    See CompMaster Package description.

    The key attributes for this object are Company and Contact.

    The attributes in this object are as follows:

    Attribute NameAttribute Description
    CompanyIdentifier for the company.
    ContactName of the person to contact at the company.
    EMailE-mail address of the contact.
    FaxPhoneFax number of the contact.
    HomePhoneHome telephone number of the contact.
    MNetUserIdMNet assigned user identifier.
    PagerPhonePager number of the contact.
    PositionPosition or title of the contact.
    ProcCardExpireDateProcurement credit card number's expiration date.
    ProcurementCardNumProcurement credit card number of the company's contact.
    VoicePhoneBusiness telephone number of the contact.
    • Constructor Detail

      • CompContactMaster

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

      • add

        public void add()
                 throws MXException,
                        java.rmi.RemoteException
        Set default values for some of the fields of the new company contact master. The table below shows the default values for each of the attributes listed.
        Attribute NameAttribute Value
        companyOwner company master
        companysetidOwner company's company set identifier.
        Specified by:
        add in interface MboRemote
        Overrides:
        add in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException
      • delete

        public void delete(long accessModifier)
                    throws MXException,
                           java.rmi.RemoteException
        The Delete Contact method deletes the contact record from the company specified. When a Contact is deleted, a check is made to see if the Contact is referenced by the company. If it is, the contact information has to be deleted from the company also.
        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)
      • save

        protected void save()
                     throws MXException,
                            java.rmi.RemoteException
        IJ28327: When the CompContactMaster object is saved, the related company contacts will be updated if "updaterelatedcos" is selected and the owning company master is not modified.
        Overrides:
        save in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException