jspwiki.properties
file contains the property jspwiki.approver.workflow.saveWikiPage
and its value resolves to a valid user, {@link com.ecyrd.jspwiki.auth.authorize.Group}or {@link com.ecyrd.jspwiki.auth.authorize.Role}, this method will place a {@link com.ecyrd.jspwiki.workflow.Decision} in the approver'sworkflow inbox and throw a {@link com.ecyrd.jspwiki.workflow.DecisionRequiredException}. If the submitting user is authenticated and the page save is rejected, a notification will be placed in the user's decision queue.
@since 2.1.28
@param context The current WikiContext
@param text The Wiki markup for the page.
@throws WikiException if the save operation encounters an error during thesave operation. If the page-save operation requires approval, the exception will be of type {@link com.ecyrd.jspwiki.workflow.DecisionRequiredException}. Individual PageFilters, such as the {@link com.ecyrd.jspwiki.filters.SpamFilter} may alsothrow a {@link com.ecyrd.jspwiki.filters.RedirectException}.
jspwiki.properties
file contains the property jspwiki.approver.workflow.saveWikiPage
and its value resolves to a valid user, {@link org.apache.wiki.auth.authorize.Group}or {@link org.apache.wiki.auth.authorize.Role}, this method will place a {@link org.apache.wiki.workflow.Decision} in the approver'sworkflow inbox and throw a {@link org.apache.wiki.workflow.DecisionRequiredException}. If the submitting user is authenticated and the page save is rejected, a notification will be placed in the user's decision queue.
@since 2.1.28
@param context The current WikiContext
@param text The Wiki markup for the page.
@throws WikiException if the save operation encounters an error during thesave operation. If the page-save operation requires approval, the exception will be of type {@link org.apache.wiki.workflow.DecisionRequiredException}. Individual PageFilters, such as the {@link org.apache.wiki.filters.SpamFilter} may alsothrow a {@link org.apache.wiki.api.exceptions.RedirectException}.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|