com.arsdigita.formbuilder.parameters
Class PersistentParameterListener

java.lang.Object
  extended bycom.arsdigita.domain.DomainObject
      extended bycom.arsdigita.domain.ObservableDomainObject
          extended bycom.arsdigita.kernel.ACSObject
              extended bycom.arsdigita.formbuilder.parameters.PersistentParameterListener
Direct Known Subclasses:
PersistentStringInRangeValidationListener, TextValidationListener

public class PersistentParameterListener
extends ACSObject

The base class of all persistent parameter listeners.

Version:
$Id: //core-platform/dev/src/com/arsdigita/formbuilder/parameters/PersistentParameterListener.java#11 $
Author:
Peter Marklund

Field Summary
static String BASE_DATA_OBJECT_TYPE
          The fully qualified name of the underlying DataObject of this class.
static String versionId
           
 
Fields inherited from class com.arsdigita.kernel.ACSObject
CONTAINER, DEFAULT_DOMAIN_CLASS, DISPLAY_NAME, ID, OBJECT_TYPE
 
Constructor Summary
  PersistentParameterListener()
          Constructor for creating a new listener that can be persisted
  PersistentParameterListener(BigDecimal id)
          Constructor for retrieving a persistent parameter listener from the database
  PersistentParameterListener(DataObject obj)
           
protected PersistentParameterListener(OID oID)
          Internal constructor to be used by subclasses
  PersistentParameterListener(String className)
          Constructor for creating a new listener that can be persisted
 
Method Summary
protected  void beforeSave()
           
 ParameterListener createListener()
          Factory method that creates the Bebop component whose persistence is handled by this domain object.
 String getClassName()
           
protected  String getListenerAttribute(String name)
          For use internally by extending classes to get Listener attributes
 void setClassName(String className)
           
protected  void setListenerAttribute(String name, String value)
          For use internally by extending classes to set Listener attributes
 
Methods inherited from class com.arsdigita.kernel.ACSObject
assertPrivilege, checkPrivilege, doCreateCheck, doWriteCheck, getBaseDataObjectType, getContainer, getDefaultDomainClass, getDisplayName, getID, getSpecificObjectType, getSpecificOID, gimmeContainer, initialize, isContainerModified, 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

versionId

public static final String versionId
See Also:
Constant Field Values

BASE_DATA_OBJECT_TYPE

public static final String BASE_DATA_OBJECT_TYPE
The fully qualified name of the underlying DataObject of this class.

See Also:
Constant Field Values
Constructor Detail

PersistentParameterListener

public PersistentParameterListener()
Constructor for creating a new listener that can be persisted


PersistentParameterListener

public PersistentParameterListener(String className)
Constructor for creating a new listener that can be persisted


PersistentParameterListener

public PersistentParameterListener(BigDecimal id)
                            throws DataObjectNotFoundException
Constructor for retrieving a persistent parameter listener from the database


PersistentParameterListener

protected PersistentParameterListener(OID oID)
                               throws DataObjectNotFoundException
Internal constructor to be used by subclasses


PersistentParameterListener

public PersistentParameterListener(DataObject obj)
Method Detail

beforeSave

protected void beforeSave()
Overrides:
beforeSave in class ACSObject

createListener

public ParameterListener createListener()
Factory method that creates the Bebop component whose persistence is handled by this domain object.


setClassName

public void setClassName(String className)

getClassName

public String getClassName()

setListenerAttribute

protected void setListenerAttribute(String name,
                                    String value)
For use internally by extending classes to set Listener attributes


getListenerAttribute

protected String getListenerAttribute(String name)
For use internally by extending classes to get Listener attributes



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