/** * 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.priorizacao.service; import com.liferay.portal.service.InvokableService; public class PriorizacaoServiceClp implements PriorizacaoService { 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; private String _methodName24; private String[] _methodParameterTypes24; private String _methodName25; private String[] _methodParameterTypes25; private String _methodName26; private String[] _methodParameterTypes26; public PriorizacaoServiceClp(InvokableService invokableService) { _invokableService = invokableService; _methodName0 = "getBeanIdentifier"; _methodParameterTypes0 = new String[] { }; _methodName1 = "setBeanIdentifier"; _methodParameterTypes1 = new String[] { "java.lang.String" }; _methodName3 = "getEixo"; _methodParameterTypes3 = new String[] { "long" }; _methodName4 = "listarEixos"; _methodParameterTypes4 = new String[] { "long" }; _methodName5 = "listarPropostaDisplay"; _methodParameterTypes5 = new String[] { "long" }; _methodName6 = "addEixo"; _methodParameterTypes6 = new String[] { "long", "long", "java.lang.String", "java.lang.String", "long" }; _methodName7 = "updateEixo"; _methodParameterTypes7 = new String[] { "long", "java.lang.String", "java.lang.String", "long", "long" }; _methodName8 = "deleteEixo"; _methodParameterTypes8 = new String[] { "long" }; _methodName9 = "getProposta"; _methodParameterTypes9 = new String[] { "long" }; _methodName10 = "listarPropostasPorEixoId"; _methodParameterTypes10 = new String[] { "long" }; _methodName11 = "deleteProposta"; _methodParameterTypes11 = new String[] { "long" }; _methodName12 = "updateProposta"; _methodParameterTypes12 = new String[] { "long", "long", "java.lang.String", "java.lang.String", "long", "java.lang.String" }; _methodName13 = "addProposta"; _methodParameterTypes13 = new String[] { "long", "long", "java.lang.String", "java.lang.String", "long", "java.lang.String" }; _methodName14 = "addVoto"; _methodParameterTypes14 = new String[] { "long" }; _methodName15 = "deleteVoto"; _methodParameterTypes15 = new String[] { "long" }; _methodName16 = "getMBCategory"; _methodParameterTypes16 = new String[] { "long" }; _methodName17 = "listarCategorias"; _methodParameterTypes17 = new String[] { "long", "long" }; _methodName18 = "listarTopicosPorCategoryId"; _methodParameterTypes18 = new String[] { "long", "long" }; _methodName19 = "getSumarioPriorizacao"; _methodParameterTypes19 = new String[] { "long", "br.gov.camara.edemocracia.portlets.priorizacao.OrdemProposta[][]" }; _methodName20 = "getPropostaDisplay"; _methodParameterTypes20 = new String[] { "long" }; _methodName21 = "getVotosUsuario"; _methodParameterTypes21 = new String[] { "long" }; _methodName22 = "getConfiguracaoPorGrupo"; _methodParameterTypes22 = new String[] { "long" }; _methodName23 = "updateConfiguracao"; _methodParameterTypes23 = new String[] { "long", "int", "int", "boolean" }; _methodName24 = "getEixosCountByGroupId"; _methodParameterTypes24 = new String[] { "long" }; _methodName25 = "getPropostasCountByEixoId"; _methodParameterTypes25 = new String[] { "long" }; _methodName26 = "getVotosPorPropostaId"; _methodParameterTypes26 = 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.priorizacao.model.Eixo getEixo( long eixoId) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { Object returnObj = null; try { returnObj = _invokableService.invokeMethod(_methodName3, _methodParameterTypes3, new Object[] { eixoId }); } 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.priorizacao.model.Eixo) ClpSerializer.translateOutput(returnObj); } public java.util.List<br.gov.camara.edemocracia.portlets.priorizacao.model.Eixo> listarEixos( long groupId) throws 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.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.priorizacao.model.Eixo>) ClpSerializer.translateOutput(returnObj); } public java.util.List<br.gov.camara.edemocracia.portlets.priorizacao.PropostaDisplay> listarPropostaDisplay( long eixoId) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { Object returnObj = null; try { returnObj = _invokableService.invokeMethod(_methodName5, _methodParameterTypes5, new Object[] { eixoId }); } 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.priorizacao.PropostaDisplay>) ClpSerializer.translateOutput(returnObj); } public br.gov.camara.edemocracia.portlets.priorizacao.model.Eixo addEixo( long groupId, long categoryId, java.lang.String sumario, java.lang.String titulo, long eixoAnteriorId) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { Object returnObj = null; try { returnObj = _invokableService.invokeMethod(_methodName6, _methodParameterTypes6, new Object[] { groupId, categoryId, ClpSerializer.translateInput(sumario), ClpSerializer.translateInput(titulo), eixoAnteriorId }); } 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.priorizacao.model.Eixo) ClpSerializer.translateOutput(returnObj); } public br.gov.camara.edemocracia.portlets.priorizacao.model.Eixo updateEixo( long eixoId, java.lang.String sumario, java.lang.String titulo, long eixoAnteriorId, long categoryId) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { Object returnObj = null; try { returnObj = _invokableService.invokeMethod(_methodName7, _methodParameterTypes7, new Object[] { eixoId, ClpSerializer.translateInput(sumario), ClpSerializer.translateInput(titulo), eixoAnteriorId, categoryId }); } 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.priorizacao.model.Eixo) ClpSerializer.translateOutput(returnObj); } public void deleteEixo(long eixoId) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { try { _invokableService.invokeMethod(_methodName8, _methodParameterTypes8, new Object[] { eixoId }); } 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.priorizacao.model.Proposta getProposta( long propostaId) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { Object returnObj = null; try { returnObj = _invokableService.invokeMethod(_methodName9, _methodParameterTypes9, new Object[] { propostaId }); } 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.priorizacao.model.Proposta) ClpSerializer.translateOutput(returnObj); } public java.util.List<br.gov.camara.edemocracia.portlets.priorizacao.model.Proposta> listarPropostasPorEixoId( long eixoId) throws com.liferay.portal.kernel.exception.SystemException { Object returnObj = null; try { returnObj = _invokableService.invokeMethod(_methodName10, _methodParameterTypes10, new Object[] { eixoId }); } 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.priorizacao.model.Proposta>) ClpSerializer.translateOutput(returnObj); } public void deleteProposta(long propostaId) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { try { _invokableService.invokeMethod(_methodName11, _methodParameterTypes11, new Object[] { propostaId }); } 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.priorizacao.model.Proposta updateProposta( long propostaId, long eixoId, java.lang.String ementa, java.lang.String texto, long threadId, java.lang.String identificador) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { Object returnObj = null; try { returnObj = _invokableService.invokeMethod(_methodName12, _methodParameterTypes12, new Object[] { propostaId, eixoId, ClpSerializer.translateInput(ementa), ClpSerializer.translateInput(texto), threadId, ClpSerializer.translateInput(identificador) }); } 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.priorizacao.model.Proposta) ClpSerializer.translateOutput(returnObj); } public br.gov.camara.edemocracia.portlets.priorizacao.model.Proposta addProposta( long groupId, long eixoId, java.lang.String ementa, java.lang.String texto, long threadId, java.lang.String identificador) 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, eixoId, ClpSerializer.translateInput(ementa), ClpSerializer.translateInput(texto), threadId, ClpSerializer.translateInput(identificador) }); } 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.priorizacao.model.Proposta) ClpSerializer.translateOutput(returnObj); } public void addVoto(long propostaId) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { try { _invokableService.invokeMethod(_methodName14, _methodParameterTypes14, new Object[] { propostaId }); } 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 deleteVoto(long propostaId) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { try { _invokableService.invokeMethod(_methodName15, _methodParameterTypes15, new Object[] { propostaId }); } 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.MBCategory getMBCategory( long categoryId) { Object returnObj = null; try { returnObj = _invokableService.invokeMethod(_methodName16, _methodParameterTypes16, new Object[] { categoryId }); } 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 (com.liferay.portlet.messageboards.model.MBCategory) ClpSerializer.translateOutput(returnObj); } public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> listarCategorias( long groupId, long parentCategoryId) throws com.liferay.portal.kernel.exception.SystemException { Object returnObj = null; try { returnObj = _invokableService.invokeMethod(_methodName17, _methodParameterTypes17, new Object[] { groupId, parentCategoryId }); } 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<com.liferay.portlet.messageboards.model.MBCategory>) ClpSerializer.translateOutput(returnObj); } public java.util.List<com.liferay.portlet.messageboards.model.MBThread> listarTopicosPorCategoryId( long groupId, long categoryId) throws com.liferay.portal.kernel.exception.SystemException { Object returnObj = null; try { returnObj = _invokableService.invokeMethod(_methodName18, _methodParameterTypes18, new Object[] { groupId, categoryId }); } 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<com.liferay.portlet.messageboards.model.MBThread>) ClpSerializer.translateOutput(returnObj); } public br.gov.camara.edemocracia.portlets.priorizacao.PriorizacaoSumario getSumarioPriorizacao( long groupId, br.gov.camara.edemocracia.portlets.priorizacao.OrdemProposta[] campos) throws com.liferay.portal.kernel.exception.SystemException { Object returnObj = null; try { returnObj = _invokableService.invokeMethod(_methodName19, _methodParameterTypes19, new Object[] { groupId, ClpSerializer.translateInput(campos) }); } 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 (br.gov.camara.edemocracia.portlets.priorizacao.PriorizacaoSumario) ClpSerializer.translateOutput(returnObj); } public br.gov.camara.edemocracia.portlets.priorizacao.PropostaDisplay getPropostaDisplay( long propostaId) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { Object returnObj = null; try { returnObj = _invokableService.invokeMethod(_methodName20, _methodParameterTypes20, new Object[] { propostaId }); } 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.priorizacao.PropostaDisplay) ClpSerializer.translateOutput(returnObj); } public br.gov.camara.edemocracia.portlets.priorizacao.VotosUsuario getVotosUsuario( long groupId) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { Object returnObj = null; try { returnObj = _invokableService.invokeMethod(_methodName21, _methodParameterTypes21, 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 (br.gov.camara.edemocracia.portlets.priorizacao.VotosUsuario) ClpSerializer.translateOutput(returnObj); } public br.gov.camara.edemocracia.portlets.priorizacao.model.Configuracao getConfiguracaoPorGrupo( long scopeGroupId) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { Object returnObj = null; try { returnObj = _invokableService.invokeMethod(_methodName22, _methodParameterTypes22, new Object[] { scopeGroupId }); } 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.priorizacao.model.Configuracao) ClpSerializer.translateOutput(returnObj); } public br.gov.camara.edemocracia.portlets.priorizacao.model.Configuracao updateConfiguracao( long groupId, int maximoVotos, int maxVotosProposta, boolean votacaoAberta) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { Object returnObj = null; try { returnObj = _invokableService.invokeMethod(_methodName23, _methodParameterTypes23, new Object[] { groupId, maximoVotos, maxVotosProposta, votacaoAberta }); } 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.priorizacao.model.Configuracao) ClpSerializer.translateOutput(returnObj); } public int getEixosCountByGroupId(long groupId) throws com.liferay.portal.kernel.exception.SystemException { Object returnObj = null; try { returnObj = _invokableService.invokeMethod(_methodName24, _methodParameterTypes24, 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 ((Integer) returnObj).intValue(); } public int getPropostasCountByEixoId(long eixoId) throws com.liferay.portal.kernel.exception.SystemException { Object returnObj = null; try { returnObj = _invokableService.invokeMethod(_methodName25, _methodParameterTypes25, new Object[] { eixoId }); } 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 ((Integer) returnObj).intValue(); } public java.util.List<br.gov.camara.edemocracia.portlets.priorizacao.model.Voto> getVotosPorPropostaId( long propostaId) throws com.liferay.portal.kernel.exception.SystemException { Object returnObj = null; try { returnObj = _invokableService.invokeMethod(_methodName26, _methodParameterTypes26, new Object[] { propostaId }); } 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.priorizacao.model.Voto>) ClpSerializer.translateOutput(returnObj); } }