org.exoplatform.wcm.webui.selector.content
Class UIContentBrowsePanel

java.lang.Object
  extended by org.exoplatform.webui.core.UIComponent
      extended by org.exoplatform.webui.core.UIContainer
          extended by org.exoplatform.portal.webui.portal.UIPortalComponent
              extended by org.exoplatform.portal.webui.container.UIContainer
                  extended by org.exoplatform.ecm.webui.tree.UIBaseNodeTreeSelector
                      extended by org.exoplatform.wcm.webui.selector.content.UIContentBrowsePanel
All Implemented Interfaces:
org.exoplatform.ecm.webui.selector.ComponentSelector, org.exoplatform.webui.core.UIPopupComponent
Direct Known Subclasses:
UIContentBrowsePanelFolder, UIContentBrowsePanelMulti, UIContentBrowsePanelOne

public abstract class UIContentBrowsePanel
extends org.exoplatform.ecm.webui.tree.UIBaseNodeTreeSelector
implements org.exoplatform.webui.core.UIPopupComponent

Created by The eXo Platform SAS.

Author:
: Hoa.Pham hoa.pham@exoplatform.com Jun 23, 2008

Nested Class Summary
static class UIContentBrowsePanel.ChangeContentTypeActionListener
           
 
Nested classes/interfaces inherited from class org.exoplatform.portal.webui.container.UIContainer
org.exoplatform.portal.webui.container.UIContainer.SelectTabActionListener
 
Field Summary
 java.lang.String contentType
           
static java.lang.String DMSDOCUMENT
           
static java.lang.String MEDIA
           
static java.lang.String[] MEDIA_MIMETYPE
           
 java.lang.String SELECT_TYPE_CONTENT
           
 java.lang.String selectedValues
           
 java.lang.String[] types
           
static java.lang.String WEBCONTENT
           
static java.lang.String[] WEBCONTENT_NODERTYPE
           
 
Fields inherited from class org.exoplatform.ecm.webui.tree.UIBaseNodeTreeSelector
returnFieldName, sourceUIComponent
 
Fields inherited from class org.exoplatform.portal.webui.container.UIContainer
creator, description, icon, modifier
 
Fields inherited from class org.exoplatform.portal.webui.portal.UIPortalComponent
COMPONENT_EDIT_MODE, COMPONENT_VIEW_MODE, factoryId, height_, mode_, name_, template_, width_
 
Fields inherited from class org.exoplatform.webui.core.UIComponent
config, OBJECTID, UICOMPONENT, uiparent
 
Constructor Summary
UIContentBrowsePanel()
           
 
Method Summary
 void activate()
           
 void deActivate()
           
abstract  void doSelect(javax.jcr.Node node, org.exoplatform.webui.application.WebuiRequestContext requestContext)
           
 javax.jcr.Node getCurrentPortal()
           
 void init()
          Inits the.
 void onChange(javax.jcr.Node node, java.lang.Object context)
           
 void reRenderChild(java.lang.String typeContent)
           
 void setCurrentPortal(javax.jcr.Node currentPortal)
           
 
Methods inherited from class org.exoplatform.ecm.webui.tree.UIBaseNodeTreeSelector
getReturnFieldName, getSourceComponent, setReturnFieldName, setSourceComponent
 
Methods inherited from class org.exoplatform.portal.webui.container.UIContainer
getCreator, getDescription, getIcon, getModifier, setCreator, setDescription, setIcon, setModifier
 
Methods inherited from class org.exoplatform.portal.webui.portal.UIPortalComponent
getFactoryId, getHeight, getMode, getName, getTemplate, getTitle, getWidth, isEditMode, isModifiable, isShowEditControl, setFactoryId, setHeight, setMode, setModifiable, setName, setShowEditControl, setTemplate, setTitle, setWidth
 
Methods inherited from class org.exoplatform.webui.core.UIContainer
addChild, addChild, findComponentById, findComponentOfType, findFirstComponentOfType, getChild, getChild, getChildById, getChildren, hasChildren, removeChild, removeChildById, renderChild, renderChild, renderChild, renderChildren, renderChildren, renderUIComponent, replaceChild, replaceChild, setChildren, setRenderedChild, setRenderedChild, setRenderedChildrenOfTypes, visit
 
Methods inherited from class org.exoplatform.webui.core.UIComponent
broadcast, createEvent, createUIComponent, createUIComponent, createUIComponent, event, event, event, getAncestorOfType, getApplicationComponent, getComponentConfig, getId, getParent, getTemplateResourceResolver, getUIComponentName, isRendered, loadConfirmMesssage, processAction, processDecode, processRender, setComponentConfig, setComponentConfig, setId, setParent, setRendered, setRenderSibbling, url, url, url
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WEBCONTENT_NODERTYPE

public static final java.lang.String[] WEBCONTENT_NODERTYPE

MEDIA_MIMETYPE

public static final java.lang.String[] MEDIA_MIMETYPE

WEBCONTENT

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

DMSDOCUMENT

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

MEDIA

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

SELECT_TYPE_CONTENT

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

types

public java.lang.String[] types

selectedValues

public java.lang.String selectedValues

contentType

public java.lang.String contentType
Constructor Detail

UIContentBrowsePanel

public UIContentBrowsePanel()
                     throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

reRenderChild

public void reRenderChild(java.lang.String typeContent)
                   throws java.lang.Exception
Throws:
java.lang.Exception

doSelect

public abstract void doSelect(javax.jcr.Node node,
                              org.exoplatform.webui.application.WebuiRequestContext requestContext)
                       throws java.lang.Exception
Throws:
java.lang.Exception

init

public void init()
          throws java.lang.Exception
Inits the.

Throws:
java.lang.Exception - the exception

onChange

public void onChange(javax.jcr.Node node,
                     java.lang.Object context)
              throws java.lang.Exception
Specified by:
onChange in class org.exoplatform.ecm.webui.tree.UIBaseNodeTreeSelector
Throws:
java.lang.Exception

activate

public void activate()
              throws java.lang.Exception
Specified by:
activate in interface org.exoplatform.webui.core.UIPopupComponent
Throws:
java.lang.Exception

deActivate

public void deActivate()
                throws java.lang.Exception
Specified by:
deActivate in interface org.exoplatform.webui.core.UIPopupComponent
Throws:
java.lang.Exception

getCurrentPortal

public javax.jcr.Node getCurrentPortal()
Returns:
the currentPortal

setCurrentPortal

public void setCurrentPortal(javax.jcr.Node currentPortal)
Parameters:
currentPortal - the currentPortal to set


Copyright © 2010 eXo Platform SAS. All Rights Reserved.