Uses of Class
io.meeds.layout.model.ApplicationSettingsContext
Packages that use ApplicationSettingsContext
-
Uses of ApplicationSettingsContext in io.meeds.layout.model
Methods in io.meeds.layout.model that return types with arguments of type ApplicationSettingsContext -
Uses of ApplicationSettingsContext in io.meeds.layout.plugin
Methods in io.meeds.layout.plugin with parameters of type ApplicationSettingsContextModifier and TypeMethodDescriptionvoidApplicationSettingsPlugin.apply(ApplicationSettingsContext context, Map<String, Object> settings) Writes validated settings through the owning Service, as the userApplicationCodePlugin.read(ApplicationSettingsContext context) ApplicationSettingsPlugin.read(ApplicationSettingsContext context) voidApplicationSettingsPlugin.validate(ApplicationSettingsContext context, Map<String, Object> settings) Checks every given value against the drawer's vocabulary and the user's right to change the application, writing nothing -
Uses of ApplicationSettingsContext in io.meeds.layout.service
Methods in io.meeds.layout.service that return ApplicationSettingsContextModifier and TypeMethodDescriptionApplicationSettingsService.newContext(org.exoplatform.portal.config.model.Application window, org.exoplatform.portal.mop.page.PageKey pageKey, org.exoplatform.portal.mop.SiteKey siteKey, org.exoplatform.portal.mop.SiteKey liveSiteKey, String pageReference, boolean draft, String username) Methods in io.meeds.layout.service that return types with arguments of type ApplicationSettingsContextModifier and TypeMethodDescriptionApplicationDraftService.createDraft(DraftWindows resolution, String username) Creates the user's draft of the resolved layout and finds each window again on it, at the place its live window held and of the same application; the live layout read again after the clone still holds each window at its place, no publication came in between (a publication gives every window a new id), else the layout is outdated.Methods in io.meeds.layout.service with parameters of type ApplicationSettingsContextModifier and TypeMethodDescriptionbooleanApplicationSettingsService.isOwner(ApplicationSettingsContext context) voidApplicationSettingsService.markOwner(ApplicationSettingsContext context, Map<String, String> keys) Stores the keys a plugin created for the window with the ownership marker naming the window, every other preference keptApplicationCodeService.read(String contentId, ApplicationSettingsContext context) ApplicationSettingsService.readSettings(ApplicationSettingsContext context) voidApplicationSettingsService.updatePreferences(ApplicationSettingsContext context, Map<String, String> preferences) Sets the given preferences of the window, every other preference kept, through the page or the site writer, which check the user's edit right on the layout holding the windowMethod parameters in io.meeds.layout.service with type arguments of type ApplicationSettingsContextModifier and TypeMethodDescriptionvoidApplicationSettingsService.apply(List<ApplicationSettingsContext> contexts, List<Map<String, Object>> settings, List<String> requestedIds) Applies validated settings application after application, each window locked on this node while its plugin writes.voidApplicationSettingsService.validate(List<ApplicationSettingsContext> contexts, List<Map<String, Object>> settings, List<String> requestedIds) Checks every application before anything is written: a plugin configures it where it sits, and its plugin accepts the settings for the context's user