Class ProgramCachedStorage
java.lang.Object
io.meeds.gamification.storage.ProgramStorage
io.meeds.gamification.storage.cached.ProgramCachedStorage
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassclass -
Constructor Summary
ConstructorsConstructorDescriptionProgramCachedStorage(org.exoplatform.commons.file.services.FileService fileService, org.exoplatform.upload.UploadService uploadService, ProgramDAO programDAO, RuleDAO ruleDAO, org.exoplatform.services.cache.CacheService cacheService, org.exoplatform.services.listener.ListenerService listenerService, org.exoplatform.services.organization.OrganizationService organizationService) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoiddeleteImage(long fileId) getProgramById(Long id) saveProgram(ProgramDTO program) voidupdateProgramDate(long programId) Methods inherited from class io.meeds.gamification.storage.ProgramStorage
countPrograms, findHighestBudgetProgramIdsBySpacesIds, getImageAsStream, getProgramByTitle, getProgramIdsByFilter, isProgramColorExists
-
Constructor Details
-
ProgramCachedStorage
public ProgramCachedStorage(org.exoplatform.commons.file.services.FileService fileService, org.exoplatform.upload.UploadService uploadService, ProgramDAO programDAO, RuleDAO ruleDAO, org.exoplatform.services.cache.CacheService cacheService, org.exoplatform.services.listener.ListenerService listenerService, org.exoplatform.services.organization.OrganizationService organizationService)
-
-
Method Details
-
saveProgram
- Overrides:
saveProgramin classProgramStorage
-
updateProgramDate
public void updateProgramDate(long programId) - Overrides:
updateProgramDatein classProgramStorage
-
getProgramById
- Overrides:
getProgramByIdin classProgramStorage
-
deleteImage
public void deleteImage(long fileId) - Overrides:
deleteImagein classProgramStorage
-
getAdministrators
- Overrides:
getAdministratorsin classProgramStorage
-
clearCache
public void clearCache()- Overrides:
clearCachein classProgramStorage
-