eXo JCR :: Open Office WebDav plugin 1.15.8-GA

org.exoplatform.applications.ooplugin
Class SaveDialog

java.lang.Object
  extended by org.exoplatform.applications.ooplugin.PlugInDialog
      extended by org.exoplatform.applications.ooplugin.BrowseDialog
          extended by org.exoplatform.applications.ooplugin.SaveDialog

public class SaveDialog
extends BrowseDialog

Created by The eXo Platform SAS Author.

Version:
$Id: $
Author:
Vitaly Guly

Nested Class Summary
 
Nested classes/interfaces inherited from class org.exoplatform.applications.ooplugin.BrowseDialog
BrowseDialog.OpenThread
 
Field Summary
static String DIALOG_NAME
           
 
Fields inherited from class org.exoplatform.applications.ooplugin.BrowseDialog
BTN_CANCEL, BTN_PREV, COMBO_PATH, currentPath, isNeedAddHandlers, JCR_MIMETYPE, JCR_NAMESPACE, JCR_PREFIX, LASTMODIFIED_SIZE, LBL_TABLEHEAD, LST_ITEMS, MIMETYPE_SIZE, NAME_LEN, openThread, responses, SIZE_LEN, VNAME_LEN
 
Fields inherited from class org.exoplatform.applications.ooplugin.PlugInDialog
config, dialogName, enabled, eventHandlers, xComponentContext, xControlContainer, xDialog, xFrame, xToolkit
 
Constructor Summary
SaveDialog(WebDavConfig config, com.sun.star.uno.XComponentContext xComponentContext, com.sun.star.frame.XFrame xFrame, com.sun.star.awt.XToolkit xToolkit, boolean isSaveAs)
           
 
Method Summary
protected  void disableAll()
           
protected  boolean doSave(String localPath, String remotePath)
           
protected  void doSaveFile()
           
protected  void doSelectItem()
           
protected  void enableAll()
           
 String getDocumentFileName()
           
protected  String getEditFileName()
           
 String getEditFilterValue()
           
protected  String getSessionPath()
           
 String[] getTypedFileInfo()
           
 String[] getTypedFileInfo(String fileName)
           
protected  void initDefaults()
           
 boolean launchBeforeOpen()
           
protected  void setEditFileName(String fileName)
           
 void setEditFilterValue(String typeValue)
           
protected  void setSessionPath(String path)
           
 void storeLocal(String url, String filter)
           
 
Methods inherited from class org.exoplatform.applications.ooplugin.BrowseDialog
createDialog, doPropFind, doPropFindResponse, fillItemsList, formatResponseLine, getSelectedItemPos, isCollection
 
Methods inherited from class org.exoplatform.applications.ooplugin.PlugInDialog
addHandler, confirmMessageBox, doOpenRemoteFile, getConponentContext, getControlContainer, getDialogName, isEnableg, prepareTmpPath, setControlContainer, setEnabled, showMessageBox
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DIALOG_NAME

public static final String DIALOG_NAME
See Also:
Constant Field Values
Constructor Detail

SaveDialog

public SaveDialog(WebDavConfig config,
                  com.sun.star.uno.XComponentContext xComponentContext,
                  com.sun.star.frame.XFrame xFrame,
                  com.sun.star.awt.XToolkit xToolkit,
                  boolean isSaveAs)
Method Detail

disableAll

protected void disableAll()
Overrides:
disableAll in class BrowseDialog

enableAll

protected void enableAll()
Overrides:
enableAll in class BrowseDialog

getEditFileName

protected String getEditFileName()

setEditFileName

protected void setEditFileName(String fileName)

doSelectItem

protected void doSelectItem()
Overrides:
doSelectItem in class BrowseDialog

getTypedFileInfo

public String[] getTypedFileInfo()
                          throws DialogException
Throws:
DialogException

getTypedFileInfo

public String[] getTypedFileInfo(String fileName)
                          throws DialogException
Throws:
DialogException

doSaveFile

protected void doSaveFile()
                   throws Exception
Throws:
Exception

setSessionPath

protected void setSessionPath(String path)
                       throws com.sun.star.lang.IndexOutOfBoundsException
Throws:
com.sun.star.lang.IndexOutOfBoundsException

getSessionPath

protected String getSessionPath()
                         throws com.sun.star.lang.IndexOutOfBoundsException
Throws:
com.sun.star.lang.IndexOutOfBoundsException

getEditFilterValue

public String getEditFilterValue()

setEditFilterValue

public void setEditFilterValue(String typeValue)

storeLocal

public void storeLocal(String url,
                       String filter)

launchBeforeOpen

public boolean launchBeforeOpen()
Overrides:
launchBeforeOpen in class BrowseDialog

initDefaults

protected void initDefaults()
                     throws Exception
Throws:
Exception

getDocumentFileName

public String getDocumentFileName()
                           throws UnsupportedEncodingException
Throws:
UnsupportedEncodingException

doSave

protected boolean doSave(String localPath,
                         String remotePath)

eXo JCR :: Open Office WebDav plugin 1.15.8-GA

Copyright © 2014 eXo Platform SAS. All Rights Reserved.