Package com.liferay.asset.test.util
Class AssetTestUtil
java.lang.Object
com.liferay.asset.test.util.AssetTestUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic 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.AssetEntry
addAssetEntry
(long groupId, Date publishDate, String className) 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.AssetTag
static com.liferay.asset.kernel.model.AssetTag
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) static com.liferay.asset.kernel.model.AssetVocabulary
addVocabulary
(long groupId, long classNameId, long classTypePK, boolean depotRequired, boolean required) static com.liferay.asset.kernel.model.AssetVocabulary
addVocabulary
(long groupId, String name)
-
Constructor Details
-
AssetTestUtil
public AssetTestUtil()
-
-
Method Details
-
addAssetEntry
public static com.liferay.asset.kernel.model.AssetEntry addAssetEntry(long groupId) -
addAssetEntry
public static com.liferay.asset.kernel.model.AssetEntry addAssetEntry(long groupId, Date publishDate) -
addAssetEntry
-
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
- Throws:
Exception
-
addTag
public static com.liferay.asset.kernel.model.AssetTag addTag(long groupId, String assetTagName) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
addTag
public static com.liferay.asset.kernel.model.AssetTag addTag(String externalReferenceCode, long groupId, String assetTagName) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
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
-
addVocabulary
public static com.liferay.asset.kernel.model.AssetVocabulary addVocabulary(long groupId, long classNameId, long classTypePK, boolean depotRequired, boolean required) throws Exception - Throws:
Exception
-
addVocabulary
public static com.liferay.asset.kernel.model.AssetVocabulary addVocabulary(long groupId, String name) throws Exception - Throws:
Exception
-