|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.struts.apps.mailreader.dao.impl.AbstractSubscription
public class AbstractSubscription
Concrete implementation of AbstractSubscription
.
Constructor Summary | |
---|---|
AbstractSubscription(User user,
java.lang.String host)
Construct a new Subscription associated with the specified User . |
Method Summary | |
---|---|
boolean |
getAutoConnect()
Return the auto-connect flag. |
java.lang.String |
getHost()
The mail host for this subscription. |
java.lang.String |
getPassword()
Return the password. |
java.lang.String |
getType()
Return the subscription type. |
User |
getUser()
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. |
java.lang.String |
toString()
Return a String representation of this object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AbstractSubscription(User user, java.lang.String host)
Construct a new Subscription associated with the specified
User
.
user
- The user with which we are associatedhost
- The mail host for this subscriptionMethod Detail |
---|
public boolean getAutoConnect()
Subscription
getAutoConnect
in interface Subscription
public void setAutoConnect(boolean autoConnect)
Subscription
setAutoConnect
in interface Subscription
autoConnect
- The new auto-connect flagpublic java.lang.String getHost()
getHost
in interface Subscription
public java.lang.String getPassword()
Subscription
getPassword
in interface Subscription
public void setPassword(java.lang.String password)
Subscription
setPassword
in interface Subscription
password
- The new passwordpublic java.lang.String getType()
Subscription
getType
in interface Subscription
public void setType(java.lang.String type)
Subscription
setType
in interface Subscription
type
- The new subscription typepublic User getUser()
getUser
in interface Subscription
public java.lang.String getUsername()
Subscription
getUsername
in interface Subscription
public void setUsername(java.lang.String username)
Subscription
setUsername
in interface Subscription
username
- The new usernamepublic java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |