public interface DesktopUser
Desktop
.Modifier and Type | Field and Description |
---|---|
static int |
ADMIN
Administrator User Type (Administrador) [A].
|
static int |
BANK
Bank Office Type (Banco) [2].
|
static int |
BROKER
Broker User Type (Corredor) [C].
|
static int |
BROKER_DEALER
Broker Dealer Office Type (Agente Recolector) [10].
|
static int |
BROKERAGE_FIRM
Brokerage Firm Office Type (Corredor de Bolsa) [8].
|
static int |
DEVELOPER
Developer User Type (Desarrollador) [D].
|
static int |
INSURANCE_COMPANY
Insurance Company Office Type (Compañia de Seguros) [3].
|
static int |
MUTUAL_FUND
Mutual Fund Office Type (Fondo Mutuo) [1].
|
static int |
OPERATOR
Operator User Type (Operador) [O].
|
static int |
PENSION_FUND
Pension Fund Office Type (AFP) [4].
|
static int |
WATCHER
Watcher User Type (Pasivo) [P].
|
Modifier and Type | Method and Description |
---|---|
String |
getBillingCode()
Returns the billing code of this user.
|
String |
getBillingType()
Returns the billing type of this user.
|
Collection<UserCapacity> |
getCapacities()
Returns an unmodifiable collection of the capacities of this user.
|
UserCapacity |
getCapacity(String capacityCode)
Returns the capacity indexed by the supplied capacity code.
|
String |
getCity()
Returns the city of this user.
|
String |
getCode()
Returns the identification of this user.
|
String |
getCommune()
Returns the commune of this user (comuna).
|
String |
getCompanyRut()
Returns the Chilean RUT of the company of this user.
|
String |
getContractAnnex()
Returns the contract annex of this user.
|
String |
getContractCode()
Returns the contract code of this user.
|
String |
getCountry()
Returns the country of this user.
|
int |
getEmployeeCode()
Returns the identification of the employee of this user.
|
String |
getFatherName()
Returns the father's name of this user (apellido paterno).
|
String |
getFax()
Returns the fax number of this user.
|
String |
getFirstName()
Returns the first name of this user (nombre de pila).
|
String |
getFullName()
Returns the full name of this user (nombre paterno materno).
|
int |
getGroupCode()
Returns the identification of the group of this user.
|
String |
getJobTitle()
Returns the job title of this user.
|
LoginType |
getLoginType()
Returns the login type of this user.
|
String |
getMailAddress()
Returns the mail address of this user.
|
String |
getMenuName()
Returns the name of the menu of the profile.
|
Document |
getMenuXml()
Returns the XML with the profile menu definition.
|
String |
getMotherName()
Returns the mother's name of this user (apellido materno).
|
int |
getOfficeCode()
Returns the identification of the office of this user.
|
int |
getOfficeType()
Returns the type of the office of this user.
|
String |
getPhone1()
Returns the primary phone number of this user.
|
String |
getPhone2()
Returns the second phone number of this user.
|
int |
getProfileCode()
Returns the identification of the profile of this user.
|
String |
getProfileName()
Returns the name of the profile of this user.
|
String |
getProfileRealm()
Returns the realm of the profile of this user (familia).
|
int |
getProfileType()
Returns the type of the profile of this user.
|
String |
getRegion()
Returns the region or state of this user.
|
String |
getRut()
Returns the Chilean RUT of this user.
|
String |
getStreet()
Returns the street of this user.
|
String |
getUserRealm()
Returns the realm of this user (familia).
|
Date |
getUserValidFrom()
Returns the first date this user is valid.
|
Date |
getUserValidTo()
Returns the last date this user is valid.
|
boolean |
hasPrivilege(int privilege)
Returns
true if the user has a given privilege. |
static final int ADMIN
static final int DEVELOPER
static final int BROKER
static final int OPERATOR
static final int WATCHER
static final int MUTUAL_FUND
static final int BANK
static final int INSURANCE_COMPANY
static final int PENSION_FUND
static final int BROKERAGE_FIRM
static final int BROKER_DEALER
LoginType getLoginType()
String getCode()
String getFirstName()
String getFatherName()
String getMotherName()
String getFullName()
String getRut()
String getJobTitle()
Date getUserValidFrom()
Date getUserValidTo()
String getStreet()
String getCommune()
String getCity()
String getRegion()
String getCountry()
String getMailAddress()
String getPhone1()
String getPhone2()
String getFax()
String getUserRealm()
String getCompanyRut()
String getBillingType()
String getBillingCode()
String getContractCode()
String getContractAnnex()
int getProfileCode()
int getGroupCode()
int getOfficeCode()
int getEmployeeCode()
String getProfileName()
int getProfileType()
boolean hasPrivilege(int privilege)
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.privilege
- the privilege index to test.true
if this user has the privilege
.IllegalArgumentException
- if privilege
is out-of-range.String getProfileRealm()
String getMenuName()
Document getMenuXml() throws Exception
Exception
- if an error occurs.int getOfficeType()
BANK
,
BROKER_DEALER
,
BROKERAGE_FIRM
,
INSURANCE_COMPANY
,
MUTUAL_FUND
,
PENSION_FUND
Collection<UserCapacity> getCapacities()
UserCapacity getCapacity(String capacityCode)
capacityCode
- the code of the required user capacity.null
if the capacity is not defined.NullPointerException
- if capacityCode
is null
.Copyright © OBCOM INGENIERIA S.A. (Chile). All Rights Reserved.