org.exoplatform.wcm.webui.scv
Class UIPresentationContainer

java.lang.Object
  extended by org.exoplatform.webui.core.UIComponent
      extended by org.exoplatform.webui.core.UIContainer
          extended by org.exoplatform.wcm.webui.scv.UIPresentationContainer

public class UIPresentationContainer
extends org.exoplatform.webui.core.UIContainer

Author : Do Ngoc Anh * Email: anh.do@exoplatform.com * May 14, 2008


Nested Class Summary
static class UIPresentationContainer.PreferencesActionListener
          The listener interface for receiving preferencesAction events.
 
Nested classes/interfaces inherited from class org.exoplatform.webui.core.UIContainer
org.exoplatform.webui.core.UIContainer.SelectTabActionListener
 
Field Summary
static java.lang.String PARAMETER_REGX
           
 
Fields inherited from class org.exoplatform.webui.core.UIComponent
AJAX_ASYNC, config, OBJECTID, UICOMPONENT, uiparent
 
Constructor Summary
UIPresentationContainer()
          Instantiates a new uI presentation container.
 
Method Summary
 java.lang.String getCreatedDate(javax.jcr.Node node)
          Gets the created date.
 javax.jcr.Node getNodeView()
          Gets the node.
 javax.jcr.Node getParameterizedNode()
          Gets the node.
 java.lang.String getPrintUrl()
          Get the print's page URL
 java.lang.String getQuickEditLink()
           
 java.lang.String getTitle(javax.jcr.Node node)
          Gets the title.
 boolean isContextual()
           
 boolean isPrinting()
           
 boolean isShowDate()
           
 boolean isShowOptionBar()
           
 boolean isShowTitle()
           
 
Methods inherited from class org.exoplatform.webui.core.UIContainer
addChild, addChild, findComponentById, findComponentOfType, findFirstComponentOfType, getChild, getChild, getChildById, getChildren, hasChildren, removeChild, removeChildById, renderChild, renderChild, renderChild, renderChild, renderChildren, renderChildren, renderUIComponent, replaceChild, replaceChild, setChildren, setRenderedChild, setRenderedChild, setRenderedChildrenOfTypes
 
Methods inherited from class org.exoplatform.webui.core.UIComponent
broadcast, createEvent, createUIComponent, createUIComponent, createUIComponent, doAsync, event, event, event, getAncestorOfType, getApplicationComponent, getComponentConfig, getId, getName, getParent, getRendererFor, getTemplate, getTemplateResourceResolver, getUIComponentName, isRendered, loadConfirmMesssage, processAction, processDecode, processRender, registerRendererFor, setComponentConfig, setComponentConfig, setId, setParent, setRendered, setRenderSibling, url, url, url
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PARAMETER_REGX

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

UIPresentationContainer

public UIPresentationContainer()
                        throws java.lang.Exception
Instantiates a new uI presentation container.

Throws:
java.lang.Exception - the exception
Method Detail

getTitle

public java.lang.String getTitle(javax.jcr.Node node)
                          throws java.lang.Exception
Gets the title.

Parameters:
node - the node
Returns:
the title
Throws:
java.lang.Exception - the exception

isPrinting

public boolean isPrinting()

isShowTitle

public boolean isShowTitle()

isShowDate

public boolean isShowDate()

isShowOptionBar

public boolean isShowOptionBar()

isContextual

public boolean isContextual()

getCreatedDate

public java.lang.String getCreatedDate(javax.jcr.Node node)
                                throws java.lang.Exception
Gets the created date.

Parameters:
node - the node
Returns:
the created date
Throws:
java.lang.Exception - the exception

getNodeView

public javax.jcr.Node getNodeView()
Gets the node.

Returns:
the node
Throws:
java.lang.Exception - the exception

getParameterizedNode

public javax.jcr.Node getParameterizedNode()
                                    throws java.lang.Exception
Gets the node.

Returns:
the node
Throws:
java.lang.Exception - the exception

getPrintUrl

public java.lang.String getPrintUrl()
                             throws javax.jcr.RepositoryException
Get the print's page URL

Returns:
true if the Quick Print is shown. Otherwise, false
Throws:
javax.jcr.RepositoryException

getQuickEditLink

public java.lang.String getQuickEditLink()


Copyright © 2010 eXo Platform SAS. All Rights Reserved.