Access to add and change pages is restricted. See: https://cwiki.apache.org/confluence/display/OFBIZ/Wiki+access

Execution Context Implementation Details

As was mentioned in the main design document, the Execution Context has two roles: it is a container for frequently used objects, and it keeps track of the execution path.

The ExecutionContext interface:

public interface ExecutionContext {

    // ----- Object Container Methods ----- //

    void clearUserData();

    String getCurrencyUom();

    Delegator getDelegator();

    LocalDispatcher getDispatcher();

    Locale getLocale();

    Object getProperty(String key);

    AuthorizationManager getSecurity();

    TimeZone getTimeZone();

    GenericValue getUserLogin();

    void initializeContext(Map<String, ? extends Object> params);

    void setCurrencyUom(String currencyUom);

    void setDelegator(Delegator delegator);

    void setDispatcher(LocalDispatcher dispatcher);

    void setLocale(Locale locale);

    Object setProperty(String key, Object value);

    void setSecurity(AuthorizationManager security);

    void setTimeZone(TimeZone timeZone);

    void setUserLogin(GenericValue userLogin);

    // ----- Execution Path Methods ----- //

    void endRunUnprotected();

    AccessController getAccessController();

    ArtifactPath getExecutionPath();

    String getExecutionPathAsString();

    String[] getExecutionPathAsArray();

    Map<String, ? extends Object> getParameters();

    void popExecutionArtifact();

    void pushExecutionArtifact(ExecutionArtifact artifact);

    void reset();

    void runExecutionArtifact(ExecutionArtifact artifact) throws Throwable;

    void runUnprotected();

}
  • No labels