public class BaseAssetEntryValidator extends java.lang.Object implements AssetEntryValidator
| Constructor and Description |
|---|
BaseAssetEntryValidator() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
isAssetCategorizable(long classNameId) |
protected void |
validate(long classNameId,
long classTypePK,
long[] categoryIds,
com.liferay.asset.kernel.model.AssetVocabulary vocabulary) |
void |
validate(long groupId,
java.lang.String className,
long classTypePK,
long[] categoryIds,
java.lang.String[] entryNames) |
public void validate(long groupId,
java.lang.String className,
long classTypePK,
long[] categoryIds,
java.lang.String[] entryNames)
throws com.liferay.portal.kernel.exception.PortalException
validate in interface AssetEntryValidatorcom.liferay.portal.kernel.exception.PortalExceptionprotected boolean isAssetCategorizable(long classNameId)
protected void validate(long classNameId,
long classTypePK,
long[] categoryIds,
com.liferay.asset.kernel.model.AssetVocabulary vocabulary)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException