com.arsdigita.formbuilder.actions
Class RemoteServerPostListener
java.lang.Object
com.arsdigita.domain.DomainObject
com.arsdigita.domain.ObservableDomainObject
com.arsdigita.kernel.ACSObject
com.arsdigita.formbuilder.PersistentProcessListener
com.arsdigita.formbuilder.actions.RemoteServerPostListener
- public class RemoteServerPostListener
- extends PersistentProcessListener
This is a process listener that takes all of the FormData from
the submission and then sends it to the passed in URL as a POST.
This does not currently handle multi-part data.
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.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 |
BASE_DATA_OBJECT_TYPE
public static final String BASE_DATA_OBJECT_TYPE
- See Also:
- Constant Field Values
REMOTE_URL
public static final String REMOTE_URL
- See Also:
- Constant Field Values
RemoteServerPostListener
public RemoteServerPostListener()
RemoteServerPostListener
public RemoteServerPostListener(String typeName)
RemoteServerPostListener
public RemoteServerPostListener(ObjectType type)
RemoteServerPostListener
public RemoteServerPostListener(DataObject obj)
RemoteServerPostListener
public RemoteServerPostListener(BigDecimal id)
throws DataObjectNotFoundException
RemoteServerPostListener
public RemoteServerPostListener(OID oid)
throws DataObjectNotFoundException
create
public static RemoteServerPostListener create(String name,
String description,
String remoteURL)
setup
protected void setup(String name,
String description,
String remoteURL)
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()
getRemoteURL
public String getRemoteURL()
setRemoteURL
public void setRemoteURL(String remoteURL)
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