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

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

import java.util.Arrays;

/**
 * @author Henrique Simoes
 * @generated
 */
public class MensagemLocalServiceClpInvoker {
    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 _methodName82;
    private String[] _methodParameterTypes82;
    private String _methodName83;
    private String[] _methodParameterTypes83;
    private String _methodName88;
    private String[] _methodParameterTypes88;
    private String _methodName89;
    private String[] _methodParameterTypes89;
    private String _methodName93;
    private String[] _methodParameterTypes93;
    private String _methodName94;
    private String[] _methodParameterTypes94;
    private String _methodName96;
    private String[] _methodParameterTypes96;
    private String _methodName97;
    private String[] _methodParameterTypes97;
    private String _methodName98;
    private String[] _methodParameterTypes98;
    private String _methodName101;
    private String[] _methodParameterTypes101;
    private String _methodName102;
    private String[] _methodParameterTypes102;

    public MensagemLocalServiceClpInvoker() {
        _methodName0 = "addMensagem";

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

        _methodName1 = "createMensagem";

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

        _methodName2 = "deleteMensagem";

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

        _methodName3 = "deleteMensagem";

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

        _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 = "fetchMensagem";

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

        _methodName11 = "fetchMensagemByUuidAndCompanyId";

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

        _methodName12 = "fetchMensagemByUuidAndGroupId";

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

        _methodName13 = "getMensagem";

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

        _methodName14 = "getPersistedModel";

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

        _methodName15 = "getMensagemByUuidAndCompanyId";

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

        _methodName16 = "getMensagemByUuidAndGroupId";

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

        _methodName17 = "getMensagems";

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

        _methodName18 = "getMensagemsCount";

        _methodParameterTypes18 = new String[] {  };

        _methodName19 = "updateMensagem";

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

        _methodName82 = "getBeanIdentifier";

        _methodParameterTypes82 = new String[] {  };

        _methodName83 = "setBeanIdentifier";

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

        _methodName88 = "getRascunho";

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

        _methodName89 = "updateMensagem";

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

        _methodName93 = "getMensagem";

        _methodParameterTypes93 = new String[] {
                "com.liferay.portal.kernel.upload.UploadPortletRequest",
                "javax.portlet.PortletRequest"
            };

        _methodName94 = "getMensagem";

        _methodParameterTypes94 = new String[] { "javax.portlet.PortletRequest" };

        _methodName96 = "isRascunho";

        _methodParameterTypes96 = new String[] { "javax.portlet.PortletRequest" };

        _methodName97 = "deleteMensagem";

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

        _methodName98 = "deleteMensagem";

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

        _methodName101 = "cancelarMensagem";

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

        _methodName102 = "clonaMensagem";

        _methodParameterTypes102 = new String[] {
                "long", "javax.portlet.PortletRequest"
            };
    }

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

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

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

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

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

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

        if (_methodName6.equals(name) &&
                Arrays.deepEquals(_methodParameterTypes6, parameterTypes)) {
            return MensagemLocalServiceUtil.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 MensagemLocalServiceUtil.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 MensagemLocalServiceUtil.dynamicQueryCount((com.liferay.portal.kernel.dao.orm.DynamicQuery) arguments[0]);
        }

        if (_methodName9.equals(name) &&
                Arrays.deepEquals(_methodParameterTypes9, parameterTypes)) {
            return MensagemLocalServiceUtil.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 MensagemLocalServiceUtil.fetchMensagem(((Long) arguments[0]).longValue());
        }

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

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

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

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

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

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

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

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

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

        if (_methodName82.equals(name) &&
                Arrays.deepEquals(_methodParameterTypes82, parameterTypes)) {
            return MensagemLocalServiceUtil.getBeanIdentifier();
        }

        if (_methodName83.equals(name) &&
                Arrays.deepEquals(_methodParameterTypes83, parameterTypes)) {
            MensagemLocalServiceUtil.setBeanIdentifier((java.lang.String) arguments[0]);

            return null;
        }

        if (_methodName88.equals(name) &&
                Arrays.deepEquals(_methodParameterTypes88, parameterTypes)) {
            return MensagemLocalServiceUtil.getRascunho(((Long) arguments[0]).longValue());
        }

        if (_methodName89.equals(name) &&
                Arrays.deepEquals(_methodParameterTypes89, parameterTypes)) {
            return MensagemLocalServiceUtil.updateMensagem((br.mp.mprj.portal.portlet.gestaomensagens.service.model.Mensagem) arguments[0]);
        }

        if (_methodName93.equals(name) &&
                Arrays.deepEquals(_methodParameterTypes93, parameterTypes)) {
            return MensagemLocalServiceUtil.getMensagem((com.liferay.portal.kernel.upload.UploadPortletRequest) arguments[0],
                (javax.portlet.PortletRequest) arguments[1]);
        }

        if (_methodName94.equals(name) &&
                Arrays.deepEquals(_methodParameterTypes94, parameterTypes)) {
            return MensagemLocalServiceUtil.getMensagem((javax.portlet.PortletRequest) arguments[0]);
        }

        if (_methodName96.equals(name) &&
                Arrays.deepEquals(_methodParameterTypes96, parameterTypes)) {
            return MensagemLocalServiceUtil.isRascunho((javax.portlet.PortletRequest) arguments[0]);
        }

        if (_methodName97.equals(name) &&
                Arrays.deepEquals(_methodParameterTypes97, parameterTypes)) {
            return MensagemLocalServiceUtil.deleteMensagem(((Long) arguments[0]).longValue());
        }

        if (_methodName98.equals(name) &&
                Arrays.deepEquals(_methodParameterTypes98, parameterTypes)) {
            return MensagemLocalServiceUtil.deleteMensagem((br.mp.mprj.portal.portlet.gestaomensagens.service.model.Mensagem) arguments[0]);
        }

        if (_methodName101.equals(name) &&
                Arrays.deepEquals(_methodParameterTypes101, parameterTypes)) {
            MensagemLocalServiceUtil.cancelarMensagem(((Long) arguments[0]).longValue());

            return null;
        }

        if (_methodName102.equals(name) &&
                Arrays.deepEquals(_methodParameterTypes102, parameterTypes)) {
            return MensagemLocalServiceUtil.clonaMensagem(((Long) arguments[0]).longValue(),
                (javax.portlet.PortletRequest) arguments[1]);
        }

        throw new UnsupportedOperationException();
    }
}
