org.apache.struts.apps.mailreader.dao
Interface Subscription

All Known Implementing Classes:
AbstractSubscription, MemorySubscription

public interface Subscription

A Subscription which is stored, along with the associated User, in a UserDatabase.

Version:
$Rev: 471754 $ $Date: 2006-11-06 08:55:09 -0600 (Mon, 06 Nov 2006) $

Method Summary
 boolean getAutoConnect()
          Return the auto-connect flag.
 java.lang.String getHost()
          Return the host name.
 java.lang.String getPassword()
          Return the password.
 java.lang.String getType()
          Return the subscription type.
 User getUser()
          Return the User owning this Subscription.
 java.lang.String getUsername()
          Return the username.
 void setAutoConnect(boolean autoConnect)
          Set the auto-connect flag.
 void setPassword(java.lang.String password)
          Set the password.
 void setType(java.lang.String type)
          Set the subscription type.
 void setUsername(java.lang.String username)
          Set the username.
 

Method Detail

getAutoConnect

boolean getAutoConnect()
Return the auto-connect flag.


setAutoConnect

void setAutoConnect(boolean autoConnect)
Set the auto-connect flag.

Parameters:
autoConnect - The new auto-connect flag

getHost

java.lang.String getHost()
Return the host name.


getPassword

java.lang.String getPassword()
Return the password.


setPassword

void setPassword(java.lang.String password)
Set the password.

Parameters:
password - The new password

getType

java.lang.String getType()
Return the subscription type.


setType

void setType(java.lang.String type)
Set the subscription type.

Parameters:
type - The new subscription type

getUser

User getUser()
Return the User owning this Subscription.


getUsername

java.lang.String getUsername()
Return the username.


setUsername

void setUsername(java.lang.String username)
Set the username.

Parameters:
username - The new username


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