|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EditPopServerConfiguration
Represents the form used to edit the configuration of a POP/IMAP Server.
Method Summary | |
---|---|
EditPopServerConfiguration |
setDescription(String description)
Sets the description field to an specified value. |
EditPopServerConfiguration |
setHostName(String hostName)
Sets the host name field to an specified value. |
EditPopServerConfiguration |
setName(String name)
Sets the name field to an specified value. |
EditPopServerConfiguration |
setPassword(String password)
Sets the password field to an specified value. |
EditPopServerConfiguration |
setPort(String portNumber)
Sets the port field to an specified value. |
EditPopServerConfiguration |
setProtocol(String protocol)
Sets the protocol select list to an specified option. |
EditPopServerConfiguration |
setTimeout(String timeout)
Sets the timeout field to an specified value. |
EditPopServerConfiguration |
setUserName(String userName)
Sets the user name field to an specified value. |
MailServerAdministration |
update()
Submits the edit POP/IMAP server configuration form. |
Method Detail |
---|
EditPopServerConfiguration setName(String name)
name
- The value of the name to set.
EditPopServerConfiguration setDescription(String description)
description
- The value of the description to set.
EditPopServerConfiguration setProtocol(String protocol)
protocol
- The value of the protocol to set.
This must be one of the display values of the available options in the select list
(POP, SECURE_POP, IMAP, SECURE_IMAP)
EditPopServerConfiguration setHostName(String hostName)
hostName
- The value of the host name to set.
EditPopServerConfiguration setPort(String portNumber)
portNumber
- The value of the port to set.
EditPopServerConfiguration setTimeout(String timeout)
timeout
- The value of the timeout to set.
EditPopServerConfiguration setUserName(String userName)
userName
- The value of the user name to set.
EditPopServerConfiguration setPassword(String password)
update()
to submit the form, this is because the field is always set blank when the update form
is displayed.
password
- The value of the password to set.
MailServerAdministration update() throws DefaultEditPopServerConfiguration.PasswordIsMandatoryException
DefaultEditPopServerConfiguration.PasswordIsMandatoryException
- if no value has been set for the password
field, you should always call setPassword(String)
before calling this method.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |