Nitido Inc.

com.nitido.nimx.nuggets.iplanetset
Class FilterAction

java.lang.Object
  extended by com.nitido.nimx.nuggets.iplanetset.FilterAction

public class FilterAction
extends java.lang.Object

The data object of message filter action. Valid actions are:

Name Actual Name Value Comments
discard discard [NOT SUPPORTED] Silently discard the message. No notification/warning will be sent back to the sender.
keep keep [NOT SUPPORTED] Perform no special operation on the message. i.e. just receive the message in the normal way.
forward redirect [REQUIRED] - the email address to be forwarded to. Forward the message to the new email problem.
reject reject [REQUIRED] - the reason for rejecting the message Return the message to the sender.
move to folder fileinto [REQUIRED] - the folder name. Move the message to the specific folder.


Field Summary
protected  java.lang.String _name
           
protected  java.lang.String _value
           
static java.lang.String DISCARD
           
static java.lang.String FORWARD
           
static java.lang.String KEEP
           
static java.lang.String MOVE_TO_FOLDER
           
static java.lang.String REJECT
           
 
Constructor Summary
FilterAction(java.lang.String ldapStr)
           
FilterAction(java.lang.String name, java.lang.String value)
           
 
Method Summary
 java.lang.String getName()
           
 java.lang.String getValue()
           
 void setName(java.lang.String name)
           
 void setValue(java.lang.String value)
           
 java.lang.String toLdapString()
           
 java.lang.String toString()
          Convert to a human readable string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

KEEP

public static final java.lang.String KEEP
See Also:
Constant Field Values

DISCARD

public static final java.lang.String DISCARD
See Also:
Constant Field Values

FORWARD

public static final java.lang.String FORWARD
See Also:
Constant Field Values

REJECT

public static final java.lang.String REJECT
See Also:
Constant Field Values

MOVE_TO_FOLDER

public static final java.lang.String MOVE_TO_FOLDER
See Also:
Constant Field Values

_name

protected java.lang.String _name

_value

protected java.lang.String _value
Constructor Detail

FilterAction

public FilterAction(java.lang.String name,
                    java.lang.String value)

FilterAction

public FilterAction(java.lang.String ldapStr)
Method Detail

setName

public void setName(java.lang.String name)

getName

public java.lang.String getName()

setValue

public void setValue(java.lang.String value)

getValue

public java.lang.String getValue()

toString

public java.lang.String toString()
Convert to a human readable string.

Overrides:
toString in class java.lang.Object

toLdapString

public java.lang.String toLdapString()

Nitido NiM 2.5 Java API

These JavaDoc pages are generated for release/nim_2_5-2.5.44

Copyright © 1999-2009 Nitido Inc.    Proprietary and Confidential.    All Rights Reserved.