Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
java
java
public interface ExecutionContext {

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

    public void clearUserData();

    public String getCurrencyUom();

    public Delegator getDelegator();

    public LocalDispatcher getDispatcher();

    public Locale getLocale();

    public Object getProperty(String key);

    public AuthorizationManager getSecurity();

    public TimeZone getTimeZone();

    public GenericValue getUserLogin();

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

    public void setCurrencyUom(String currencyUom);

    public void setDelegator(Delegator delegator);

    public void setDispatcher(LocalDispatcher dispatcher);

    public void setLocale(Locale locale);

    public Object setProperty(String key, Object value);

    public void setSecurity(AuthorizationManager security);

    public void setTimeZone(TimeZone timeZone);

    public void setUserLogin(GenericValue userLogin);

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

    public void endRunUnprotected();

    public AccessController getAccessController();

    public ArtifactPath getExecutionPath();

    public String getExecutionPathAsString();

    public String[] getExecutionPathAsArray();

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

    public void popExecutionArtifact();

    public void pushExecutionArtifact(ExecutionArtifact artifact);

    public void reset();

    void runExecutionArtifact(ExecutionArtifact artifact) throws Throwable;

   public void runUnprotected();

}