|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--uk.org.ogsadai.client.toolkit.activity.RequestComponent | +--uk.org.ogsadai.client.toolkit.activity.Activity | +--uk.org.ogsadai.client.toolkit.activity.delivery.DeliverToResourceProperty
Activity that delivers its input to a specified resource property. The input to this activity must blocks of strings. The single string constructed from concatinating all the strings will be written to the specified resource property.
The activity has one input - blocks of strings - and no outputs.
Field Summary | |
private static java.lang.String |
COPYRIGHT_NOTICE
Copyright statement |
private boolean |
mIsSessionSpecific
Is the resource property to be session specific. |
private javax.xml.namespace.QName |
mResourcePropertyName
Name of resource property that output is written to. |
Fields inherited from class uk.org.ogsadai.client.toolkit.activity.Activity |
|
Fields inherited from class uk.org.ogsadai.client.toolkit.activity.RequestComponent |
|
Constructor Summary | |
DeliverToResourceProperty(javax.xml.namespace.QName resourcePropertyName)
Constructs the activity. |
Method Summary | |
protected java.lang.String |
generateXML()
Generates the XML representing the activity. |
javax.xml.namespace.QName |
getResourcePropertyName()
Gets the name of the resource property. |
javax.xml.namespace.QName |
getResourcePropertyName(SessionID sessionID)
Gets the name of the session-specific resource property. |
void |
setInput(ActivityOutput input)
Sets the input of this activity to be the output from another activity that will provide the data to be stored. |
void |
setResourcePropertyName(javax.xml.namespace.QName resourcePropertyName)
Sets the name of the resource property. |
void |
setSessionSpecific(boolean sessionSpecific)
Sets whether or not the resource property is specific to the session. |
Methods inherited from class uk.org.ogsadai.client.toolkit.activity.Activity |
addInput, addOutput, addOutputs, getDataResourceID, getInputParameters, getOutputParameters, getOutputs, replaceSpecialCharacters, setDataResourceID, setInput |
Methods inherited from class uk.org.ogsadai.client.toolkit.activity.RequestComponent |
getDataService, getName, getSession, setDataService, setSession |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final java.lang.String COPYRIGHT_NOTICE
private javax.xml.namespace.QName mResourcePropertyName
private boolean mIsSessionSpecific
Constructor Detail |
public DeliverToResourceProperty(javax.xml.namespace.QName resourcePropertyName)
setInput
.
resourcePropertyName
- The name of the resource property into which to write
the input. If the resource property is session specific
then this name of the resource property will be this name
appended with "-" followed by the session ID.
java.lang.IllegalArgumentException
- If resourcePropertyName
is null
.Method Detail |
public void setResourcePropertyName(javax.xml.namespace.QName resourcePropertyName)
resourcePropertyName
- The name of the resource property into which to write the
input data.
java.lang.IllegalArgumentException
- If resourcePropertyName
is null
.public javax.xml.namespace.QName getResourcePropertyName()
public javax.xml.namespace.QName getResourcePropertyName(SessionID sessionID)
sessionID
- ID of the session that executed the activity.
java.lang.IllegalArgumentException
- If sessionID
is null
.public void setSessionSpecific(boolean sessionSpecific)
sessionSpecific
- Is the resource property to be session specific?public final void setInput(ActivityOutput input)
input
- Output from another activity.
java.lang.IllegalArgumentException
- If input
is null
.protected java.lang.String generateXML()
RequestComponent
generateXML
in class Activity
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |