Package com.warrantchange.service

Source Code of com.warrantchange.service.WarrantLocalServiceClp

/**
* Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
* details.
*/

package com.warrantchange.service;

import com.liferay.portal.kernel.util.ClassLoaderProxy;
import com.liferay.portal.kernel.util.MethodHandler;
import com.liferay.portal.kernel.util.MethodKey;

/**
* @author davidk
*/
public class WarrantLocalServiceClp implements WarrantLocalService {
  public WarrantLocalServiceClp(ClassLoaderProxy classLoaderProxy) {
    _classLoaderProxy = classLoaderProxy;

    _addWarrantMethodKey0 = new MethodKey(_classLoaderProxy.getClassName(),
        "addWarrant", com.warrantchange.model.Warrant.class);

    _createWarrantMethodKey1 = new MethodKey(_classLoaderProxy.getClassName(),
        "createWarrant", long.class);

    _deleteWarrantMethodKey2 = new MethodKey(_classLoaderProxy.getClassName(),
        "deleteWarrant", long.class);

    _deleteWarrantMethodKey3 = new MethodKey(_classLoaderProxy.getClassName(),
        "deleteWarrant", com.warrantchange.model.Warrant.class);

    _dynamicQueryMethodKey4 = new MethodKey(_classLoaderProxy.getClassName(),
        "dynamicQuery",
        com.liferay.portal.kernel.dao.orm.DynamicQuery.class);

    _dynamicQueryMethodKey5 = new MethodKey(_classLoaderProxy.getClassName(),
        "dynamicQuery",
        com.liferay.portal.kernel.dao.orm.DynamicQuery.class,
        int.class, int.class);

    _dynamicQueryMethodKey6 = new MethodKey(_classLoaderProxy.getClassName(),
        "dynamicQuery",
        com.liferay.portal.kernel.dao.orm.DynamicQuery.class,
        int.class, int.class,
        com.liferay.portal.kernel.util.OrderByComparator.class);

    _dynamicQueryCountMethodKey7 = new MethodKey(_classLoaderProxy.getClassName(),
        "dynamicQueryCount",
        com.liferay.portal.kernel.dao.orm.DynamicQuery.class);

    _fetchWarrantMethodKey8 = new MethodKey(_classLoaderProxy.getClassName(),
        "fetchWarrant", long.class);

    _getWarrantMethodKey9 = new MethodKey(_classLoaderProxy.getClassName(),
        "getWarrant", long.class);

    _getPersistedModelMethodKey10 = new MethodKey(_classLoaderProxy.getClassName(),
        "getPersistedModel", java.io.Serializable.class);

    _getWarrantsMethodKey11 = new MethodKey(_classLoaderProxy.getClassName(),
        "getWarrants", int.class, int.class);

    _getWarrantsCountMethodKey12 = new MethodKey(_classLoaderProxy.getClassName(),
        "getWarrantsCount");

    _updateWarrantMethodKey13 = new MethodKey(_classLoaderProxy.getClassName(),
        "updateWarrant", com.warrantchange.model.Warrant.class);

    _updateWarrantMethodKey14 = new MethodKey(_classLoaderProxy.getClassName(),
        "updateWarrant", com.warrantchange.model.Warrant.class,
        boolean.class);

    _getBeanIdentifierMethodKey15 = new MethodKey(_classLoaderProxy.getClassName(),
        "getBeanIdentifier");

    _setBeanIdentifierMethodKey16 = new MethodKey(_classLoaderProxy.getClassName(),
        "setBeanIdentifier", java.lang.String.class);

    _addWarrantMethodKey17 = new MethodKey(_classLoaderProxy.getClassName(),
        "addWarrant", long.class, java.lang.String.class, int.class,
        double.class);

    _updateWarrantMethodKey18 = new MethodKey(_classLoaderProxy.getClassName(),
        "updateWarrant", long.class, java.lang.String.class, int.class,
        double.class);

    _findWarrantsMethodKey19 = new MethodKey(_classLoaderProxy.getClassName(),
        "findWarrants", int.class, int.class);

    _cleanUpWarrantsDeletedBeforeMethodKey20 = new MethodKey(_classLoaderProxy.getClassName(),
        "cleanUpWarrantsDeletedBefore", java.util.Date.class);

    _findWarrantsMethodKey21 = new MethodKey(_classLoaderProxy.getClassName(),
        "findWarrants");

    _findWarrantsByCreateDateMethodKey22 = new MethodKey(_classLoaderProxy.getClassName(),
        "findWarrantsByCreateDate", java.util.Date.class,
        java.util.Date.class);

    _userHasWarrantMethodKey23 = new MethodKey(_classLoaderProxy.getClassName(),
        "userHasWarrant", long.class);
  }

