org.apache.myfaces.extensions.cdi.jsf.impl.config.view.spi
Interface EditableViewConfigDescriptor

All Superinterfaces:
ViewConfigDescriptor
All Known Implementing Classes:
DefaultViewConfigDescriptor

public interface EditableViewConfigDescriptor
extends ViewConfigDescriptor

Allows to provide a custom ViewConfigDescriptor


Method Summary
 void addPageBean(Class pageBeanClass)
          Allows to add page-beans
 Class<? extends ViewConfig> getErrorView()
          Exposes the inline error-page
 Page.ViewParameterMode getViewParameterMode()
          Exposes the Page.ViewParameterMode of the current entry
 void invokeInitViewMethods()
          Invokes the methods annotated with InitView
 void invokePostRenderViewMethods()
          Invokes the methods annotated with PostRenderView
 void invokePrePageActionMethods()
          Invokes the methods annotated with PrePageAction
 void invokePreRenderViewMethods()
          Invokes the methods annotated with PreRenderView
 boolean isPartialViewConfig()
          Exposes if the current view-config represents a partial config which isn't created based on a central config
 void setPartialViewConfig(boolean partialMode)
          Allows to mark the current descriptor as partial config e.g. due to inline configs with View
 
Methods inherited from interface org.apache.myfaces.extensions.cdi.jsf.api.config.view.ViewConfigDescriptor
getAccessDecisionVoters, getMetaData, getMetaData, getNavigationMode, getPageBeanDescriptors, getViewConfig, getViewId
 

Method Detail

getErrorView

Class<? extends ViewConfig> getErrorView()
Exposes the inline error-page

Returns:
inline error-page

getViewParameterMode

Page.ViewParameterMode getViewParameterMode()
Exposes the Page.ViewParameterMode of the current entry

Returns:
current view-parameter-mode

addPageBean

void addPageBean(Class pageBeanClass)
Allows to add page-beans

Parameters:
pageBeanClass - page-bean which should be added

setPartialViewConfig

void setPartialViewConfig(boolean partialMode)
Allows to mark the current descriptor as partial config e.g. due to inline configs with View

Parameters:
partialMode - indicates if the entry is in the partial view-config mode

isPartialViewConfig

boolean isPartialViewConfig()
Exposes if the current view-config represents a partial config which isn't created based on a central config

Returns:
true if it is a partial config, false otherwise

invokeInitViewMethods

void invokeInitViewMethods()
Invokes the methods annotated with InitView


invokePrePageActionMethods

void invokePrePageActionMethods()
Invokes the methods annotated with PrePageAction


invokePreRenderViewMethods

void invokePreRenderViewMethods()
Invokes the methods annotated with PreRenderView


invokePostRenderViewMethods

void invokePostRenderViewMethods()
Invokes the methods annotated with PostRenderView



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