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 java.lang.Object
implements AssetEntryValidator

Author:
Juan Fernández

Constructor Summary
BaseAssetEntryValidator()
           
 
Method Summary
protected  void validate(long classNameId, long[] categoryIds, com.liferay.portlet.asset.model.AssetVocabulary vocabulary)
           
 void validate(long groupId, java.lang.String className, long[] categoryIds, java.lang.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,
                     java.lang.String className,
                     long[] categoryIds,
                     java.lang.String[] entryNames)
              throws com.liferay.portal.kernel.exception.PortalException,
                     com.liferay.portal.kernel.exception.SystemException
Specified by:
validate in interface AssetEntryValidator
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

validate

protected void validate(long classNameId,
                        long[] categoryIds,
                        com.liferay.portlet.asset.model.AssetVocabulary vocabulary)
                 throws com.liferay.portal.kernel.exception.PortalException,
                        com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException