Package com.warrantchange.service

Source Code of com.warrantchange.service.WarrantUserEmailLogLocalServiceClp

/**
* 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 WarrantUserEmailLogLocalServiceClp
  implements WarrantUserEmailLogLocalService {
  public WarrantUserEmailLogLocalServiceClp(ClassLoaderProxy classLoaderProxy) {
    _classLoaderProxy = classLoaderProxy;

    _addWarrantUserEmailLogMethodKey0 = new MethodKey(_classLoaderProxy.getClassName(),
        "addWarrantUserEmailLog",
        com.warrantchange.model.WarrantUserEmailLog.class);

    _createWarrantUserEmailLogMethodKey1 = new MethodKey(_classLoaderProxy.getClassName(),
        "createWarrantUserEmailLog", long.class);

    _deleteWarrantUserEmailLogMethodKey2 = new MethodKey(_classLoaderProxy.getClassName(),
        "deleteWarrantUserEmailLog", long.class);

    _deleteWarrantUserEmailLogMethodKey3 = new MethodKey(_classLoaderProxy.getClassName(),
        "deleteWarrantUserEmailLog",
        com.warrantchange.model.WarrantUserEmailLog.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);

    _fetchWarrantUserEmailLogMethodKey8 = new MethodKey(_classLoaderProxy.getClassName(),
        "fetchWarrantUserEmailLog", long.class);

    _getWarrantUserEmailLogMethodKey9 = new MethodKey(_classLoaderProxy.getClassName(),
        "getWarrantUserEmailLog", long.class);

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

    _getWarrantUserEmailLogsMethodKey11 = new MethodKey(_classLoaderProxy.getClassName(),
        "getWarrantUserEmailLogs", int.class, int.class);

    _getWarrantUserEmailLogsCountMethodKey12 = new MethodKey(_classLoaderProxy.getClassName(),
        "getWarrantUserEmailLogsCount");

    _updateWarrantUserEmailLogMethodKey13 = new MethodKey(_classLoaderProxy.getClassName(),
        "updateWarrantUserEmailLog",
        com.warrantchange.model.WarrantUserEmailLog.class);

    _updateWarrantUserEmailLogMethodKey14 = new MethodKey(_classLoaderProxy.getClassName(),
        "updateWarrantUserEmailLog",
        com.warrantchange.model.WarrantUserEmailLog.class, boolean.class);

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

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

  public com.warrantchange.model.WarrantUserEmailLog addWarrantUserEmailLog(
    com.warrantchange.model.WarrantUserEmailLog warrantUserEmailLog)
    throws com.liferay.portal.kernel.exception.SystemException {
    Object returnObj = null;

    MethodHandler methodHandler = new MethodHandler(_addWarrantUserEmailLogMethodKey0,
        ClpSerializer.translateInput(warrantUserEmailLog));

    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.WarrantUserEmailLog)ClpSerializer.translateOutput(returnObj);
  }

  public com.warrantchange.model.WarrantUserEmailLog createWarrantUserEmailLog(
    long id) {
    Object returnObj = null;

    MethodHandler methodHandler = new MethodHandler(_createWarrantUserEmailLogMethodKey1,
        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.WarrantUserEmailLog)ClpSerializer.translateOutput(returnObj);
  }

  public void deleteWarrantUserEmailLog(long id)
    throws com.liferay.portal.kernel.exception.PortalException,
      com.liferay.portal.kernel.exception.SystemException {
    MethodHandler methodHandler = new MethodHandler(_deleteWarrantUserEmailLogMethodKey2,
        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 RuntimeException) {
        throw (RuntimeException)t;
      }
      else {
        throw new RuntimeException(t.getClass().getName() +
          " is not a valid exception");
      }
    }
  }

  public void deleteWarrantUserEmailLog(
    com.warrantchange.model.WarrantUserEmailLog warrantUserEmailLog)
    throws com.liferay.portal.kernel.exception.SystemException {
    MethodHandler methodHandler = new MethodHandler(_deleteWarrantUserEmailLogMethodKey3,
        ClpSerializer.translateInput(warrantUserEmailLog));

    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.WarrantUserEmailLog fetchWarrantUserEmailLog(
    long id) throws com.liferay.portal.kernel.exception.SystemException {
    Object returnObj = null;

    MethodHandler methodHandler = new MethodHandler(_fetchWarrantUserEmailLogMethodKey8,
        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.WarrantUserEmailLog)ClpSerializer.translateOutput(returnObj);
  }

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

    MethodHandler methodHandler = new MethodHandler(_getWarrantUserEmailLogMethodKey9,
        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.WarrantUserEmailLog)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.WarrantUserEmailLog> getWarrantUserEmailLogs(
    int start, int end)
    throws com.liferay.portal.kernel.exception.SystemException {
    Object returnObj = null;

    MethodHandler methodHandler = new MethodHandler(_getWarrantUserEmailLogsMethodKey11,
        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.WarrantUserEmailLog>)ClpSerializer.translateOutput(returnObj);
  }

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

    MethodHandler methodHandler = new MethodHandler(_getWarrantUserEmailLogsCountMethodKey12);

    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.WarrantUserEmailLog updateWarrantUserEmailLog(
    com.warrantchange.model.WarrantUserEmailLog warrantUserEmailLog)
    throws com.liferay.portal.kernel.exception.SystemException {
    Object returnObj = null;

    MethodHandler methodHandler = new MethodHandler(_updateWarrantUserEmailLogMethodKey13,
        ClpSerializer.translateInput(warrantUserEmailLog));

    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.WarrantUserEmailLog)ClpSerializer.translateOutput(returnObj);
  }

  public com.warrantchange.model.WarrantUserEmailLog updateWarrantUserEmailLog(
    com.warrantchange.model.WarrantUserEmailLog warrantUserEmailLog,
    boolean merge)
    throws com.liferay.portal.kernel.exception.SystemException {
    Object returnObj = null;

    MethodHandler methodHandler = new MethodHandler(_updateWarrantUserEmailLogMethodKey14,
        ClpSerializer.translateInput(warrantUserEmailLog), 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.WarrantUserEmailLog)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 ClassLoaderProxy getClassLoaderProxy() {
    return _classLoaderProxy;
  }

  private ClassLoaderProxy _classLoaderProxy;
  private MethodKey _addWarrantUserEmailLogMethodKey0;
  private MethodKey _createWarrantUserEmailLogMethodKey1;
  private MethodKey _deleteWarrantUserEmailLogMethodKey2;
  private MethodKey _deleteWarrantUserEmailLogMethodKey3;
  private MethodKey _dynamicQueryMethodKey4;
  private MethodKey _dynamicQueryMethodKey5;
  private MethodKey _dynamicQueryMethodKey6;
  private MethodKey _dynamicQueryCountMethodKey7;
  private MethodKey _fetchWarrantUserEmailLogMethodKey8;
  private MethodKey _getWarrantUserEmailLogMethodKey9;
  private MethodKey _getPersistedModelMethodKey10;
  private MethodKey _getWarrantUserEmailLogsMethodKey11;
  private MethodKey _getWarrantUserEmailLogsCountMethodKey12;
  private MethodKey _updateWarrantUserEmailLogMethodKey13;
  private MethodKey _updateWarrantUserEmailLogMethodKey14;
  private MethodKey _getBeanIdentifierMethodKey15;
  private MethodKey _setBeanIdentifierMethodKey16;
}
TOP

Related Classes of com.warrantchange.service.WarrantUserEmailLogLocalServiceClp

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.