Interface SynchronizeTemplateBodiesOperation
public interface SynchronizeTemplateBodiesOperation
Synchronizes the
bodies
of all pages
referencing a PageTemplate
by
- Creating bodies that are defined in the template but missing in the page
- Removing bodies that are defined in the page but removed from the template
- Setting the "hidden" attribute as defined in the template
- Since:
- 5.2.230902
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Interface representing the result of thesynchronize operation
. -
Field Summary
Modifier and TypeFieldDescriptionstatic final OperationType<SynchronizeTemplateBodiesOperation>
The operation's type. -
Method Summary
Modifier and TypeMethodDescriptionperform
(@NotNull PageTemplate pageTemplate) Performs the operation and synchronizes the bodies of all pages referencing the given template.
-
Field Details
-
TYPE
The operation's type.- Since:
- 5.2.230902
-
-
Method Details
-
perform
@NotNull @NotNull SynchronizeTemplateBodiesOperation.Result perform(@NotNull @NotNull PageTemplate pageTemplate) Performs the operation and synchronizes the bodies of all pages referencing the given template.- Parameters:
pageTemplate
- the template to synchronize, must not benull
.- Returns:
- a
SynchronizeTemplateBodiesOperation.Result
object containing details of the performed operation - Since:
- 5.2.230902
-