| java.lang.Object de.schlund.pfixcore.workflow.app.IHandlerSimpleContainer
IHandlerSimpleContainer | public class IHandlerSimpleContainer implements IHandlerContainer(Code) | | This class is a default implementation of the IHandlerContainer interface.
Created: Thu Apr 18 13:49:36 2002
author: Jens Lautenbacher |
Method Summary | |
public boolean | areHandlerActive(Context context) areHandlerActive asks all IHandlers that are contained on
the page and which are not listed in the property ihandlercontainer.ignore
(as a space separated list) in turn if they are active (IHandler.isActive(Context context) ). | public void | initIHandlers(PageRequestConfig config) Initialize the IHandlers. | public boolean | isPageAccessible(Context context) The principal accessibility of a page is deduced as follows:
If ANY of all the associated IHandlers returns false on a call to
prerequisitesMet(context), the page is NOT accessible. | public boolean | needsData(Context context) The method needsData tells if any of the IHandlers this instance
aggregates still needs data. |
PROP_CONTAINER | final public static String PROP_CONTAINER(Code) | | |
areHandlerActive | public boolean areHandlerActive(Context context) throws Exception(Code) | | areHandlerActive asks all IHandlers that are contained on
the page and which are not listed in the property ihandlercontainer.ignore
(as a space separated list) in turn if they are active (IHandler.isActive(Context context) ).
Depending on the policy (set by the (sub-) property ihandlercontainer.policy ) which can be
ALL , ANY (default) or NONE ,
this method requires either all (ALL), at least one (ANY) or none (NONE) of the
handlers to be active to return a value of true
If no wrapper/handler is defined, it returns true, too.
Parameters: context - the current context true if handlers are active, else false exception: Exception - if an error occurs See Also: de.schlund.pfixcore.workflow.app.IHandlerContainer.areHandlerActive(Context) |
|
|