/*
  * NOTE FOR DEVELOPERS:
  *
  * Never modify or reference this class directly. All methods that expect a kaleo log model instance should use the {@link KaleoLog} interface instead.
  */
 public void persist() throws SystemException {
   KaleoLogLocalServiceUtil.updateKaleoLog(this);
 }
  public Object invokeMethod(String name, String[] parameterTypes, Object[] arguments)
      throws Throwable {
    if (_methodName0.equals(name) && Arrays.deepEquals(_methodParameterTypes0, parameterTypes)) {
      return KaleoLogLocalServiceUtil.addKaleoLog(
          (com.liferay.portal.workflow.kaleo.model.KaleoLog) arguments[0]);
    }

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

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

    if (_methodName3.equals(name) && Arrays.deepEquals(_methodParameterTypes3, parameterTypes)) {
      return KaleoLogLocalServiceUtil.deleteKaleoLog(
          (com.liferay.portal.workflow.kaleo.model.KaleoLog) arguments[0]);
    }

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

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

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

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

    if (_methodName11.equals(name) && Arrays.deepEquals(_methodParameterTypes11, parameterTypes)) {
      return KaleoLogLocalServiceUtil.getKaleoLog(((Long) arguments[0]).longValue());
    }

    if (_methodName12.equals(name) && Arrays.deepEquals(_methodParameterTypes12, parameterTypes)) {
      return KaleoLogLocalServiceUtil.getActionableDynamicQuery();
    }

    if (_methodName14.equals(name) && Arrays.deepEquals(_methodParameterTypes14, parameterTypes)) {
      return KaleoLogLocalServiceUtil.deletePersistedModel(
          (com.liferay.portal.model.PersistedModel) arguments[0]);
    }

    if (_methodName15.equals(name) && Arrays.deepEquals(_methodParameterTypes15, parameterTypes)) {
      return KaleoLogLocalServiceUtil.getPersistedModel((java.io.Serializable) arguments[0]);
    }

    if (_methodName16.equals(name) && Arrays.deepEquals(_methodParameterTypes16, parameterTypes)) {
      return KaleoLogLocalServiceUtil.getKaleoLogs(
          ((Integer) arguments[0]).intValue(), ((Integer) arguments[1]).intValue());
    }

    if (_methodName17.equals(name) && Arrays.deepEquals(_methodParameterTypes17, parameterTypes)) {
      return KaleoLogLocalServiceUtil.getKaleoLogsCount();
    }

    if (_methodName18.equals(name) && Arrays.deepEquals(_methodParameterTypes18, parameterTypes)) {
      return KaleoLogLocalServiceUtil.updateKaleoLog(
          (com.liferay.portal.workflow.kaleo.model.KaleoLog) arguments[0]);
    }

    if (_methodName105.equals(name)
        && Arrays.deepEquals(_methodParameterTypes105, parameterTypes)) {
      return KaleoLogLocalServiceUtil.getBeanIdentifier();
    }

    if (_methodName106.equals(name)
        && Arrays.deepEquals(_methodParameterTypes106, parameterTypes)) {
      KaleoLogLocalServiceUtil.setBeanIdentifier((java.lang.String) arguments[0]);

      return null;
    }

    if (_methodName111.equals(name)
        && Arrays.deepEquals(_methodParameterTypes111, parameterTypes)) {
      return KaleoLogLocalServiceUtil.addActionExecutionKaleoLog(
          (com.liferay.portal.workflow.kaleo.model.KaleoInstanceToken) arguments[0],
          (com.liferay.portal.workflow.kaleo.model.KaleoAction) arguments[1],
          ((Long) arguments[2]).longValue(),
          ((Long) arguments[3]).longValue(),
          (java.lang.String) arguments[4],
          (com.liferay.portal.service.ServiceContext) arguments[5]);
    }

    if (_methodName112.equals(name)
        && Arrays.deepEquals(_methodParameterTypes112, parameterTypes)) {
      return KaleoLogLocalServiceUtil.addNodeEntryKaleoLog(
          (com.liferay.portal.workflow.kaleo.model.KaleoInstanceToken) arguments[0],
          (com.liferay.portal.workflow.kaleo.model.KaleoNode) arguments[1],
          (com.liferay.portal.workflow.kaleo.model.KaleoNode) arguments[2],
          (com.liferay.portal.service.ServiceContext) arguments[3]);
    }

    if (_methodName113.equals(name)
        && Arrays.deepEquals(_methodParameterTypes113, parameterTypes)) {
      return KaleoLogLocalServiceUtil.addNodeExitKaleoLog(
          (com.liferay.portal.workflow.kaleo.model.KaleoInstanceToken) arguments[0],
          (com.liferay.portal.workflow.kaleo.model.KaleoNode) arguments[1],
          (com.liferay.portal.service.ServiceContext) arguments[2]);
    }

    if (_methodName114.equals(name)
        && Arrays.deepEquals(_methodParameterTypes114, parameterTypes)) {
      return KaleoLogLocalServiceUtil.addTaskAssignmentKaleoLog(
          (java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoTaskAssignmentInstance>)
              arguments[0],
          (com.liferay.portal.workflow.kaleo.model.KaleoTaskInstanceToken) arguments[1],
          (java.lang.String) arguments[2],
          (java.util.Map<java.lang.String, java.io.Serializable>) arguments[3],
          (com.liferay.portal.service.ServiceContext) arguments[4]);
    }

    if (_methodName115.equals(name)
        && Arrays.deepEquals(_methodParameterTypes115, parameterTypes)) {
      return KaleoLogLocalServiceUtil.addTaskCompletionKaleoLog(
          (com.liferay.portal.workflow.kaleo.model.KaleoTaskInstanceToken) arguments[0],
          (java.lang.String) arguments[1],
          (java.util.Map<java.lang.String, java.io.Serializable>) arguments[2],
          (com.liferay.portal.service.ServiceContext) arguments[3]);
    }

    if (_methodName116.equals(name)
        && Arrays.deepEquals(_methodParameterTypes116, parameterTypes)) {
      return KaleoLogLocalServiceUtil.addTaskUpdateKaleoLog(
          (com.liferay.portal.workflow.kaleo.model.KaleoTaskInstanceToken) arguments[0],
          (java.lang.String) arguments[1],
          (java.util.Map<java.lang.String, java.io.Serializable>) arguments[2],
          (com.liferay.portal.service.ServiceContext) arguments[3]);
    }

    if (_methodName117.equals(name)
        && Arrays.deepEquals(_methodParameterTypes117, parameterTypes)) {
      return KaleoLogLocalServiceUtil.addWorkflowInstanceEndKaleoLog(
          (com.liferay.portal.workflow.kaleo.model.KaleoInstanceToken) arguments[0],
          (com.liferay.portal.service.ServiceContext) arguments[1]);
    }

    if (_methodName118.equals(name)
        && Arrays.deepEquals(_methodParameterTypes118, parameterTypes)) {
      return KaleoLogLocalServiceUtil.addWorkflowInstanceStartKaleoLog(
          (com.liferay.portal.workflow.kaleo.model.KaleoInstanceToken) arguments[0],
          (com.liferay.portal.service.ServiceContext) arguments[1]);
    }

    if (_methodName119.equals(name)
        && Arrays.deepEquals(_methodParameterTypes119, parameterTypes)) {
      KaleoLogLocalServiceUtil.deleteCompanyKaleoLogs(((Long) arguments[0]).longValue());

      return null;
    }

    if (_methodName120.equals(name)
        && Arrays.deepEquals(_methodParameterTypes120, parameterTypes)) {
      KaleoLogLocalServiceUtil.deleteKaleoDefinitionKaleoLogs(((Long) arguments[0]).longValue());

      return null;
    }

    if (_methodName121.equals(name)
        && Arrays.deepEquals(_methodParameterTypes121, parameterTypes)) {
      KaleoLogLocalServiceUtil.deleteKaleoInstanceKaleoLogs(((Long) arguments[0]).longValue());

      return null;
    }

    if (_methodName122.equals(name)
        && Arrays.deepEquals(_methodParameterTypes122, parameterTypes)) {
      return KaleoLogLocalServiceUtil.getKaleoInstanceKaleoLogs(
          ((Long) arguments[0]).longValue(),
          (java.util.List<java.lang.Integer>) arguments[1],
          ((Integer) arguments[2]).intValue(),
          ((Integer) arguments[3]).intValue(),
          (com.liferay.portal.kernel.util.OrderByComparator<
                  com.liferay.portal.workflow.kaleo.model.KaleoLog>)
              arguments[4]);
    }

    if (_methodName123.equals(name)
        && Arrays.deepEquals(_methodParameterTypes123, parameterTypes)) {
      return KaleoLogLocalServiceUtil.getKaleoInstanceKaleoLogsCount(
          ((Long) arguments[0]).longValue(), (java.util.List<java.lang.Integer>) arguments[1]);
    }

    if (_methodName124.equals(name)
        && Arrays.deepEquals(_methodParameterTypes124, parameterTypes)) {
      return KaleoLogLocalServiceUtil.getKaleoTaskInstanceTokenKaleoLogs(
          ((Long) arguments[0]).longValue(),
          (java.util.List<java.lang.Integer>) arguments[1],
          ((Integer) arguments[2]).intValue(),
          ((Integer) arguments[3]).intValue(),
          (com.liferay.portal.kernel.util.OrderByComparator<
                  com.liferay.portal.workflow.kaleo.model.KaleoLog>)
              arguments[4]);
    }

    if (_methodName125.equals(name)
        && Arrays.deepEquals(_methodParameterTypes125, parameterTypes)) {
      return KaleoLogLocalServiceUtil.getKaleoTaskInstanceTokenKaleoLogsCount(
          ((Long) arguments[0]).longValue(), (java.util.List<java.lang.Integer>) arguments[1]);
    }

    throw new UnsupportedOperationException();
  }