Version: 1.1.1

ca.ucalgary.seahawk.util
Class MobyDataObjectDeferred

java.lang.Object
  extended by org.biomoby.shared.MobyData
      extended by org.biomoby.shared.MobyPrimaryData
          extended by org.biomoby.shared.MobyPrimaryDataSimple
              extended by org.biomoby.shared.data.MobyDataObject
                  extended by org.biomoby.shared.data.MobyDataComposite
                      extended by ca.ucalgary.seahawk.util.MobyDataObjectDeferred
All Implemented Interfaces:
MobyContentCreator, Cloneable, Comparable, ConcurrentMap<String,MobyDataObject>, Map<String,MobyDataObject>, MobyDataInstance

public class MobyDataObjectDeferred
extends MobyDataComposite
implements MobyContentCreator

A class that pretends it's a real moby data instance, but is actually a deferred list of data instances that should be submitted en-masse to services. Use to implement 'for each' functionality in Seahawk.


Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Field Summary
 
Fields inherited from interface org.biomoby.shared.data.MobyDataInstance
CENTRAL_XML_MODE, SERVICE_XML_MODE
 
Constructor Summary
MobyDataObjectDeferred(MobyDataType dt, MobyNamespace ns, MobyPayloadRequestListener listener)
           
MobyDataObjectDeferred(MobyDataType dt, MobyPayloadRequestListener listener)
           
MobyDataObjectDeferred(MobyNamespace ns, MobyPayloadRequestListener listener)
           
 
Method Summary
 MobyContentInstance getAllContents(String jobParamName)
           
 
Methods inherited from class org.biomoby.shared.data.MobyDataComposite
clear, clone, containsKey, containsValue, entrySet, equals, get, getObject, hashCode, isEmpty, isObjectValid, keySet, put, putAll, putIfAbsent, remove, remove, replace, replace, size, toXML, values
 
Methods inherited from class org.biomoby.shared.data.MobyDataObject
addCrossReference, addCrossReferences, addCrossReferences, addProvisionInfo, compareTo, createInstanceFromDOM, createInstanceFromDOM, createInstanceFromString, createInstanceFromString, createInstanceFromXML, getCrossReferences, getId, getName, getPrimaryNamespace, getProvisionInfo, getTextContents, getValue, getXmlMode, hasCrossReferences, setId, setName, setPrimaryNamespace, setProvisionInfo, setXmlMode, toString
 
Methods inherited from class org.biomoby.shared.MobyPrimaryDataSimple
addNamespace, format, getDataType, getNamespaces, removeNamespace, removeNamespace, setDataType, setNamespaces
 
Methods inherited from class org.biomoby.shared.MobyPrimaryData
isPrimary
 
Methods inherited from class org.biomoby.shared.MobyData
getId, getName, getUserData, setUserData
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.biomoby.shared.data.MobyDataInstance
getName, getUserData, setUserData
 

Constructor Detail

MobyDataObjectDeferred

public MobyDataObjectDeferred(MobyNamespace ns,
                              MobyPayloadRequestListener listener)
                       throws Exception
Throws:
Exception

MobyDataObjectDeferred

public MobyDataObjectDeferred(MobyDataType dt,
                              MobyPayloadRequestListener listener)
                       throws Exception
Throws:
Exception

MobyDataObjectDeferred

public MobyDataObjectDeferred(MobyDataType dt,
                              MobyNamespace ns,
                              MobyPayloadRequestListener listener)
                       throws Exception
Throws:
Exception
Method Detail

getAllContents

public MobyContentInstance getAllContents(String jobParamName)
Specified by:
getAllContents in interface MobyContentCreator
Parameters:
jobParamName - the article name that should be given to each value, in its own job

Version: 1.1.1

Submit a bug or feature
Generated: Sat May 29 04:26:35 EDT 2010