Interface ICblBSChavesRepFuncoes
Classe utilizada para obter serviços e regras de negócio sobre Chaves de Repartição por Funções.
Namespace: ICblBS100
Assembly: ICblBS100.dll
Syntax
[ComVisible(true)]
[Guid("E8DCF293-69D9-4F99-8355-2424E257BDFF")]
public interface ICblBSChavesRepFuncoes
Methods
Actualiza(CblBEChaveRepFuncao, String)
Actualiza a informação da Afectação Funcional.
Declaration
void Actualiza(CblBEChaveRepFuncao objBEChaveReparticaoFuncao, string Avisos = "")
Parameters
Type | Name | Description |
---|---|---|
CblBEChaveRepFuncao | objBEChaveReparticaoFuncao | Objecto contendo a informação actualizada da Afectação Funcional. |
System.String | Avisos | Notificação devolvida pelo processo de actualização. |
ActualizaValorAtributo(Int32, String, String, Object)
Actualiza o valor de um atributo.
Declaration
void ActualizaValorAtributo(int Ano, string ChvRep, string Atributo, dynamic Valor)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | Ano | |
System.String | ChvRep | |
System.String | Atributo | Nome do atributo cujo valor será actualizado. |
System.Object | Valor | Valor do atributo que será actualizado. |
ActualizaValorAtributos(Int32, String, StdBECampos)
Actualiza os valores respectivos de um conjunto de atributos.
Declaration
void ActualizaValorAtributos(int Ano, string ChvRep, StdBECampos Atributos)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | Ano | |
System.String | ChvRep | |
StdBECampos | Atributos | Identifica os atributos e os respectivos valores a actualizar. |
DaDefCamposUtil()
Devolve as definições dos campos do utilizador.
Declaration
StdBEDefCamposUtil DaDefCamposUtil()
Returns
Type | Description |
---|---|
StdBEDefCamposUtil |
DaDescricao(Int32, String)
Descrição associada à Chave de Repartição para Funções.
Declaration
string DaDescricao(int Ano, string ChvRep)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | Ano | |
System.String | ChvRep | Identificador da Chave de Repartição. |
Returns
Type | Description |
---|---|
System.String |
DaValorAtributo(Int32, String, String)
Devolve o valor de um atributo.
Declaration
dynamic DaValorAtributo(int Ano, string ChvRep, string Atributo)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | Ano | |
System.String | ChvRep | Identificador da Chave de Repartição. |
System.String | Atributo | Nome do atributo cujo valor será devolvido. |
Returns
Type | Description |
---|---|
System.Object |
DaValorAtributoLock(Int32, String, String)
Devolve o valor de um atributo, respeitando os locks da base de dados.
Declaration
dynamic DaValorAtributoLock(int Ano, string ChvRep, string Atributo)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | Ano | |
System.String | ChvRep | Identificador da Chave de Repartição. |
System.String | Atributo | Nome do atributo cujo valor será devolvido. |
Returns
Type | Description |
---|---|
System.Object |
DaValorAtributos(Int32, String, Object[])
Devolve o valor de um conjunto de atributos.
Declaration
StdBECampos DaValorAtributos(int Ano, string ChvRep, params dynamic[] Atributos)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | Ano | |
System.String | ChvRep | Identificador da Chave de Repartição. |
System.Object[] | Atributos | Conjunto de atributos dos quais se pretende devolver o valor. |
Returns
Type | Description |
---|---|
StdBECampos |
DaValorAtributosLock(Int32, String, Object[])
Devolve o valor de um conjunto de atributos, respeitando os locks da base de dados.
Declaration
StdBECampos DaValorAtributosLock(int Ano, string ChvRep, params dynamic[] Atributos)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | Ano | |
System.String | ChvRep | Identificador da Chave de Repartição. |
System.Object[] | Atributos | Conjunto de atributos dos quais se pretende devolver o valor. |
Returns
Type | Description |
---|---|
StdBECampos |
Edita(Int32, String)
Edita a informação da Afectação Funcional.
Declaration
CblBEChaveRepFuncao Edita(int Ano, string ChvRep)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | Ano | |
System.String | ChvRep | Identificador da Chave de Repartição. |
Returns
Type | Description |
---|---|
CblBEChaveRepFuncao |
Existe(Int32, String)
Verifica se existe a Afectação Funcional.
Declaration
bool Existe(int Ano, string ChvRep)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | Ano | |
System.String | ChvRep | Identificador da Chave de Repartição. |
Returns
Type | Description |
---|---|
System.Boolean |
LstChavesReparticaoFuncoes()
Devolve a lista de Chaves de Repartição para Funções.
Declaration
StdBELista LstChavesReparticaoFuncoes()
Returns
Type | Description |
---|---|
StdBELista |
Remove(Int32, String)
Remove a Afectação Funcional.
Declaration
void Remove(int Ano, string ChvRep)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | Ano | |
System.String | ChvRep | Identificador da Chave de Repartição. |
ValidaActualizacao(CblBEChaveRepFuncao, ref String)
Efectua a validação da informação da Afectação Funcional.
Declaration
bool ValidaActualizacao(CblBEChaveRepFuncao BEChaveReparticaoFuncao, ref string StrErro)
Parameters
Type | Name | Description |
---|---|---|
CblBEChaveRepFuncao | BEChaveReparticaoFuncao | Objecto contendo a informação que se pretende validar. |
System.String | StrErro |
Returns
Type | Description |
---|---|
System.Boolean |
ValidaRemocao(Int32, String, ref String)
Efectua as validações necessárias à remoção da Afectação Funcional.
Declaration
bool ValidaRemocao(int Ano, string ChvRep, ref string StrErro)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | Ano | |
System.String | ChvRep | Identificador da Chave de Repartição. |
System.String | StrErro |
Returns
Type | Description |
---|---|
System.Boolean |