Interface I_CmsPrefillPageHandler
- All Known Implementing Classes:
CmsStaticPrefillPageHandler
public interface I_CmsPrefillPageHandler
Interface for prefill page handlers, callable via the context menu action
CmsPrefillPageAction
.
A handler is configured via the sitemap attribute "template.prefill.handler".-
Method Summary
Modifier and TypeMethodDescriptionvoid
execute
(I_CmsDialogContext context) Execute the prefill action.boolean
isExecutable
(I_CmsDialogContext context) Checks if the action is executable in the provided context.
-
Method Details
-
execute
Execute the prefill action. It is assumed thatisExecutable(I_CmsDialogContext)
has yielded true for the provided context.- Parameters:
context
- the context in which the action is performed.
-
isExecutable
Checks if the action is executable in the provided context. It already is checked, that we are in the page editor and have only one resource in the context (the containerpage).- Parameters:
context
- the context in which the action shall be performed.- Returns:
true
iff the action is executable in the provided context.
-