Liferay 7.0-ce-b8 portal-test-internal

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 com.liferay.asset.kernel.model.AssetEntry addAssetEntry(long groupId)
           
static com.liferay.asset.kernel.model.AssetEntry addAssetEntry(long groupId, Date publishDate)
           
static com.liferay.asset.kernel.model.AssetCategory addCategory(long groupId, long vocabularyId)
           
static com.liferay.asset.kernel.model.AssetCategory addCategory(long groupId, long vocabularyId, long parentCategoryId)
           
static com.liferay.asset.kernel.model.AssetTag addTag(long groupId)
           
static com.liferay.asset.kernel.model.AssetVocabulary addVocabulary(long groupId)
           
static com.liferay.asset.kernel.model.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 com.liferay.asset.kernel.model.AssetEntry addAssetEntry(long groupId)
                                                               throws Exception
Throws:
Exception

addAssetEntry

public static com.liferay.asset.kernel.model.AssetEntry addAssetEntry(long groupId,
                                                                      Date publishDate)
                                                               throws Exception
Throws:
Exception

addCategory

public static com.liferay.asset.kernel.model.AssetCategory addCategory(long groupId,
                                                                       long vocabularyId)
                                                                throws Exception
Throws:
Exception

addCategory

public static com.liferay.asset.kernel.model.AssetCategory addCategory(long groupId,
                                                                       long vocabularyId,
                                                                       long parentCategoryId)
                                                                throws Exception
Throws:
Exception

addTag

public static com.liferay.asset.kernel.model.AssetTag addTag(long groupId)
                                                      throws Exception
Throws:
Exception

addVocabulary

public static com.liferay.asset.kernel.model.AssetVocabulary addVocabulary(long groupId)
                                                                    throws Exception
Throws:
Exception

addVocabulary

public static com.liferay.asset.kernel.model.AssetVocabulary addVocabulary(long groupId,
                                                                           long classNameId,
                                                                           long classTypePK,
                                                                           boolean required)
                                                                    throws Exception
Throws:
Exception

Liferay 7.0-ce-b8 portal-test-internal