package com.ikea.kompis.util;

import android.content.Context;
import com.ikea.shared.products.model.ItemRef;
import com.ikea.shared.products.model.RetailItemCommunication;
import java.util.List;

public final class TempObjectCache
{
  private static TempObjectCache INSTANCE;
  private ItemRef mCacheItemRef;
  private RetailItemCommunication mCachedProduct;
  private List<RetailItemCommunication> mCachedRetailItemComm;

  private TempObjectCache(Context paramContext)
  {
  }

  public static TempObjectCache i(Context paramContext)
  {
    try
    {
      if (INSTANCE == null)
        INSTANCE = new TempObjectCache(paramContext);
      TempObjectCache localTempObjectCache = INSTANCE;
      return localTempObjectCache;
    }
    finally
    {
    }
  }

  public void cacheRetailItemComm(List<RetailItemCommunication> paramList)
  {
    this.mCachedRetailItemComm = paramList;
  }

  public List<RetailItemCommunication> getCachedProductListData()
  {
    return this.mCachedRetailItemComm;
  }

  public ItemRef getItemRefFormCache()
  {
    return this.mCacheItemRef;
  }

  public RetailItemCommunication getProductInfoFromCache()
  {
    return this.mCachedProduct;
  }

  public void resetCachedRetailItemComm()
  {
    this.mCachedRetailItemComm = null;
  }

  public void resetProductCache()
  {
    this.mCachedProduct = null;
    this.mCacheItemRef = null;
  }

  public void storeItemRefInCache(ItemRef paramItemRef)
  {
    this.mCacheItemRef = paramItemRef;
  }

  public void storeRetailItemCommInCache(RetailItemCommunication paramRetailItemCommunication)
  {
    this.mCachedProduct = paramRetailItemCommunication;
  }
}

/* Location:           C:\Documents and Settings\Cesar Cabello Cea\Mis documentos\Downloads\apk-downloader\com.ikea.kompis-6_dex2jar.jar
 * Qualified Name:     com.ikea.kompis.util.TempObjectCache
 * JD-Core Version:    0.6.2
 */