Interface StaticContentServiceLocal
-
- All Superinterfaces:
CRUDService<BaseStaticContentDTO,StaticContentData,StaticContentDataParams>,CRUDServiceLocal<BaseStaticContent,BaseStaticContentDTO,StaticContentData,StaticContentDataParams>,Service,StaticContentService
- All Known Implementing Classes:
StaticContentServiceImpl
public interface StaticContentServiceLocal extends StaticContentService, CRUDServiceLocal<BaseStaticContent,BaseStaticContentDTO,StaticContentData,StaticContentDataParams>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BaseStaticContentensureLastModifiedDate(BaseStaticContent content)Ensures the cache control works correctly for static contents when changing a configuration image which affects an unchanged content.StringgetHelpOrOriginalContent(BaseHelpContent helpContent)StringreadOriginalHelp(StaticContentNature nature)Returns the original help content for the specifiedStaticContentNature.-
Methods inherited from interface org.cyclos.services.CRUDService
getData, getDataForNew, load, remove, removeAll, save
-
Methods inherited from interface org.cyclos.impl.CRUDServiceLocal
find, findAll, getEntityClass, newEntity, remove, removeAll, saveEntity, saveSkippingEntityLog, toDTO, toEntity, validate
-
Methods inherited from interface org.cyclos.services.contentmanagement.StaticContentService
getHelpContent, getListData, getSmsHelpContent, list, previewEMail
-
-
-
-
Method Detail
-
ensureLastModifiedDate
BaseStaticContent ensureLastModifiedDate(BaseStaticContent content)
Ensures the cache control works correctly for static contents when changing a configuration image which affects an unchanged content.
-
getHelpOrOriginalContent
String getHelpOrOriginalContent(BaseHelpContent helpContent)
- Returns:
- the help's content or the original according to the content definition type.
-
readOriginalHelp
String readOriginalHelp(StaticContentNature nature)
Returns the original help content for the specifiedStaticContentNature.
-
-