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