br.gov.mj.frameworkprocessos.processo.ejb
Interface AssociacaoPecaFacade
public interface AssociacaoPecaFacade
Remote interface for AssociacaoPecaFacade.
- Version:
- ${version}
- Author:
- XDoclet
Method Summary |
AssociacaoPeca |
anexarDocumento(java.lang.Integer codigoDocumentoPai,
java.lang.Integer codigoDocumentoAnexo,
br.gov.mj.seguranca.pojo.Sessao sessao)
|
AssociacaoPeca |
anexarProcesso(java.lang.Integer codigoDocumentoPai,
java.lang.Integer codigoDocumentoAnexo,
br.gov.mj.seguranca.pojo.Sessao sessao)
|
AssociacaoPeca |
apensarProcesso(java.lang.Integer codigoDocumentoPai,
java.lang.Integer codigoDocumentoApenso,
br.gov.mj.seguranca.pojo.Sessao sessao)
|
HistoricoAssociacaoPeca |
desapensarProcesso(java.lang.Integer codigoDocumentoPai,
java.lang.Integer codigoDocumentoApenso,
br.gov.mj.seguranca.pojo.Sessao sessao)
|
HistoricoAssociacaoPeca |
desentranharPeca(java.lang.Integer codigoDocumentoPai,
java.lang.Integer codigoDocumentoDesentranhar,
br.gov.mj.seguranca.pojo.Sessao sessao)
|
java.util.List |
desmembrarPecas(java.util.List codigoDocumentosDesmembrar,
java.util.List codigoVinculosDesmembrar,
br.gov.mj.seguranca.pojo.Sessao sessao)
|
DocumentoNo |
getArvoreAssociacoesPorDocumento(java.lang.Integer codigoDocumento)
|
java.util.List |
getArvoreDesmembramentoPorDocumentos(java.lang.Integer[] codigosDocumentos)
|
AssociacaoPeca |
getAssociacaoPeca(java.lang.Integer codigoDocumento)
|
java.util.List |
getAssociacoesPeca(AssociacaoPeca associacaoPeca)
|
java.util.List |
getAssociacoesPeca(java.lang.Integer codigoDocumento)
|
java.util.List |
getDesassociacoesPorDocumento(java.lang.Integer codigoDocumento)
|
java.util.List |
getDesvinculacoesPorDocumento(java.lang.Integer codigoDocumento)
|
Documento |
getDocumentoRaizPorDocumentoAssociado(java.lang.Integer codigoDocumentoAssociacaoPeca)
|
Documento |
getDocumentoRaizPorVinculo(DocumentoVinculo documentoVinculo)
|
java.util.List |
getDocumentosPossiveisAssociacoes(java.lang.Integer codigoDocumentoPrincipal,
ProcessoUtil.TipoAssociacao tipoAssociacao,
br.gov.mj.seguranca.pojo.Sessao sessao)
|
java.util.List |
getDocumentosVinculos(DocumentoVinculo vinculo)
|
java.util.List |
getDocumentosVinculos(java.lang.Integer codigoDocumento)
|
DocumentoVinculo |
getDocumentoVinculo(DocumentoVinculoPK documentoVinculoPK)
Retorna o DocumentoVinculo da chave associada |
HistoricoAssociacaoPeca |
getHistoricoAssociacaoPeca(java.lang.Integer codigoHistoricoPeca)
|
DocumentoVinculo |
inserirDocumentoVinculo(DocumentoVinculo documentoVinculo,
br.gov.mj.seguranca.pojo.Sessao sessao)
|
java.lang.Boolean |
verificarDocumentoAssociado(java.lang.Integer codigoDocumento)
|
anexarDocumento
AssociacaoPeca anexarDocumento(java.lang.Integer codigoDocumentoPai,
java.lang.Integer codigoDocumentoAnexo,
br.gov.mj.seguranca.pojo.Sessao sessao)
throws br.gov.mj.corporativo.servicos.exceptions.ParametroInvalidoException,
br.gov.mj.corporativo.servicos.exceptions.ErroInternoException,
DocumentoNaoEncontradoException,
UsuarioSemPosseDocumentoException,
DocumentoAssociacaoMaisAntigoException,
br.gov.mj.seguranca.exceptions.AcessoNegadoException,
DocumentoAssociadoException,
AssociacaoPecaJaCadastradaException,
DocumentoSemDataEmissaoException,
ModuloSistemaSemPosseDocumentoException,
java.rmi.RemoteException
- Throws:
br.gov.mj.corporativo.servicos.exceptions.ParametroInvalidoException
br.gov.mj.corporativo.servicos.exceptions.ErroInternoException
DocumentoNaoEncontradoException
UsuarioSemPosseDocumentoException
DocumentoAssociacaoMaisAntigoException
br.gov.mj.seguranca.exceptions.AcessoNegadoException
DocumentoAssociadoException
AssociacaoPecaJaCadastradaException
DocumentoSemDataEmissaoException
ModuloSistemaSemPosseDocumentoException
java.rmi.RemoteException
desapensarProcesso
HistoricoAssociacaoPeca desapensarProcesso(java.lang.Integer codigoDocumentoPai,
java.lang.Integer codigoDocumentoApenso,
br.gov.mj.seguranca.pojo.Sessao sessao)
throws br.gov.mj.corporativo.servicos.exceptions.ParametroInvalidoException,
br.gov.mj.corporativo.servicos.exceptions.ErroInternoException,
DocumentoNaoEncontradoException,
DocumentoNaoApensadoException,
UsuarioSemPosseDocumentoException,
br.gov.mj.seguranca.exceptions.AcessoNegadoException,
ModuloSistemaSemPosseDocumentoException,
DocumentoAssociadoException,
java.rmi.RemoteException
- Throws:
br.gov.mj.corporativo.servicos.exceptions.ParametroInvalidoException
br.gov.mj.corporativo.servicos.exceptions.ErroInternoException
DocumentoNaoEncontradoException
DocumentoNaoApensadoException
UsuarioSemPosseDocumentoException
br.gov.mj.seguranca.exceptions.AcessoNegadoException
ModuloSistemaSemPosseDocumentoException
DocumentoAssociadoException
java.rmi.RemoteException
desentranharPeca
HistoricoAssociacaoPeca desentranharPeca(java.lang.Integer codigoDocumentoPai,
java.lang.Integer codigoDocumentoDesentranhar,
br.gov.mj.seguranca.pojo.Sessao sessao)
throws br.gov.mj.corporativo.servicos.exceptions.ParametroInvalidoException,
br.gov.mj.corporativo.servicos.exceptions.ErroInternoException,
DocumentoNaoEncontradoException,
UsuarioSemPosseDocumentoException,
DocumentoNaoAnexadoException,
br.gov.mj.seguranca.exceptions.AcessoNegadoException,
ModuloSistemaSemPosseDocumentoException,
DocumentoAssociadoException,
java.rmi.RemoteException
- Throws:
br.gov.mj.corporativo.servicos.exceptions.ParametroInvalidoException
br.gov.mj.corporativo.servicos.exceptions.ErroInternoException
DocumentoNaoEncontradoException
UsuarioSemPosseDocumentoException
DocumentoNaoAnexadoException
br.gov.mj.seguranca.exceptions.AcessoNegadoException
ModuloSistemaSemPosseDocumentoException
DocumentoAssociadoException
java.rmi.RemoteException
desmembrarPecas
java.util.List desmembrarPecas(java.util.List codigoDocumentosDesmembrar,
java.util.List codigoVinculosDesmembrar,
br.gov.mj.seguranca.pojo.Sessao sessao)
throws br.gov.mj.corporativo.servicos.exceptions.ParametroInvalidoException,
br.gov.mj.corporativo.servicos.exceptions.ErroInternoException,
DocumentoNaoEncontradoException,
UsuarioSemPosseDocumentoException,
br.gov.mj.seguranca.exceptions.AcessoNegadoException,
DocumentoNaoAnexadoException,
DocumentoAssociadoException,
AssociacaoPecaJaCadastradaException,
DocumentoVinculoNaoEncontradoException,
DocumentoSemDataEmissaoException,
ModuloSistemaSemPosseDocumentoException,
AssociacaoPecaNaoEncontradaException,
java.rmi.RemoteException
- Throws:
br.gov.mj.corporativo.servicos.exceptions.ParametroInvalidoException
br.gov.mj.corporativo.servicos.exceptions.ErroInternoException
DocumentoNaoEncontradoException
UsuarioSemPosseDocumentoException
br.gov.mj.seguranca.exceptions.AcessoNegadoException
DocumentoNaoAnexadoException
DocumentoAssociadoException
AssociacaoPecaJaCadastradaException
DocumentoVinculoNaoEncontradoException
DocumentoSemDataEmissaoException
ModuloSistemaSemPosseDocumentoException
AssociacaoPecaNaoEncontradaException
java.rmi.RemoteException
apensarProcesso
AssociacaoPeca apensarProcesso(java.lang.Integer codigoDocumentoPai,
java.lang.Integer codigoDocumentoApenso,
br.gov.mj.seguranca.pojo.Sessao sessao)
throws br.gov.mj.corporativo.servicos.exceptions.ParametroInvalidoException,
br.gov.mj.corporativo.servicos.exceptions.ErroInternoException,
DocumentoNaoEncontradoException,
DocumentoNaoIndicaProcessoException,
UsuarioSemPosseDocumentoException,
DocumentoAssociacaoMaisAntigoException,
br.gov.mj.seguranca.exceptions.AcessoNegadoException,
DocumentoAssociadoException,
AssociacaoPecaJaCadastradaException,
DocumentoSemDataEmissaoException,
ModuloSistemaSemPosseDocumentoException,
java.rmi.RemoteException
- Throws:
br.gov.mj.corporativo.servicos.exceptions.ParametroInvalidoException
br.gov.mj.corporativo.servicos.exceptions.ErroInternoException
DocumentoNaoEncontradoException
DocumentoNaoIndicaProcessoException
UsuarioSemPosseDocumentoException
DocumentoAssociacaoMaisAntigoException
br.gov.mj.seguranca.exceptions.AcessoNegadoException
DocumentoAssociadoException
AssociacaoPecaJaCadastradaException
DocumentoSemDataEmissaoException
ModuloSistemaSemPosseDocumentoException
java.rmi.RemoteException
anexarProcesso
AssociacaoPeca anexarProcesso(java.lang.Integer codigoDocumentoPai,
java.lang.Integer codigoDocumentoAnexo,
br.gov.mj.seguranca.pojo.Sessao sessao)
throws br.gov.mj.corporativo.servicos.exceptions.ParametroInvalidoException,
br.gov.mj.corporativo.servicos.exceptions.ErroInternoException,
DocumentoNaoEncontradoException,
DocumentoNaoIndicaProcessoException,
UsuarioSemPosseDocumentoException,
DocumentoAssociacaoMaisAntigoException,
br.gov.mj.seguranca.exceptions.AcessoNegadoException,
DocumentoAssociadoException,
AssociacaoPecaJaCadastradaException,
DocumentoSemDataEmissaoException,
ModuloSistemaSemPosseDocumentoException,
java.rmi.RemoteException
- Throws:
br.gov.mj.corporativo.servicos.exceptions.ParametroInvalidoException
br.gov.mj.corporativo.servicos.exceptions.ErroInternoException
DocumentoNaoEncontradoException
DocumentoNaoIndicaProcessoException
UsuarioSemPosseDocumentoException
DocumentoAssociacaoMaisAntigoException
br.gov.mj.seguranca.exceptions.AcessoNegadoException
DocumentoAssociadoException
AssociacaoPecaJaCadastradaException
DocumentoSemDataEmissaoException
ModuloSistemaSemPosseDocumentoException
java.rmi.RemoteException
getAssociacaoPeca
AssociacaoPeca getAssociacaoPeca(java.lang.Integer codigoDocumento)
throws br.gov.mj.corporativo.servicos.exceptions.ParametroInvalidoException,
br.gov.mj.corporativo.servicos.exceptions.ErroInternoException,
AssociacaoPecaNaoEncontradaException,
java.rmi.RemoteException
- Throws:
br.gov.mj.corporativo.servicos.exceptions.ParametroInvalidoException
br.gov.mj.corporativo.servicos.exceptions.ErroInternoException
AssociacaoPecaNaoEncontradaException
java.rmi.RemoteException
getAssociacoesPeca
java.util.List getAssociacoesPeca(java.lang.Integer codigoDocumento)
throws br.gov.mj.corporativo.servicos.exceptions.ParametroInvalidoException,
br.gov.mj.corporativo.servicos.exceptions.ErroInternoException,
java.rmi.RemoteException
- Throws:
br.gov.mj.corporativo.servicos.exceptions.ParametroInvalidoException
br.gov.mj.corporativo.servicos.exceptions.ErroInternoException
java.rmi.RemoteException
getAssociacoesPeca
java.util.List getAssociacoesPeca(AssociacaoPeca associacaoPeca)
throws br.gov.mj.corporativo.servicos.exceptions.ParametroInvalidoException,
br.gov.mj.corporativo.servicos.exceptions.ErroInternoException,
java.rmi.RemoteException
- Throws:
br.gov.mj.corporativo.servicos.exceptions.ParametroInvalidoException
br.gov.mj.corporativo.servicos.exceptions.ErroInternoException
java.rmi.RemoteException
verificarDocumentoAssociado
java.lang.Boolean verificarDocumentoAssociado(java.lang.Integer codigoDocumento)
throws br.gov.mj.corporativo.servicos.exceptions.ParametroInvalidoException,
br.gov.mj.corporativo.servicos.exceptions.ErroInternoException,
java.rmi.RemoteException
- Throws:
br.gov.mj.corporativo.servicos.exceptions.ParametroInvalidoException
br.gov.mj.corporativo.servicos.exceptions.ErroInternoException
java.rmi.RemoteException
getHistoricoAssociacaoPeca
HistoricoAssociacaoPeca getHistoricoAssociacaoPeca(java.lang.Integer codigoHistoricoPeca)
throws br.gov.mj.corporativo.servicos.exceptions.ParametroInvalidoException,
br.gov.mj.corporativo.servicos.exceptions.ErroInternoException,
HistoricoPecaNaoEncontradoException,
java.rmi.RemoteException
- Throws:
br.gov.mj.corporativo.servicos.exceptions.ParametroInvalidoException
br.gov.mj.corporativo.servicos.exceptions.ErroInternoException
HistoricoPecaNaoEncontradoException
java.rmi.RemoteException
inserirDocumentoVinculo
DocumentoVinculo inserirDocumentoVinculo(DocumentoVinculo documentoVinculo,
br.gov.mj.seguranca.pojo.Sessao sessao)
throws br.gov.mj.corporativo.servicos.exceptions.ParametroInvalidoException,
br.gov.mj.corporativo.servicos.exceptions.ErroInternoException,
DocumentoVinculoJaCadastradoException,
UsuarioSemPosseDocumentoException,
br.gov.mj.seguranca.exceptions.AcessoNegadoException,
DocumentoNaoEncontradoException,
DocumentoAssociadoException,
java.rmi.RemoteException
- Throws:
br.gov.mj.corporativo.servicos.exceptions.ParametroInvalidoException
br.gov.mj.corporativo.servicos.exceptions.ErroInternoException
DocumentoVinculoJaCadastradoException
UsuarioSemPosseDocumentoException
br.gov.mj.seguranca.exceptions.AcessoNegadoException
DocumentoNaoEncontradoException
DocumentoAssociadoException
java.rmi.RemoteException
getDocumentosVinculos
java.util.List getDocumentosVinculos(java.lang.Integer codigoDocumento)
throws br.gov.mj.corporativo.servicos.exceptions.ParametroInvalidoException,
br.gov.mj.corporativo.servicos.exceptions.ErroInternoException,
java.rmi.RemoteException
- Throws:
br.gov.mj.corporativo.servicos.exceptions.ParametroInvalidoException
br.gov.mj.corporativo.servicos.exceptions.ErroInternoException
java.rmi.RemoteException
getDocumentosVinculos
java.util.List getDocumentosVinculos(DocumentoVinculo vinculo)
throws br.gov.mj.corporativo.servicos.exceptions.ParametroInvalidoException,
br.gov.mj.corporativo.servicos.exceptions.ErroInternoException,
java.rmi.RemoteException
- Throws:
br.gov.mj.corporativo.servicos.exceptions.ParametroInvalidoException
br.gov.mj.corporativo.servicos.exceptions.ErroInternoException
java.rmi.RemoteException
getDocumentoRaizPorDocumentoAssociado
Documento getDocumentoRaizPorDocumentoAssociado(java.lang.Integer codigoDocumentoAssociacaoPeca)
throws br.gov.mj.corporativo.servicos.exceptions.ParametroInvalidoException,
br.gov.mj.corporativo.servicos.exceptions.ErroInternoException,
DocumentoNaoEncontradoException,
java.rmi.RemoteException
- Throws:
br.gov.mj.corporativo.servicos.exceptions.ParametroInvalidoException
br.gov.mj.corporativo.servicos.exceptions.ErroInternoException
DocumentoNaoEncontradoException
java.rmi.RemoteException
getDocumentoRaizPorVinculo
Documento getDocumentoRaizPorVinculo(DocumentoVinculo documentoVinculo)
throws br.gov.mj.corporativo.servicos.exceptions.ParametroInvalidoException,
br.gov.mj.corporativo.servicos.exceptions.ErroInternoException,
DocumentoNaoEncontradoException,
java.rmi.RemoteException
- Throws:
br.gov.mj.corporativo.servicos.exceptions.ParametroInvalidoException
br.gov.mj.corporativo.servicos.exceptions.ErroInternoException
DocumentoNaoEncontradoException
java.rmi.RemoteException
getDesvinculacoesPorDocumento
java.util.List getDesvinculacoesPorDocumento(java.lang.Integer codigoDocumento)
throws br.gov.mj.corporativo.servicos.exceptions.ParametroInvalidoException,
br.gov.mj.corporativo.servicos.exceptions.ErroInternoException,
java.rmi.RemoteException
- Throws:
br.gov.mj.corporativo.servicos.exceptions.ParametroInvalidoException
br.gov.mj.corporativo.servicos.exceptions.ErroInternoException
java.rmi.RemoteException
getDesassociacoesPorDocumento
java.util.List getDesassociacoesPorDocumento(java.lang.Integer codigoDocumento)
throws br.gov.mj.corporativo.servicos.exceptions.ParametroInvalidoException,
br.gov.mj.corporativo.servicos.exceptions.ErroInternoException,
java.rmi.RemoteException
- Throws:
br.gov.mj.corporativo.servicos.exceptions.ParametroInvalidoException
br.gov.mj.corporativo.servicos.exceptions.ErroInternoException
java.rmi.RemoteException
getDocumentosPossiveisAssociacoes
java.util.List getDocumentosPossiveisAssociacoes(java.lang.Integer codigoDocumentoPrincipal,
ProcessoUtil.TipoAssociacao tipoAssociacao,
br.gov.mj.seguranca.pojo.Sessao sessao)
throws br.gov.mj.corporativo.servicos.exceptions.ErroInternoException,
br.gov.mj.corporativo.servicos.exceptions.ParametroInvalidoException,
java.rmi.RemoteException
- Throws:
br.gov.mj.corporativo.servicos.exceptions.ErroInternoException
br.gov.mj.corporativo.servicos.exceptions.ParametroInvalidoException
java.rmi.RemoteException
getArvoreAssociacoesPorDocumento
DocumentoNo getArvoreAssociacoesPorDocumento(java.lang.Integer codigoDocumento)
throws br.gov.mj.corporativo.servicos.exceptions.ErroInternoException,
DocumentoNaoEncontradoException,
br.gov.mj.corporativo.servicos.exceptions.ParametroInvalidoException,
java.rmi.RemoteException
- Throws:
br.gov.mj.corporativo.servicos.exceptions.ErroInternoException
DocumentoNaoEncontradoException
br.gov.mj.corporativo.servicos.exceptions.ParametroInvalidoException
java.rmi.RemoteException
getArvoreDesmembramentoPorDocumentos
java.util.List getArvoreDesmembramentoPorDocumentos(java.lang.Integer[] codigosDocumentos)
throws br.gov.mj.corporativo.servicos.exceptions.ErroInternoException,
DocumentoNaoEncontradoException,
DocumentoNaoIndicaProcessoException,
br.gov.mj.corporativo.servicos.exceptions.ParametroInvalidoException,
java.rmi.RemoteException
- Throws:
br.gov.mj.corporativo.servicos.exceptions.ErroInternoException
DocumentoNaoEncontradoException
DocumentoNaoIndicaProcessoException
br.gov.mj.corporativo.servicos.exceptions.ParametroInvalidoException
java.rmi.RemoteException
getDocumentoVinculo
DocumentoVinculo getDocumentoVinculo(DocumentoVinculoPK documentoVinculoPK)
throws br.gov.mj.corporativo.servicos.exceptions.ParametroInvalidoException,
br.gov.mj.corporativo.servicos.exceptions.ErroInternoException,
java.rmi.RemoteException
- Retorna o DocumentoVinculo da chave associada
- Parameters:
documentoVinculoPK
- chave do documentoVinculo
- Returns:
- DocumentoVinculo DocumentoVinculo
- Throws:
ErroInternoException
ParametroInvalidoException
java.rmi.RemoteException