Package com.isode.som.pumice
Class SomPumiceTidyMailboxCommand
- java.lang.Object
-
- com.isode.som.SomCommand
-
- com.isode.som.pumice.SomPumiceCommand
-
- com.isode.som.pumice.SomPumiceManageMailboxCommand
-
- com.isode.som.pumice.SomPumiceTidyMailboxCommand
-
- All Implemented Interfaces:
SomResponseProcessor
public class SomPumiceTidyMailboxCommand extends SomPumiceManageMailboxCommand
Class which implements commands for mailbox management- Author:
- tc
-
-
Field Summary
-
Fields inherited from class com.isode.som.pumice.SomPumiceManageMailboxCommand
SOM_PUMICE_BACKUP_MAILBOX, SOM_PUMICE_DELETE_MAILBOX, SOM_PUMICE_DEREGISTER_AUTOACTION, SOM_PUMICE_REBUILD_STATS, SOM_PUMICE_REGISTER_AUTOACTION, SOM_PUMICE_RESTORE_MAILBOX, SOM_PUMICE_RESTORE_MESSAGE, SOM_PUMICE_RESYNCHRONIZE, SOM_PUMICE_TIDY_MAILBOX
-
Fields inherited from class com.isode.som.SomCommand
opListener
-
-
Constructor Summary
Constructors Constructor Description SomPumiceTidyMailboxCommand(SomPumiceSession session, java.lang.String mailbox, SomPumiceHandler object, SomCommandListener listener)
Create a new command to tidy a mailbox
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getCommandString()
Get command stringvoid
setBefore(int v)
void
setBefore(SomUtcTime u)
void
setEntryclass(java.lang.String c)
void
setState(java.lang.String s)
-
Methods inherited from class com.isode.som.pumice.SomPumiceManageMailboxCommand
setQualifier
-
Methods inherited from class com.isode.som.pumice.SomPumiceCommand
getHandler, handleErrors, processResponse, quotesRound
-
Methods inherited from class com.isode.som.SomCommand
dispatch, getSession, notifyListener, notifyListener, notifyListener
-
-
-
-
Constructor Detail
-
SomPumiceTidyMailboxCommand
public SomPumiceTidyMailboxCommand(SomPumiceSession session, java.lang.String mailbox, SomPumiceHandler object, SomCommandListener listener)
Create a new command to tidy a mailbox- Parameters:
session
- the SOM sessionmailbox
- mailbox to operate onobject
- result handler objectlistener
- result listener
-
-
Method Detail
-
setBefore
public void setBefore(int v)
-
setBefore
public void setBefore(SomUtcTime u)
-
setState
public void setState(java.lang.String s)
-
setEntryclass
public void setEntryclass(java.lang.String c)
-
getCommandString
public java.lang.String getCommandString() throws SomException
Get command string- Overrides:
getCommandString
in classSomPumiceManageMailboxCommand
- Returns:
- the string for this command
- Throws:
SomException
- on error
-
-