Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
B
- BaseDto - Class in systextil.intg.api
-
Facilitador para classes DTO implementarem
IntgDto
. - BaseDto() - Constructor for class systextil.intg.api.BaseDto
C
- close() - Method in class systextil.intg.api.CodeFinder
- close() - Method in class systextil.intg.api.DtoReader
-
Fecha o resultset de consulta dos registros de integração e o statement que foi aberto para consultar os registros do ERP.
- close() - Method in class systextil.intg.api.IdFinder
- close() - Method in class systextil.intg.api.IdsFinder
- close() - Method in class systextil.intg.api.IntgExcluder
-
Deprecated.Fecha o resultset de consulta dos registros de integração e o statement que foi aberto para consultar os registros do ERP.
- close() - Method in class systextil.intg.api.IntgExporter
-
Fecha o resultset de consulta dos registros de integração e o statement que foi aberto para consultar os registros do ERP.
- close() - Method in class systextil.intg.api.IntgImporter
- close() - Method in class systextil.intg.api.ResultSetIterator
- CodeFinder - Class in systextil.intg.api
-
Abre um
PreparedStatement
para buscar o código de integração de objetos do ERP pela chave primária. - CodeFinder(Connection, Integracao) - Constructor for class systextil.intg.api.CodeFinder
- codigo - Variable in class systextil.intg.api.IntgDataDto
- codigoEmpresa - Variable in class systextil.intg.api.Integracao
- conn - Variable in class systextil.intg.api.DtoReader
- conn - Variable in class systextil.intg.api.DtoWriter
- convertStackTraceToString(Exception) - Static method in class systextil.intg.api.IntgExporter
D
- DtoMaker<DTO> - Interface in systextil.intg.api
-
Gera um DTO a partir de um registro no banco de dados.
- DtoReader<DTO> - Class in systextil.intg.api
-
Leitor de DTOs a partir de consultas ao banco de dados pela chave primária.
- DtoReader(Connection, String, String) - Constructor for class systextil.intg.api.DtoReader
-
Instancia um leitor de DTOs.
- DtoWriter<DTO> - Class in systextil.intg.api
-
Importa no ERP os dados de DTOs de negócio (do ERP) de um determinado tipo.
- DtoWriter(Connection, String) - Constructor for class systextil.intg.api.DtoWriter
-
Instancia um objeto que sabe gravar dados em determinada tabela do ERP.
E
- erro - Variable in class systextil.intg.api.IntgDataDto
- error(String) - Method in interface systextil.intg.api.IntgLogger
-
Registra mensagens de erro.
- exclude(String) - Method in interface systextil.intg.api.Excluder
-
Exclui de uma integração os dados referentes a determinado código externo.
- exclude(List<String>) - Method in interface systextil.intg.api.Excluder
- Excluder - Interface in systextil.intg.api
-
Um serviço que envia a exclusão de dados para uma integração.
- excluirDados(DtoReader<DTO>, Excluder) - Method in class systextil.intg.api.IntgExcluder
-
Deprecated.Exporta e envia para a integração todos os registros pendentes na tabela de integrações referentes a determinada tabela do ERP, e registra o retorno.
- export(DTO) - Method in interface systextil.intg.api.Exporter
-
Envia dados para uma integração.
- export(List<DTO>) - Method in interface systextil.intg.api.Exporter
-
Envia dados em lote para uma integração.
- exportarDados(DtoReader<DTO>, Exporter<DTO>) - Method in class systextil.intg.api.IntgExporter
-
Exporta e envia para a integração todos os registros pendentes na tabela de integrações referentes a determinada tabela do ERP, e registra o retorno.
- exportarDados(DtoReader<DTO>, Exporter<DTO>, Excluder) - Method in class systextil.intg.api.IntgExporter
-
Exporta e envia para a integração todos os registros pendentes na tabela de integrações referentes a determinada tabela do ERP, e registra o retorno.
- exportarDadosEmLote(DtoReader<DTO>, Exporter<DTO>, Excluder, int) - Method in class systextil.intg.api.IntgExporter
- Exporter<DTO> - Interface in systextil.intg.api
-
Um serviço que envia dados para uma integração e retorna o identificador do objeto integrado.
F
- find(Connection, int, String, String) - Static method in class systextil.intg.api.Integracao
-
Procura no ERP um dispositivo ou instância de integração cadastrada com esse nome para essa empresa.
G
- get(String) - Method in class systextil.intg.api.DtoReader
-
Obtém um registro pela chave primária.
- getCodigo(String, String) - Method in class systextil.intg.api.CodeFinder
-
Aproveita o
PreparedStatement
aberto para procurar na tabela de integrações o código de integração de uma entidade de determinada tabela do ERP. - getExtKey() - Method in class systextil.intg.api.BaseDto
- getExtKey() - Method in interface systextil.intg.api.IntgDto
-
Lê o código memorizado no ERP, retornado pela integração de um item exportado.
- getId(String, String) - Method in class systextil.intg.api.IdFinder
-
Aproveita o
PreparedStatement
aberto para procurar na tabela de integrações a chave primária de uma entidade de determinada tabela do ERP. - getId(String, String) - Method in class systextil.intg.api.IntgImporter
-
Conveniência para informar ao processo de importação qual é a identificação de um item que já foi importado.
- getMaker() - Method in class systextil.intg.api.DtoReader
-
Fornece para esta instância o
DtoMaker
que ela deve usar. - getMessage() - Method in exception class systextil.intg.api.IntgListException
-
Retorna uma mensagem amigável apresentando as mensagens gravadas.
- getStackTrace() - Method in exception class systextil.intg.api.IntgException
- getTimestamp() - Method in interface systextil.intg.api.Importer
-
Depois de efetuar as importações, informa qual é o identificador de timestamp que deve ficar registrado no controle de integrações.
I
- id - Variable in class systextil.intg.api.IntgDataDto
- IdFinder - Class in systextil.intg.api
-
Abre um
PreparedStatement
para buscar a chave primária de objetos do ERP pelo código de integração. - IdFinder(Connection, Integracao) - Constructor for class systextil.intg.api.IdFinder
- IdsFinder - Class in systextil.intg.api
-
Abre um
PreparedStatement
para buscar uma lista de chaves primárias de objetos do ERP através de uma busca "like". - IdsFinder(Connection, Integracao) - Constructor for class systextil.intg.api.IdsFinder
- importAll(DtoWriter<DTO>, Importer<DTO>) - Method in class systextil.intg.api.IntgImporter
-
Executa primeiro as reimportações (
IntgImporter.reimport(DtoWriter, Importer)
) e em seguida importa os objetos novos (IntgImporter.importDtos(DtoWriter, Importer)
). - importDto(DTO, DtoWriter<DTO>) - Method in class systextil.intg.api.IntgImporter
-
Importa um DTO no ERP.
- importDto(String) - Method in interface systextil.intg.api.Importer
-
Consulta dados de um item de uma integração.
- importDtos(String) - Method in interface systextil.intg.api.Importer
-
Consulta dados de itens de uma integração a partir de um identificador de referência de tempo, por exemplo um "timestamp".
- importDtos(DtoWriter<DTO>, Importer<DTO>) - Method in class systextil.intg.api.IntgImporter
-
Importa novos registros e atualizações do sistema externo.
- Importer<DTO> - Interface in systextil.intg.api
-
Um serviço que recebe dados de uma integração e retorna para o ERP o objeto com os dados preenchidos para importação.
- info(String) - Method in interface systextil.intg.api.IntgLogger
-
Registra mensagens informativas.
- instancia - Variable in class systextil.intg.api.Integracao
- integracao - Variable in class systextil.intg.api.CodeFinder
-
Comodidade.
- integracao - Variable in class systextil.intg.api.IdFinder
-
Comodidade.
- integracao - Variable in class systextil.intg.api.IdsFinder
-
Comodidade.
- integracao - Variable in class systextil.intg.api.Integracao
- Integracao - Class in systextil.intg.api
-
Guarda informações referentes a uma integração instalada e ativada para uma empresa.
- Integracao(int, int, String) - Constructor for class systextil.intg.api.Integracao
- integrar - Variable in class systextil.intg.api.IntgDataDto
- IntgDataDto - Class in systextil.intg.api
-
Facilitador para classes DTO implementarem
IntgDto
. - IntgDataDto() - Constructor for class systextil.intg.api.IntgDataDto
- IntgDto - Interface in systextil.intg.api
-
Todos os DTOs usados em exportações devem implementar isto.
- IntgException - Exception Class in systextil.intg.api
-
Lança mensagens mais enxutas referentes ao processo de integração.
- IntgException(String) - Constructor for exception class systextil.intg.api.IntgException
- IntgException(String, Throwable) - Constructor for exception class systextil.intg.api.IntgException
- IntgExcluder - Class in systextil.intg.api
-
Deprecated.
- IntgExcluder(Connection, Integracao) - Constructor for class systextil.intg.api.IntgExcluder
-
Deprecated.Instancia um exportador de dados.
- IntgExcluder(Connection, Integracao, IntgLogger) - Constructor for class systextil.intg.api.IntgExcluder
-
Deprecated.Instancia um exportador de dados.
- IntgExporter - Class in systextil.intg.api
-
Exportador de dados do ERP para uma integração.
- IntgExporter(Connection, Integracao) - Constructor for class systextil.intg.api.IntgExporter
-
Instancia um exportador de dados.
- IntgExporter(Connection, Integracao, IntgLogger) - Constructor for class systextil.intg.api.IntgExporter
-
Instancia um exportador de dados.
- IntgImporter - Class in systextil.intg.api
-
Importador de dados para o ERP.
- IntgImporter(Connection, Integracao) - Constructor for class systextil.intg.api.IntgImporter
- IntgImporter(Connection, Integracao, IntgLogger) - Constructor for class systextil.intg.api.IntgImporter
- IntgListException - Exception Class in systextil.intg.api
-
Permite adicionar mensagens ao texto da Exception antes de lançá-la.
- IntgListException(String) - Constructor for exception class systextil.intg.api.IntgListException
- IntgLogger - Interface in systextil.intg.api
-
Objeto que registra as mensagens que ocorrem na integração.
- iterator() - Method in class systextil.intg.api.ResultSetIterator
L
- list(String, String) - Method in class systextil.intg.api.IdsFinder
-
Aproveita o
PreparedStatement
aberto para procurar na tabela de integrações uma lista de chaves primárias de objetos do ERP através de uma busca "like". - listarDados(PreparedStatement, DtoMaker<DTO>) - Static method in interface systextil.intg.api.DtoMaker
-
Faz uma consulta ao banco de dados e retorna uma lista com os registros encontrados.
- listarDados(ResultSet, DtoMaker<DTO>) - Static method in interface systextil.intg.api.DtoMaker
-
Retorna uma lista com os registros encontrados em uma consulta ao banco de dados.
M
- make(ResultSet) - Method in interface systextil.intg.api.DtoMaker
-
Transforma um registro em um DTO.
- MAX_QT_ROWS - Static variable in interface systextil.intg.api.DtoMaker
- msgs - Variable in exception class systextil.intg.api.IntgListException
N
- NULL - Static variable in interface systextil.intg.api.IntgLogger
-
Logger que não faz nada.
P
- prepareCall(Connection) - Static method in class systextil.intg.api.IntgExcluder
-
Deprecated.Conveniência que prepara um statement para executar a procedure INTG_PR_EXPORT_ITEM.
- prepareCall(Connection) - Static method in class systextil.intg.api.IntgExporter
-
Conveniência que prepara um statement para executar a procedure INTG_PR_EXPORT_ITEM.
- prepareStatement(PreparedStatement, String) - Method in class systextil.intg.api.DtoReader
-
Prepara o statement de consulta de um registro no ERP; para isso, informa o(s) parâmetro(s) da chave primária, com base no ID fornecido.
- printStackTrace(PrintStream) - Method in exception class systextil.intg.api.IntgException
-
Imprime no stack trace apenas a mensagem.
- ps - Variable in class systextil.intg.api.DtoReader
-
A consulta a um registro com os dados do ERP.
- put(DTO, String) - Method in class systextil.intg.api.DtoWriter
-
Importa um DTO no ERP.
R
- readDate(ResultSet, String) - Static method in interface systextil.intg.api.DtoMaker
-
Lê e retorna o valor de uma coluna.
- readDateLong(ResultSet, String) - Static method in interface systextil.intg.api.DtoMaker
-
Lê e retorna o valor Long de uma coluna de data.
- readDouble(ResultSet, String) - Static method in interface systextil.intg.api.DtoMaker
-
Lê e retorna o valor de uma coluna.
- readDoubleNot0(ResultSet, String) - Static method in interface systextil.intg.api.DtoMaker
-
Lê e retorna o valor de uma coluna.
- readInt(ResultSet, String) - Static method in interface systextil.intg.api.DtoMaker
-
Lê e retorna o valor de uma coluna.
- readIntNot0(ResultSet, String) - Static method in interface systextil.intg.api.DtoMaker
-
Lê e retorna o valor de uma coluna.
- readString(ResultSet, String) - Static method in interface systextil.intg.api.DtoMaker
-
Lê e retorna o valor de uma coluna.
- reimport(DtoWriter<DTO>, Importer<DTO>) - Method in class systextil.intg.api.IntgImporter
-
Importa registros que estão pendentes de importação porque falharam.
- ResultSetIterator<T> - Class in systextil.intg.api
-
Iterador de resultset que retorna objetos.
- ResultSetIterator(ResultSet, DtoMaker<T>) - Constructor for class systextil.intg.api.ResultSetIterator
S
- setExtKey(String) - Method in class systextil.intg.api.BaseDto
- setExtKey(String) - Method in interface systextil.intg.api.IntgDto
-
Preenche o código memorizado no ERP, retornado pela integração de um item exportado.
- STANDARD - Static variable in interface systextil.intg.api.IntgLogger
-
Logger que registra nas saídas padrão.
- systextil.intg.api - package systextil.intg.api
-
Contém as classes básicas para uso pelas implementações das integrações.
T
- tabela - Variable in class systextil.intg.api.DtoReader
-
O nome da tabela do ERP.
- tabela - Variable in class systextil.intg.api.DtoWriter
-
O nome da tabela do ERP.
- toString() - Method in exception class systextil.intg.api.IntgException
- toString(Throwable) - Static method in exception class systextil.intg.api.IntgException
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
IntgExporter
e está sendo mantida aqui somente para não quebrar usos temporários. Assim que possível, deve ser eliminada, dando preferência a usarIntgExporter
.