org.exoplatform.webui.commons
Class UIDocumentSelector

java.lang.Object
  extended by org.exoplatform.webui.core.UIComponent
      extended by org.exoplatform.webui.core.UIContainer
          extended by org.exoplatform.webui.commons.UIDocumentSelector

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

Created by The eXo Platform SAS Author : Lai Trung Hieu hieu.lai@exoplatform.com 8 Apr 2011


Nested Class Summary
static class UIDocumentSelector.ChangeOptionActionListener
           
static class UIDocumentSelector.SelectFileActionListener
           
static class UIDocumentSelector.SelectFolderActionListener
           
 
Nested classes/interfaces inherited from class org.exoplatform.webui.core.UIContainer
org.exoplatform.webui.core.UIContainer.SelectTabActionListener
 
Field Summary
protected static String CREATE_FOLDER
           
protected static String DATA_ID
           
protected static String DELETE_FOLDER_OR_FILE
           
protected static String GET_DRIVES
           
protected static String GET_FOLDERS_AND_FILES
           
protected static String PARAM_CURRENT_FOLDER
           
protected static String PARAM_DRIVE_NAME
           
protected static String PARAM_DRIVE_TYPE
           
protected static String PARAM_FOLDER_NAME
           
protected static String PARAM_IS_FOLDER_ONLY
           
protected static String PARAM_ITEM_PATH
           
protected static String PARAM_WORKSPACE_NAME
           
protected static String REST_PREFIX
           
protected static String SELECT_FILE
           
protected static String SELECT_FOLDER
           
protected  String seletedFile
           
protected  String seletedFolder
           
protected static String UPLOAD_AREA
           
 
Fields inherited from class org.exoplatform.webui.core.UIComponent
AJAX_ASYNC, config, OBJECTID, UICOMPONENT, uiparent
 
Constructor Summary
UIDocumentSelector()
           
 
Method Summary
protected  String getRestContext()
           
 String getSeletedFile()
           
 String getSeletedFolder()
           
 boolean isShowUpload()
           
 void setSeletedFile(String seletedFile)
           
 void setSeletedFolder(String seletedFolder)
           
 void setShowUpload(boolean isShowUpload)
           
 
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

UPLOAD_AREA

protected static final String UPLOAD_AREA
See Also:
Constant Field Values

SELECT_FILE

protected static final String SELECT_FILE
See Also:
Constant Field Values

SELECT_FOLDER

protected static final String SELECT_FOLDER
See Also:
Constant Field Values

REST_PREFIX

protected static final String REST_PREFIX
See Also:
Constant Field Values

GET_DRIVES

protected static final String GET_DRIVES
See Also:
Constant Field Values

GET_FOLDERS_AND_FILES

protected static final String GET_FOLDERS_AND_FILES
See Also:
Constant Field Values

DELETE_FOLDER_OR_FILE

protected static final String DELETE_FOLDER_OR_FILE
See Also:
Constant Field Values

CREATE_FOLDER

protected static final String CREATE_FOLDER
See Also:
Constant Field Values

PARAM_DRIVE_TYPE

protected static final String PARAM_DRIVE_TYPE
See Also:
Constant Field Values

PARAM_DRIVE_NAME

protected static final String PARAM_DRIVE_NAME
See Also:
Constant Field Values

PARAM_WORKSPACE_NAME

protected static final String PARAM_WORKSPACE_NAME
See Also:
Constant Field Values

PARAM_CURRENT_FOLDER

protected static final String PARAM_CURRENT_FOLDER
See Also:
Constant Field Values

PARAM_IS_FOLDER_ONLY

protected static final String PARAM_IS_FOLDER_ONLY
See Also:
Constant Field Values

PARAM_FOLDER_NAME

protected static final String PARAM_FOLDER_NAME
See Also:
Constant Field Values

PARAM_ITEM_PATH

protected static final String PARAM_ITEM_PATH
See Also:
Constant Field Values

DATA_ID

protected static final String DATA_ID
See Also:
Constant Field Values

seletedFile

protected String seletedFile

seletedFolder

protected String seletedFolder
Constructor Detail

UIDocumentSelector

public UIDocumentSelector()
                   throws Exception
Throws:
Exception
Method Detail

isShowUpload

public boolean isShowUpload()

setShowUpload

public void setShowUpload(boolean isShowUpload)

getSeletedFile

public String getSeletedFile()

setSeletedFile

public void setSeletedFile(String seletedFile)

getSeletedFolder

public String getSeletedFolder()

setSeletedFolder

public void setSeletedFolder(String seletedFolder)

getRestContext

protected String getRestContext()


Copyright © 2013 eXo Platform SAS. All Rights Reserved.