Liferay 7.0-ce-b4

com.liferay.portlet.asset.util
Class BaseAssetEntryValidator

java.lang.Object
  extended by com.liferay.portlet.asset.util.BaseAssetEntryValidator
All Implemented Interfaces:
AssetEntryValidator
Direct Known Subclasses:
DefaultAssetEntryValidator, MinimalAssetEntryValidator

public class BaseAssetEntryValidator
extends Object
implements AssetEntryValidator


Constructor Summary
BaseAssetEntryValidator()
           
 
Method Summary
protected  boolean isAssetCategorizable(long classNameId)
           
protected  void validate(long classNameId, long classTypePK, long[] categoryIds, 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
 

Constructor Detail

BaseAssetEntryValidator

public BaseAssetEntryValidator()
Method Detail

validate

public void validate(long groupId,
                     String className,
                     long classTypePK,
                     long[] categoryIds,
                     String[] entryNames)
              throws PortalException
Specified by:
validate in interface AssetEntryValidator
Throws:
PortalException

isAssetCategorizable

protected boolean isAssetCategorizable(long classNameId)

validate

protected void validate(long classNameId,
                        long classTypePK,
                        long[] categoryIds,
                        AssetVocabulary vocabulary)
                 throws PortalException
Throws:
PortalException

Liferay 7.0-ce-b4