com.liferay.portlet.asset.util
Class BaseAssetEntryValidator
java.lang.Object
com.liferay.portlet.asset.util.BaseAssetEntryValidator
- All Implemented Interfaces:
- AssetEntryValidator
- Direct Known Subclasses:
- DefaultAssetEntryValidator, MinimalAssetEntryValidator
public class BaseAssetEntryValidator
- extends Object
- implements AssetEntryValidator
|
Method Summary |
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,
String className,
long classTypePK,
long[] categoryIds,
String[] entryNames)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseAssetEntryValidator
public BaseAssetEntryValidator()
validate
public void validate(long groupId,
String className,
long classTypePK,
long[] categoryIds,
String[] entryNames)
throws com.liferay.portal.kernel.exception.PortalException
- Specified by:
validate in interface AssetEntryValidator
- Throws:
com.liferay.portal.kernel.exception.PortalException
isAssetCategorizable
protected boolean isAssetCategorizable(long classNameId)
validate
protected void validate(long classNameId,
long classTypePK,
long[] categoryIds,
com.liferay.asset.kernel.model.AssetVocabulary vocabulary)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException