MdWsSeiDocumentoDTO.php
2.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<?php
/**
* Class MdWsSeiDocumentoDTO
* DTO somente para encapsulamento de dados.
* OBS: Nao estou usando API pois em modulos do SEI o autoload nao carrega as API's.
*/
class MdWsSeiDocumentoDTO extends InfraDTO{
public function getStrNomeTabela()
{
throw new InfraException('DTO nao utilizavel para consulta!');
}
public function montar(){
$this->adicionarAtributo(InfraDTO::$PREFIXO_NUM, 'IdProcesso');
$this->adicionarAtributo(InfraDTO::$PREFIXO_DTA, 'DataGeracaoDocumento');
$this->adicionarAtributo(InfraDTO::$PREFIXO_STR, 'Numero');
$this->adicionarAtributo(InfraDTO::$PREFIXO_NUM, 'IdTipoDocumento');
$this->adicionarAtributo(InfraDTO::$PREFIXO_NUM, 'IdTipoProcedimento');
$this->adicionarAtributo(InfraDTO::$PREFIXO_STR, 'Descricao');
$this->adicionarAtributo(InfraDTO::$PREFIXO_STR, 'NomeArquivo');
$this->adicionarAtributo(InfraDTO::$PREFIXO_STR, 'NivelAcesso');
$this->adicionarAtributo(InfraDTO::$PREFIXO_NUM, 'IdHipoteseLegal');
$this->adicionarAtributo(InfraDTO::$PREFIXO_STR, 'GrauSigilo');
$this->adicionarAtributo(InfraDTO::$PREFIXO_ARR, 'Assuntos');
$this->adicionarAtributo(InfraDTO::$PREFIXO_ARR, 'Interessados');
$this->adicionarAtributo(InfraDTO::$PREFIXO_ARR, 'Destinatarios');
$this->adicionarAtributo(InfraDTO::$PREFIXO_ARR, 'Remetentes');
$this->adicionarAtributo(InfraDTO::$PREFIXO_STR, 'ConteudoDocumento');
$this->adicionarAtributo(InfraDTO::$PREFIXO_STR, 'Observacao');
$this->adicionarAtributo(InfraDTO::$PREFIXO_NUM, 'TipoConferencia');
$this->adicionarAtributo(InfraDTO::$PREFIXO_STR, 'NomeTipoDocumento');
$this->adicionarAtributo(InfraDTO::$PREFIXO_STR, 'Favoritos');
$this->adicionarAtributo(InfraDTO::$PREFIXO_ARR, 'Aplicabilidade');
$this->adicionarAtributo(InfraDTO::$PREFIXO_NUM, 'Start');
$this->adicionarAtributo(InfraDTO::$PREFIXO_NUM, 'Limit');
}
}