com.liferay.faces.bridge
Interface RequestAttributeInspector

All Known Implementing Classes:
RequestAttributeInspectorWrapper

public interface RequestAttributeInspector

Author:
Neil Griffin

Method Summary
 boolean containsExcludedNamespace(String name)
          Determines whether or not a request attribute is to be excluded from the bridge request scope because the specified name name starts with a particular sequence of characters (a namespace).
 boolean isExcludedByAnnotation(String name, Object value)
          Determines whether or not a request attribute is to be excluded from the bridge request scope because the specified value is an instance of a class annotated with ExcludeFromManagedRequestScope.
 boolean isExcludedByConfig(String name, Object value)
          Determines whether or not a request attribute is to be excluded from the bridge request scope because the specified name appears in the bridge:excluded-attributes element within the faces-config.xml descriptor.
 boolean isExcludedByPreExisting(String name, Object value)
          Determines whether or not a request attribute is to be excluded from the bridge request scope because the specified name matches the name of a request attribute that existed before the bridge acquired the FacesContext.
 boolean isExcludedByType(String name, Object value)
          Determines whether or not a request attribute is to be excluded from the bridge request scope because the specified value is an instance of a particular class such as those listed in Section 5.1.2 of the Bridge Specification.
 

Method Detail

containsExcludedNamespace

boolean containsExcludedNamespace(String name)
Determines whether or not a request attribute is to be excluded from the bridge request scope because the specified name name starts with a particular sequence of characters (a namespace).

Parameters:
name - The request attribute name.
Returns:
If the request attribute is to be excluded then the return value is true. Otherwise, the return value is false.

isExcludedByAnnotation

boolean isExcludedByAnnotation(String name,
                               Object value)
Determines whether or not a request attribute is to be excluded from the bridge request scope because the specified value is an instance of a class annotated with ExcludeFromManagedRequestScope.

Parameters:
name - The request attribute name.
value - The request attribute value.
Returns:
If the request attribute is to be excluded then the return value is true. Otherwise, the return value is false.

isExcludedByConfig

boolean isExcludedByConfig(String name,
                           Object value)
Determines whether or not a request attribute is to be excluded from the bridge request scope because the specified name appears in the bridge:excluded-attributes element within the faces-config.xml descriptor.

Parameters:
name - The request attribute name.
value - The request attribute value.
Returns:
If the request attribute is to be excluded then the return value is true. Otherwise, the return value is false.

isExcludedByPreExisting

boolean isExcludedByPreExisting(String name,
                                Object value)
Determines whether or not a request attribute is to be excluded from the bridge request scope because the specified name matches the name of a request attribute that existed before the bridge acquired the FacesContext.

Parameters:
name - The request attribute name.
value - The request attribute value.
Returns:
If the request attribute is to be excluded then the return value is true. Otherwise, the return value is false.

isExcludedByType

boolean isExcludedByType(String name,
                         Object value)
Determines whether or not a request attribute is to be excluded from the bridge request scope because the specified value is an instance of a particular class such as those listed in Section 5.1.2 of the Bridge Specification.

Parameters:
name - The request attribute name.
value - The request attribute value.
Returns:
If the request attribute is to be excluded then the return value is true. Otherwise, the return value is false.


Copyright © 2017 Liferay, Inc. All Rights Reserved.