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.
 java.lang.String getCurrentState()
           
 javax.jcr.Node getNodeView()
          Gets the node.
 javax.jcr.Node getParameterizedNode()
          Gets the node.
 java.lang.String getPrintUrl()
          Deprecated. 
 java.lang.String getPrintUrl(javax.jcr.Node node)
          Get the print's page URL
 java.lang.String getQuickEditLink()
          Deprecated. 
 java.lang.String getQuickEditLink(javax.jcr.Node node)
          Get the quick edit url
 java.lang.String getTitle(javax.jcr.Node node)
          Gets the title.
 boolean isContextual()
           
 boolean isPrinting()
           
 boolean isShowDate()
           
 boolean isShowInfoBar()
          Gets the bar info show.
 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, getTemplate, getTemplateResourceResolver, getUIComponentName, isRendered, loadConfirmMesssage, processAction, processDecode, processRender, renderEventURL, 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

isShowInfoBar

public boolean isShowInfoBar()
                      throws java.lang.Exception
Gets the bar info show.

Returns:
the value for info bar setting
Throws:
java.lang.Exception - the exception

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()

getCurrentState

public java.lang.String getCurrentState()
                                 throws java.lang.Exception
Throws:
java.lang.Exception

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

@Deprecated
public java.lang.String getPrintUrl()
                             throws javax.jcr.RepositoryException
Deprecated. 

Returns:
Throws:
javax.jcr.RepositoryException

getPrintUrl

public java.lang.String getPrintUrl(javax.jcr.Node node)
                             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

@Deprecated
public java.lang.String getQuickEditLink()
Deprecated. 


getQuickEditLink

public java.lang.String getQuickEditLink(javax.jcr.Node node)
Get the quick edit url

Parameters:
node -
Returns:


Copyright © 2012 eXo Platform SAS. All Rights Reserved.