com.liferay.portlet.translator.util
Class TranslationWebCacheItem

java.lang.Object
  extended by com.liferay.portlet.translator.util.TranslationWebCacheItem
All Implemented Interfaces:
com.liferay.portal.kernel.webcache.WebCacheItem, java.io.Serializable

public class TranslationWebCacheItem
extends java.lang.Object
implements com.liferay.portal.kernel.webcache.WebCacheItem

View Source

Author:
Brian Wing Shun Chan
See Also:
Serialized Form

Constructor Summary
TranslationWebCacheItem(java.lang.String translationId, java.lang.String fromText)
           
 
Method Summary
 java.lang.Object convert(java.lang.String key)
           
 long getRefreshTime()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TranslationWebCacheItem

public TranslationWebCacheItem(java.lang.String translationId,
                               java.lang.String fromText)
Method Detail

convert

public java.lang.Object convert(java.lang.String key)
                         throws com.liferay.portal.kernel.webcache.WebCacheException
Specified by:
convert in interface com.liferay.portal.kernel.webcache.WebCacheItem
Throws:
com.liferay.portal.kernel.webcache.WebCacheException

getRefreshTime

public long getRefreshTime()
Specified by:
getRefreshTime in interface com.liferay.portal.kernel.webcache.WebCacheItem