org.apache.empire.jsf2.pages
Class PageElement

java.lang.Object
  extended by org.apache.empire.jsf2.pages.PageElement
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ListPageElement, RecordPageElement

public class PageElement
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
protected PageElement(Page page, String propertyName)
           
 
Method Summary
 Connection getConnection(DBDatabase db)
           
 Connection getConnection(DBObject dbo)
           
 Page getPage()
           
 String getPropertyName()
           
protected
<T> T
getSessionObject(Class<T> type)
          Session Object handling
protected  void onInitPage()
           
protected  void onRefreshPage()
           
protected
<T> void
removeSessionObject(Class<T> type)
           
protected
<T> void
setSessionObject(Class<T> type, T object)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PageElement

protected PageElement(Page page,
                      String propertyName)
Method Detail

getPropertyName

public String getPropertyName()

getPage

public Page getPage()

onInitPage

protected void onInitPage()

onRefreshPage

protected void onRefreshPage()

getSessionObject

protected <T> T getSessionObject(Class<T> type)
Session Object handling

Parameters:
type -
Returns:

setSessionObject

protected <T> void setSessionObject(Class<T> type,
                                    T object)

removeSessionObject

protected <T> void removeSessionObject(Class<T> type)

getConnection

public Connection getConnection(DBDatabase db)

getConnection

public Connection getConnection(DBObject dbo)


Copyright © 2008–2014 Apache Software Foundation. All rights reserved.