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.FastPublishActionListener
           
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 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
 String getCreatedDate(javax.jcr.Node node)
          Gets the created date.
 String getCurrentState()
           
 String getInlineEditingField(javax.jcr.Node orgNode, String propertyName)
           
 String getInlineEditingField(javax.jcr.Node orgNode, String propertyName, String defaultValue, String inputType, String idGenerator, String cssClass, boolean isGenericProperty, String... arguments)
           
 String getInlineEditingMsg()
           
 javax.jcr.Node getNodeView()
          Gets the node.
 javax.jcr.Node getOriginalNode()
           
 javax.jcr.Node getParameterizedNode()
          Gets the node.
 String getPrintUrl(javax.jcr.Node node)
          Get the print's page URL
 String getQuickEditLink(javax.jcr.Node node)
          Get the quick edit url
 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()
           
 boolean isViewMode()
           
 
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 String PARAMETER_REGX
See Also:
Constant Field Values
Constructor Detail

UIPresentationContainer

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

Throws:
Exception - the exception
Method Detail

isShowInfoBar

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

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

getTitle

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

Parameters:
node - the node
Returns:
the title
Throws:
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 String getCurrentState()
                       throws Exception
Throws:
Exception

getCreatedDate

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

Parameters:
node - the node
Returns:
the created date
Throws:
Exception - the exception

getNodeView

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

Returns:
the node
Throws:
Exception - the exception

getParameterizedNode

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

Returns:
the node
Throws:
Exception - the exception

getPrintUrl

public 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

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

Parameters:
node -
Returns:

getOriginalNode

public javax.jcr.Node getOriginalNode()

isViewMode

public boolean isViewMode()

getInlineEditingMsg

public String getInlineEditingMsg()

getInlineEditingField

public String getInlineEditingField(javax.jcr.Node orgNode,
                                    String propertyName,
                                    String defaultValue,
                                    String inputType,
                                    String idGenerator,
                                    String cssClass,
                                    boolean isGenericProperty,
                                    String... arguments)
                             throws Exception
Throws:
Exception

getInlineEditingField

public String getInlineEditingField(javax.jcr.Node orgNode,
                                    String propertyName)
                             throws Exception
Throws:
Exception


Copyright © 2003-2013 eXo Platform SAS. All Rights Reserved.