Class X_AD_User

    • Constructor Detail

      • X_AD_User

        public X_AD_User​(Properties ctx,
                         int AD_User_ID,
                         String trxName)
        Standard Constructor
    • Method Detail

      • get_AccessLevel

        protected int get_AccessLevel()
        AccessLevel
        Specified by:
        get_AccessLevel in class PO
        Returns:
        7 - System - Client - Org
      • initPO

        protected POInfo initPO​(Properties ctx)
        Load Meta Data
        Specified by:
        initPO in class PO
        Parameters:
        ctx - context
        Returns:
        POInfo
      • toString

        public String toString()
        Description copied from class: PO
        String representation
        Overrides:
        toString in class PO
        Returns:
        String representation
      • setAD_Image_ID

        public void setAD_Image_ID​(int AD_Image_ID)
        Set Image.
        Specified by:
        setAD_Image_ID in interface I_AD_User
        Parameters:
        AD_Image_ID - Image or Icon
      • getAD_Image_ID

        public int getAD_Image_ID()
        Get Image.
        Specified by:
        getAD_Image_ID in interface I_AD_User
        Returns:
        Image or Icon
      • setAD_OrgTrx_ID

        public void setAD_OrgTrx_ID​(int AD_OrgTrx_ID)
        Set Trx Organization.
        Specified by:
        setAD_OrgTrx_ID in interface I_AD_User
        Parameters:
        AD_OrgTrx_ID - Performing or initiating organization
      • getAD_OrgTrx_ID

        public int getAD_OrgTrx_ID()
        Get Trx Organization.
        Specified by:
        getAD_OrgTrx_ID in interface I_AD_User
        Returns:
        Performing or initiating organization
      • setAD_User_ID

        public void setAD_User_ID​(int AD_User_ID)
        Set User/Contact.
        Specified by:
        setAD_User_ID in interface I_AD_User
        Parameters:
        AD_User_ID - User within the system - Internal or Business Partner Contact
      • getAD_User_ID

        public int getAD_User_ID()
        Get User/Contact.
        Specified by:
        getAD_User_ID in interface I_AD_User
        Returns:
        User within the system - Internal or Business Partner Contact
      • setAD_User_UU

        public void setAD_User_UU​(String AD_User_UU)
        Set AD_User_UU.
        Specified by:
        setAD_User_UU in interface I_AD_User
        Parameters:
        AD_User_UU - AD_User_UU
      • setAnswer

        public void setAnswer​(String Answer)
        Set Answer.
        Specified by:
        setAnswer in interface I_AD_User
        Parameters:
        Answer - Answer
      • setBirthday

        public void setBirthday​(Timestamp Birthday)
        Set Birthday.
        Specified by:
        setBirthday in interface I_AD_User
        Parameters:
        Birthday - Birthday or Anniversary day
      • getBirthday

        public Timestamp getBirthday()
        Get Birthday.
        Specified by:
        getBirthday in interface I_AD_User
        Returns:
        Birthday or Anniversary day
      • setBP_Location_ID

        public void setBP_Location_ID​(int BP_Location_ID)
        Set BP Address.
        Specified by:
        setBP_Location_ID in interface I_AD_User
        Parameters:
        BP_Location_ID - Address of the Business Partner
      • getBP_Location_ID

        public int getBP_Location_ID()
        Get BP Address.
        Specified by:
        getBP_Location_ID in interface I_AD_User
        Returns:
        Address of the Business Partner
      • setBPName

        public void setBPName​(String BPName)
        Set BP Name.
        Specified by:
        setBPName in interface I_AD_User
        Parameters:
        BPName - BP Name
      • setC_BPartner_ID

        public void setC_BPartner_ID​(int C_BPartner_ID)
        Set Business Partner.
        Specified by:
        setC_BPartner_ID in interface I_AD_User
        Parameters:
        C_BPartner_ID - Identifies a Business Partner
      • getC_BPartner_ID

        public int getC_BPartner_ID()
        Get Business Partner.
        Specified by:
        getC_BPartner_ID in interface I_AD_User
        Returns:
        Identifies a Business Partner
      • setC_BPartner_Location_ID

        public void setC_BPartner_Location_ID​(int C_BPartner_Location_ID)
        Set Partner Location.
        Specified by:
        setC_BPartner_Location_ID in interface I_AD_User
        Parameters:
        C_BPartner_Location_ID - Identifies the (ship to) address for this Business Partner
      • getC_BPartner_Location_ID

        public int getC_BPartner_Location_ID()
        Get Partner Location.
        Specified by:
        getC_BPartner_Location_ID in interface I_AD_User
        Returns:
        Identifies the (ship to) address for this Business Partner
      • setC_Campaign_ID

        public void setC_Campaign_ID​(int C_Campaign_ID)
        Set Campaign.
        Specified by:
        setC_Campaign_ID in interface I_AD_User
        Parameters:
        C_Campaign_ID - Marketing Campaign
      • getC_Campaign_ID

        public int getC_Campaign_ID()
        Get Campaign.
        Specified by:
        getC_Campaign_ID in interface I_AD_User
        Returns:
        Marketing Campaign
      • setC_Greeting_ID

        public void setC_Greeting_ID​(int C_Greeting_ID)
        Set Greeting.
        Specified by:
        setC_Greeting_ID in interface I_AD_User
        Parameters:
        C_Greeting_ID - Greeting to print on correspondence
      • getC_Greeting_ID

        public int getC_Greeting_ID()
        Get Greeting.
        Specified by:
        getC_Greeting_ID in interface I_AD_User
        Returns:
        Greeting to print on correspondence
      • setC_Job_ID

        public void setC_Job_ID​(int C_Job_ID)
        Set Position.
        Specified by:
        setC_Job_ID in interface I_AD_User
        Parameters:
        C_Job_ID - Job Position
      • getC_Job_ID

        public int getC_Job_ID()
        Get Position.
        Specified by:
        getC_Job_ID in interface I_AD_User
        Returns:
        Job Position
      • setC_Location_ID

        public void setC_Location_ID​(int C_Location_ID)
        Set Address.
        Specified by:
        setC_Location_ID in interface I_AD_User
        Parameters:
        C_Location_ID - Location or Address
      • getC_Location_ID

        public int getC_Location_ID()
        Get Address.
        Specified by:
        getC_Location_ID in interface I_AD_User
        Returns:
        Location or Address
      • setComments

        public void setComments​(String Comments)
        Set Comments.
        Specified by:
        setComments in interface I_AD_User
        Parameters:
        Comments - Comments or additional information
      • getComments

        public String getComments()
        Get Comments.
        Specified by:
        getComments in interface I_AD_User
        Returns:
        Comments or additional information
      • setDateAccountLocked

        public void setDateAccountLocked​(Timestamp DateAccountLocked)
        Set Date Account Locked.
        Specified by:
        setDateAccountLocked in interface I_AD_User
        Parameters:
        DateAccountLocked - Date Account Locked
      • setDateLastLogin

        public void setDateLastLogin​(Timestamp DateLastLogin)
        Set Date Last Login.
        Specified by:
        setDateLastLogin in interface I_AD_User
        Parameters:
        DateLastLogin - Date Last Login
      • setDatePasswordChanged

        public void setDatePasswordChanged​(Timestamp DatePasswordChanged)
        Set Date Password Changed.
        Specified by:
        setDatePasswordChanged in interface I_AD_User
        Parameters:
        DatePasswordChanged - Date Password Changed
      • setDescription

        public void setDescription​(String Description)
        Set Description.
        Specified by:
        setDescription in interface I_AD_User
        Parameters:
        Description - Optional short description of the record
      • getDescription

        public String getDescription()
        Get Description.
        Specified by:
        getDescription in interface I_AD_User
        Returns:
        Optional short description of the record
      • setEMail

        public void setEMail​(String EMail)
        Set EMail Address.
        Specified by:
        setEMail in interface I_AD_User
        Parameters:
        EMail - Electronic Mail Address
      • getEMail

        public String getEMail()
        Get EMail Address.
        Specified by:
        getEMail in interface I_AD_User
        Returns:
        Electronic Mail Address
      • setEMailUser

        public void setEMailUser​(String EMailUser)
        Set EMail User ID.
        Specified by:
        setEMailUser in interface I_AD_User
        Parameters:
        EMailUser - User Name (ID) in the Mail System
      • getEMailUser

        public String getEMailUser()
        Get EMail User ID.
        Specified by:
        getEMailUser in interface I_AD_User
        Returns:
        User Name (ID) in the Mail System
      • setEMailUserPW

        public void setEMailUserPW​(String EMailUserPW)
        Set EMail User Password.
        Specified by:
        setEMailUserPW in interface I_AD_User
        Parameters:
        EMailUserPW - Password of your email user id
      • getEMailUserPW

        public String getEMailUserPW()
        Get EMail User Password.
        Specified by:
        getEMailUserPW in interface I_AD_User
        Returns:
        Password of your email user id
      • setEMailVerify

        public void setEMailVerify​(String EMailVerify)
        Set Verification Info.
        Specified by:
        setEMailVerify in interface I_AD_User
        Parameters:
        EMailVerify - Verification information of EMail Address
      • getEMailVerify

        public String getEMailVerify()
        Get Verification Info.
        Specified by:
        getEMailVerify in interface I_AD_User
        Returns:
        Verification information of EMail Address
      • setEMailVerifyDate

        public void setEMailVerifyDate​(Timestamp EMailVerifyDate)
        Set EMail Verify.
        Specified by:
        setEMailVerifyDate in interface I_AD_User
        Parameters:
        EMailVerifyDate - Date Email was verified
      • setFailedLoginCount

        public void setFailedLoginCount​(int FailedLoginCount)
        Set Failed Login Count.
        Specified by:
        setFailedLoginCount in interface I_AD_User
        Parameters:
        FailedLoginCount - Failed Login Count
      • getFailedLoginCount

        public int getFailedLoginCount()
        Get Failed Login Count.
        Specified by:
        getFailedLoginCount in interface I_AD_User
        Returns:
        Failed Login Count
      • setFax

        public void setFax​(String Fax)
        Set Fax.
        Specified by:
        setFax in interface I_AD_User
        Parameters:
        Fax - Facsimile number
      • getFax

        public String getFax()
        Get Fax.
        Specified by:
        getFax in interface I_AD_User
        Returns:
        Facsimile number
      • setIsAddMailTextAutomatically

        public void setIsAddMailTextAutomatically​(boolean IsAddMailTextAutomatically)
        Set Add Mail Text Automatically.
        Specified by:
        setIsAddMailTextAutomatically in interface I_AD_User
        Parameters:
        IsAddMailTextAutomatically - The selected mail template will be automatically inserted when creating an email
      • isAddMailTextAutomatically

        public boolean isAddMailTextAutomatically()
        Get Add Mail Text Automatically.
        Specified by:
        isAddMailTextAutomatically in interface I_AD_User
        Returns:
        The selected mail template will be automatically inserted when creating an email
      • setIsBillTo

        public void setIsBillTo​(boolean IsBillTo)
        Set Invoice Address.
        Specified by:
        setIsBillTo in interface I_AD_User
        Parameters:
        IsBillTo - Business Partner Invoice/Bill Address
      • isBillTo

        public boolean isBillTo()
        Get Invoice Address.
        Specified by:
        isBillTo in interface I_AD_User
        Returns:
        Business Partner Invoice/Bill Address
      • setIsExpired

        public void setIsExpired​(boolean IsExpired)
        Set Expired.
        Specified by:
        setIsExpired in interface I_AD_User
        Parameters:
        IsExpired - Expired
      • isExpired

        public boolean isExpired()
        Get Expired.
        Specified by:
        isExpired in interface I_AD_User
        Returns:
        Expired
      • setIsFullBPAccess

        public void setIsFullBPAccess​(boolean IsFullBPAccess)
        Set Full BP Access.
        Specified by:
        setIsFullBPAccess in interface I_AD_User
        Parameters:
        IsFullBPAccess - The user/contact has full access to Business Partner information and resources
      • isFullBPAccess

        public boolean isFullBPAccess()
        Get Full BP Access.
        Specified by:
        isFullBPAccess in interface I_AD_User
        Returns:
        The user/contact has full access to Business Partner information and resources
      • setIsInPayroll

        public void setIsInPayroll​(boolean IsInPayroll)
        Set Is In Payroll.
        Specified by:
        setIsInPayroll in interface I_AD_User
        Parameters:
        IsInPayroll - Defined if any User Contact will be used for Calculate Payroll
      • isInPayroll

        public boolean isInPayroll()
        Get Is In Payroll.
        Specified by:
        isInPayroll in interface I_AD_User
        Returns:
        Defined if any User Contact will be used for Calculate Payroll
      • setIsLocked

        public void setIsLocked​(boolean IsLocked)
        Set Locked.
        Specified by:
        setIsLocked in interface I_AD_User
        Parameters:
        IsLocked - Locked
      • isLocked

        public boolean isLocked()
        Get Locked.
        Specified by:
        isLocked in interface I_AD_User
        Returns:
        Locked
      • setIsMenuAutoExpand

        public void setIsMenuAutoExpand​(String IsMenuAutoExpand)
        Set Auto expand menu.
        Specified by:
        setIsMenuAutoExpand in interface I_AD_User
        Parameters:
        IsMenuAutoExpand - If ticked, the menu is automatically expanded
      • getIsMenuAutoExpand

        public String getIsMenuAutoExpand()
        Get Auto expand menu.
        Specified by:
        getIsMenuAutoExpand in interface I_AD_User
        Returns:
        If ticked, the menu is automatically expanded
      • setIsNoExpire

        public void setIsNoExpire​(boolean IsNoExpire)
        Set No Expire.
        Specified by:
        setIsNoExpire in interface I_AD_User
        Parameters:
        IsNoExpire - No Expire
      • isNoExpire

        public boolean isNoExpire()
        Get No Expire.
        Specified by:
        isNoExpire in interface I_AD_User
        Returns:
        No Expire
      • setIsNoPasswordReset

        public void setIsNoPasswordReset​(boolean IsNoPasswordReset)
        Set No Password Reset.
        Specified by:
        setIsNoPasswordReset in interface I_AD_User
        Parameters:
        IsNoPasswordReset - No Password Reset
      • isNoPasswordReset

        public boolean isNoPasswordReset()
        Get No Password Reset.
        Specified by:
        isNoPasswordReset in interface I_AD_User
        Returns:
        No Password Reset
      • setIsSalesLead

        public void setIsSalesLead​(boolean IsSalesLead)
        Set Sales Lead.
        Specified by:
        setIsSalesLead in interface I_AD_User
        Parameters:
        IsSalesLead - This contact is a sales lead
      • isSalesLead

        public boolean isSalesLead()
        Get Sales Lead.
        Specified by:
        isSalesLead in interface I_AD_User
        Returns:
        This contact is a sales lead
      • setIsShipTo

        public void setIsShipTo​(boolean IsShipTo)
        Set Ship Address.
        Specified by:
        setIsShipTo in interface I_AD_User
        Parameters:
        IsShipTo - Business Partner Shipment Address
      • isShipTo

        public boolean isShipTo()
        Get Ship Address.
        Specified by:
        isShipTo in interface I_AD_User
        Returns:
        Business Partner Shipment Address
      • setIsSupportUser

        public void setIsSupportUser​(boolean IsSupportUser)
        Set Support User.
        Specified by:
        setIsSupportUser in interface I_AD_User
        Parameters:
        IsSupportUser - Support User
      • isSupportUser

        public boolean isSupportUser()
        Get Support User.
        Specified by:
        isSupportUser in interface I_AD_User
        Returns:
        Support User
      • setIsVendorLead

        public void setIsVendorLead​(boolean IsVendorLead)
        Set Vendor Lead.
        Specified by:
        setIsVendorLead in interface I_AD_User
        Parameters:
        IsVendorLead - This contact is a vendor lead
      • isVendorLead

        public boolean isVendorLead()
        Get Vendor Lead.
        Specified by:
        isVendorLead in interface I_AD_User
        Returns:
        This contact is a vendor lead
      • setLastContact

        public void setLastContact​(Timestamp LastContact)
        Set Last Contact.
        Specified by:
        setLastContact in interface I_AD_User
        Parameters:
        LastContact - Date this individual was last contacted
      • getLastContact

        public Timestamp getLastContact()
        Get Last Contact.
        Specified by:
        getLastContact in interface I_AD_User
        Returns:
        Date this individual was last contacted
      • setLastResult

        public void setLastResult​(String LastResult)
        Set Last Result.
        Specified by:
        setLastResult in interface I_AD_User
        Parameters:
        LastResult - Result of last contact
      • getLastResult

        public String getLastResult()
        Get Last Result.
        Specified by:
        getLastResult in interface I_AD_User
        Returns:
        Result of last contact
      • setLDAPUser

        public void setLDAPUser​(String LDAPUser)
        Set LDAP User Name.
        Specified by:
        setLDAPUser in interface I_AD_User
        Parameters:
        LDAPUser - User Name used for authorization via LDAP (directory) services
      • getLDAPUser

        public String getLDAPUser()
        Get LDAP User Name.
        Specified by:
        getLDAPUser in interface I_AD_User
        Returns:
        User Name used for authorization via LDAP (directory) services
      • setLeadSource

        public void setLeadSource​(String LeadSource)
        Set Lead Source.
        Specified by:
        setLeadSource in interface I_AD_User
        Parameters:
        LeadSource - The source of this lead/opportunity
      • getLeadSource

        public String getLeadSource()
        Get Lead Source.
        Specified by:
        getLeadSource in interface I_AD_User
        Returns:
        The source of this lead/opportunity
      • setLeadSourceDescription

        public void setLeadSourceDescription​(String LeadSourceDescription)
        Set Lead Source Description.
        Specified by:
        setLeadSourceDescription in interface I_AD_User
        Parameters:
        LeadSourceDescription - Additional information on the source of this lead/opportunity
      • getLeadSourceDescription

        public String getLeadSourceDescription()
        Get Lead Source Description.
        Specified by:
        getLeadSourceDescription in interface I_AD_User
        Returns:
        Additional information on the source of this lead/opportunity
      • setLeadStatus

        public void setLeadStatus​(String LeadStatus)
        Set Lead Status.
        Specified by:
        setLeadStatus in interface I_AD_User
        Parameters:
        LeadStatus - The status of this lead/opportunity in the sales cycle
      • getLeadStatus

        public String getLeadStatus()
        Get Lead Status.
        Specified by:
        getLeadStatus in interface I_AD_User
        Returns:
        The status of this lead/opportunity in the sales cycle
      • setLeadStatusDescription

        public void setLeadStatusDescription​(String LeadStatusDescription)
        Set Lead Status Description.
        Specified by:
        setLeadStatusDescription in interface I_AD_User
        Parameters:
        LeadStatusDescription - Additional information on the status of this lead/opportunity
      • getLeadStatusDescription

        public String getLeadStatusDescription()
        Get Lead Status Description.
        Specified by:
        getLeadStatusDescription in interface I_AD_User
        Returns:
        Additional information on the status of this lead/opportunity
      • setName

        public void setName​(String Name)
        Set Name.
        Specified by:
        setName in interface I_AD_User
        Parameters:
        Name - Alphanumeric identifier of the entity
      • getName

        public String getName()
        Get Name.
        Specified by:
        getName in interface I_AD_User
        Returns:
        Alphanumeric identifier of the entity
      • getKeyNamePair

        public KeyNamePair getKeyNamePair()
        Get Record ID/ColumnName
        Returns:
        ID/ColumnName pair
      • setNotificationType

        public void setNotificationType​(String NotificationType)
        Set Notification Type.
        Specified by:
        setNotificationType in interface I_AD_User
        Parameters:
        NotificationType - Type of Notifications
      • getNotificationType

        public String getNotificationType()
        Get Notification Type.
        Specified by:
        getNotificationType in interface I_AD_User
        Returns:
        Type of Notifications
      • setPassword

        public void setPassword​(String Password)
        Set Password.
        Specified by:
        setPassword in interface I_AD_User
        Parameters:
        Password - Password of any length (case sensitive)
      • getPassword

        public String getPassword()
        Get Password.
        Specified by:
        getPassword in interface I_AD_User
        Returns:
        Password of any length (case sensitive)
      • setPhone

        public void setPhone​(String Phone)
        Set Phone.
        Specified by:
        setPhone in interface I_AD_User
        Parameters:
        Phone - Identifies a telephone number
      • getPhone

        public String getPhone()
        Get Phone.
        Specified by:
        getPhone in interface I_AD_User
        Returns:
        Identifies a telephone number
      • setPhone2

        public void setPhone2​(String Phone2)
        Set 2nd Phone.
        Specified by:
        setPhone2 in interface I_AD_User
        Parameters:
        Phone2 - Identifies an alternate telephone number.
      • getPhone2

        public String getPhone2()
        Get 2nd Phone.
        Specified by:
        getPhone2 in interface I_AD_User
        Returns:
        Identifies an alternate telephone number.
      • setProcessing

        public void setProcessing​(boolean Processing)
        Set Process Now.
        Specified by:
        setProcessing in interface I_AD_User
        Parameters:
        Processing - Process Now
      • isProcessing

        public boolean isProcessing()
        Get Process Now.
        Specified by:
        isProcessing in interface I_AD_User
        Returns:
        Process Now
      • setR_DefaultMailText_ID

        public void setR_DefaultMailText_ID​(int R_DefaultMailText_ID)
        Set Default mail template.
        Specified by:
        setR_DefaultMailText_ID in interface I_AD_User
        Parameters:
        R_DefaultMailText_ID - Default mail template
      • getR_DefaultMailText_ID

        public int getR_DefaultMailText_ID()
        Get Default mail template.
        Specified by:
        getR_DefaultMailText_ID in interface I_AD_User
        Returns:
        Default mail template
      • setSalesRep_ID

        public void setSalesRep_ID​(int SalesRep_ID)
        Set Sales Representative.
        Specified by:
        setSalesRep_ID in interface I_AD_User
        Parameters:
        SalesRep_ID - Sales Representative or Company Agent
      • getSalesRep_ID

        public int getSalesRep_ID()
        Get Sales Representative.
        Specified by:
        getSalesRep_ID in interface I_AD_User
        Returns:
        Sales Representative or Company Agent
      • setSalt

        public void setSalt​(String Salt)
        Set Salt.
        Specified by:
        setSalt in interface I_AD_User
        Parameters:
        Salt - Random data added to improve password hash effectiveness
      • getSalt

        public String getSalt()
        Get Salt.
        Specified by:
        getSalt in interface I_AD_User
        Returns:
        Random data added to improve password hash effectiveness
      • setSecurityQuestion

        public void setSecurityQuestion​(String SecurityQuestion)
        Set Security Question.
        Specified by:
        setSecurityQuestion in interface I_AD_User
        Parameters:
        SecurityQuestion - Security Question
      • setSupervisor_ID

        public void setSupervisor_ID​(int Supervisor_ID)
        Set Supervisor.
        Specified by:
        setSupervisor_ID in interface I_AD_User
        Parameters:
        Supervisor_ID - Supervisor for this user/organization - used for escalation and approval
      • getSupervisor_ID

        public int getSupervisor_ID()
        Get Supervisor.
        Specified by:
        getSupervisor_ID in interface I_AD_User
        Returns:
        Supervisor for this user/organization - used for escalation and approval
      • setTitle

        public void setTitle​(String Title)
        Set Title.
        Specified by:
        setTitle in interface I_AD_User
        Parameters:
        Title - Name this entity is referred to as
      • getTitle

        public String getTitle()
        Get Title.
        Specified by:
        getTitle in interface I_AD_User
        Returns:
        Name this entity is referred to as
      • setUserPIN

        public void setUserPIN​(String UserPIN)
        Set User PIN.
        Specified by:
        setUserPIN in interface I_AD_User
        Parameters:
        UserPIN - User PIN
      • setValue

        public void setValue​(String Value)
        Set Search Key.
        Specified by:
        setValue in interface I_AD_User
        Parameters:
        Value - Search key for the record in the format required - must be unique
      • getValue

        public String getValue()
        Get Search Key.
        Specified by:
        getValue in interface I_AD_User
        Returns:
        Search key for the record in the format required - must be unique