com.octo.android.robospice.command
Class GetAllDataFromCacheCommand<T>

java.lang.Object
  extended by com.octo.android.robospice.SpiceManager.SpiceManagerCommand<List<T>>
      extended by com.octo.android.robospice.command.GetAllDataFromCacheCommand<T>
All Implemented Interfaces:
Callable<List<T>>

public class GetAllDataFromCacheCommand<T>
extends SpiceManager.SpiceManagerCommand<List<T>>


Field Summary
 
Fields inherited from class com.octo.android.robospice.SpiceManager.SpiceManagerCommand
spiceManager
 
Constructor Summary
GetAllDataFromCacheCommand(SpiceManager spiceManager, Class<T> clazz)
           
 
Method Summary
protected  List<T> executeWhenBound(SpiceService spiceService)
           
 
Methods inherited from class com.octo.android.robospice.SpiceManager.SpiceManagerCommand
call, getException, isSuccessFull
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetAllDataFromCacheCommand

public GetAllDataFromCacheCommand(SpiceManager spiceManager,
                                  Class<T> clazz)
Method Detail

executeWhenBound

protected List<T> executeWhenBound(SpiceService spiceService)
                            throws CacheLoadingException,
                                   CacheCreationException
Specified by:
executeWhenBound in class SpiceManager.SpiceManagerCommand<List<T>>
Throws:
CacheLoadingException
CacheCreationException


Copyright © 2012-2014. All Rights Reserved.