|
Jive Forums API (5.5.20.2-oracle) Developer Javadocs | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EmailAction
Command interface representing actions that result from incoming email messages. Used by EmailMonitor
to respond
to incoming email. These are one-shot objects which just insulate EmailMonitor
from details of what specific
actions to take once an email has been accepted.
EmailMonitor
Method Summary | |
---|---|
void |
execute()
Executes the command represented by this instance. |
long |
getActingUserID()
Returns the id of the user this instance will act as. |
long |
getTargetObjectID()
Returns the id of the object this action will act on. |
int |
getTargetObjectType()
Returns the type of object this action will act on. |
Method Detail |
---|
void execute() throws EmailMonitorException
EmailMonitorException
- if command execution failslong getActingUserID()
int getTargetObjectType()
JiveConstants
. Note this is not necessarily the type of object
that will be created - it is the type of object which will be modified. For example, if this action
created a new thread, the object type would be JiveConstants.FORUM
,
and getTargetObjectID()
would return the id of the forum in which the thread would be created.
long getTargetObjectID()
|
Jive Forums Project Page | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |