org.jsxp.framework
Class Scopes<K,V>

java.lang.Object
  extended by org.jsxp.framework.Scopes<K,V>

public class Scopes<K,V>
extends java.lang.Object

The Class Scopes. Basic container for the different scopes.


Method Summary
 java.util.Map<K,V> getApplicationAttributes()
          Gets the application attributes.
 java.util.Map<K,V> getApplicationScope()
          Gets the application scope.
 java.util.Map<K,V> getFlashAttributes()
          Gets the flash attributes.
 java.util.Map<K,V> getFlashScope()
          Gets the flash scope.
 java.util.Map<K,V> getRequestAttributes()
          Gets the request attributes.
 java.util.Map<K,V> getRequestScope()
          Gets the request scope.
 java.util.Map<K,V> getSessionAttributes()
          Gets the session attributes.
 java.util.Map<K,V> getSessionScope()
          Gets the session scope.
 java.util.Map<K,V> getViewAttributes()
          Gets the view attributes.
 java.util.Map<K,V> getViewScope()
          Gets the view scope.
 void renewFlashAttributes()
          Renew flash attributes.
 void renewFlashScope(K key)
          Renew flash scope.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getApplicationAttributes

public java.util.Map<K,V> getApplicationAttributes()
Gets the application attributes.

Returns:
the application attributes

getApplicationScope

public java.util.Map<K,V> getApplicationScope()
Gets the application scope.

Returns:
the application scope

getFlashAttributes

public java.util.Map<K,V> getFlashAttributes()
Gets the flash attributes.

Returns:
the flash attributes

getFlashScope

public java.util.Map<K,V> getFlashScope()
Gets the flash scope.

Returns:
the flash scope

getRequestAttributes

public java.util.Map<K,V> getRequestAttributes()
Gets the request attributes.

Returns:
the request attributes

getRequestScope

public java.util.Map<K,V> getRequestScope()
Gets the request scope.

Returns:
the request scope

getSessionAttributes

public java.util.Map<K,V> getSessionAttributes()
Gets the session attributes.

Returns:
the session attributes

getSessionScope

public java.util.Map<K,V> getSessionScope()
Gets the session scope.

Returns:
the session scope

getViewAttributes

public java.util.Map<K,V> getViewAttributes()
Gets the view attributes.

Returns:
the view attributes

getViewScope

public java.util.Map<K,V> getViewScope()
Gets the view scope.

Returns:
the view scope

renewFlashAttributes

public void renewFlashAttributes()
Renew flash attributes.


renewFlashScope

public void renewFlashScope(K key)
Renew flash scope.

Parameters:
key - the key


Copyright © 2012 Oliver Szymanski & David Tanzer