package br.mp.mprj.portal.portlet.gestaomensagens.service.service.base;

import br.mp.mprj.portal.portlet.gestaomensagens.service.service.GrupoDestinatarioLocalServiceUtil;

import java.util.Arrays;

/**
 * @author Henrique Simoes
 * @generated
 */
public class GrupoDestinatarioLocalServiceClpInvoker {
    private String _methodName0;
    private String[] _methodParameterTypes0;
    private String _methodName1;
    private String[] _methodParameterTypes1;
    private String _methodName2;
    private String[] _methodParameterTypes2;
    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 _methodName68;
    private String[] _methodParameterTypes68;
    private String _methodName69;
    private String[] _methodParameterTypes69;
    private String _methodName74;
    private String[] _methodParameterTypes74;
    private String _methodName75;
    private String[] _methodParameterTypes75;
    private String _methodName76;
    private String[] _methodParameterTypes76;
    private String _methodName77;
    private String[] _methodParameterTypes77;
    private String _methodName78;
    private String[] _methodParameterTypes78;
    private String _methodName79;
    private String[] _methodParameterTypes79;

    public GrupoDestinatarioLocalServiceClpInvoker() {
        _methodName0 = "addGrupoDestinatario";

        _methodParameterTypes0 = new String[] {
                "br.mp.mprj.portal.portlet.gestaomensagens.service.model.GrupoDestinatario"
            };

        _methodName1 = "createGrupoDestinatario";

        _methodParameterTypes1 = new String[] { "long" };

        _methodName2 = "deleteGrupoDestinatario";

        _methodParameterTypes2 = new String[] { "long" };

        _methodName3 = "deleteGrupoDestinatario";

        _methodParameterTypes3 = new String[] {
                "br.mp.mprj.portal.portlet.gestaomensagens.service.model.GrupoDestinatario"
            };

        _methodName4 = "dynamicQuery";

        _methodParameterTypes4 = new String[] {  };

        _methodName5 = "dynamicQuery";

        _methodParameterTypes5 = new String[] {
                "com.liferay.portal.kernel.dao.orm.DynamicQuery"
            };

        _methodName6 = "dynamicQuery";

        _methodParameterTypes6 = new String[] {
                "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int"
            };

        _methodName7 = "dynamicQuery";

        _methodParameterTypes7 = new String[] {
                "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int",
                "com.liferay.portal.kernel.util.OrderByComparator"
            };

        _methodName8 = "dynamicQueryCount";

        _methodParameterTypes8 = new String[] {
                "com.liferay.portal.kernel.dao.orm.DynamicQuery"
            };

        _methodName9 = "dynamicQueryCount";

        _methodParameterTypes9 = new String[] {
                "com.liferay.portal.kernel.dao.orm.DynamicQuery",
                "com.liferay.portal.kernel.dao.orm.Projection"
            };

        _methodName10 = "fetchGrupoDestinatario";

        _methodParameterTypes10 = new String[] { "long" };

        _methodName11 = "fetchGrupoDestinatarioByUuidAndCompanyId";

        _methodParameterTypes11 = new String[] { "java.lang.String", "long" };

        _methodName12 = "fetchGrupoDestinatarioByUuidAndGroupId";

        _methodParameterTypes12 = new String[] { "java.lang.String", "long" };

        _methodName13 = "getGrupoDestinatario";

        _methodParameterTypes13 = new String[] { "long" };

        _methodName14 = "getPersistedModel";

        _methodParameterTypes14 = new String[] { "java.io.Serializable" };

        _methodName15 = "getGrupoDestinatarioByUuidAndCompanyId";

        _methodParameterTypes15 = new String[] { "java.lang.String", "long" };

        _methodName16 = "getGrupoDestinatarioByUuidAndGroupId";

        _methodParameterTypes16 = new String[] { "java.lang.String", "long" };

        _methodName17 = "getGrupoDestinatarios";

        _methodParameterTypes17 = new String[] { "int", "int" };

        _methodName18 = "getGrupoDestinatariosCount";

        _methodParameterTypes18 = new String[] {  };

        _methodName19 = "updateGrupoDestinatario";

        _methodParameterTypes19 = new String[] {
                "br.mp.mprj.portal.portlet.gestaomensagens.service.model.GrupoDestinatario"
            };

        _methodName68 = "getBeanIdentifier";

        _methodParameterTypes68 = new String[] {  };

        _methodName69 = "setBeanIdentifier";

        _methodParameterTypes69 = new String[] { "java.lang.String" };

        _methodName74 = "inserirGrupoDestinatario";

        _methodParameterTypes74 = new String[] {
                "br.mp.mprj.portal.portlet.gestaomensagens.service.model.GrupoDestinatario",
                "java.util.List"
            };

        _methodName75 = "atualizarGrupoDestinatario";

        _methodParameterTypes75 = new String[] {
                "br.mp.mprj.portal.portlet.gestaomensagens.service.model.GrupoDestinatario",
                "java.util.List"
            };

        _methodName76 = "removerGrupoDestinatario";

        _methodParameterTypes76 = new String[] { "long" };

        _methodName77 = "listaTodos";

        _methodParameterTypes77 = new String[] {  };

        _methodName78 = "findByTipoListaAtivo";

        _methodParameterTypes78 = new String[] { "int", "boolean" };

        _methodName79 = "findByGrupoDestinatarioIdArray";

        _methodParameterTypes79 = new String[] { "java.lang.String" };
    }

