Package org.xwiki.model.validation.edit
Class EditConfirmationScriptService
java.lang.Object
org.xwiki.model.validation.edit.EditConfirmationScriptService
- All Implemented Interfaces:
org.xwiki.script.service.ScriptService
@Component
@Singleton
@Named("modelvalidation.edit")
@Unstable
public class EditConfirmationScriptService
extends Object
implements org.xwiki.script.service.ScriptService
This class provides the script services for handling document edit confirmation.
- Since:
- 15.9RC1
- Version:
- $Id: 79da79d03646d19fcffe016466aac083d0339251 $
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncheck()
Performs a check by invoking the check method of all availableEditConfirmationChecker
components and aggregating their results.void
force()
Force the lastEditConfirmationChecker
components checks.
-
Field Details
-
ID
This component hint.- See Also:
-
-
Constructor Details
-
EditConfirmationScriptService
public EditConfirmationScriptService()
-
-
Method Details
-
check
Performs a check by invoking the check method of all availableEditConfirmationChecker
components and aggregating their results.- Returns:
- a
EditConfirmationCheckerResults
object containing the results of the check
-
force
@Unstable public void force()Force the lastEditConfirmationChecker
components checks. The results of the last call tocheck()
are persisted, and new checks are skipped as long as they match the persisted results.- Since:
- 15.10RC1
-