Interface InternalUiServiceLocal
-
- All Superinterfaces:
InternalUiService,Service
public interface InternalUiServiceLocal extends InternalUiService
Local interface forInternalUiService
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static booleanchanged(Supplier<BaseEntity> supplier, String contentHash, TranslatableVersionedVO param)static booleanchanged(Supplier<BaseEntity> supplier, VersionedVO param)static booleanchanged(Supplier<BaseEntity> supplier, VersionedVO param, String cyclosVersion)ThemeResultVOtoThemeResultVO(Theme theme, boolean byComponents, VersionedVO currentVersion, String cyclosVersion)Converts the givenThemeonly if it has changed according to the givenVersionedVOand cyclosVersion.TranslatableUIElementResultVOtoTranslatableUIElementResultVO(BaseHelpContent content, TranslatableVersionedVO currentVersion)Converts the givenBaseHelpContentonly if it has changed according to the givenTranslatableVersionedVOtaking into account if the definition isHelpContentDefinitionType.ORIGINAL.TranslatableUIElementResultVOtoTranslatableUIElementResultVO(BaseStaticContent content, TranslatableVersionedVO currentVersion)Converts the givenBaseStaticContentonly if it has changed according to the givenTranslatableVersionedVO.-
Methods inherited from interface org.cyclos.services.contentmanagement.InternalUiService
getData
-
-
-
-
Method Detail
-
changed
static boolean changed(Supplier<BaseEntity> supplier, String contentHash, TranslatableVersionedVO param)
-
changed
static boolean changed(Supplier<BaseEntity> supplier, VersionedVO param)
-
changed
static boolean changed(Supplier<BaseEntity> supplier, VersionedVO param, String cyclosVersion) throws FrameworkException
- Throws:
FrameworkException
-
toThemeResultVO
ThemeResultVO toThemeResultVO(Theme theme, boolean byComponents, VersionedVO currentVersion, String cyclosVersion)
Converts the givenThemeonly if it has changed according to the givenVersionedVOand cyclosVersion. Otherwise returns null.
ThebyComponentsflag indicates if the result will contains the theme components separately or the final CSS must be generated and returned as its content.
-
toTranslatableUIElementResultVO
TranslatableUIElementResultVO toTranslatableUIElementResultVO(BaseHelpContent content, TranslatableVersionedVO currentVersion)
Converts the givenBaseHelpContentonly if it has changed according to the givenTranslatableVersionedVOtaking into account if the definition isHelpContentDefinitionType.ORIGINAL. Otherwise returns null.
-
toTranslatableUIElementResultVO
TranslatableUIElementResultVO toTranslatableUIElementResultVO(BaseStaticContent content, TranslatableVersionedVO currentVersion)
Converts the givenBaseStaticContentonly if it has changed according to the givenTranslatableVersionedVO. Otherwise returns null.
-
-