protected void initActionableDynamicQuery(ActionableDynamicQuery actionableDynamicQuery) {
    actionableDynamicQuery.setBaseLocalService(
        com.liferay.testblob.service.TestBlobEntryLocalServiceUtil.getService());
    actionableDynamicQuery.setClass(TestBlobEntry.class);
    actionableDynamicQuery.setClassLoader(getClassLoader());

    actionableDynamicQuery.setPrimaryKeyPropertyName("testBlobEntryId");
  }
  @Override
  public ActionableDynamicQuery getActionableDynamicQuery() {
    ActionableDynamicQuery actionableDynamicQuery = new DefaultActionableDynamicQuery();

    actionableDynamicQuery.setBaseLocalService(
        com.liferay.testblob.service.TestBlobEntryLocalServiceUtil.getService());
    actionableDynamicQuery.setClass(TestBlobEntry.class);
    actionableDynamicQuery.setClassLoader(getClassLoader());

    actionableDynamicQuery.setPrimaryKeyPropertyName("testBlobEntryId");

    return actionableDynamicQuery;
  }
  @Override
  public IndexableActionableDynamicQuery getIndexableActionableDynamicQuery() {
    IndexableActionableDynamicQuery indexableActionableDynamicQuery =
        new IndexableActionableDynamicQuery();

    indexableActionableDynamicQuery.setBaseLocalService(
        com.liferay.testblob.service.TestBlobEntryLocalServiceUtil.getService());
    indexableActionableDynamicQuery.setClassLoader(getClassLoader());
    indexableActionableDynamicQuery.setModelClass(TestBlobEntry.class);

    indexableActionableDynamicQuery.setPrimaryKeyPropertyName("testBlobEntryId");

    return indexableActionableDynamicQuery;
  }
  public Object invokeMethod(String name, String[] parameterTypes, Object[] arguments)
      throws Throwable {
    if (_methodName0.equals(name) && Arrays.deepEquals(_methodParameterTypes0, parameterTypes)) {
      return TestBlobEntryLocalServiceUtil.addTestBlobEntry(
          (com.liferay.testblob.model.TestBlobEntry) arguments[0]);
    }

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

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

    if (_methodName3.equals(name) && Arrays.deepEquals(_methodParameterTypes3, parameterTypes)) {
      return TestBlobEntryLocalServiceUtil.deleteTestBlobEntry(
          (com.liferay.testblob.model.TestBlobEntry) arguments[0]);
    }

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

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

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

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

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

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

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

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

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

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

    if (_methodName18.equals(name) && Arrays.deepEquals(_methodParameterTypes18, parameterTypes)) {
      return TestBlobEntryLocalServiceUtil.updateTestBlobEntry(
          (com.liferay.testblob.model.TestBlobEntry) arguments[0]);
    }

    if (_methodName19.equals(name) && Arrays.deepEquals(_methodParameterTypes19, parameterTypes)) {
      return TestBlobEntryLocalServiceUtil.getBlobFieldBlobModel(
          (java.io.Serializable) arguments[0]);
    }

    if (_methodName42.equals(name) && Arrays.deepEquals(_methodParameterTypes42, parameterTypes)) {
      return TestBlobEntryLocalServiceUtil.getBeanIdentifier();
    }

    if (_methodName43.equals(name) && Arrays.deepEquals(_methodParameterTypes43, parameterTypes)) {
      TestBlobEntryLocalServiceUtil.setBeanIdentifier((java.lang.String) arguments[0]);

      return null;
    }

    throw new UnsupportedOperationException();
  }