Interface DesktopUser


public interface DesktopUser
Login user of the Desktop.
  • Field Details

    • ADMIN

      static final int ADMIN
      Administrator User Type (Administrador) [A].
      See Also:
    • DEVELOPER

      static final int DEVELOPER
      Developer User Type (Desarrollador) [D].
      See Also:
    • BROKER

      static final int BROKER
      Broker User Type (Corredor) [C].
      See Also:
    • OPERATOR

      static final int OPERATOR
      Operator User Type (Operador) [O].
      See Also:
    • WATCHER

      static final int WATCHER
      Watcher User Type (Pasivo) [P].
      See Also:
    • MUTUAL_FUND

      static final int MUTUAL_FUND
      Mutual Fund Office Type (Fondo Mutuo) [1].
      See Also:
    • BANK

      static final int BANK
      Bank Office Type (Banco) [2].
      See Also:
    • INSURANCE_COMPANY

      static final int INSURANCE_COMPANY
      Insurance Company Office Type (Compañia de Seguros) [3].
      See Also:
    • PENSION_FUND

      static final int PENSION_FUND
      Pension Fund Office Type (AFP) [4].
      See Also:
    • BROKERAGE_FIRM

      static final int BROKERAGE_FIRM
      Brokerage Firm Office Type (Corredor de Bolsa) [8].
      See Also:
    • BROKER_DEALER

      static final int BROKER_DEALER
      Broker Dealer Office Type (Agente Recolector) [10].
      See Also:
  • Method Details

    • getLoginType

      LoginType getLoginType()
      Returns the login type of this user.
      Returns:
      the login type of this user.
    • getCode

      String getCode()
      Returns the identification of this user.
      Returns:
      the identification of this user.
    • getFirstName

      String getFirstName()
      Returns the first name of this user (nombre de pila).
      Returns:
      the first name of this user (nombre de pila).
    • getFatherName

      String getFatherName()
      Returns the father's name of this user (apellido paterno).
      Returns:
      the father's name of this user (apellido paterno).
    • getMotherName

      String getMotherName()
      Returns the mother's name of this user (apellido materno).
      Returns:
      the mother's name of this user (apellido materno).
    • getFullName

      String getFullName()
      Returns the full name of this user (nombre paterno materno).
      Returns:
      the full name of this user (nombre paterno materno).
    • getRut

      String getRut()
      Returns the Chilean RUT of this user.
      Returns:
      the Chilean RUT of this user.
    • getJobTitle

      String getJobTitle()
      Returns the job title of this user.
      Returns:
      the job title of this user.
    • getUserValidFrom

      Date getUserValidFrom()
      Returns the first date this user is valid.
      Returns:
      the first date this user is valid.
    • getUserValidTo

      Date getUserValidTo()
      Returns the last date this user is valid.
      Returns:
      the last date this user is valid.
    • getStreet

      String getStreet()
      Returns the street of this user.
      Returns:
      the street of this user.
    • getCommune

      String getCommune()
      Returns the commune of this user (comuna).
      Returns:
      the commune of this user (comuna).
    • getCity

      String getCity()
      Returns the city of this user.
      Returns:
      the city of this user.
    • getRegion

      String getRegion()
      Returns the region or state of this user.
      Returns:
      the region or state of this user.
    • getCountry

      String getCountry()
      Returns the country of this user.
      Returns:
      the country of this user.
    • getMailAddress

      String getMailAddress()
      Returns the mail address of this user.
      Returns:
      the mail address of this user.
    • getPhone1

      String getPhone1()
      Returns the primary phone number of this user.
      Returns:
      the primary phone number of this user.
    • getPhone2

      String getPhone2()
      Returns the second phone number of this user.
      Returns:
      the second phone number of this user.
    • getFax

      String getFax()
      Returns the fax number of this user.
      Returns:
      the fax number of this user.
    • getUserRealm

      String getUserRealm()
      Returns the realm of this user (familia).
      Returns:
      the realm of this user (familia).
    • getCompanyRut

      String getCompanyRut()
      Returns the Chilean RUT of the company of this user.
      Returns:
      the Chilean RUT of the company of this user.
    • getBillingType

      String getBillingType()
      Returns the billing type of this user.
      Returns:
      the billing type of this user.
    • getBillingCode

      String getBillingCode()
      Returns the billing code of this user.
      Returns:
      the billing code of this user.
    • getContractCode

      String getContractCode()
      Returns the contract code of this user.
      Returns:
      the contract code of this user.
    • getContractAnnex

      String getContractAnnex()
      Returns the contract annex of this user.
      Returns:
      the contract annex of this user.
    • getProfileCode

      int getProfileCode()
      Returns the identification of the profile of this user.
      Returns:
      the identification of the profile of this user.
    • getGroupCode

      int getGroupCode()
      Returns the identification of the group of this user.
      Returns:
      the identification of the group of this user.
    • getOfficeCode

      int getOfficeCode()
      Returns the identification of the office of this user.
      Returns:
      the identification of the office of this user.
    • getEmployeeCode

      int getEmployeeCode()
      Returns the identification of the employee of this user.
      Returns:
      the identification of the employee of this user.
    • getProfileName

      String getProfileName()
      Returns the name of the profile of this user.
      Returns:
      the name of the profile of this user.
    • getProfileType

      int getProfileType()
      Returns the type of the profile of this user.
      Returns:
      the type of the profile of this user.
      See Also:
    • hasPrivilege

      boolean hasPrivilege(int privilege)
      Returns true if the user has a given privilege. The value of privilege must be greater or equal than 1 and lower or equal than 160.
      Parameters:
      privilege - the privilege index to test.
      Returns:
      true if this user has the privilege.
      Throws:
      IllegalArgumentException - if privilege is out-of-range.
    • getProfileRealm

      String getProfileRealm()
      Returns the realm of the profile of this user (familia).
      Returns:
      the realm of the profile of this user (familia).
    • getMenuName

      String getMenuName()
      Returns the name of the menu of the profile.
      Returns:
      the name of the menu of the profile.
    • getMenuXml

      Document getMenuXml() throws Exception
      Returns the XML with the profile menu definition.
      Returns:
      the XML with the profile menu definition.
      Throws:
      Exception - if an error occurs.
    • getOfficeType

      int getOfficeType()
      Returns the type of the office of this user.
      Returns:
      the type of the office of this user.
      See Also:
    • getCapacities

      Collection<UserCapacity> getCapacities()
      Returns an unmodifiable collection of the capacities of this user.
      Returns:
      an unmodifiable collection of the capacities of this user.
    • getCapacity

      UserCapacity getCapacity(String capacityCode)
      Returns the capacity indexed by the supplied capacity code.
      Parameters:
      capacityCode - the code of the required user capacity.
      Returns:
      the capacity or null if the capacity is not defined.
      Throws:
      NullPointerException - if capacityCode is null.