Class StdBSPrefUtilStd
Classe utilizada para obter serviços e regras de negócio sobre as Preferências de sistema.
Inheritance
Implements
Inherited Members
Namespace: StdPlatBS100
Assembly: StdPlatBS100.dll
Syntax
[ComVisible(true)]
[Guid("D41554A3-EEF1-4CB5-908E-D4CEEFEE3751")]
[ClassInterface(ClassInterfaceType.None)]
public class StdBSPrefUtilStd : IStdBSPrefUtilStd
Properties
AbreElementosNavegadorUmClique
Abre os elementos do navegador com um clique.
Declaration
public bool AbreElementosNavegadorUmClique { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
AbrirUltimaEmpresa
Indica se deve ser aberta a última empresa ao abrir a aplicação.
Declaration
public bool AbrirUltimaEmpresa { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
AlterarDefinicoesCores
Indica se vão devem ser alteradas as definições de cor.
Declaration
public bool AlterarDefinicoesCores { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
AutenticacaoSMTP
Utilizar autenticação SMTP para ligação ao servidor de correio?
Declaration
public bool AutenticacaoSMTP { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
BloquearAcessoSemVBA
Bloquear o acesso a Empresas que não consigam abrir o projecto VBA (apenas para utilizadores não-administradores)
Declaration
public bool BloquearAcessoSemVBA { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
BotActivo
Define se o bot está activo.
Declaration
public bool BotActivo { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
ConfirmaAnulacoes
Indica se a anulação de registos deve ser confirmada.
Declaration
public bool ConfirmaAnulacoes { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
ConfirmaFechoAplicacao
Confirma fecho do ERP.
Declaration
public bool ConfirmaFechoAplicacao { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
CorImpressao
Indica se a impressão deve ser realizada a cores ou a preto e branco (caso tenha decidido efectuar alterações nas definições de cor).
Declaration
public bool CorImpressao { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
DefineCursorListas
Indica se o modo de abertura das listas é definido globalmente
Declaration
public bool DefineCursorListas { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
ElasticAuthenticationLogin
The Elastic Search server login.
Declaration
public string ElasticAuthenticationLogin { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
ElasticAuthenticationPassword
The Elastic Search server password.
Declaration
public string ElasticAuthenticationPassword { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
ElasticSearchServer
The Elastic search Server.
Declaration
public string ElasticSearchServer { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
EmailActivarSsl
Indica se o SSL deve estar activo no envio.
Declaration
public bool EmailActivarSsl { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
EmailEndereco
Endereço de email local.
Declaration
public string EmailEndereco { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
EmailExtensaoDefeito
Extensão correspondente ao formato por defeito na exportação por email
Declaration
public string EmailExtensaoDefeito { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
EmailFormatoDefeito
Formato por defeito na exportação por email
Declaration
public StdBSTipos.CRPEExportFormat EmailFormatoDefeito { get; set; }
Property Value
| Type | Description |
|---|---|
| StdPlatBS100.StdBSTipos.CRPEExportFormat |
EmailMAPI
Indica se deve ser usado o interface MAPI para envio de mensagens de email.
Declaration
public bool EmailMAPI { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
EmailMAPIProfile
Nome do perfil MAPI activo.
Declaration
public string EmailMAPIProfile { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
EmailServSMTP
Servidor SMTP.
Declaration
public string EmailServSMTP { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
EmailZIP
Indica se os anexos devem ser compactados (formato ZIP) antes de serem enviados.
Declaration
public string EmailZIP { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
EsquemaCores
Esquema de cores a utilizar em grelhas.
Declaration
public string EsquemaCores { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
FiltrarListasValor
Indica se a apresentação das listas deve ser filtrada pelo valor do campo F4.
Declaration
public bool FiltrarListasValor { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
FiltrarWildcards
Indica se os F4s devem interpretar o caracter especial "?"
Declaration
public bool FiltrarWildcards { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
FiltroAutomaticoListas
Declaration
public AutoFilterCondition FiltroAutomaticoListas { get; set; }
Property Value
| Type | Description |
|---|---|
| DevExpress.XtraGrid.Columns.AutoFilterCondition |
FormatatoEmailNotificacoes
Formato do Email das notificacoes.
Declaration
public StdBETipos.EnumFormatoMensagemEmail FormatatoEmailNotificacoes { get; set; }
Property Value
| Type | Description |
|---|---|
| StdBETipos.EnumFormatoMensagemEmail |
Fundo
Definição do papel de parede do ERP.
Declaration
public string Fundo { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
FundoImagens
Imagens usadas para papel de parede do ERP.
Declaration
public string FundoImagens { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
GravarBarraBotoes
Indica se a configuração da barra de ferramentas deve ser guardada.
Declaration
public bool GravarBarraBotoes { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
GrelhaCor1
Cor ímpar (esquema de cores das grelhas).
Declaration
public int GrelhaCor1 { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
GrelhaCor2
Cor par (esquema de cores das grelhas).
Declaration
public int GrelhaCor2 { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
GuardarDimensaoJanelaNavegador
Guardar dimensão da janela do navegador.
Declaration
public bool GuardarDimensaoJanelaNavegador { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
IgnoraEstacoes
Define se ignora estações.
Declaration
public bool IgnoraEstacoes { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
InfoRelacionadaAtiva
Define se a informação relacionada está activa.
Declaration
public bool InfoRelacionadaAtiva { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
IntervaloAlertasLidos
Intervalo dos alertas lidos automáticamente.
Declaration
public int IntervaloAlertasLidos { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
LimitaAlertasUtilizador
Limita Alertas do Utilizador.
Declaration
public bool LimitaAlertasUtilizador { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
LimitaNumRegistosGraficos
Limita número de registos graficos.
Declaration
public bool LimitaNumRegistosGraficos { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
LimitaNumRegistosListas
Indica se o número máximo de registos retornados em qualquer lista deve ser limitado
Declaration
public bool LimitaNumRegistosListas { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
LimiteAlertasUtilizador
Limite de Alertas do Utilizador.
Declaration
public int LimiteAlertasUtilizador { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
LimiteNumRegistosGraficos
Número de limite de registos graficos.
Declaration
public int LimiteNumRegistosGraficos { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
LocalizacaoMeterologia
Define a localização a aplicar para a previsão metereológica
Declaration
public string LocalizacaoMeterologia { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
LoginSMTP
Login a utilizar caso a autenticação SMTP esteja activa.
Declaration
public string LoginSMTP { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
MantemListasAbertasAposF4
Indica se as listas devem permanecer abertas depois de uma pesquisa.
Declaration
public bool MantemListasAbertasAposF4 { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
MarcaAlertasLidosAuto
Marca alertas lidos automáticamente.
Declaration
public bool MarcaAlertasLidosAuto { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
MaxNumRegistosListas
Número máximo de registos retornados em qualquer lista
Declaration
public int MaxNumRegistosListas { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
MostraNavegador
Indica se o Navegador deve ser activado ao abrir a aplicação.
Declaration
public bool MostraNavegador { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
MostraNotificacoesArranque
Mostra notificacoes no arranque.
Declaration
public bool MostraNotificacoesArranque { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
NumItemsMRU
Preferência que define o número máximo de items presentes na lista dos mais recentes do navegador.
Declaration
public int NumItemsMRU { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
OnlineHelp
Preferência que define se deve ou não ser utilizada ajuda Online (com integração com o Primavera KnowledgeBase)
Declaration
public bool OnlineHelp { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
PaginasNavegador
Identificador das páginas do Navegador.
Declaration
public StdBEValoresLng PaginasNavegador { get; }
Property Value
| Type | Description |
|---|---|
| StdBEValoresLng |
PasswordSMTP
Password a utilizar caso a autenticação SMTP esteja activa.
Declaration
public string PasswordSMTP { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
PreservarLayoutListas
Indica se a posição o layout das listas (tamanho das colunas, ordenações, grupos, etc.) é preservado entre execuções.
Declaration
public bool PreservarLayoutListas { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
PreservarPosJanelas
Indica se a posição das janelas (ex.: manutenções) é preservada entre aberturas.
Declaration
public bool PreservarPosJanelas { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
ProxyServer
Proxy Server utilizado na ligação aos Web Services.
Declaration
public string ProxyServer { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
QualidadeImpressao
Indica qual a qualidade de impressão a utilizar (caso tenha decidido efectuar alterações nas definições de cor).
Declaration
public int QualidadeImpressao { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
RefrescarListasAuto
Refrescar as listas automaticamente após alteração de dados.
Declaration
public bool RefrescarListasAuto { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
ReordenarColunas
Reordenar coluna da pesquisa quando é efectuada uma pesquisa rápida nas listas.
Declaration
public bool ReordenarColunas { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
StorageKeepLocalFiles
Gets/Sets the option to keep local files after data upload to cloud provider.
Declaration
public bool StorageKeepLocalFiles { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
StorageProvider
Gets/Sets the Storage provider.
Declaration
public string StorageProvider { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
StorageProviderConfiguration
Gets/Sets the Storage provider configuraton.
Declaration
public string StorageProviderConfiguration { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
SuspenderDropTabTemp
Indica se a remoção automática das tabelas temporárias utilizadas em mapas deve ser suspensa (desactivada).
Declaration
public bool SuspenderDropTabTemp { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
TimeoutEdicao
Timeout de edição (bloqueio de registos nas manutenções).
Declaration
public int TimeoutEdicao { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
TipoCursorListas
Modo de abertura das listas
Declaration
public StdBETipos.EnumTipoCursor TipoCursorListas { get; set; }
Property Value
| Type | Description |
|---|---|
| StdBETipos.EnumTipoCursor |
TipoLimiteAlertasUtilizador
Tipo do limite de Alertas do Utilizador.
Declaration
public StdBETipos.EnumIdentificadoresTempo TipoLimiteAlertasUtilizador { get; set; }
Property Value
| Type | Description |
|---|---|
| StdBETipos.EnumIdentificadoresTempo |
UltimaEmp
Identificador da última empresa activa.
Declaration
public string UltimaEmp { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
UsaImpressoraMapas
Indica se a impressão de mapas deve utilizar a impressora definida no mapa (caso exista).
Declaration
public bool UsaImpressoraMapas { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
UsaMesmaJanela
Indica se as manutenções devem ser abertas sempresa na mesma janela.
Declaration
public bool UsaMesmaJanela { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
UsaProxy
Indica se deve ser utilizado um Proxy Server na ligação aos Web Services.
Declaration
public bool UsaProxy { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
UseElasticSearch
This flag defines if we should use Elastic Search.
Declaration
public bool UseElasticSearch { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
UseElasticSearchAuthentication
This flag defines if we should use basic authentication for elastic search
Declaration
public bool UseElasticSearchAuthentication { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Methods
CarregaPreferencias()
Carregamento das preferências a partir dos ficheiros de configuração.
Declaration
public void CarregaPreferencias()
Finalize()
Declaration
protected void Finalize()
GravaPreferencias()
Gravação das preferências nos ficheiros de configuração.
Declaration
public void GravaPreferencias()
UltimasEmpresas(Int32)
Listas das últimas empresas abertas.
Declaration
public string UltimasEmpresas(int intIndex)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | intIndex |
Returns
| Type | Description |
|---|---|
| System.String |