Interface IRhpBSNotasMoedas
Classe utilizada para obter as regras de negócio das Moedas.
Namespace: IRhpBS100
Assembly: IRhpBS100.dll
Syntax
[ComVisible(true)]
[Guid("CD6911B6-B576-449F-AB8B-E49539891DF2")]
public interface IRhpBSNotasMoedas
Methods
Actualiza(RhpBENotaMoeda)
Actualiza a informação de uma nota ou moeda.
Declaration
void Actualiza(RhpBENotaMoeda objBENotaMoeda)
Parameters
Type | Name | Description |
---|---|---|
RhpBENotaMoeda | objBENotaMoeda | Objecto contendo os valores actuais. |
ActualizaValorAtributo(Double, String, String, Object)
Actualiza o valor de um atributo.
Declaration
void ActualizaValorAtributo(double NotaMoeda, string MoedaAssociada, string Atributo, object Valor)
Parameters
Type | Name | Description |
---|---|---|
System.Double | NotaMoeda | Valor da nota ou moeda. |
System.String | MoedaAssociada | Designação da Moeda pretendida. |
System.String | Atributo | Nome do atributo cujo valor será actualizado. |
System.Object | Valor | Novo valor do atributo indicado. |
ActualizaValorAtributos(Double, String, StdBECampos)
Actualiza os valores respectivos de um conjunto de atributos.
Declaration
void ActualizaValorAtributos(double NotaMoeda, string MoedaAssociada, StdBECampos Atributos)
Parameters
Type | Name | Description |
---|---|---|
System.Double | NotaMoeda | Valor da nota ou moeda. |
System.String | MoedaAssociada | Designação da Moeda pretendida. |
StdBECampos | Atributos | Objecto contendo os atributos a actualizar e respectivos valores. |
DaDefCamposUtil()
Devolve as definições dos campos do utilizador.
Declaration
StdBEDefCamposUtil DaDefCamposUtil()
Returns
Type | Description |
---|---|
StdBEDefCamposUtil |
DaValorAtributo(Double, String, String)
Devolve o valor de um atributo.
Declaration
object DaValorAtributo(double NotaMoeda, string MoedaAssociada, string Atributo)
Parameters
Type | Name | Description |
---|---|---|
System.Double | NotaMoeda | Valor da nota ou moeda. |
System.String | MoedaAssociada | Designação da Moeda pretendida. |
System.String | Atributo | Nome do atributo cujo valor será devolvido. |
Returns
Type | Description |
---|---|
System.Object |
DaValorAtributos(Double, String, String[])
Devolve o valor de um conjunto de atributos.
Declaration
StdBECampos DaValorAtributos(double NotaMoeda, string MoedaAssociada, params string[] Atributos)
Parameters
Type | Name | Description |
---|---|---|
System.Double | NotaMoeda | Valor da nota ou moeda. |
System.String | MoedaAssociada | Designação da Moeda pretendida. |
System.String[] | Atributos | Conjunto de atributos dos quais se pretende devolver o valor. |
Returns
Type | Description |
---|---|
StdBECampos |
Edita(Double, String)
Edita a informação de uma nota ou moeda.
Declaration
RhpBENotaMoeda Edita(double NotaMoeda, string MoedaAssociada)
Parameters
Type | Name | Description |
---|---|---|
System.Double | NotaMoeda | Valor da nota ou moeda. |
System.String | MoedaAssociada | Designação da Moeda pretendida. |
Returns
Type | Description |
---|---|
RhpBENotaMoeda |
Existe(Double, String)
Verifica se existe o registo referente à informação passada nos parâmetros.
Declaration
bool Existe(double NotaMoeda, string MoedaAssociada)
Parameters
Type | Name | Description |
---|---|---|
System.Double | NotaMoeda | Valor da nota ou moeda. |
System.String | MoedaAssociada | Designação da Moeda pretendida. |
Returns
Type | Description |
---|---|
System.Boolean |
LstNotasMoedas()
Devolve uma listagem de notas e moedas.
Declaration
StdBELista LstNotasMoedas()
Returns
Type | Description |
---|---|
StdBELista |
Remove(Double, String)
Remove a informação de uma nota ou moeda.
Declaration
void Remove(double NotaMoeda, string MoedaAssociada)
Parameters
Type | Name | Description |
---|---|---|
System.Double | NotaMoeda | Valor da nota ou moeda. |
System.String | MoedaAssociada | Designação da Moeda pretendida. |
ValidaActualizacao(RhpBENotaMoeda, ref String)
Efectua a validação dos dados de notas ou moedas.
Declaration
bool ValidaActualizacao(RhpBENotaMoeda ObjNotaMoeda, ref string ErroValidacao)
Parameters
Type | Name | Description |
---|---|---|
RhpBENotaMoeda | ObjNotaMoeda | Objecto contendo os novos valores a actualizar. |
System.String | ErroValidacao | Recebe a descrição de eventuais erros detectados. |
Returns
Type | Description |
---|---|
System.Boolean |
ValidaRemocao(Double, String, ref String)
Efectua a validação de um registo antes de ser efectuada a sua remoção.
Declaration
bool ValidaRemocao(double NotaMoeda, string MoedaAssociada, ref string ErroValidacao)
Parameters
Type | Name | Description |
---|---|---|
System.Double | NotaMoeda | Valor da nota ou moeda. |
System.String | MoedaAssociada | Designação da Moeda pretendida. |
System.String | ErroValidacao | Recebe a descrição de eventuais erros detectados. |
Returns
Type | Description |
---|---|
System.Boolean |