org.gcube.application.framework.contentmanagement.cache.factories
Class ThumbnailCacheEntryFactory

java.lang.Object
  extended by org.gcube.application.framework.contentmanagement.cache.factories.ThumbnailCacheEntryFactory

public class ThumbnailCacheEntryFactory
extends java.lang.Object

Author:
Rena Tsantouli - Dimitris Katris (NKUA)

Constructor Summary
ThumbnailCacheEntryFactory()
           
 
Method Summary
 java.lang.Object createEntry(java.lang.Object key)
           
 byte[] getThumbnail(java.lang.String srcObjectID, int width, int height, java.lang.String[] thumbOptions, java.lang.String scope)
           
 java.lang.String searchForExistingThumbnail(java.lang.String srcObjectURI, int width, int height, java.lang.String[] thumbOptions, java.lang.String scope)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThumbnailCacheEntryFactory

public ThumbnailCacheEntryFactory()
Method Detail

createEntry

public java.lang.Object createEntry(java.lang.Object key)
                             throws java.lang.Exception
Throws:
java.lang.Exception

getThumbnail

public byte[] getThumbnail(java.lang.String srcObjectID,
                           int width,
                           int height,
                           java.lang.String[] thumbOptions,
                           java.lang.String scope)
                    throws java.lang.Exception
Throws:
java.lang.Exception

searchForExistingThumbnail

public java.lang.String searchForExistingThumbnail(java.lang.String srcObjectURI,
                                                   int width,
                                                   int height,
                                                   java.lang.String[] thumbOptions,
                                                   java.lang.String scope)
                                            throws java.lang.Exception
Throws:
java.lang.Exception