org.apache.myfaces.extensions.cdi.jsf.api.config.view
Interface ViewConfigDescriptor


public interface ViewConfigDescriptor

Author:
Gerhard Petracek

Method Summary
 List<Class<? extends AccessDecisionVoter>> getAccessDecisionVoters()
          AccessDecisionVoters which should be invoked to secure the page represented by the current entry.
 List<Annotation> getMetaData()
          Custom meta-data which is configured for the entry.
<T extends Annotation>
List<T>
getMetaData(Class<T> target)
          Custom meta-data which is configured for the entry.
 Page.NavigationMode getNavigationMode()
          Navigation type which should be used if type-safe navigation is used
 List<PageBeanDescriptor> getPageBeanDescriptors()
          Page-bean descriptors for the page represented by the current entry.
 Class<? extends ViewConfig> getViewConfig()
          Class which was used for creating the current descriptor
 String getViewId()
          View-ID of the current descriptor
 

Method Detail

getViewId

String getViewId()
View-ID of the current descriptor

Returns:
current view-id

getViewConfig

Class<? extends ViewConfig> getViewConfig()
Class which was used for creating the current descriptor

Returns:
view-config class

getNavigationMode

Page.NavigationMode getNavigationMode()
Navigation type which should be used if type-safe navigation is used

Returns:
configured navigation mode

getMetaData

List<Annotation> getMetaData()
Custom meta-data which is configured for the entry. It allows to provide and resolve custom meta-data annotated with ViewMetaData

Returns:
custom meta-data of the current entry

getMetaData

<T extends Annotation> List<T> getMetaData(Class<T> target)
Custom meta-data which is configured for the entry. It allows to provide and resolve custom meta-data annotated with ViewMetaData

Parameters:
target - target type
Returns:
custom meta-data for the given type of the current entry

getAccessDecisionVoters

List<Class<? extends AccessDecisionVoter>> getAccessDecisionVoters()
AccessDecisionVoters which should be invoked to secure the page represented by the current entry.

Returns:
configured access-decision-voters

getPageBeanDescriptors

List<PageBeanDescriptor> getPageBeanDescriptors()
Page-bean descriptors for the page represented by the current entry.

Returns:
descriptors which represent the page-beans for the current page


Copyright © 2010-2011 The Apache Software Foundation. All Rights Reserved.