  public com.warrantchange.model.Warrant addWarrant(
    com.warrantchange.model.Warrant warrant)
    throws com.liferay.portal.kernel.exception.SystemException {
    Object returnObj = null;

    MethodHandler methodHandler = new MethodHandler(_addWarrantMethodKey0,
        ClpSerializer.translateInput(warrant));

    try {
      returnObj = _classLoaderProxy.invoke(methodHandler);
    }
    catch (Throwable 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 (com.warrantchange.model.Warrant)ClpSerializer.translateOutput(returnObj);
  }

  public com.warrantchange.model.Warrant createWarrant(long id) {
    Object returnObj = null;

    MethodHandler methodHandler = new MethodHandler(_createWarrantMethodKey1,
        id);

    try {
      returnObj = _classLoaderProxy.invoke(methodHandler);
    }
    catch (Throwable t) {
      if (t instanceof RuntimeException) {
        throw (RuntimeException)t;
      }
      else {
        throw new RuntimeException(t.getClass().getName() +
          " is not a valid exception");
      }
    }

    return (com.warrantchange.model.Warrant)ClpSerializer.translateOutput(returnObj);
  }

  public void deleteWarrant(long id)
    throws com.liferay.portal.kernel.exception.PortalException,
      com.liferay.portal.kernel.exception.SystemException,
      com.warrantchange.NoSuchWarrantException {
    MethodHandler methodHandler = new MethodHandler(_deleteWarrantMethodKey2,
        id);

    try {
      _classLoaderProxy.invoke(methodHandler);
    }
    catch (Throwable 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 com.warrantchange.NoSuchWarrantException) {
        throw (com.warrantchange.NoSuchWarrantException)t;
      }

      if (t instanceof RuntimeException) {
        throw (RuntimeException)t;
      }
      else {
        throw new RuntimeException(t.getClass().getName() +
          " is not a valid exception");
      }
    }
  }

