All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.ibm.network.mail.pop3.UserOptions

java.lang.Object
   |
   +----com.ibm.network.mail.pop3.UserOptions

public abstract class UserOptions
extends Object
implements Serializable
The class encompasses all the details of POP3 user. The user details include POP login Id, login password and details such as :
  1. whether password is to remembered.
  2. whether messages are to be left on server after they are received.
  3. whether all headers of a message are to displayed in the GUI of the UserInterfaceBean

Author:
Mohit M Sant
See Also:
TransientUserOptions, PersistantUserOptions

Variable Index

 o DELETE_AFTER_EVERY_MAIL
 o DELETE_AT_END
 o DELETE_NEVER

Constructor Index

 o UserOptions(String, int, boolean)
Constructor for UserOption.

Method Index

 o getDeleteOption()
Returns 'true' if messages are being left on server after receiving.
 o getPopLoginId()
Returns login id of user.
 o getUserPassword()
Returns login password of user
 o isDisplayAllHeaders()
Returns whether all headers of the message will be displayed.

Variables

 o DELETE_AT_END
 public static final int DELETE_AT_END
 o DELETE_AFTER_EVERY_MAIL
 public static final int DELETE_AFTER_EVERY_MAIL
 o DELETE_NEVER
 public static final int DELETE_NEVER

Constructors

 o UserOptions
 public UserOptions(String loginId,
                    int delOpt,
                    boolean displayAllHeaders)
Constructor for UserOption.

Parameters:
loginId - login ID of POP3 user.
delOpt - UserOptions.DELETE_NEVER if messages are to be left on server or UserOptions.DELETE_AT_END if messages are to deleted from the server.
displayAllHeaders - if all headers of a message are to be displayed.

Methods

 o getDeleteOption
 public int getDeleteOption()
Returns 'true' if messages are being left on server after receiving.

Returns:
UserOptions.DELETE_NEVER if messages are to be left on server or UserOptions.DELETE_AT_END if messages are to deleted from the server.
 o getPopLoginId
 public String getPopLoginId()
Returns login id of user.

Returns:
login id of user.
 o getUserPassword
 public abstract String getUserPassword()
Returns login password of user

Returns:
password of user
 o isDisplayAllHeaders
 public boolean isDisplayAllHeaders()
Returns whether all headers of the message will be displayed.

Returns:
true if all headers of the message will be displayed.

All Packages  Class Hierarchy  This Package  Previous  Next  Index