org.deegree.console
Class WorkspaceBean

java.lang.Object
  extended by org.deegree.console.WorkspaceBean
All Implemented Interfaces:
Serializable

public class WorkspaceBean
extends Object
implements Serializable

JSF Bean for controlling various global aspects of the DeegreeWorkspace.

Version:
$Revision: $, $Date: $
Author:
Markus Schneider, last edited by: $Author: markus $
See Also:
Serialized Form

Field Summary
static String WS_MAIN_VIEW
           
static String WS_UPLOAD_VIEW
           
 
Constructor Summary
WorkspaceBean()
           
 
Method Summary
 String applyChanges()
           
 void deleteWorkspace()
           
 void downloadWorkspace()
           
 List<String> downloadWorkspaceList(String url)
           
 DeegreeWorkspace getActiveWorkspace()
          Returns the currently active DeegreeWorkspace.
 String getLastMessage()
           
 boolean getOtherAvailable()
           
 boolean getPendingChanges()
           
 List<String> getRemoteWorkspaces()
           
static long getSerialversionuid()
           
 UploadedFile getUpload()
           
 String getWorkspaceImportName()
           
 String getWorkspaceImportUrl()
           
 List<String> getWorkspaceList()
           
 HashMap<String,String> getWorkspaceLocations()
           
 String getWorkspaceRoot()
           
static String getWsDownloadBaseUrl()
           
static String[] getWsDownloadUrls()
           
static String getWsMainView()
           
static String getWsUploadView()
           
 void importWorkspace()
           
 boolean isModified()
           
 void setLastMessage(String lastMessage)
           
 void setModified()
           
 void setModified(boolean modified)
           
 void setUpload(UploadedFile upload)
           
 void setWorkspaceImportName(String workspaceImportName)
           
 void setWorkspaceImportUrl(String workspaceImportUrl)
           
 void startWorkspace()
           
 String unzipWorkspace()
           
 String uploadWorkspace()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WS_MAIN_VIEW

public static final String WS_MAIN_VIEW
See Also:
Constant Field Values

WS_UPLOAD_VIEW

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

WorkspaceBean

public WorkspaceBean()
Method Detail

getLastMessage

public String getLastMessage()

setLastMessage

public void setLastMessage(String lastMessage)

getWorkspaceImportUrl

public String getWorkspaceImportUrl()

setWorkspaceImportUrl

public void setWorkspaceImportUrl(String workspaceImportUrl)

getWorkspaceImportName

public String getWorkspaceImportName()

setWorkspaceImportName

public void setWorkspaceImportName(String workspaceImportName)

getUpload

public UploadedFile getUpload()

setUpload

public void setUpload(UploadedFile upload)

isModified

public boolean isModified()

setModified

public void setModified(boolean modified)

getSerialversionuid

public static long getSerialversionuid()

getWsMainView

public static String getWsMainView()

getWsUploadView

public static String getWsUploadView()

getWsDownloadBaseUrl

public static String getWsDownloadBaseUrl()

getWsDownloadUrls

public static String[] getWsDownloadUrls()

getWorkspaceLocations

public HashMap<String,String> getWorkspaceLocations()

getWorkspaceRoot

public String getWorkspaceRoot()

getOtherAvailable

public boolean getOtherAvailable()

getActiveWorkspace

public DeegreeWorkspace getActiveWorkspace()
Returns the currently active DeegreeWorkspace.

Returns:
the currently active workspace, never null

getWorkspaceList

public List<String> getWorkspaceList()

startWorkspace

public void startWorkspace()
                    throws Exception
Throws:
Exception

deleteWorkspace

public void deleteWorkspace()
                     throws IOException
Throws:
IOException

applyChanges

public String applyChanges()

downloadWorkspace

public void downloadWorkspace()

uploadWorkspace

public String uploadWorkspace()

unzipWorkspace

public String unzipWorkspace()

importWorkspace

public void importWorkspace()

downloadWorkspaceList

public List<String> downloadWorkspaceList(String url)

getRemoteWorkspaces

public List<String> getRemoteWorkspaces()

setModified

public void setModified()

getPendingChanges

public boolean getPendingChanges()


Copyright © 2011. All Rights Reserved.