public class SomPumiceMailbox extends SomPumiceObject implements SomPumiceHandler
Modifier and Type | Class and Description |
---|---|
static class |
SomPumiceMailbox.EntryClass |
static class |
SomPumiceMailbox.EntryState |
errortext, somSession
Constructor and Description |
---|
SomPumiceMailbox(SomPumiceSession session,
java.lang.String mName)
Create a new mailbox object, with the specified name
|
SomPumiceMailbox(SomPumiceSession session,
java.lang.String[] pairs)
Create a new mailbox object and populate from type/value pairs
|
SomPumiceMailbox(SomPumiceSession session,
java.lang.String m,
java.lang.String[] pairs)
Create a new mailbox object, with the specified name and populate from
type/value pairs
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
ageoldest() |
com.isode.asn.modules.MS.AutoActionRegistrations |
autoActions() |
java.lang.String |
autoActionsString() |
void |
backup(SomCommandListener listener,
java.lang.String dest) |
java.lang.String |
buildInfoString() |
void |
deregisterAutoAction(SomCommandListener listener,
com.isode.asn.modules.MS.AutoActionRegistration reg) |
java.lang.Integer |
errorCount() |
SomPumiceMessage[] |
getMessages() |
void |
handleBindResponse(int status,
java.lang.String detail)
Handle the response to a Bind operation
|
void |
handleResponse(SomCommand command,
int status,
SomPumiceConnection object) |
void |
handleResponse(SomCommand command,
int status,
SomPumiceMailbox object) |
void |
handleResponse(SomCommand obj,
int status,
SomPumiceMessage msg) |
void |
handleResponse(SomCommand command,
int status,
SomPumiceMessageStore object) |
void |
handleResponse(SomCommand command,
int status,
java.lang.String detail)
Generic command response handler
|
void |
handleResponse(SomCommand command,
int status,
java.lang.String[] pairs) |
java.lang.String |
lastBindTime() |
java.lang.String |
lastOpTime() |
java.lang.String |
lastOpType() |
void |
listMessages(SomCommandListener listener) |
java.lang.String |
mailboxName() |
java.lang.String |
mailboxPath() |
java.lang.Integer |
numMessages() |
java.lang.Integer |
numP3Associations() |
java.lang.Integer |
numP7Associations() |
java.lang.Integer |
numReports() |
java.lang.Integer |
numSubmittedMessages() |
java.lang.Integer |
numUnreadHighPriority() |
java.lang.Integer |
numUnreadLowPriority() |
java.lang.Integer |
numUnreadMediumPriority() |
java.lang.String |
orAddress() |
void |
paste(SomCommandListener listener,
java.lang.String sourceMailbox,
java.lang.Integer sourceMessage) |
void |
rebuildStatistics(SomCommandListener listener) |
void |
refresh(SomCommandListener listener) |
void |
registerAutoAction(SomCommandListener listener,
com.isode.asn.modules.MS.AutoActionRegistration reg) |
void |
removeFromArray(java.util.ArrayList<SomPumiceMailbox> mailboxes) |
void |
tidy(SomCommandListener listener,
SomUtcTime since,
SomPumiceMailbox.EntryState entryState,
SomPumiceMailbox.EntryClass entryClass) |
java.lang.Integer |
volMessages() |
java.lang.Integer |
volSubmittedMessages() |
addAttribute, addAttribute, addBindListener, clearAttributes, getBooleanAttributeValue, getIntegerAttributeValue, getSession, getStringAttributeValue, notifyBindListeners, notifyListener, notifyListeners, notifyListeners, notifyListeners, parsePairs, print, removeBindListener, setSkipNotifications
public SomPumiceMailbox(SomPumiceSession session, java.lang.String mName)
session
- Session within which mailbox existsmName
- name of mailbox (string encoded ORAddress)public SomPumiceMailbox(SomPumiceSession session, java.lang.String m, java.lang.String[] pairs)
session
- Session within which mailbox existsm
- name of mailbox (string encoded ORAddress)pairs
- type/value data pairspublic SomPumiceMailbox(SomPumiceSession session, java.lang.String[] pairs)
session
- Session within which mailbox existspairs
- type/value data pairspublic java.lang.String mailboxName()
public void removeFromArray(java.util.ArrayList<SomPumiceMailbox> mailboxes)
public SomPumiceMessage[] getMessages()
public void handleResponse(SomCommand command, int status, java.lang.String detail)
SomHandler
handleResponse
in interface SomPumiceHandler
handleResponse
in interface SomHandler
command
- the command to which the response appliesstatus
- status from commanddetail
- error detailpublic void handleResponse(SomCommand command, int status, SomPumiceMessageStore object)
public void handleResponse(SomCommand command, int status, SomPumiceConnection object)
handleResponse
in interface SomPumiceHandler
public void handleResponse(SomCommand obj, int status, SomPumiceMessage msg)
handleResponse
in interface SomPumiceHandler
public void handleResponse(SomCommand command, int status, SomPumiceMailbox object)
handleResponse
in interface SomPumiceHandler
public void handleBindResponse(int status, java.lang.String detail)
SomHandler
handleBindResponse
in interface SomHandler
status
- operation statusdetail
- error detail on failurepublic void handleResponse(SomCommand command, int status, java.lang.String[] pairs)
handleResponse
in interface SomPumiceHandler
public void refresh(SomCommandListener listener) throws SomException
SomException
public void listMessages(SomCommandListener listener) throws SomException
SomException
public void rebuildStatistics(SomCommandListener listener) throws SomException
SomException
public void backup(SomCommandListener listener, java.lang.String dest) throws SomException
SomException
public void paste(SomCommandListener listener, java.lang.String sourceMailbox, java.lang.Integer sourceMessage) throws SomException
SomException
public void tidy(SomCommandListener listener, SomUtcTime since, SomPumiceMailbox.EntryState entryState, SomPumiceMailbox.EntryClass entryClass) throws SomException
SomException
public java.lang.String buildInfoString()
public java.lang.String mailboxPath() throws SomException
SomException
public java.lang.String orAddress() throws SomException
SomException
public java.lang.String autoActionsString() throws java.lang.Exception
java.lang.Exception
public com.isode.asn.modules.MS.AutoActionRegistrations autoActions() throws java.lang.Exception
java.lang.Exception
public void registerAutoAction(SomCommandListener listener, com.isode.asn.modules.MS.AutoActionRegistration reg) throws java.lang.Exception
java.lang.Exception
public void deregisterAutoAction(SomCommandListener listener, com.isode.asn.modules.MS.AutoActionRegistration reg) throws java.lang.Exception
java.lang.Exception
public java.lang.Integer numMessages() throws SomException
SomException
public java.lang.Integer numSubmittedMessages() throws SomException
SomException
public java.lang.Integer numReports() throws SomException
SomException
public java.lang.Integer volMessages() throws SomException
SomException
public java.lang.Integer volSubmittedMessages() throws SomException
SomException
public java.lang.Integer numP7Associations() throws SomException
SomException
public java.lang.Integer numP3Associations() throws SomException
SomException
public java.lang.Integer numUnreadLowPriority() throws SomException
SomException
public java.lang.Integer numUnreadMediumPriority() throws SomException
SomException
public java.lang.Integer numUnreadHighPriority() throws SomException
SomException
public java.lang.Integer errorCount() throws SomException
SomException
public java.lang.String lastBindTime() throws SomException
SomException
public java.lang.String lastOpType() throws SomException
SomException
public java.lang.String lastOpTime() throws SomException
SomException
public java.lang.String ageoldest() throws SomException
SomException
Version: 18.0v6-0
Copyright (c) 2017-2020 Isode