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 voidWikiEngine. 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 voidInitializable. 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 classFilterExceptionA generic PageFilter exception.classNoRequiredPropertyExceptionMarks an erroneus jspwiki.properties file.classNoSuchVariableExceptionMarks that no such variable was located.classPluginExceptionProvides a generic PluginException.classProviderExceptionThis exception represents the superclass of all exceptions that providers may throw.classRedirectExceptionThis exception may be thrown if a filter wants to reject something and redirect the user elsewhere.classWikiI18nExceptionA 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.StringAttachmentManager. 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 classNoSuchPrincipalExceptionThrown in some error situations where a WikiPrincipal object does not exist.classWikiSecurityExceptionIndicates an authentication or authorization error or exception.Methods in org.apache.wiki.auth that throw WikiException Modifier and Type Method Description java.lang.StringSecurityVerifier. containerRoleTable()Formats and returns an HTML table containing the roles the web container is aware of, and whether each role maps to particular JSPs.voidDefaultAuthenticationManager. initialize(Engine engine, java.util.Properties props)Initializes this Engine component.voidDefaultAuthorizationManager. initialize(Engine engine, java.util.Properties properties)Initializes this Engine component.voidDefaultUserManager. setUserProfile(Context context, UserProfile profile)Saves theUserProfilefor the user in a wiki session.voidUserManager. setUserProfile(Context context, UserProfile profile)Saves theUserProfilefor the user in a wiki session.voidDefaultUserManager. startUserProfileCreationWorkflow(Context context, UserProfile profile)voidUserManager. 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 classDuplicateUserExceptionException 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 voidEhcacheCachingManager. 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.StringDefaultPageRenamer. renamePage(Context context, java.lang.String renameFrom, java.lang.String renameTo, boolean changeReferrers)Renames a page.java.lang.StringPageRenamer. 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 voidDefaultFilterManager. 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 voidDefaultPageManager. saveText(Context context, java.lang.String text)voidPageManager. 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 classParseExceptionThis 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 classNoSuchVersionExceptionIndicates that an non-existing version was specified.classRepositoryModifiedExceptionIf 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 voidDefaultRenderingManager. 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 OutcomeSaveUserProfileTask. 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 OutcomePreSaveWikiPageTask. execute(Context context)Executes the processing for this Step and returns an Outcome indicating if it succeeded (Outcome.STEP_COMPLETEorOutcome.STEP_ABORT).OutcomeSaveWikiPageTask. execute(Context context)Executes the processing for this Step and returns an Outcome indicating if it succeeded (Outcome.STEP_COMPLETEorOutcome.STEP_ABORT). -
Uses of WikiException in org.apache.wiki.workflow
Subclasses of WikiException in org.apache.wiki.workflow Modifier and Type Class Description classDecisionRequiredExceptionException thrown when an activity -- that would otherwise complete silently -- cannot complete because a workflowDecisionis required.classNoSuchOutcomeExceptionException 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 voidSimpleNotification. acknowledge(Context context)Convenience method that simply callsDecision.decide(Outcome, Context)with the valueOutcome.DECISION_ACKNOWLEDGE.WorkflowWorkflowBuilder. buildApprovalWorkflow(java.security.Principal submitter, java.lang.String workflowApproverKey, Step prepTask, java.lang.String decisionKey, Fact[] facts, Step completionTask, java.lang.String rejectedMessageKey)voidDecision. decide(Outcome outcome, Context context)Sets this Decision's outcome, and restarts the parent Workflow if it is in theWorkflow.WAITINGstate and this Decision is its currently active Step.voidDecisionQueue. decide(Decision decision, Outcome outcome, Context context)Attempts to complete a Decision by callingDecision.decide(Outcome, Context).abstract OutcomeAbstractStep. execute(Context ctx)Executes the processing for this Step and returns an Outcome indicating if it succeeded (Outcome.STEP_COMPLETEorOutcome.STEP_ABORT).OutcomeDecision. execute(Context context)Default implementation that always returnsOutcome.STEP_CONTINUEif the current Outcome isn't a completion (which will be true if theDecision.decide(Outcome, Context)method hasn't been executed yet.OutcomeStep. execute(Context ctx)Executes the processing for this Step and returns an Outcome indicating if it succeeded (Outcome.STEP_COMPLETEorOutcome.STEP_ABORT).java.security.PrincipalDefaultWorkflowManager. 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.PrincipalWorkflowManager. 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 voidWorkflow. processCurrentStep(Context context)Protected method that processes the current Step by callingStep.execute( Context ).voidDecisionQueue. reassign(Decision decision, java.security.Principal owner)Reassigns the owner of the Decision to a new owner.voidWorkflow. restart(Context context)Restarts the Workflow from theWorkflow.WAITINGstate and puts it into theWorkflow.RUNNINGstate again.voidAbstractStep. start()Starts the Step, and sets the start time to the moment when this method is first invoked.voidStep. start()Starts the Step, and sets the start time to the moment when this method is first invoked.voidWorkflow. start(Context context)Starts the Workflow and sets the state toWorkflow.RUNNING.
-