public class AssetTestUtil extends Object
| Constructor and Description |
|---|
AssetTestUtil() |
| Modifier and Type | Method and Description |
|---|---|
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) |
public static com.liferay.asset.kernel.model.AssetEntry addAssetEntry(long groupId)
throws Exception
Exceptionpublic static com.liferay.asset.kernel.model.AssetEntry addAssetEntry(long groupId,
Date publishDate)
throws Exception
Exceptionpublic static com.liferay.asset.kernel.model.AssetCategory addCategory(long groupId,
long vocabularyId)
throws Exception
Exceptionpublic static com.liferay.asset.kernel.model.AssetCategory addCategory(long groupId,
long vocabularyId,
long parentCategoryId)
throws Exception
Exceptionpublic static com.liferay.asset.kernel.model.AssetTag addTag(long groupId)
throws Exception
Exceptionpublic static com.liferay.asset.kernel.model.AssetVocabulary addVocabulary(long groupId)
throws Exception
Exception