org.exoplatform.wcm.webui.selector
Class UISelectPathPanel

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.wcm.webui.selector.UISelectPathPanel
Direct Known Subclasses:
UISelectPathPanelFolder

public class UISelectPathPanel
extends org.exoplatform.portal.webui.container.UIContainer

Created by The eXo Platform SAS.

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

Nested Class Summary
static class UISelectPathPanel.SelectActionListener
          The listener interface for receiving selectAction events.
 
Nested classes/interfaces inherited from class org.exoplatform.portal.webui.container.UIContainer
org.exoplatform.portal.webui.container.UIContainer.SelectTabActionListener
 
Field Summary
 java.lang.String[] acceptedMimeTypes
          The accepted mime types.
protected  javax.jcr.Node parentNode
          The parent node.
protected  org.exoplatform.services.ecm.publication.PublicationService publicationService_
          The publication service_.
 
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
UISelectPathPanel()
          Instantiates a new uI select path panel.
 
Method Summary
protected  void addNodePublish(java.util.List<javax.jcr.Node> listNode, javax.jcr.Node node, org.exoplatform.services.ecm.publication.PublicationService publicationService)
          Adds the node publish.
 java.lang.String[] getAcceptedMimeTypes()
          Gets the accepted mime types.
 java.lang.String[] getAcceptedNodeTypes()
          Gets the accepted node types.
 java.lang.String[] getDefaultExceptedNodeTypes()
          Gets the default excepted node types.
 java.lang.String[] getExceptedNodeTypes()
          Gets the excepted node types.
 java.util.List<javax.jcr.Node> getListSelectableNodes()
          Gets the list selectable nodes.
 javax.jcr.Node getParentNode()
          Gets the parent node.
 java.lang.String getPathTaxonomy()
          Gets the path taxonomy.
 java.util.List getSelectableNodes()
          Gets the selectable nodes.
 org.exoplatform.webui.core.UIPageIterator getUIPageIterator()
          Gets the uI page iterator.
 boolean isAllowPublish()
          Checks if is allow publish.
 boolean isDMSDocument()
           
protected  boolean isExceptedNodeType(javax.jcr.Node node)
          Checks if is excepted node type.
 boolean isWebContent()
           
 void setAcceptedMimeTypes(java.lang.String[] acceptedMimeTypes)
          Sets the accepted mime types.
 void setAcceptedNodeTypes(java.lang.String[] acceptedNodeTypes)
          Sets the accepted node types.
 void setAllowPublish(boolean allowPublish, org.exoplatform.services.ecm.publication.PublicationService publicationService, java.util.List<java.lang.String> templates)
          Sets the allow publish.
 void setDefaultExceptedNodeTypes(java.lang.String[] defaultExceptedNodeTypes)
          Sets the default excepted node types.
 void setDMSDocument(boolean isDMSDocument)
           
 void setExceptedNodeTypes(java.lang.String[] exceptedNodeTypes)
          Sets the excepted node types.
 void setParentNode(javax.jcr.Node node)
          Sets the parent node.
 void setWebContent(boolean isWebContent)
           
 void updateGrid()
          Update grid.
 
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

acceptedMimeTypes

public java.lang.String[] acceptedMimeTypes
The accepted mime types.


parentNode

protected javax.jcr.Node parentNode
The parent node.


publicationService_

protected org.exoplatform.services.ecm.publication.PublicationService publicationService_
The publication service_.

Constructor Detail

UISelectPathPanel

public UISelectPathPanel()
                  throws java.lang.Exception
Instantiates a new uI select path panel.

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

isWebContent

public boolean isWebContent()

setWebContent

public void setWebContent(boolean isWebContent)

isDMSDocument

public boolean isDMSDocument()

setDMSDocument

public void setDMSDocument(boolean isDMSDocument)

getUIPageIterator

public org.exoplatform.webui.core.UIPageIterator getUIPageIterator()
Gets the uI page iterator.

Returns:
the uI page iterator

isAllowPublish

public boolean isAllowPublish()
Checks if is allow publish.

Returns:
true, if is allow publish

setAllowPublish

public void setAllowPublish(boolean allowPublish,
                            org.exoplatform.services.ecm.publication.PublicationService publicationService,
                            java.util.List<java.lang.String> templates)
Sets the allow publish.

Parameters:
allowPublish - the allow publish
publicationService - the publication service
templates - the templates

addNodePublish

protected void addNodePublish(java.util.List<javax.jcr.Node> listNode,
                              javax.jcr.Node node,
                              org.exoplatform.services.ecm.publication.PublicationService publicationService)
                       throws java.lang.Exception
Adds the node publish.

Parameters:
listNode - the list node
node - the node
publicationService - the publication service
Throws:
java.lang.Exception - the exception

setParentNode

public void setParentNode(javax.jcr.Node node)
Sets the parent node.

Parameters:
node - the new parent node

getParentNode

public javax.jcr.Node getParentNode()
Gets the parent node.

Returns:
the parent node

getAcceptedNodeTypes

public java.lang.String[] getAcceptedNodeTypes()
Gets the accepted node types.

Returns:
the accepted node types

setAcceptedNodeTypes

public void setAcceptedNodeTypes(java.lang.String[] acceptedNodeTypes)
Sets the accepted node types.

Parameters:
acceptedNodeTypes - the new accepted node types

getExceptedNodeTypes

public java.lang.String[] getExceptedNodeTypes()
Gets the excepted node types.

Returns:
the excepted node types

setExceptedNodeTypes

public void setExceptedNodeTypes(java.lang.String[] exceptedNodeTypes)
Sets the excepted node types.

Parameters:
exceptedNodeTypes - the new excepted node types

getDefaultExceptedNodeTypes

public java.lang.String[] getDefaultExceptedNodeTypes()
Gets the default excepted node types.

Returns:
the default excepted node types

setDefaultExceptedNodeTypes

public void setDefaultExceptedNodeTypes(java.lang.String[] defaultExceptedNodeTypes)
Sets the default excepted node types.

Parameters:
defaultExceptedNodeTypes - the new default excepted node types

getAcceptedMimeTypes

public java.lang.String[] getAcceptedMimeTypes()
Gets the accepted mime types.

Returns:
the accepted mime types

setAcceptedMimeTypes

public void setAcceptedMimeTypes(java.lang.String[] acceptedMimeTypes)
Sets the accepted mime types.

Parameters:
acceptedMimeTypes - the new accepted mime types

getSelectableNodes

public java.util.List getSelectableNodes()
                                  throws java.lang.Exception
Gets the selectable nodes.

Returns:
the selectable nodes
Throws:
java.lang.Exception - the exception

updateGrid

public void updateGrid()
                throws java.lang.Exception
Update grid.

Throws:
java.lang.Exception - the exception

getListSelectableNodes

public java.util.List<javax.jcr.Node> getListSelectableNodes()
                                                      throws java.lang.Exception
Gets the list selectable nodes.

Returns:
the list selectable nodes
Throws:
java.lang.Exception - the exception

isExceptedNodeType

protected boolean isExceptedNodeType(javax.jcr.Node node)
                              throws javax.jcr.RepositoryException
Checks if is excepted node type.

Parameters:
node - the node
Returns:
true, if is excepted node type
Throws:
javax.jcr.RepositoryException - the repository exception

getPathTaxonomy

public java.lang.String getPathTaxonomy()
                                 throws java.lang.Exception
Gets the path taxonomy.

Returns:
the path taxonomy
Throws:
java.lang.Exception - the exception


Copyright © 2010 eXo Platform SAS. All Rights Reserved.