org.apache.portals.graffito.model.server
Interface WebdavServer

All Superinterfaces:
Server

public interface WebdavServer
extends Server

This is the interface for a WEBDAV server reference.

Version:
$Id: WebdavServer.java,v 1.1 2004/12/22 21:16:11 christophe Exp $
Author:
Christophe Lombart

Method Summary
 java.lang.String getLogin()
           
 java.lang.String getPassword()
           
 java.lang.String getUrl()
           
 boolean isSecureServer()
          Check if the server is protected (secure)
 boolean isUsingCurrentLogin()
          Check if the current login has to be used to connect to the server
 void setLogin(java.lang.String login)
          Set the login use to connect to the server
 void setPassword(java.lang.String password)
          Set the password use to connect to the server
 void setSecureServer(boolean secureServer)
          Set the secure server flag
 void setUrl(java.lang.String url)
          Set the webdav server url reference
 void setUseCurrentLogin(boolean useCurrentLogin)
          Set the flag "current login"
 
Methods inherited from interface org.apache.portals.graffito.model.server.Server
getAlias, getDescription, getScope, getStoreClassName, getTitle, setAlias, setDescription, setScope, setStoreClassName, setTitle
 

Method Detail

getUrl

java.lang.String getUrl()
Returns:
the webdav server url reference

setUrl

void setUrl(java.lang.String url)
Set the webdav server url reference

Parameters:
url - the new url to set

isSecureServer

boolean isSecureServer()
Check if the server is protected (secure)

Returns:
true id the server is secure

setSecureServer

void setSecureServer(boolean secureServer)
Set the secure server flag

Parameters:
secureServer - the flag value

isUsingCurrentLogin

boolean isUsingCurrentLogin()
Check if the current login has to be used to connect to the server

Returns:
true if the current login has to be used

setUseCurrentLogin

void setUseCurrentLogin(boolean useCurrentLogin)
Set the flag "current login"

Parameters:
useCurrentLogin - the new flag value

getLogin

java.lang.String getLogin()
Returns:
the login used to connect to the server (unused when the flag isUsingCurrentLogin is true)

setLogin

void setLogin(java.lang.String login)
Set the login use to connect to the server

Parameters:
login - the login to set

getPassword

java.lang.String getPassword()
Returns:
the password used to connect to the server (unused when the flag isUsingCurrentLogin is true)

setPassword

void setPassword(java.lang.String password)
Set the password use to connect to the server

Parameters:
password - the password to set


Copyright © 2004-2006 The Apache Software Foundation. All Rights Reserved.