Liferay 7.0-ce-m6

com.liferay.portlet.shopping.util.test
Class ShoppingTestUtil

java.lang.Object
  extended by com.liferay.portlet.shopping.util.test.ShoppingTestUtil

public class ShoppingTestUtil
extends Object


Constructor Summary
ShoppingTestUtil()
           
 
Method Summary
static ShoppingCategory addCategory(long groupId)
           
static ShoppingCategory addCategory(long groupId, long parentCategoryId)
           
static ShoppingCategory addCategory(ServiceContext serviceContext)
           
static ShoppingCategory addCategory(String name, long groupId, long parentCategoryId)
           
static ShoppingCategory addCategory(String name, long parentCategoryId, ServiceContext serviceContext)
           
static ShoppingItem addItem(long groupId)
           
static ShoppingItem addItem(long groupId, long parentCategoryId)
           
static ShoppingItem addItem(String name, long groupId, long parentCategoryId)
           
static ShoppingItem addItem(String name, long parentCategoryId, ServiceContext serviceContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShoppingTestUtil

public ShoppingTestUtil()
Method Detail

addCategory

public static ShoppingCategory addCategory(long groupId)
                                    throws Exception
Throws:
Exception

addCategory

public static ShoppingCategory addCategory(long groupId,
                                           long parentCategoryId)
                                    throws Exception
Throws:
Exception

addCategory

public static ShoppingCategory addCategory(ServiceContext serviceContext)
                                    throws Exception
Throws:
Exception

addCategory

public static ShoppingCategory addCategory(String name,
                                           long groupId,
                                           long parentCategoryId)
                                    throws Exception
Throws:
Exception

addCategory

public static ShoppingCategory addCategory(String name,
                                           long parentCategoryId,
                                           ServiceContext serviceContext)
                                    throws Exception
Throws:
Exception

addItem

public static ShoppingItem addItem(long groupId)
                            throws Exception
Throws:
Exception

addItem

public static ShoppingItem addItem(long groupId,
                                   long parentCategoryId)
                            throws Exception
Throws:
Exception

addItem

public static ShoppingItem addItem(String name,
                                   long groupId,
                                   long parentCategoryId)
                            throws Exception
Throws:
Exception

addItem

public static ShoppingItem addItem(String name,
                                   long parentCategoryId,
                                   ServiceContext serviceContext)
                            throws Exception
Throws:
Exception

Liferay 7.0-ce-m6