Liferay 7.0-ce-b4

com.liferay.portlet.asset.util.test
Class AssetTestUtil

java.lang.Object
  extended by com.liferay.portlet.asset.util.test.AssetTestUtil

public class AssetTestUtil
extends Object


Constructor Summary
AssetTestUtil()
           
 
Method Summary
static AssetEntry addAssetEntry(long groupId)
           
static AssetEntry addAssetEntry(long groupId, Date publishDate)
           
static AssetCategory addCategory(long groupId, long vocabularyId)
           
static AssetCategory addCategory(long groupId, long vocabularyId, long parentCategoryId)
           
static AssetTag addTag(long groupId)
           
static AssetVocabulary addVocabulary(long groupId)
           
static AssetVocabulary addVocabulary(long groupId, long classNameId, long classTypePK, boolean required)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssetTestUtil

public AssetTestUtil()
Method Detail

addAssetEntry

public static AssetEntry addAssetEntry(long groupId)
                                throws Exception
Throws:
Exception

addAssetEntry

public static AssetEntry addAssetEntry(long groupId,
                                       Date publishDate)
                                throws Exception
Throws:
Exception

addCategory

public static AssetCategory addCategory(long groupId,
                                        long vocabularyId)
                                 throws Exception
Throws:
Exception

addCategory

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

addTag

public static AssetTag addTag(long groupId)
                       throws Exception
Throws:
Exception

addVocabulary

public static AssetVocabulary addVocabulary(long groupId)
                                     throws Exception
Throws:
Exception

addVocabulary

public static AssetVocabulary addVocabulary(long groupId,
                                            long classNameId,
                                            long classTypePK,
                                            boolean required)
                                     throws Exception
Throws:
Exception

Liferay 7.0-ce-b4