com.liferay.portlet.mobiledevicerules.util.test
Class MDRTestUtil
java.lang.Object
com.liferay.portlet.mobiledevicerules.util.test.MDRTestUtil
public class MDRTestUtil
- extends Object
|
Method Summary |
static MDRAction |
addAction(long ruleGroupInstanceId)
|
static MDRAction |
addAction(long ruleGroupInstanceId,
Map<Locale,String> nameMap,
Map<Locale,String> descriptionMap,
String type,
String typeSettings)
|
static MDRRule |
addRule(long ruleGroupId)
|
static MDRRule |
addRule(long ruleGroupId,
Map<Locale,String> nameMap,
Map<Locale,String> descriptionMap,
String type,
String typeSettings)
|
static MDRRuleGroup |
addRuleGroup(long groupId)
|
static MDRRuleGroup |
addRuleGroup(long groupId,
Map<Locale,String> nameMap,
Map<Locale,String> descriptionMap)
|
static MDRRuleGroupInstance |
addRuleGroupInstance(long groupId,
long ruleGroupId)
|
static MDRRuleGroupInstance |
addRuleGroupInstance(long groupId,
String className,
long classPK,
long ruleGroupId)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MDRTestUtil
public MDRTestUtil()
addAction
public static MDRAction addAction(long ruleGroupInstanceId)
throws Exception
- Throws:
Exception
addAction
public static MDRAction addAction(long ruleGroupInstanceId,
Map<Locale,String> nameMap,
Map<Locale,String> descriptionMap,
String type,
String typeSettings)
throws Exception
- Throws:
Exception
addRule
public static MDRRule addRule(long ruleGroupId)
throws Exception
- Throws:
Exception
addRule
public static MDRRule addRule(long ruleGroupId,
Map<Locale,String> nameMap,
Map<Locale,String> descriptionMap,
String type,
String typeSettings)
throws Exception
- Throws:
Exception
addRuleGroup
public static MDRRuleGroup addRuleGroup(long groupId)
throws Exception
- Throws:
Exception
addRuleGroup
public static MDRRuleGroup addRuleGroup(long groupId,
Map<Locale,String> nameMap,
Map<Locale,String> descriptionMap)
throws Exception
- Throws:
Exception
addRuleGroupInstance
public static MDRRuleGroupInstance addRuleGroupInstance(long groupId,
long ruleGroupId)
throws Exception
- Throws:
Exception
addRuleGroupInstance
public static MDRRuleGroupInstance addRuleGroupInstance(long groupId,
String className,
long classPK,
long ruleGroupId)
throws Exception
- Throws:
Exception