  public void deleteWarrant(com.warrantchange.model.Warrant warrant)
    throws com.liferay.portal.kernel.exception.SystemException {
    MethodHandler methodHandler = new MethodHandler(_deleteWarrantMethodKey3,
        ClpSerializer.translateInput(warrant));

    try {
      _classLoaderProxy.invoke(methodHandler);
    }
    catch (Throwable 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");
      }
    }
  }

  @SuppressWarnings("rawtypes")
  public java.util.List dynamicQuery(
    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
    throws com.liferay.portal.kernel.exception.SystemException {
    Object returnObj = null;

    MethodHandler methodHandler = new MethodHandler(_dynamicQueryMethodKey4,
        ClpSerializer.translateInput(dynamicQuery));

    try {
      returnObj = _classLoaderProxy.invoke(methodHandler);
    }
    catch (Throwable 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)ClpSerializer.translateOutput(returnObj);
  }

  @SuppressWarnings("rawtypes")
  public java.util.List dynamicQuery(
    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
    int end) throws com.liferay.portal.kernel.exception.SystemException {
    Object returnObj = null;

    MethodHandler methodHandler = new MethodHandler(_dynamicQueryMethodKey5,
        ClpSerializer.translateInput(dynamicQuery), start, end);

    try {
      returnObj = _classLoaderProxy.invoke(methodHandler);
    }
    catch (Throwable 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)ClpSerializer.translateOutput(returnObj);
  }

  @SuppressWarnings("rawtypes")
  public java.util.List dynamicQuery(
    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
    int end,
    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
    throws com.liferay.portal.kernel.exception.SystemException {
    Object returnObj = null;

    MethodHandler methodHandler = new MethodHandler(_dynamicQueryMethodKey6,
        ClpSerializer.translateInput(dynamicQuery), start, end,
        ClpSerializer.translateInput(orderByComparator));

    try {
      returnObj = _classLoaderProxy.invoke(methodHandler);
    }
    catch (Throwable 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)ClpSerializer.translateOutput(returnObj);
  }

  public long dynamicQueryCount(
    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
    throws com.liferay.portal.kernel.exception.SystemException {
    Object returnObj = null;

    MethodHandler methodHandler = new MethodHandler(_dynamicQueryCountMethodKey7,
        ClpSerializer.translateInput(dynamicQuery));

    try {
      returnObj = _classLoaderProxy.invoke(methodHandler);
    }
    catch (Throwable 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 ((Long)returnObj).longValue();
  }

  public com.warrantchange.model.Warrant fetchWarrant(long id)
    throws com.liferay.portal.kernel.exception.SystemException {
    Object returnObj = null;

    MethodHandler methodHandler = new MethodHandler(_fetchWarrantMethodKey8,
        id);

    try {
      returnObj = _classLoaderProxy.invoke(methodHandler);
    }
    catch (Throwable 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 (com.warrantchange.model.Warrant)ClpSerializer.translateOutput(returnObj);
  }

  public com.warrantchange.model.Warrant getWarrant(long id)
    throws com.liferay.portal.kernel.exception.PortalException,
      com.liferay.portal.kernel.exception.SystemException {
    Object returnObj = null;

    MethodHandler methodHandler = new MethodHandler(_getWarrantMethodKey9,
        id);

    try {
      returnObj = _classLoaderProxy.invoke(methodHandler);
    }
    catch (Throwable 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 (com.warrantchange.model.Warrant)ClpSerializer.translateOutput(returnObj);
  }

  public com.liferay.portal.model.PersistedModel getPersistedModel(
    java.io.Serializable primaryKeyObj)
    throws com.liferay.portal.kernel.exception.PortalException,
      com.liferay.portal.kernel.exception.SystemException {
    Object returnObj = null;

    MethodHandler methodHandler = new MethodHandler(_getPersistedModelMethodKey10,
        ClpSerializer.translateInput(primaryKeyObj));

    try {
      returnObj = _classLoaderProxy.invoke(methodHandler);
    }
    catch (Throwable 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 (com.liferay.portal.model.PersistedModel)ClpSerializer.translateOutput(returnObj);
  }

  public java.util.List<com.warrantchange.model.Warrant> getWarrants(
    int start, int end)
    throws com.liferay.portal.kernel.exception.SystemException {
    Object returnObj = null;

    MethodHandler methodHandler = new MethodHandler(_getWarrantsMethodKey11,
        start, end);

    try {
      returnObj = _classLoaderProxy.invoke(methodHandler);
    }
    catch (Throwable 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.warrantchange.model.Warrant>)ClpSerializer.translateOutput(returnObj);
  }

  public int getWarrantsCount()
    throws com.liferay.portal.kernel.exception.SystemException {
    Object returnObj = null;

    MethodHandler methodHandler = new MethodHandler(_getWarrantsCountMethodKey12);

    try {
      returnObj = _classLoaderProxy.invoke(methodHandler);
    }
    catch (Throwable 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 com.warrantchange.model.Warrant updateWarrant(
    com.warrantchange.model.Warrant warrant)
    throws com.liferay.portal.kernel.exception.SystemException {
    Object returnObj = null;

    MethodHandler methodHandler = new MethodHandler(_updateWarrantMethodKey13,
        ClpSerializer.translateInput(warrant));

    try {
      returnObj = _classLoaderProxy.invoke(methodHandler);
    }
    catch (Throwable 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 (com.warrantchange.model.Warrant)ClpSerializer.translateOutput(returnObj);
  }

  public com.warrantchange.model.Warrant updateWarrant(
    com.warrantchange.model.Warrant warrant, boolean merge)
    throws com.liferay.portal.kernel.exception.SystemException {
    Object returnObj = null;

    MethodHandler methodHandler = new MethodHandler(_updateWarrantMethodKey14,
        ClpSerializer.translateInput(warrant), merge);

    try {
      returnObj = _classLoaderProxy.invoke(methodHandler);
    }
    catch (Throwable 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 (com.warrantchange.model.Warrant)ClpSerializer.translateOutput(returnObj);
  }

  public java.lang.String getBeanIdentifier() {
    Object returnObj = null;

    MethodHandler methodHandler = new MethodHandler(_getBeanIdentifierMethodKey15);

    try {
      returnObj = _classLoaderProxy.invoke(methodHandler);
    }
    catch (Throwable 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) {
    MethodHandler methodHandler = new MethodHandler(_setBeanIdentifierMethodKey16,
        ClpSerializer.translateInput(beanIdentifier));

    try {
      _classLoaderProxy.invoke(methodHandler);
    }
    catch (Throwable t) {
      if (t instanceof RuntimeException) {
        throw (RuntimeException)t;
      }
      else {
        throw new RuntimeException(t.getClass().getName() +
          " is not a valid exception");
      }
    }
  }

  public com.warrantchange.model.Warrant addWarrant(long userId,
    java.lang.String summary, int quantity, double price)
    throws com.liferay.portal.kernel.exception.SystemException {
    Object returnObj = null;

    MethodHandler methodHandler = new MethodHandler(_addWarrantMethodKey17,
        userId, ClpSerializer.translateInput(summary), quantity, price);

    try {
      returnObj = _classLoaderProxy.invoke(methodHandler);
    }
    catch (Throwable 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 (com.warrantchange.model.Warrant)ClpSerializer.translateOutput(returnObj);
  }

  public void updateWarrant(long id, java.lang.String summary, int quantity,
    double price)
    throws com.liferay.portal.kernel.exception.SystemException,
      com.warrantchange.NoSuchWarrantException {
    MethodHandler methodHandler = new MethodHandler(_updateWarrantMethodKey18,
        id, ClpSerializer.translateInput(summary), quantity, price);

    try {
      _classLoaderProxy.invoke(methodHandler);
    }
    catch (Throwable t) {
      if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
        throw (com.liferay.portal.kernel.exception.SystemException)t;
      }

      if (t instanceof com.warrantchange.NoSuchWarrantException) {
        throw (com.warrantchange.NoSuchWarrantException)t;
      }

      if (t instanceof RuntimeException) {
        throw (RuntimeException)t;
      }
      else {
        throw new RuntimeException(t.getClass().getName() +
          " is not a valid exception");
      }
    }
  }

  public java.util.List<com.warrantchange.model.Warrant> findWarrants(
    int start, int count)
    throws com.liferay.portal.kernel.exception.SystemException {
    Object returnObj = null;

    MethodHandler methodHandler = new MethodHandler(_findWarrantsMethodKey19,
        start, count);

    try {
      returnObj = _classLoaderProxy.invoke(methodHandler);
    }
    catch (Throwable 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.warrantchange.model.Warrant>)ClpSerializer.translateOutput(returnObj);
  }

  public void cleanUpWarrantsDeletedBefore(java.util.Date before)
    throws com.liferay.portal.kernel.exception.SystemException,
      com.warrantchange.NoSuchWarrantException {
    MethodHandler methodHandler = new MethodHandler(_cleanUpWarrantsDeletedBeforeMethodKey20,
        ClpSerializer.translateInput(before));

    try {
      _classLoaderProxy.invoke(methodHandler);
    }
    catch (Throwable t) {
      if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
        throw (com.liferay.portal.kernel.exception.SystemException)t;
      }

      if (t instanceof com.warrantchange.NoSuchWarrantException) {
        throw (com.warrantchange.NoSuchWarrantException)t;
      }

      if (t instanceof RuntimeException) {
        throw (RuntimeException)t;
      }
      else {
        throw new RuntimeException(t.getClass().getName() +
          " is not a valid exception");
      }
    }
  }

  public java.util.List<com.warrantchange.model.Warrant> findWarrants() {
    Object returnObj = null;

    MethodHandler methodHandler = new MethodHandler(_findWarrantsMethodKey21);

    try {
      returnObj = _classLoaderProxy.invoke(methodHandler);
    }
    catch (Throwable 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.warrantchange.model.Warrant>)ClpSerializer.translateOutput(returnObj);
  }

  public java.util.List<com.warrantchange.model.Warrant> findWarrantsByCreateDate(
    java.util.Date from, java.util.Date to)
    throws com.liferay.portal.kernel.exception.SystemException {
    Object returnObj = null;

    MethodHandler methodHandler = new MethodHandler(_findWarrantsByCreateDateMethodKey22,
        ClpSerializer.translateInput(from),
        ClpSerializer.translateInput(to));

    try {
      returnObj = _classLoaderProxy.invoke(methodHandler);
    }
    catch (Throwable 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.warrantchange.model.Warrant>)ClpSerializer.translateOutput(returnObj);
  }

  public boolean userHasWarrant(long userId)
    throws com.liferay.portal.kernel.exception.SystemException {
    Object returnObj = null;

    MethodHandler methodHandler = new MethodHandler(_userHasWarrantMethodKey23,
        userId);

    try {
      returnObj = _classLoaderProxy.invoke(methodHandler);
    }
    catch (Throwable 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 ((Boolean)returnObj).booleanValue();
  }

  public ClassLoaderProxy getClassLoaderProxy() {
    return _classLoaderProxy;
  }

  private ClassLoaderProxy _classLoaderProxy;
  private MethodKey _addWarrantMethodKey0;
  private MethodKey _createWarrantMethodKey1;
  private MethodKey _deleteWarrantMethodKey2;
  private MethodKey _deleteWarrantMethodKey3;
  private MethodKey _dynamicQueryMethodKey4;
  private MethodKey _dynamicQueryMethodKey5;
  private MethodKey _dynamicQueryMethodKey6;
  private MethodKey _dynamicQueryCountMethodKey7;
  private MethodKey _fetchWarrantMethodKey8;
  private MethodKey _getWarrantMethodKey9;
  private MethodKey _getPersistedModelMethodKey10;
  private MethodKey _getWarrantsMethodKey11;
  private MethodKey _getWarrantsCountMethodKey12;
  private MethodKey _updateWarrantMethodKey13;
  private MethodKey _updateWarrantMethodKey14;
  private MethodKey _getBeanIdentifierMethodKey15;
  private MethodKey _setBeanIdentifierMethodKey16;
  private MethodKey _addWarrantMethodKey17;
  private MethodKey _updateWarrantMethodKey18;
  private MethodKey _findWarrantsMethodKey19;
  private MethodKey _cleanUpWarrantsDeletedBeforeMethodKey20;
  private MethodKey _findWarrantsMethodKey21;
  private MethodKey _findWarrantsByCreateDateMethodKey22;
  private MethodKey _userHasWarrantMethodKey23;
}
TOP

Related Classes of com.warrantchange.service.WarrantLocalServiceClp

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.