    public Object invokeMethod(String name, String[] parameterTypes,
        Object[] arguments) throws Throwable {
        if (_methodName0.equals(name) &&
                Arrays.deepEquals(_methodParameterTypes0, parameterTypes)) {
            return GrupoDestinatarioLocalServiceUtil.addGrupoDestinatario((br.mp.mprj.portal.portlet.gestaomensagens.service.model.GrupoDestinatario) arguments[0]);
        }

        if (_methodName1.equals(name) &&
                Arrays.deepEquals(_methodParameterTypes1, parameterTypes)) {
            return GrupoDestinatarioLocalServiceUtil.createGrupoDestinatario(((Long) arguments[0]).longValue());
        }

        if (_methodName2.equals(name) &&
                Arrays.deepEquals(_methodParameterTypes2, parameterTypes)) {
            return GrupoDestinatarioLocalServiceUtil.deleteGrupoDestinatario(((Long) arguments[0]).longValue());
        }

        if (_methodName3.equals(name) &&
                Arrays.deepEquals(_methodParameterTypes3, parameterTypes)) {
            return GrupoDestinatarioLocalServiceUtil.deleteGrupoDestinatario((br.mp.mprj.portal.portlet.gestaomensagens.service.model.GrupoDestinatario) arguments[0]);
        }

        if (_methodName4.equals(name) &&
                Arrays.deepEquals(_methodParameterTypes4, parameterTypes)) {
            return GrupoDestinatarioLocalServiceUtil.dynamicQuery();
        }

        if (_methodName5.equals(name) &&
                Arrays.deepEquals(_methodParameterTypes5, parameterTypes)) {
            return GrupoDestinatarioLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery) arguments[0]);
        }

        if (_methodName6.equals(name) &&
                Arrays.deepEquals(_methodParameterTypes6, parameterTypes)) {
            return GrupoDestinatarioLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery) arguments[0],
                ((Integer) arguments[1]).intValue(),
                ((Integer) arguments[2]).intValue());
        }

        if (_methodName7.equals(name) &&
                Arrays.deepEquals(_methodParameterTypes7, parameterTypes)) {
            return GrupoDestinatarioLocalServiceUtil.dynamicQuery((com.liferay.portal.kernel.dao.orm.DynamicQuery) arguments[0],
                ((Integer) arguments[1]).intValue(),
                ((Integer) arguments[2]).intValue(),
                (com.liferay.portal.kernel.util.OrderByComparator) arguments[3]);
        }

        if (_methodName8.equals(name) &&
                Arrays.deepEquals(_methodParameterTypes8, parameterTypes)) {
            return GrupoDestinatarioLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery) arguments[0]);
        }

        if (_methodName9.equals(name) &&
                Arrays.deepEquals(_methodParameterTypes9, parameterTypes)) {
            return GrupoDestinatarioLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery) arguments[0],
                (com.liferay.portal.kernel.dao.orm.Projection) arguments[1]);
        }

        if (_methodName10.equals(name) &&
                Arrays.deepEquals(_methodParameterTypes10, parameterTypes)) {
            return GrupoDestinatarioLocalServiceUtil.fetchGrupoDestinatario(((Long) arguments[0]).longValue());
        }

        if (_methodName11.equals(name) &&
                Arrays.deepEquals(_methodParameterTypes11, parameterTypes)) {
            return GrupoDestinatarioLocalServiceUtil.fetchGrupoDestinatarioByUuidAndCompanyId((java.lang.String) arguments[0],
                ((Long) arguments[1]).longValue());
        }

        if (_methodName12.equals(name) &&
                Arrays.deepEquals(_methodParameterTypes12, parameterTypes)) {
            return GrupoDestinatarioLocalServiceUtil.fetchGrupoDestinatarioByUuidAndGroupId((java.lang.String) arguments[0],
                ((Long) arguments[1]).longValue());
        }

        if (_methodName13.equals(name) &&
                Arrays.deepEquals(_methodParameterTypes13, parameterTypes)) {
            return GrupoDestinatarioLocalServiceUtil.getGrupoDestinatario(((Long) arguments[0]).longValue());
        }

        if (_methodName14.equals(name) &&
                Arrays.deepEquals(_methodParameterTypes14, parameterTypes)) {
            return GrupoDestinatarioLocalServiceUtil.getPersistedModel((java.io.Serializable) arguments[0]);
        }

        if (_methodName15.equals(name) &&
                Arrays.deepEquals(_methodParameterTypes15, parameterTypes)) {
            return GrupoDestinatarioLocalServiceUtil.getGrupoDestinatarioByUuidAndCompanyId((java.lang.String) arguments[0],
                ((Long) arguments[1]).longValue());
        }

        if (_methodName16.equals(name) &&
                Arrays.deepEquals(_methodParameterTypes16, parameterTypes)) {
            return GrupoDestinatarioLocalServiceUtil.getGrupoDestinatarioByUuidAndGroupId((java.lang.String) arguments[0],
                ((Long) arguments[1]).longValue());
        }

        if (_methodName17.equals(name) &&
                Arrays.deepEquals(_methodParameterTypes17, parameterTypes)) {
            return GrupoDestinatarioLocalServiceUtil.getGrupoDestinatarios(((Integer) arguments[0]).intValue(),
                ((Integer) arguments[1]).intValue());
        }

        if (_methodName18.equals(name) &&
                Arrays.deepEquals(_methodParameterTypes18, parameterTypes)) {
            return GrupoDestinatarioLocalServiceUtil.getGrupoDestinatariosCount();
        }

        if (_methodName19.equals(name) &&
                Arrays.deepEquals(_methodParameterTypes19, parameterTypes)) {
            return GrupoDestinatarioLocalServiceUtil.updateGrupoDestinatario((br.mp.mprj.portal.portlet.gestaomensagens.service.model.GrupoDestinatario) arguments[0]);
        }

        if (_methodName68.equals(name) &&
                Arrays.deepEquals(_methodParameterTypes68, parameterTypes)) {
            return GrupoDestinatarioLocalServiceUtil.getBeanIdentifier();
        }

        if (_methodName69.equals(name) &&
                Arrays.deepEquals(_methodParameterTypes69, parameterTypes)) {
            GrupoDestinatarioLocalServiceUtil.setBeanIdentifier((java.lang.String) arguments[0]);

            return null;
        }

        if (_methodName74.equals(name) &&
                Arrays.deepEquals(_methodParameterTypes74, parameterTypes)) {
            GrupoDestinatarioLocalServiceUtil.inserirGrupoDestinatario((br.mp.mprj.portal.portlet.gestaomensagens.service.model.GrupoDestinatario) arguments[0],
                (java.util.List<br.mp.mprj.portal.portlet.gestaomensagens.service.model.EmailDestinatario>) arguments[1]);

            return null;
        }

        if (_methodName75.equals(name) &&
                Arrays.deepEquals(_methodParameterTypes75, parameterTypes)) {
            GrupoDestinatarioLocalServiceUtil.atualizarGrupoDestinatario((br.mp.mprj.portal.portlet.gestaomensagens.service.model.GrupoDestinatario) arguments[0],
                (java.util.List<br.mp.mprj.portal.portlet.gestaomensagens.service.model.EmailDestinatario>) arguments[1]);

            return null;
        }

        if (_methodName76.equals(name) &&
                Arrays.deepEquals(_methodParameterTypes76, parameterTypes)) {
            GrupoDestinatarioLocalServiceUtil.removerGrupoDestinatario(((Long) arguments[0]).longValue());

            return null;
        }

        if (_methodName77.equals(name) &&
                Arrays.deepEquals(_methodParameterTypes77, parameterTypes)) {
            return GrupoDestinatarioLocalServiceUtil.listaTodos();
        }

        if (_methodName78.equals(name) &&
                Arrays.deepEquals(_methodParameterTypes78, parameterTypes)) {
            return GrupoDestinatarioLocalServiceUtil.findByTipoListaAtivo(((Integer) arguments[0]).intValue(),
                ((Boolean) arguments[1]).booleanValue());
        }

        if (_methodName79.equals(name) &&
                Arrays.deepEquals(_methodParameterTypes79, parameterTypes)) {
            return GrupoDestinatarioLocalServiceUtil.findByGrupoDestinatarioIdArray((java.lang.String) arguments[0]);
        }

        throw new UnsupportedOperationException();
    }
}
