Class IMAPFinishActionCfg
java.lang.Object
de.uplanet.lucy.server.mailservice.workflow.eventsource.IMAPFinishActionCfg
-
Method Summary
Modifier and TypeMethodDescriptionGet the destination folder for move operations (seemove
).boolean
isDelete()
This flag determines if processed messages should be deleted.boolean
This flag determines if processed messages should be deleted and expunged.boolean
This flag determines if processed messages should be marked as seen.boolean
isMove()
This flag determines if processed messages should be moved to the folder specified bymoveDestinationFolder
.boolean
isNone()
This flag prevents processed messages to be modified by the event source.void
setDelete
(boolean p_bDelete) This flag determines if processed messages should be deleted.void
setDeleteAndExpunge
(boolean p_bDeleteAndExpunge) This flag determines if processed messages should be deleted and expunged.void
setMarkSeen
(boolean p_bMarkSeen) This flag determines if processed messages should be marked as seen.void
setMove
(boolean p_bMove) This flag determines if processed messages should be moved to the folder specified bymoveDestinationFolder
.void
setMoveDestinationFolder
(String p_moveDestinationFolder) Set the destination folder for move operations (seemove
).void
setNone
(boolean p_bNone) This flag prevents processed messages to be modified by the event source.
-
Method Details
-
isDelete
public boolean isDelete()This flag determines if processed messages should be deleted.This flag is exclusive.
- Returns:
true
if processed messages should be deleted, orfalse
otherwise.
-
setDelete
public void setDelete(boolean p_bDelete) This flag determines if processed messages should be deleted.This flag is exclusive.
- Parameters:
p_bDelete
-true
if processed messages should be deleted, orfalse
otherwise.
-
isDeleteAndExpunge
public boolean isDeleteAndExpunge()This flag determines if processed messages should be deleted and expunged.This flag is exclusive.
Note that expunged messages could not be restored.
This feature requires the Oracle JavaMail IMAP provider.
This feature depends on the IMAP UIDPLUS extension defined in RFC 2359.
- Returns:
true
if processed messages should be deleted, orfalse
otherwise.
-
setDeleteAndExpunge
public void setDeleteAndExpunge(boolean p_bDeleteAndExpunge) This flag determines if processed messages should be deleted and expunged.This flag is exclusive.
Note that expunged messages could not be restored.
This feature requires the Oracle JavaMail IMAP provider.
This feature depends on the IMAP UIDPLUS extension defined in RFC 2359.
- Parameters:
p_bDeleteAndExpunge
-true
if processed messages should be deleted, orfalse
otherwise.
-
isMove
public boolean isMove()This flag determines if processed messages should be moved to the folder specified bymoveDestinationFolder
.- Returns:
true
if processed messages should be moved, orfalse
otherwise.
-
setMove
public void setMove(boolean p_bMove) This flag determines if processed messages should be moved to the folder specified bymoveDestinationFolder
.- Parameters:
p_bMove
-true
if processed messages should be moved, orfalse
otherwise.
-
getMoveDestinationFolder
Get the destination folder for move operations (seemove
).- Returns:
- The Destination folder for move operations.
-
setMoveDestinationFolder
Set the destination folder for move operations (seemove
).- Parameters:
p_moveDestinationFolder
- The Destination folder for move operations.
-
isMarkSeen
public boolean isMarkSeen()This flag determines if processed messages should be marked as seen.- Returns:
true
if processed messages should be marked as seen, orfalse
otherwise.
-
setMarkSeen
public void setMarkSeen(boolean p_bMarkSeen) This flag determines if processed messages should be marked as seen.- Parameters:
p_bMarkSeen
-true
if processed messages should be marked as seen, orfalse
otherwise.
-
isNone
public boolean isNone()This flag prevents processed messages to be modified by the event source. This is useful if the user wishes to control message flags etc. by himself.This flag is exclusive.
- Returns:
true
if the message should not be modified by the event source, orfalse
otherwise.
-
setNone
public void setNone(boolean p_bNone) This flag prevents processed messages to be modified by the event source. This is useful if the user wishes to control message flags etc. by himself.This flag is exclusive.
- Parameters:
p_bNone
-true
if the message should not be modified by the event source, orfalse
otherwise.
-