planetj.dataengine.email
Class EmailPropertyGroup

java.lang.Object
  extended byjava.util.AbstractMap
      extended byjava.util.HashMap
          extended byplanetj.property.PropertyGroup
              extended byplanetj.property.DefaultPropertyGroup
                  extended byplanetj.dataengine.email.EmailPropertyGroup
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Comparable, java.util.Map, java.io.Serializable

public class EmailPropertyGroup
extends DefaultPropertyGroup

This property group contains properties that are used for emailing.

See Also:
Serialized Form

Field Summary
static java.util.List ALL_PROPERTIES
           
static java.lang.String EMAIL
          Email property group name.
static java.lang.String FROM
          Who the email is from.
static java.lang.String PASSWORD
          Password of the user connection to mail server with.
static java.lang.String POP3
          POP3 server.
static java.lang.String RECIPIENTS_BCC
          Recipients that email is being blind carbon copied to.
static java.lang.String RECIPIENTS_CC
          Recipients that email is being carbon copied to.
static java.lang.String RECIPIENTS_TO
          Recipients that email is being sent to.
static java.lang.String REPLY_TO
          Address replies should be sent to.
static java.lang.String SMTP
          SMTP server.
static java.lang.String SUBJECT
          Subject of the email.
static java.lang.String USER
          User id to connect to mail server with.
 
Fields inherited from class planetj.property.PropertyGroup
ALL, ALL_FALSE, ALL_TRUE, BOOLEAN_PROPERTY, DATE_PROPERTY, DOUBLE_PROPERTY, FLOAT_PROPERTY, INTEGER_PROPERTY, JAVA_CLASS_PROPERTY, LIST_PROPERTY, MAP_PROPERTY, NONE, ROW_COLLECTION_KEY, STRING_PROPERTY
 
Constructor Summary
EmailPropertyGroup()
          DistributionPropertyGroup constructor comment.
EmailPropertyGroup(int initialCapacity)
          DistributionPropertyGroup constructor comment.
EmailPropertyGroup(java.lang.String pName)
          DistributionPropertyGroup constructor comment.
 
Method Summary
 java.util.List getAllPropertyNames()
          Gets a List containing the names of all the supported properties, not including metaproperties.
 java.util.List getBCC()
          Get the list of addresses the email is being blind carbon copied to.
 java.util.List getCC()
          Get the list of addresses the email is being carbon copied to.
 java.lang.String getFrom()
          Get address email is being sent from
 java.lang.String getPassword()
          Get the password for the user for the connection to the mail server.
 java.lang.String getPOP3()
          Get the POP3 server
 java.lang.String getReplyTo()
          Get address where replies to email are to be sent.
 java.lang.String getSMTP()
          Get the SMTP server
 java.lang.String getSubject()
          Get the subject of the email.
 java.util.List getTo()
          Get the list of addresses the email is being sent to.
 java.lang.String getUser()
          Get the user for the connection to the mail server.
protected  short propertyType(java.lang.String propertyName)
          Gets the type of property for a specified property name.
 
Methods inherited from class planetj.property.DefaultPropertyGroup
getDefaultPropertiesString, getRequiredPropertyNames
 
Methods inherited from class planetj.property.PropertyGroup
add, addProperty, addProperty, append, clone, compareTo, compareTo, compareTo, containsProperty, copyUndefinedPropertiesFrom, createProperty, createValue, getAllMetapropertyNames, getAllSetBooleanPropertyNames, getAllSetIntPropertyNames, getAllSetListPropertyNames, getAllSetPropertyNames, getAllSetStringPropertyNames, getBooleanValue, getDateFormat, getDateValue, getDoubleValue, getFloatValue, getIntValue, getJavaClassValue, getListValue, getMapValue, getName, getProperty, getPropertyType, getStringValue, getValue, isMergeableOnList, isMetaproperty, iterator, mergeOnList, metapropertyType, put, put, put, setName, toString, updateProperty, validate, validateMetadata, validateMetadataBoolean
 
Methods inherited from class java.util.HashMap
clear, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Field Detail

EMAIL

public static final java.lang.String EMAIL
Email property group name.

See Also:
Constant Field Values

FROM

public static final java.lang.String FROM
Who the email is from.

See Also:
Constant Field Values

PASSWORD

public static final java.lang.String PASSWORD
Password of the user connection to mail server with.

See Also:
Constant Field Values

POP3

public static final java.lang.String POP3
POP3 server.

See Also:
Constant Field Values

RECIPIENTS_TO

public static final java.lang.String RECIPIENTS_TO
Recipients that email is being sent to.

See Also:
Constant Field Values

RECIPIENTS_CC

public static final java.lang.String RECIPIENTS_CC
Recipients that email is being carbon copied to.

See Also:
Constant Field Values

RECIPIENTS_BCC

public static final java.lang.String RECIPIENTS_BCC
Recipients that email is being blind carbon copied to.

See Also:
Constant Field Values

REPLY_TO

public static final java.lang.String REPLY_TO
Address replies should be sent to.

See Also:
Constant Field Values

SMTP

public static final java.lang.String SMTP
SMTP server.

See Also:
Constant Field Values

SUBJECT

public static final java.lang.String SUBJECT
Subject of the email.

See Also:
Constant Field Values

USER

public static final java.lang.String USER
User id to connect to mail server with.

See Also:
Constant Field Values

ALL_PROPERTIES

public static final java.util.List ALL_PROPERTIES
Constructor Detail

EmailPropertyGroup

public EmailPropertyGroup()
DistributionPropertyGroup constructor comment.


EmailPropertyGroup

public EmailPropertyGroup(int initialCapacity)
DistributionPropertyGroup constructor comment.

Parameters:
initialCapacity - int

EmailPropertyGroup

public EmailPropertyGroup(java.lang.String pName)
DistributionPropertyGroup constructor comment.

Parameters:
pName - java.lang.String
Method Detail

getAllPropertyNames

public java.util.List getAllPropertyNames()
Gets a List containing the names of all the supported properties, not including metaproperties.

Overrides:
getAllPropertyNames in class DefaultPropertyGroup

getBCC

public java.util.List getBCC()
Get the list of addresses the email is being blind carbon copied to.

Returns:
List of addresses email is being blind carbon copied to.

getCC

public java.util.List getCC()
Get the list of addresses the email is being carbon copied to.

Returns:
List of addresses email is being carbon copied to.

getFrom

public java.lang.String getFrom()
Get address email is being sent from

Returns:
address email is being sent from.

getPassword

public java.lang.String getPassword()
Get the password for the user for the connection to the mail server.

Returns:
password of user for connection to mail server

getPOP3

public java.lang.String getPOP3()
Get the POP3 server

Returns:
POP3 server

getReplyTo

public java.lang.String getReplyTo()
Get address where replies to email are to be sent.

Returns:
address replies to email are sent.

getSMTP

public java.lang.String getSMTP()
Get the SMTP server

Returns:
SMTP server

getSubject

public java.lang.String getSubject()
Get the subject of the email.

Returns:
subject of email.

getTo

public java.util.List getTo()
Get the list of addresses the email is being sent to.

Returns:
List of addresses email is being sent to.

getUser

public java.lang.String getUser()
Get the user for the connection to the mail server.

Returns:
user for connection to mail server

propertyType

protected short propertyType(java.lang.String propertyName)
Gets the type of property for a specified property name.

Overrides:
propertyType in class DefaultPropertyGroup