com.arsdigita.formbuilder.actions
Class ConfirmEmailListener

java.lang.Object
  extended bycom.arsdigita.domain.DomainObject
      extended bycom.arsdigita.domain.ObservableDomainObject
          extended bycom.arsdigita.kernel.ACSObject
              extended bycom.arsdigita.formbuilder.PersistentProcessListener
                  extended bycom.arsdigita.formbuilder.actions.ConfirmEmailListener

public class ConfirmEmailListener
extends PersistentProcessListener


Field Summary
static String BASE_DATA_OBJECT_TYPE
           
static String BODY
           
static String FROM
           
static String SUBJECT
           
 
Fields inherited from class com.arsdigita.formbuilder.PersistentProcessListener
DESCRIPTION, LISTENER_CLASS, NAME
 
Fields inherited from class com.arsdigita.kernel.ACSObject
CONTAINER, DEFAULT_DOMAIN_CLASS, DISPLAY_NAME, ID, OBJECT_TYPE, versionId
 
Constructor Summary
ConfirmEmailListener()
           
ConfirmEmailListener(BigDecimal id)
           
ConfirmEmailListener(DataObject obj)
           
ConfirmEmailListener(ObjectType type)
           
ConfirmEmailListener(OID oid)
           
ConfirmEmailListener(String typeName)
           
 
Method Summary
static ConfirmEmailListener create(String name, String description, String from, String subject, String body)
           
 FormProcessListener createProcessListener()
          This default implementation will instantiate an instance of the listener of the process listener class given in the constructor.
 String getBody()
           
 String getFrom()
           
 String getSubject()
           
 boolean isContainerModified()
          Returns true if this object has been moved to a new container, or null if the container has not changed.
 void setBody(String body)
           
 void setFrom(String from)
           
 void setSubject(String subject)
           
protected  void setup(String name, String description, String from, String subject, String body)
           
 
Methods inherited from class com.arsdigita.formbuilder.PersistentProcessListener
create, getDescription, getName, getPrcoessListenerClass, setDescription, setName, setProcessListenerClass, setup
 
Methods inherited from class com.arsdigita.kernel.ACSObject
assertPrivilege, beforeSave, checkPrivilege, doCreateCheck, doWriteCheck, getBaseDataObjectType, getContainer, getDefaultDomainClass, getDisplayName, getID, getSpecificObjectType, getSpecificOID, gimmeContainer, initialize, setID, setID
 
Methods inherited from class com.arsdigita.domain.ObservableDomainObject
addObserver, getObservers
 
Methods inherited from class com.arsdigita.domain.DomainObject
add, add, addToAssociation, afterDelete, afterSave, beforeDelete, clear, delete, disconnect, equals, get, getObjectType, getOID, getSession, hashCode, isDeleted, isDisconnected, isModified, isNew, isPropertyModified, isValid, remove, remove, remove, removeFromAssociation, save, set, setAssociation, setAssociation, specializeDataObject, specializeDataObject, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

BASE_DATA_OBJECT_TYPE

public static final String BASE_DATA_OBJECT_TYPE
See Also:
Constant Field Values

FROM

public static final String FROM
See Also:
Constant Field Values

SUBJECT

public static final String SUBJECT
See Also:
Constant Field Values

BODY

public static final String BODY
See Also:
Constant Field Values
Constructor Detail

ConfirmEmailListener

public ConfirmEmailListener()

ConfirmEmailListener

public ConfirmEmailListener(String typeName)

ConfirmEmailListener

public ConfirmEmailListener(ObjectType type)

ConfirmEmailListener

public ConfirmEmailListener(DataObject obj)

ConfirmEmailListener

public ConfirmEmailListener(BigDecimal id)
                     throws DataObjectNotFoundException

ConfirmEmailListener

public ConfirmEmailListener(OID oid)
                     throws DataObjectNotFoundException
Method Detail

create

public static ConfirmEmailListener create(String name,
                                          String description,
                                          String from,
                                          String subject,
                                          String body)

setup

protected void setup(String name,
                     String description,
                     String from,
                     String subject,
                     String body)

isContainerModified

public boolean isContainerModified()
Description copied from class: ACSObject
Returns true if this object has been moved to a new container, or null if the container has not changed. This methods is used by ACSObject.save() to determine when to denormalize the result of getContainer(). While this method is not abstract, the default implementation "guesses" the container based on metadata about the object. If this object's data object type has a composite role property (required, visible property where com.arsdigita.persistence.metadata.Property.isComposite()==true), then we check whether the composite role property has been modified. If no composite role is found, then the return value is false. Subclasses should provide their own implementations if the metadata driven default implementation is inadequate. See the example mentioned in getContainer().

Overrides:
isContainerModified in class ACSObject
Returns:
this object's container.
See Also:
ACSObject.getContainer()

getFrom

public String getFrom()

setFrom

public void setFrom(String from)

getSubject

public String getSubject()

setSubject

public void setSubject(String subject)

getBody

public String getBody()

setBody

public void setBody(String body)

createProcessListener

public FormProcessListener createProcessListener()
Description copied from class: PersistentProcessListener
This default implementation will instantiate an instance of the listener of the process listener class given in the constructor.

Overrides:
createProcessListener in class PersistentProcessListener


Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 21 2004:2337 UTC