com.liferay.portal.verify
Class VerifyImage

java.lang.Object
  extended by com.liferay.portal.verify.VerifyProcess
      extended by com.liferay.portal.verify.VerifyImage

public class VerifyImage
extends VerifyProcess

View Source

This class is very powerful because it removes all images that it believes is stale. Do not run this unless you are also not managing images in Liferay's Image service for your custom models.

Author:
Brian Wing Shun Chan

Field Summary
 
Fields inherited from class com.liferay.portal.verify.VerifyProcess
ALWAYS, NEVER, ONCE
 
Constructor Summary
VerifyImage()
           
 
Method Summary
protected  boolean isStaleImage(com.liferay.portal.model.Image image)
           
 void verify()
           
protected  void verifyImage()
           
 
Methods inherited from class com.liferay.portal.verify.VerifyProcess
verify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VerifyImage

public VerifyImage()
Method Detail

verify

public void verify()
            throws VerifyException
Specified by:
verify in class VerifyProcess
Throws:
VerifyException

isStaleImage

protected boolean isStaleImage(com.liferay.portal.model.Image image)
                        throws java.lang.Exception
Throws:
java.lang.Exception

verifyImage

protected void verifyImage()
                    throws java.lang.Exception
Throws:
java.lang.Exception