Package de.xima.fc.api.cache
Class FileCache
- java.lang.Object
-
- de.xima.fc.api.cache.AGenericDataCache
-
- de.xima.fc.api.cache.FileCache
-
public class FileCache extends AGenericDataCache
-
-
Constructor Summary
Constructors Constructor Description FileCache()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <E extends IFileDataEntity<?>,T extends IFileProviding<?,E>>
byte[]cacheFileData(UserContext uc, T entity)
static <T extends IFileEntity<?,?>>
byte[]cacheFileEntityData(UserContext uc, T fileEntity)
static <E extends IFileDataEntity<?>,T extends IFileProviding<?,E>>
byte[]getCachedFileData(UserContext uc, T entity)
static <T extends IFileEntity<?,?>>
byte[]getCachedFileEntityData(UserContext uc, T fileEntity)
static byte[]
getCachedResourceData(String cacheKey)
static <E extends IFileDataEntity<?>,T extends IFileProviding<?,E>>
byte[]getUncachedFileData(UserContext uc, T entity)
static <T extends IFileEntity<?,?>>
byte[]getUncachedFileEntityData(UserContext uc, T fileEntity)
static <E extends IFileDataEntity<?>,T extends IFileProviding<?,E>>
BinaryCacheModelreadCachedFileData(T entity)
static <T extends IFileEntity<?,?>>
BinaryCacheModelreadCachedFileEntityData(T fileEntity)
-
Methods inherited from class de.xima.fc.api.cache.AGenericDataCache
cacheData, readCachedData, readCachedData
-
-
-
-
Method Detail
-
getCachedFileData
public static <E extends IFileDataEntity<?>,T extends IFileProviding<?,E>> byte[] getCachedFileData(UserContext uc, T entity)
-
getCachedFileEntityData
public static <T extends IFileEntity<?,?>> byte[] getCachedFileEntityData(UserContext uc, T fileEntity)
-
getUncachedFileEntityData
public static <T extends IFileEntity<?,?>> byte[] getUncachedFileEntityData(UserContext uc, T fileEntity)
-
getUncachedFileData
public static <E extends IFileDataEntity<?>,T extends IFileProviding<?,E>> byte[] getUncachedFileData(UserContext uc, T entity)
-
readCachedFileData
public static <E extends IFileDataEntity<?>,T extends IFileProviding<?,E>> BinaryCacheModel readCachedFileData(T entity)
-
readCachedFileEntityData
public static <T extends IFileEntity<?,?>> BinaryCacheModel readCachedFileEntityData(T fileEntity)
-
cacheFileEntityData
public static <T extends IFileEntity<?,?>> byte[] cacheFileEntityData(UserContext uc, T fileEntity)
-
cacheFileData
public static <E extends IFileDataEntity<?>,T extends IFileProviding<?,E>> byte[] cacheFileData(UserContext uc, T entity)
-
getCachedResourceData
public static byte[] getCachedResourceData(String cacheKey)
-
-