Liferay 6.0.5

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

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.


Field Summary
 
Fields inherited from class com.liferay.portal.verify.VerifyProcess
ALWAYS, NEVER, ONCE
 
Constructor Summary
VerifyImage()
           
 
Method Summary
protected  void doVerify()
           
protected  boolean isStaleImage(Image image)
           
 
Methods inherited from class com.liferay.portal.verify.VerifyProcess
runSQL, runSQL, runSQLTemplate, runSQLTemplate, verify, 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

doVerify

protected void doVerify()
                 throws Exception
Overrides:
doVerify in class VerifyProcess
Throws:
Exception

isStaleImage

protected boolean isStaleImage(Image image)
                        throws Exception
Throws:
Exception

Liferay 6.0.5