|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.asterisk.manager.action.AbstractManagerAction net.sf.asterisk.manager.action.MailboxCountAction
public class MailboxCountAction
The MailboxCountAction queries the number of unread and read messages in a
mailbox.
The MailboxCountAction returns a MailboxStatusResponse.
MailboxCountResponse
,
Serialized FormConstructor Summary | |
---|---|
MailboxCountAction()
Creates a new empty MailboxCountAction. |
|
MailboxCountAction(java.lang.String mailbox)
Creates a new MailboxCountAction that queries the number of unread and read messages in the given mailbox. |
Method Summary | |
---|---|
java.lang.String |
getAction()
Returns the name of this action, i.e. |
java.lang.String |
getMailbox()
Returns the name of the mailbox to query. |
void |
setMailbox(java.lang.String mailbox)
Sets the name of the mailbox to query. This can either be only the number of the mailbox or a string of the form mailboxnumber@context.If no context is specified "default" is assumed. This property is mandatory. |
Methods inherited from class net.sf.asterisk.manager.action.AbstractManagerAction |
---|
getActionId, setActionId, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MailboxCountAction()
public MailboxCountAction(java.lang.String mailbox)
mailbox
- the name of the mailbox to query.Method Detail |
---|
public java.lang.String getAction()
getAction
in interface ManagerAction
getAction
in class AbstractManagerAction
public java.lang.String getMailbox()
public void setMailbox(java.lang.String mailbox)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |