is.idega.idegaweb.golf.presentation.news
Class GolfNews

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by com.idega.presentation.IWBaseComponent
              extended by is.idega.idegaweb.golf.presentation.news.GolfNews
All Implemented Interfaces:
com.idega.core.cache.CacheableUIComponent, com.idega.event.IWPageEventListener, java.util.EventListener, javax.faces.component.StateHolder

public class GolfNews
extends com.idega.presentation.IWBaseComponent
implements com.idega.event.IWPageEventListener


Field Summary
static java.lang.String LAYOUT_CATEGORY_VIEW
           
static java.lang.String LAYOUT_CLUB_NEWS
           
static java.lang.String LAYOUT_FRONT_VIEW
           
static java.lang.String LAYOUT_OTHER_NEWS
           
static java.lang.String LAYOUT_SINGLE
           
protected static java.lang.String PARAMETER_CATEGORY
           
protected static java.lang.String PARAMETER_CLUB_NEWS
           
protected static java.lang.String PARAMETER_NEWS_ID
           
protected static java.lang.String PARAMETER_NEWS_ITEM_ID
           
 
Fields inherited from class com.idega.presentation.IWBaseComponent
divTag, EXPRESSION_BEGIN, EXPRESSION_END, LOGGER, renderedAtt
 
Fields inherited from class javax.faces.component.UIComponent
bindings
 
Constructor Summary
GolfNews()
           
 
Method Summary
 boolean actionPerformed(com.idega.presentation.IWContext iwc)
           
 void encodeBegin(javax.faces.context.FacesContext context)
           
 java.lang.String getLayout()
           
protected  void initializeComponent(javax.faces.context.FacesContext context)
           
 void setCategory(java.lang.String category)
           
 void setClubNews(boolean clubNews)
           
 void setExcludeCategories(java.lang.String[] excludeCategories)
           
 void setFirstEntry(int firstEntry)
           
 void setLayout(java.lang.String layout)
           
 void setNumberToShow(int numberToShow)
           
 
Methods inherited from class com.idega.presentation.IWBaseComponent
add, decode, encodeChildren, encodeEnd, getBeanInstance, getBundle, getBundle, getCacher, getChildren, getExpression, getExpressionValue, getFamily, getIWBundle, getIWMainApplication, getIWResourceBundle, getLogger, getParentPage, getRendersChildren, getStyleAttribute, getViewState, getWebUtil, initializeContent, isInitialized, isValueBinding, processDecodes, renderChild, restoreState, saveState, setInitialized, setInitialized, setStyleAttribute, setStyleAttribute, updateComponent
 
Methods inherited from class javax.faces.component.UIComponentBase
addFacesListener, broadcast, findComponent, getAttributes, getChildCount, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getValueBinding, invokeOnComponent, isRendered, isTransient, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
 
Methods inherited from class javax.faces.component.UIComponent
encodeAll, getContainerClientId, getValueExpression, setValueExpression
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PARAMETER_NEWS_ID

protected static final java.lang.String PARAMETER_NEWS_ID
See Also:
Constant Field Values

PARAMETER_NEWS_ITEM_ID

protected static final java.lang.String PARAMETER_NEWS_ITEM_ID
See Also:
Constant Field Values

PARAMETER_CATEGORY

protected static final java.lang.String PARAMETER_CATEGORY
See Also:
Constant Field Values

PARAMETER_CLUB_NEWS

protected static final java.lang.String PARAMETER_CLUB_NEWS
See Also:
Constant Field Values

LAYOUT_FRONT_VIEW

public static final java.lang.String LAYOUT_FRONT_VIEW
See Also:
Constant Field Values

LAYOUT_CATEGORY_VIEW

public static final java.lang.String LAYOUT_CATEGORY_VIEW
See Also:
Constant Field Values

LAYOUT_CLUB_NEWS

public static final java.lang.String LAYOUT_CLUB_NEWS
See Also:
Constant Field Values

LAYOUT_OTHER_NEWS

public static final java.lang.String LAYOUT_OTHER_NEWS
See Also:
Constant Field Values

LAYOUT_SINGLE

public static final java.lang.String LAYOUT_SINGLE
See Also:
Constant Field Values
Constructor Detail

GolfNews

public GolfNews()
Method Detail

encodeBegin

public void encodeBegin(javax.faces.context.FacesContext context)
                 throws java.io.IOException
Overrides:
encodeBegin in class com.idega.presentation.IWBaseComponent
Throws:
java.io.IOException

initializeComponent

protected void initializeComponent(javax.faces.context.FacesContext context)
Overrides:
initializeComponent in class com.idega.presentation.IWBaseComponent

actionPerformed

public boolean actionPerformed(com.idega.presentation.IWContext iwc)
                        throws com.idega.idegaweb.IWException
Specified by:
actionPerformed in interface com.idega.event.IWPageEventListener
Throws:
com.idega.idegaweb.IWException

setNumberToShow

public void setNumberToShow(int numberToShow)

setFirstEntry

public void setFirstEntry(int firstEntry)

setCategory

public void setCategory(java.lang.String category)

setExcludeCategories

public void setExcludeCategories(java.lang.String[] excludeCategories)

setClubNews

public void setClubNews(boolean clubNews)

getLayout

public java.lang.String getLayout()

setLayout

public void setLayout(java.lang.String layout)


Copyright © 2000-2014 idega software. All Rights Reserved.