Uses of Class
org.apache.wiki.api.exceptions.WikiException
-
Packages that use WikiException Package Description org.apache.wiki The chief package of JSPWiki.org.apache.wiki.api.engine JSPWiki's Engine's component related classes.org.apache.wiki.api.exceptions JSPWiki's API exceptions package.org.apache.wiki.attachment Attachment management, uploading and downloading.org.apache.wiki.auth Authentication, Authorization and the third A thing.org.apache.wiki.auth.user org.apache.wiki.cache Provides a cache abstraction for JSPWiki.org.apache.wiki.content Provides content management functionality for JSPWiki.org.apache.wiki.filters Provides page and content filtering functionality for JSPWiki.org.apache.wiki.pages Entry point for JSPWiki's Page Objects.org.apache.wiki.parser org.apache.wiki.providers Provides storage for JSPWiki.org.apache.wiki.render Provides the JSPWiki rendering functionality.org.apache.wiki.tasks.auth Provides auth-related Tasks, meant to be executed by the workflow framework.org.apache.wiki.tasks.pages Provides WikiPages' saving related Tasks, meant to be executed by the workflow framework.org.apache.wiki.workflow -
-
Uses of WikiException in org.apache.wiki
Methods in org.apache.wiki that throw WikiException Modifier and Type Method Description void
WikiEngine. initReferenceManager()
Initializes the reference manager.Constructors in org.apache.wiki that throw WikiException Constructor Description WikiEngine(java.util.Properties properties)
Instantiate the WikiEngine using a given set of properties.WikiEngine(javax.servlet.ServletContext context, java.lang.String appid, java.util.Properties props)
Instantiate using this method when you're running as a servlet and WikiEngine will figure out where to look for the property file. -
Uses of WikiException in org.apache.wiki.api.engine
Methods in org.apache.wiki.api.engine that throw WikiException Modifier and Type Method Description void
Initializable. initialize(Engine engine, java.util.Properties props)
Initializes this Engine component. -
Uses of WikiException in org.apache.wiki.api.exceptions
Subclasses of WikiException in org.apache.wiki.api.exceptions Modifier and Type Class Description class
FilterException
A generic PageFilter exception.class
NoRequiredPropertyException
Marks an erroneus jspwiki.properties file.class
NoSuchVariableException
Marks that no such variable was located.class
PluginException
Provides a generic PluginException.class
ProviderException
This exception represents the superclass of all exceptions that providers may throw.class
RedirectException
This exception may be thrown if a filter wants to reject something and redirect the user elsewhere.class
WikiI18nException
A generic Wiki exception, meant to carry key & args to construct i18n messages to show meaningful messages to end-user. -
Uses of WikiException in org.apache.wiki.attachment
Methods in org.apache.wiki.attachment that throw WikiException Modifier and Type Method Description static java.lang.String
AttachmentManager. validateFileName(java.lang.String filename)
Validates the filename and makes sure it is legal. -
Uses of WikiException in org.apache.wiki.auth
Subclasses of WikiException in org.apache.wiki.auth Modifier and Type Class Description class
NoSuchPrincipalException
Thrown in some error situations where a WikiPrincipal object does not exist.class
WikiSecurityException
Indicates an authentication or authorization error or exception.Methods in org.apache.wiki.auth that throw WikiException Modifier and Type Method Description java.lang.String
SecurityVerifier. containerRoleTable()
Formats and returns an HTML table containing the roles the web container is aware of, and whether each role maps to particular JSPs.void
DefaultAuthenticationManager. initialize(Engine engine, java.util.Properties props)
Initializes this Engine component.void
DefaultAuthorizationManager. initialize(Engine engine, java.util.Properties properties)
Initializes this Engine component.void
DefaultUserManager. setUserProfile(Context context, UserProfile profile)
Saves theUserProfile
for the user in a wiki session.void
UserManager. setUserProfile(Context context, UserProfile profile)
Saves theUserProfile
for the user in a wiki session.void
DefaultUserManager. startUserProfileCreationWorkflow(Context context, UserProfile profile)
void
UserManager. startUserProfileCreationWorkflow(Context context, UserProfile profile)
java.security.Principal[]
SecurityVerifier. webContainerRoles()
If the active Authorizer is the WebContainerAuthorizer, returns the roles it knows about; otherwise, a zero-length array. -
Uses of WikiException in org.apache.wiki.auth.user
Subclasses of WikiException in org.apache.wiki.auth.user Modifier and Type Class Description class
DuplicateUserException
Exception indicating that an identical user already exists in the user database. -
Uses of WikiException in org.apache.wiki.cache
Methods in org.apache.wiki.cache that throw WikiException Modifier and Type Method Description void
EhcacheCachingManager. initialize(Engine engine, java.util.Properties props)
Initializes this Engine component. -
Uses of WikiException in org.apache.wiki.content
Methods in org.apache.wiki.content that throw WikiException Modifier and Type Method Description java.lang.String
DefaultPageRenamer. renamePage(Context context, java.lang.String renameFrom, java.lang.String renameTo, boolean changeReferrers)
Renames a page.java.lang.String
PageRenamer. renamePage(Context context, java.lang.String renameFrom, java.lang.String renameTo, boolean changeReferrers)
Renames a page. -
Uses of WikiException in org.apache.wiki.filters
Methods in org.apache.wiki.filters that throw WikiException Modifier and Type Method Description protected void
DefaultFilterManager. initialize(java.util.Properties props)
Initializes the filters from an XML file.Constructors in org.apache.wiki.filters that throw WikiException Constructor Description DefaultFilterManager(Engine engine, java.util.Properties props)
Constructs a new FilterManager object. -
Uses of WikiException in org.apache.wiki.pages
Methods in org.apache.wiki.pages that throw WikiException Modifier and Type Method Description void
DefaultPageManager. saveText(Context context, java.lang.String text)
void
PageManager. saveText(Context context, java.lang.String text)
Writes the WikiText of a page into the page repository.Constructors in org.apache.wiki.pages that throw WikiException Constructor Description DefaultPageManager(Engine engine, java.util.Properties props)
Creates a new PageManager. -
Uses of WikiException in org.apache.wiki.parser
Subclasses of WikiException in org.apache.wiki.parser Modifier and Type Class Description class
ParseException
This is an exception which gets thrown whenever the parser cannot parse the parsing things. -
Uses of WikiException in org.apache.wiki.providers
Subclasses of WikiException in org.apache.wiki.providers Modifier and Type Class Description class
NoSuchVersionException
Indicates that an non-existing version was specified.class
RepositoryModifiedException
If the provider detects that someone has modified the repository externally, it should throw this exception. -
Uses of WikiException in org.apache.wiki.render
Methods in org.apache.wiki.render that throw WikiException Modifier and Type Method Description void
DefaultRenderingManager. initialize(Engine engine, java.util.Properties properties)
Initializes this Engine component. -
Uses of WikiException in org.apache.wiki.tasks.auth
Methods in org.apache.wiki.tasks.auth that throw WikiException Modifier and Type Method Description Outcome
SaveUserProfileTask. execute(Context context)
Saves the user profile to the user database. -
Uses of WikiException in org.apache.wiki.tasks.pages
Methods in org.apache.wiki.tasks.pages that throw WikiException Modifier and Type Method Description Outcome
PreSaveWikiPageTask. execute(Context context)
Executes the processing for this Step and returns an Outcome indicating if it succeeded (Outcome.STEP_COMPLETE
orOutcome.STEP_ABORT
).Outcome
SaveWikiPageTask. execute(Context context)
Executes the processing for this Step and returns an Outcome indicating if it succeeded (Outcome.STEP_COMPLETE
orOutcome.STEP_ABORT
). -
Uses of WikiException in org.apache.wiki.workflow
Subclasses of WikiException in org.apache.wiki.workflow Modifier and Type Class Description class
DecisionRequiredException
Exception thrown when an activity -- that would otherwise complete silently -- cannot complete because a workflowDecision
is required.class
NoSuchOutcomeException
Exception thrown when an attempt is made to find an Outcome that does not exist.Methods in org.apache.wiki.workflow that throw WikiException Modifier and Type Method Description void
SimpleNotification. acknowledge(Context context)
Convenience method that simply callsDecision.decide(Outcome, Context)
with the valueOutcome.DECISION_ACKNOWLEDGE
.Workflow
WorkflowBuilder. buildApprovalWorkflow(java.security.Principal submitter, java.lang.String workflowApproverKey, Step prepTask, java.lang.String decisionKey, Fact[] facts, Step completionTask, java.lang.String rejectedMessageKey)
void
Decision. decide(Outcome outcome, Context context)
Sets this Decision's outcome, and restarts the parent Workflow if it is in theWorkflow.WAITING
state and this Decision is its currently active Step.void
DecisionQueue. decide(Decision decision, Outcome outcome, Context context)
Attempts to complete a Decision by callingDecision.decide(Outcome, Context)
.abstract Outcome
AbstractStep. execute(Context ctx)
Executes the processing for this Step and returns an Outcome indicating if it succeeded (Outcome.STEP_COMPLETE
orOutcome.STEP_ABORT
).Outcome
Decision. execute(Context context)
Default implementation that always returnsOutcome.STEP_CONTINUE
if the current Outcome isn't a completion (which will be true if theDecision.decide(Outcome, Context)
method hasn't been executed yet.Outcome
Step. execute(Context ctx)
Executes the processing for this Step and returns an Outcome indicating if it succeeded (Outcome.STEP_COMPLETE
orOutcome.STEP_ABORT
).java.security.Principal
DefaultWorkflowManager. getApprover(java.lang.String messageKey)
Looks up and resolves the actor who approves a Decision for a particular Workflow, based on the Workflow's message key.java.security.Principal
WorkflowManager. getApprover(java.lang.String messageKey)
Looks up and resolves the actor who approves a Decision for a particular Workflow, based on the Workflow's message key.protected void
Workflow. processCurrentStep(Context context)
Protected method that processes the current Step by callingStep.execute( Context )
.void
DecisionQueue. reassign(Decision decision, java.security.Principal owner)
Reassigns the owner of the Decision to a new owner.void
Workflow. restart(Context context)
Restarts the Workflow from theWorkflow.WAITING
state and puts it into theWorkflow.RUNNING
state again.void
AbstractStep. start()
Starts the Step, and sets the start time to the moment when this method is first invoked.void
Step. start()
Starts the Step, and sets the start time to the moment when this method is first invoked.void
Workflow. start(Context context)
Starts the Workflow and sets the state toWorkflow.RUNNING
.
-