com.liferay.portlet.shopping.util.test
Class ShoppingTestUtil
java.lang.Object
com.liferay.portlet.shopping.util.test.ShoppingTestUtil
public class ShoppingTestUtil
- extends Object
|
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 |
ShoppingTestUtil
public ShoppingTestUtil()
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