Liferay 7.0-ce-m3

com.liferay.portlet.dynamicdatamapping.util.test
Class DDMStructureTestHelper

java.lang.Object
  extended by com.liferay.portlet.dynamicdatamapping.util.test.DDMStructureTestHelper

public class DDMStructureTestHelper
extends Object


Constructor Summary
DDMStructureTestHelper(Group group)
           
 
Method Summary
 DDMStructure addStructure(long parentStructureId, long classNameId, String structureKey, String name, String definition, String storageType, int type)
           
 DDMStructure addStructure(long classNameId, String structureKey, String name, String definition, String storageType, int type)
           
 DDMStructure addStructure(String definition, String storageType)
           
 DDMStructure addStructureXsd(Class<?> testClass)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DDMStructureTestHelper

public DDMStructureTestHelper(Group group)
                       throws Exception
Throws:
Exception
Method Detail

addStructure

public DDMStructure addStructure(long parentStructureId,
                                 long classNameId,
                                 String structureKey,
                                 String name,
                                 String definition,
                                 String storageType,
                                 int type)
                          throws Exception
Throws:
Exception

addStructure

public DDMStructure addStructure(long classNameId,
                                 String structureKey,
                                 String name,
                                 String definition,
                                 String storageType,
                                 int type)
                          throws Exception
Throws:
Exception

addStructure

public DDMStructure addStructure(String definition,
                                 String storageType)
                          throws Exception
Throws:
Exception

addStructureXsd

public DDMStructure addStructureXsd(Class<?> testClass)
                             throws Exception
Throws:
Exception

Liferay 7.0-ce-m3