/** * Copyright (c) 2009-2014 Câmara dos Deputados. Todos os direitos reservados. * * e-Democracia é um software livre; você pode redistribuí-lo e/ou modificá-lo dentro * dos termos da Licença Pública Geral Menor GNU como publicada pela Fundação do * Software Livre (FSF); na versão 2.1 da Licença, ou (na sua opinião) qualquer versão. * * Este programa é distribuído na esperança de que possa ser útil, mas SEM NENHUMA GARANTIA; * sem uma garantia implícita de ADEQUAÇÃO a qualquer MERCADO ou APLICAÇÃO EM PARTICULAR. * Veja a Licença Pública Geral Menor GNU para maiores detalhes. */ package br.gov.camara.edemocracia.portlets.wikilegis.service; import com.liferay.portal.service.InvokableService; public class WikiLegisServiceClp implements WikiLegisService { private InvokableService _invokableService; private String _methodName0; private String[] _methodParameterTypes0; private String _methodName1; private String[] _methodParameterTypes1; private String _methodName3; private String[] _methodParameterTypes3; private String _methodName4; private String[] _methodParameterTypes4; private String _methodName5; private String[] _methodParameterTypes5; private String _methodName6; private String[] _methodParameterTypes6; private String _methodName7; private String[] _methodParameterTypes7; private String _methodName8; private String[] _methodParameterTypes8; private String _methodName9; private String[] _methodParameterTypes9; private String _methodName10; private String[] _methodParameterTypes10; private String _methodName11; private String[] _methodParameterTypes11; private String _methodName12; private String[] _methodParameterTypes12; private String _methodName13; private String[] _methodParameterTypes13; private String _methodName14; private String[] _methodParameterTypes14; private String _methodName15; private String[] _methodParameterTypes15; private String _methodName16; private String[] _methodParameterTypes16; private String _methodName17; private String[] _methodParameterTypes17; private String _methodName18; private String[] _methodParameterTypes18; private String _methodName19; private String[] _methodParameterTypes19; private String _methodName20; private String[] _methodParameterTypes20; private String _methodName21; private String[] _methodParameterTypes21; private String _methodName22; private String[] _methodParameterTypes22; private String _methodName23; private String[] _methodParameterTypes23; public WikiLegisServiceClp(InvokableService invokableService) { _invokableService = invokableService; _methodName0 = "getBeanIdentifier"; _methodParameterTypes0 = new String[] { }; _methodName1 = "setBeanIdentifier"; _methodParameterTypes1 = new String[] { "java.lang.String" }; _methodName3 = "getArtigoDisplay"; _methodParameterTypes3 = new String[] { "long" }; _methodName4 = "listaElementos"; _methodParameterTypes4 = new String[] { "long" }; _methodName5 = "listaEstrutura"; _methodParameterTypes5 = new String[] { "long" }; _methodName6 = "editaArtigo"; _methodParameterTypes6 = new String[] { "long", "long", "long", "java.lang.String", "java.lang.String" }; _methodName7 = "excluiArtigo"; _methodParameterTypes7 = new String[] { "long" }; _methodName8 = "criaArtigo"; _methodParameterTypes8 = new String[] { "long", "long", "long", "java.lang.String", "java.lang.String" }; _methodName9 = "listaContribuicoes"; _methodParameterTypes9 = new String[] { "long" }; _methodName10 = "adicionaContribuicao"; _methodParameterTypes10 = new String[] { "long", "java.lang.String", "java.lang.String" }; _methodName11 = "removeContribuicao"; _methodParameterTypes11 = new String[] { "long" }; _methodName12 = "listaEstruturaFilhos"; _methodParameterTypes12 = new String[] { "long", "long" }; _methodName13 = "listaArtigos"; _methodParameterTypes13 = new String[] { "long", "long" }; _methodName14 = "criaEstrutura"; _methodParameterTypes14 = new String[] { "long", "long", "long", "java.lang.String" }; _methodName15 = "getEstrutura"; _methodParameterTypes15 = new String[] { "long" }; _methodName16 = "getArtigo"; _methodParameterTypes16 = new String[] { "long" }; _methodName17 = "atualizaEstrutura"; _methodParameterTypes17 = new String[] { "long", "long", "long", "long", "java.lang.String" }; _methodName18 = "postaComentario"; _methodParameterTypes18 = new String[] { "long", "long", "java.lang.String" }; _methodName19 = "excluiComentario"; _methodParameterTypes19 = new String[] { "long", "long" }; _methodName20 = "atualizaComentario"; _methodParameterTypes20 = new String[] { "java.lang.String", "long", "long", "long" }; _methodName21 = "atualizaContribuicao"; _methodParameterTypes21 = new String[] { "long", "java.lang.String", "java.lang.String" }; _methodName22 = "exportaContribuicoes"; _methodParameterTypes22 = new String[] { "long" }; _methodName23 = "exportaComentarios"; _methodParameterTypes23 = new String[] { "long" }; } public java.lang.String getBeanIdentifier() { Object returnObj = null; try { returnObj = _invokableService.invokeMethod(_methodName0, _methodParameterTypes0, new Object[] { }); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); if (t instanceof RuntimeException) { throw (RuntimeException) t; } else { throw new RuntimeException(t.getClass().getName() + " is not a valid exception"); } } return (java.lang.String) ClpSerializer.translateOutput(returnObj); } public void setBeanIdentifier(java.lang.String beanIdentifier) { try { _invokableService.invokeMethod(_methodName1, _methodParameterTypes1, new Object[] { ClpSerializer.translateInput(beanIdentifier) }); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); if (t instanceof RuntimeException) { throw (RuntimeException) t; } else { throw new RuntimeException(t.getClass().getName() + " is not a valid exception"); } } } public java.lang.Object invokeMethod(java.lang.String name, java.lang.String[] parameterTypes, java.lang.Object[] arguments) throws java.lang.Throwable { throw new UnsupportedOperationException(); } public br.gov.camara.edemocracia.portlets.wikilegis.ArtigoDisplay getArtigoDisplay( long artigoId) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { Object returnObj = null; try { returnObj = _invokableService.invokeMethod(_methodName3, _methodParameterTypes3, new Object[] { artigoId }); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); if (t instanceof com.liferay.portal.kernel.exception.PortalException) { throw (com.liferay.portal.kernel.exception.PortalException) t; } if (t instanceof com.liferay.portal.kernel.exception.SystemException) { throw (com.liferay.portal.kernel.exception.SystemException) t; } if (t instanceof RuntimeException) { throw (RuntimeException) t; } else { throw new RuntimeException(t.getClass().getName() + " is not a valid exception"); } } return (br.gov.camara.edemocracia.portlets.wikilegis.ArtigoDisplay) ClpSerializer.translateOutput(returnObj); } public java.util.Collection<br.gov.camara.edemocracia.portlets.wikilegis.ElementoDisplay> listaElementos( long groupId) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { Object returnObj = null; try { returnObj = _invokableService.invokeMethod(_methodName4, _methodParameterTypes4, new Object[] { groupId }); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); if (t instanceof com.liferay.portal.kernel.exception.PortalException) { throw (com.liferay.portal.kernel.exception.PortalException) t; } if (t instanceof com.liferay.portal.kernel.exception.SystemException) { throw (com.liferay.portal.kernel.exception.SystemException) t; } if (t instanceof RuntimeException) { throw (RuntimeException) t; } else { throw new RuntimeException(t.getClass().getName() + " is not a valid exception"); } } return (java.util.Collection<br.gov.camara.edemocracia.portlets.wikilegis.ElementoDisplay>) ClpSerializer.translateOutput(returnObj); } public java.util.List<br.gov.camara.edemocracia.portlets.wikilegis.EstruturaDisplay> listaEstrutura( long groupId) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { Object returnObj = null; try { returnObj = _invokableService.invokeMethod(_methodName5, _methodParameterTypes5, new Object[] { groupId }); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); if (t instanceof com.liferay.portal.kernel.exception.PortalException) { throw (com.liferay.portal.kernel.exception.PortalException) t; } if (t instanceof com.liferay.portal.kernel.exception.SystemException) { throw (com.liferay.portal.kernel.exception.SystemException) t; } if (t instanceof RuntimeException) { throw (RuntimeException) t; } else { throw new RuntimeException(t.getClass().getName() + " is not a valid exception"); } } return (java.util.List<br.gov.camara.edemocracia.portlets.wikilegis.EstruturaDisplay>) ClpSerializer.translateOutput(returnObj); } public void editaArtigo(long artigoId, long estruturaId, long anteriorArtigoId, java.lang.String textoArtigo, java.lang.String legislacaoVigente) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { try { _invokableService.invokeMethod(_methodName6, _methodParameterTypes6, new Object[] { artigoId, estruturaId, anteriorArtigoId, ClpSerializer.translateInput(textoArtigo), ClpSerializer.translateInput(legislacaoVigente) }); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); if (t instanceof com.liferay.portal.kernel.exception.PortalException) { throw (com.liferay.portal.kernel.exception.PortalException) t; } if (t instanceof com.liferay.portal.kernel.exception.SystemException) { throw (com.liferay.portal.kernel.exception.SystemException) t; } if (t instanceof RuntimeException) { throw (RuntimeException) t; } else { throw new RuntimeException(t.getClass().getName() + " is not a valid exception"); } } } public void excluiArtigo(long artigoId) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { try { _invokableService.invokeMethod(_methodName7, _methodParameterTypes7, new Object[] { artigoId }); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); if (t instanceof com.liferay.portal.kernel.exception.PortalException) { throw (com.liferay.portal.kernel.exception.PortalException) t; } if (t instanceof com.liferay.portal.kernel.exception.SystemException) { throw (com.liferay.portal.kernel.exception.SystemException) t; } if (t instanceof RuntimeException) { throw (RuntimeException) t; } else { throw new RuntimeException(t.getClass().getName() + " is not a valid exception"); } } } public br.gov.camara.edemocracia.portlets.wikilegis.model.Artigo criaArtigo( long groupId, long noId, long anteriorArtigoId, java.lang.String textoArtigo, java.lang.String legislacaoVigente) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { Object returnObj = null; try { returnObj = _invokableService.invokeMethod(_methodName8, _methodParameterTypes8, new Object[] { groupId, noId, anteriorArtigoId, ClpSerializer.translateInput(textoArtigo), ClpSerializer.translateInput(legislacaoVigente) }); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); if (t instanceof com.liferay.portal.kernel.exception.PortalException) { throw (com.liferay.portal.kernel.exception.PortalException) t; } if (t instanceof com.liferay.portal.kernel.exception.SystemException) { throw (com.liferay.portal.kernel.exception.SystemException) t; } if (t instanceof RuntimeException) { throw (RuntimeException) t; } else { throw new RuntimeException(t.getClass().getName() + " is not a valid exception"); } } return (br.gov.camara.edemocracia.portlets.wikilegis.model.Artigo) ClpSerializer.translateOutput(returnObj); } public java.util.List<br.gov.camara.edemocracia.portlets.wikilegis.model.Contribuicao> listaContribuicoes( long artigoId) throws com.liferay.portal.kernel.exception.SystemException { Object returnObj = null; try { returnObj = _invokableService.invokeMethod(_methodName9, _methodParameterTypes9, new Object[] { artigoId }); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); if (t instanceof com.liferay.portal.kernel.exception.SystemException) { throw (com.liferay.portal.kernel.exception.SystemException) t; } if (t instanceof RuntimeException) { throw (RuntimeException) t; } else { throw new RuntimeException(t.getClass().getName() + " is not a valid exception"); } } return (java.util.List<br.gov.camara.edemocracia.portlets.wikilegis.model.Contribuicao>) ClpSerializer.translateOutput(returnObj); } public void adicionaContribuicao(long artigoId, java.lang.String textoArtigo, java.lang.String descricao) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { try { _invokableService.invokeMethod(_methodName10, _methodParameterTypes10, new Object[] { artigoId, ClpSerializer.translateInput(textoArtigo), ClpSerializer.translateInput(descricao) }); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); if (t instanceof com.liferay.portal.kernel.exception.PortalException) { throw (com.liferay.portal.kernel.exception.PortalException) t; } if (t instanceof com.liferay.portal.kernel.exception.SystemException) { throw (com.liferay.portal.kernel.exception.SystemException) t; } if (t instanceof RuntimeException) { throw (RuntimeException) t; } else { throw new RuntimeException(t.getClass().getName() + " is not a valid exception"); } } } public void removeContribuicao(long contribuicaoId) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { try { _invokableService.invokeMethod(_methodName11, _methodParameterTypes11, new Object[] { contribuicaoId }); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); if (t instanceof com.liferay.portal.kernel.exception.PortalException) { throw (com.liferay.portal.kernel.exception.PortalException) t; } if (t instanceof com.liferay.portal.kernel.exception.SystemException) { throw (com.liferay.portal.kernel.exception.SystemException) t; } if (t instanceof RuntimeException) { throw (RuntimeException) t; } else { throw new RuntimeException(t.getClass().getName() + " is not a valid exception"); } } } public java.util.List<br.gov.camara.edemocracia.portlets.wikilegis.model.Estrutura> listaEstruturaFilhos( long groupId, long paiEstruturaId) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { Object returnObj = null; try { returnObj = _invokableService.invokeMethod(_methodName12, _methodParameterTypes12, new Object[] { groupId, paiEstruturaId }); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); if (t instanceof com.liferay.portal.kernel.exception.PortalException) { throw (com.liferay.portal.kernel.exception.PortalException) t; } if (t instanceof com.liferay.portal.kernel.exception.SystemException) { throw (com.liferay.portal.kernel.exception.SystemException) t; } if (t instanceof RuntimeException) { throw (RuntimeException) t; } else { throw new RuntimeException(t.getClass().getName() + " is not a valid exception"); } } return (java.util.List<br.gov.camara.edemocracia.portlets.wikilegis.model.Estrutura>) ClpSerializer.translateOutput(returnObj); } public java.util.List<br.gov.camara.edemocracia.portlets.wikilegis.model.Artigo> listaArtigos( long groupId, long paiEstruturaId) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { Object returnObj = null; try { returnObj = _invokableService.invokeMethod(_methodName13, _methodParameterTypes13, new Object[] { groupId, paiEstruturaId }); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); if (t instanceof com.liferay.portal.kernel.exception.PortalException) { throw (com.liferay.portal.kernel.exception.PortalException) t; } if (t instanceof com.liferay.portal.kernel.exception.SystemException) { throw (com.liferay.portal.kernel.exception.SystemException) t; } if (t instanceof RuntimeException) { throw (RuntimeException) t; } else { throw new RuntimeException(t.getClass().getName() + " is not a valid exception"); } } return (java.util.List<br.gov.camara.edemocracia.portlets.wikilegis.model.Artigo>) ClpSerializer.translateOutput(returnObj); } public br.gov.camara.edemocracia.portlets.wikilegis.model.Estrutura criaEstrutura( long groupId, long paiId, long antesDeId, java.lang.String nome) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { Object returnObj = null; try { returnObj = _invokableService.invokeMethod(_methodName14, _methodParameterTypes14, new Object[] { groupId, paiId, antesDeId, ClpSerializer.translateInput(nome) }); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); if (t instanceof com.liferay.portal.kernel.exception.PortalException) { throw (com.liferay.portal.kernel.exception.PortalException) t; } if (t instanceof com.liferay.portal.kernel.exception.SystemException) { throw (com.liferay.portal.kernel.exception.SystemException) t; } if (t instanceof RuntimeException) { throw (RuntimeException) t; } else { throw new RuntimeException(t.getClass().getName() + " is not a valid exception"); } } return (br.gov.camara.edemocracia.portlets.wikilegis.model.Estrutura) ClpSerializer.translateOutput(returnObj); } public br.gov.camara.edemocracia.portlets.wikilegis.model.Estrutura getEstrutura( long estruturaId) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { Object returnObj = null; try { returnObj = _invokableService.invokeMethod(_methodName15, _methodParameterTypes15, new Object[] { estruturaId }); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); if (t instanceof com.liferay.portal.kernel.exception.PortalException) { throw (com.liferay.portal.kernel.exception.PortalException) t; } if (t instanceof com.liferay.portal.kernel.exception.SystemException) { throw (com.liferay.portal.kernel.exception.SystemException) t; } if (t instanceof RuntimeException) { throw (RuntimeException) t; } else { throw new RuntimeException(t.getClass().getName() + " is not a valid exception"); } } return (br.gov.camara.edemocracia.portlets.wikilegis.model.Estrutura) ClpSerializer.translateOutput(returnObj); } public br.gov.camara.edemocracia.portlets.wikilegis.model.Artigo getArtigo( long artigoId) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { Object returnObj = null; try { returnObj = _invokableService.invokeMethod(_methodName16, _methodParameterTypes16, new Object[] { artigoId }); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); if (t instanceof com.liferay.portal.kernel.exception.PortalException) { throw (com.liferay.portal.kernel.exception.PortalException) t; } if (t instanceof com.liferay.portal.kernel.exception.SystemException) { throw (com.liferay.portal.kernel.exception.SystemException) t; } if (t instanceof RuntimeException) { throw (RuntimeException) t; } else { throw new RuntimeException(t.getClass().getName() + " is not a valid exception"); } } return (br.gov.camara.edemocracia.portlets.wikilegis.model.Artigo) ClpSerializer.translateOutput(returnObj); } public br.gov.camara.edemocracia.portlets.wikilegis.model.Estrutura atualizaEstrutura( long estruturaId, long groupId, long estruturaPaiId, long depoisDeEstruturaId, java.lang.String texto) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { Object returnObj = null; try { returnObj = _invokableService.invokeMethod(_methodName17, _methodParameterTypes17, new Object[] { estruturaId, groupId, estruturaPaiId, depoisDeEstruturaId, ClpSerializer.translateInput(texto) }); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); if (t instanceof com.liferay.portal.kernel.exception.PortalException) { throw (com.liferay.portal.kernel.exception.PortalException) t; } if (t instanceof com.liferay.portal.kernel.exception.SystemException) { throw (com.liferay.portal.kernel.exception.SystemException) t; } if (t instanceof RuntimeException) { throw (RuntimeException) t; } else { throw new RuntimeException(t.getClass().getName() + " is not a valid exception"); } } return (br.gov.camara.edemocracia.portlets.wikilegis.model.Estrutura) ClpSerializer.translateOutput(returnObj); } public void postaComentario(long artigoId, long comentarioPaiId, java.lang.String texto) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { try { _invokableService.invokeMethod(_methodName18, _methodParameterTypes18, new Object[] { artigoId, comentarioPaiId, ClpSerializer.translateInput(texto) }); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); if (t instanceof com.liferay.portal.kernel.exception.PortalException) { throw (com.liferay.portal.kernel.exception.PortalException) t; } if (t instanceof com.liferay.portal.kernel.exception.SystemException) { throw (com.liferay.portal.kernel.exception.SystemException) t; } if (t instanceof RuntimeException) { throw (RuntimeException) t; } else { throw new RuntimeException(t.getClass().getName() + " is not a valid exception"); } } } public void excluiComentario(long artigoId, long messageId) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { try { _invokableService.invokeMethod(_methodName19, _methodParameterTypes19, new Object[] { artigoId, messageId }); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); if (t instanceof com.liferay.portal.kernel.exception.PortalException) { throw (com.liferay.portal.kernel.exception.PortalException) t; } if (t instanceof com.liferay.portal.kernel.exception.SystemException) { throw (com.liferay.portal.kernel.exception.SystemException) t; } if (t instanceof RuntimeException) { throw (RuntimeException) t; } else { throw new RuntimeException(t.getClass().getName() + " is not a valid exception"); } } } public com.liferay.portlet.messageboards.model.MBMessage atualizaComentario( java.lang.String body, long artigoId, long messageId, long userId) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { Object returnObj = null; try { returnObj = _invokableService.invokeMethod(_methodName20, _methodParameterTypes20, new Object[] { ClpSerializer.translateInput(body), artigoId, messageId, userId }); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); if (t instanceof com.liferay.portal.kernel.exception.PortalException) { throw (com.liferay.portal.kernel.exception.PortalException) t; } if (t instanceof com.liferay.portal.kernel.exception.SystemException) { throw (com.liferay.portal.kernel.exception.SystemException) t; } if (t instanceof RuntimeException) { throw (RuntimeException) t; } else { throw new RuntimeException(t.getClass().getName() + " is not a valid exception"); } } return (com.liferay.portlet.messageboards.model.MBMessage) ClpSerializer.translateOutput(returnObj); } public br.gov.camara.edemocracia.portlets.wikilegis.model.Contribuicao atualizaContribuicao( long contribuicaoId, java.lang.String textoArtigo, java.lang.String descricao) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { Object returnObj = null; try { returnObj = _invokableService.invokeMethod(_methodName21, _methodParameterTypes21, new Object[] { contribuicaoId, ClpSerializer.translateInput(textoArtigo), ClpSerializer.translateInput(descricao) }); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); if (t instanceof com.liferay.portal.kernel.exception.PortalException) { throw (com.liferay.portal.kernel.exception.PortalException) t; } if (t instanceof com.liferay.portal.kernel.exception.SystemException) { throw (com.liferay.portal.kernel.exception.SystemException) t; } if (t instanceof RuntimeException) { throw (RuntimeException) t; } else { throw new RuntimeException(t.getClass().getName() + " is not a valid exception"); } } return (br.gov.camara.edemocracia.portlets.wikilegis.model.Contribuicao) ClpSerializer.translateOutput(returnObj); } public java.util.List<br.gov.camara.edemocracia.portlets.wikilegis.exporter.wrapper.ContribuicaoWrapper> exportaContribuicoes( long groupId) throws com.liferay.portal.kernel.exception.SystemException { Object returnObj = null; try { returnObj = _invokableService.invokeMethod(_methodName22, _methodParameterTypes22, new Object[] { groupId }); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); if (t instanceof com.liferay.portal.kernel.exception.SystemException) { throw (com.liferay.portal.kernel.exception.SystemException) t; } if (t instanceof RuntimeException) { throw (RuntimeException) t; } else { throw new RuntimeException(t.getClass().getName() + " is not a valid exception"); } } return (java.util.List<br.gov.camara.edemocracia.portlets.wikilegis.exporter.wrapper.ContribuicaoWrapper>) ClpSerializer.translateOutput(returnObj); } public java.util.List<br.gov.camara.edemocracia.portlets.wikilegis.exporter.wrapper.ComentarioWrapper> exportaComentarios( long groupId) throws com.liferay.portal.kernel.exception.SystemException { Object returnObj = null; try { returnObj = _invokableService.invokeMethod(_methodName23, _methodParameterTypes23, new Object[] { groupId }); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); if (t instanceof com.liferay.portal.kernel.exception.SystemException) { throw (com.liferay.portal.kernel.exception.SystemException) t; } if (t instanceof RuntimeException) { throw (RuntimeException) t; } else { throw new RuntimeException(t.getClass().getName() + " is not a valid exception"); } } return (java.util.List<br.gov.camara.edemocracia.portlets.wikilegis.exporter.wrapper.ComentarioWrapper>) ClpSerializer.translateOutput(returnObj); } }