org.apache.jetspeed.services.webpage
Class SecuredSite

java.lang.Object
  extended byorg.apache.jetspeed.services.webpage.SecuredSite
All Implemented Interfaces:
Site

public class SecuredSite
extends java.lang.Object
implements Site

Holds the relevant state about a secured site.

Version:
$Id: SecuredSite.java,v 1.2 2004/02/23 03:46:26 jford Exp $
Author:
David Sean Taylor

Constructor Summary
SecuredSite(java.lang.String name, java.lang.String url)
          Construct site object given a url
 
Method Summary
 long getID()
          get the Site ID for this site return the string value of the Site ID
 java.lang.String getName()
          get the common name for this site.
 java.lang.String getPassword()
          get the password used to logon to this site.
 int getStatus()
          get the availability status of this site.
 java.lang.String getURL()
          get the URL for this site return the string value of the URL
 java.lang.String getUserName()
          get the user name used to logon to this site.
 boolean isSecured()
           
 void setName(java.lang.String name)
          sets the common name for this site.
 void setPassword(java.lang.String password)
          sets the password used to logon to this site.
 void setStatus(int status)
          sets the availability status of this site.
 void setURL(java.lang.String url)
          sets the URL address for this site.
 void setUserName(java.lang.String username)
          sets the user name used to logon to this site.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecuredSite

public SecuredSite(java.lang.String name,
                   java.lang.String url)
Construct site object given a url

Parameters:
name - the name of the site.
url - the url address of the site.
Method Detail

getURL

public java.lang.String getURL()
get the URL for this site return the string value of the URL

Specified by:
getURL in interface Site

getID

public long getID()
get the Site ID for this site return the string value of the Site ID

Specified by:
getID in interface Site

setURL

public void setURL(java.lang.String url)
sets the URL address for this site.


getName

public java.lang.String getName()
get the common name for this site. return the string value of the site name.

Specified by:
getName in interface Site

setName

public void setName(java.lang.String name)
sets the common name for this site.


getUserName

public java.lang.String getUserName()
get the user name used to logon to this site. return the string value of the site user name.

Specified by:
getUserName in interface Site

setUserName

public void setUserName(java.lang.String username)
sets the user name used to logon to this site.


getPassword

public java.lang.String getPassword()
get the password used to logon to this site. return the string value of the site password.

Specified by:
getPassword in interface Site

setPassword

public void setPassword(java.lang.String password)
sets the password used to logon to this site.


getStatus

public int getStatus()
get the availability status of this site. return the int value of the site availability status.

Specified by:
getStatus in interface Site

setStatus

public void setStatus(int status)
sets the availability status of this site.

Specified by:
setStatus in interface Site

isSecured

public boolean isSecured()
Specified by:
isSecured in interface Site


Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.