DLESE Tools
v1.6.0

org.dlese.dpc.schemedit.ndr.action.form
Class NDRForm

java.lang.Object
  extended by org.apache.struts.action.ActionForm
      extended by org.dlese.dpc.schemedit.ndr.action.form.NDRForm
All Implemented Interfaces:
Serializable

public class NDRForm
extends org.apache.struts.action.ActionForm

ActionForm bean for handling interactions with the NDR.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
NDRForm()
          Constructor
 
Method Summary
 String getAppAgentIdentity()
           
 String getAppAgentIdentityType()
           
 List getBrowserHandles()
           
 List getDcsCollections()
          Gets setInfo instances for each collection NOT registered with NDR
 String getHandle()
           
 boolean getIsSyncing()
           
 Map getMdpHandleMap()
          Gets Map associating a setSpec with the corresponding mdpHandle
 String getNcsAgentHandle()
           
 String getNdrApiBaseUrl()
           
 List getNdrCollections()
          Gets list of setInfo instances for each collection registered with NDR
 String getProgress()
           
 String getProxyResponse()
          Get result of async call to NDR.
 SyncReport getSyncReport()
          Gets results of a Sync operation
 SyncService getSyncService()
           
protected  void prtln(String s)
          Output a line of text to standard out, with datestamp, if debug is set to true.
 void setAppAgent(AgentReader agentReader)
           
 void setBrowserHandles(List handles)
          Handles to either aggregator or mdp objects for use in NDR Browser
 void setDcsCollections(List sets)
          A list of setInfo instances for each collection NOT registered with NDR
 void setHandle(String handle)
           
 void setMdpHandleMap(Map handleMap)
          handleMap associates a setSpec with the corresponding mdpHandle
 void setNdrCollections(List sets)
          A list of setInfo instances for each collection registered with NDR
 void setProgress(String progress)
           
 void setProxyResponse(String response)
          Stores result of async call to NDR
 void setSyncReport(SyncReport report)
          Stores results of a Sync operation
 void setSyncService(SyncService svc)
           
 
Methods inherited from class org.apache.struts.action.ActionForm
getMultipartRequestHandler, getServlet, getServletWrapper, reset, reset, setMultipartRequestHandler, setServlet, validate, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NDRForm

public NDRForm()
Constructor

Method Detail

setSyncService

public void setSyncService(SyncService svc)

getSyncService

public SyncService getSyncService()

getIsSyncing

public boolean getIsSyncing()

setSyncReport

public void setSyncReport(SyncReport report)
Stores results of a Sync operation


getSyncReport

public SyncReport getSyncReport()
Gets results of a Sync operation


setProgress

public void setProgress(String progress)

getProgress

public String getProgress()

setHandle

public void setHandle(String handle)

getHandle

public String getHandle()

getNdrApiBaseUrl

public String getNdrApiBaseUrl()

getNcsAgentHandle

public String getNcsAgentHandle()

setAppAgent

public void setAppAgent(AgentReader agentReader)

getAppAgentIdentity

public String getAppAgentIdentity()

getAppAgentIdentityType

public String getAppAgentIdentityType()

setProxyResponse

public void setProxyResponse(String response)
Stores result of async call to NDR


getProxyResponse

public String getProxyResponse()
Get result of async call to NDR. Can be json object, xml, or a simple String


setBrowserHandles

public void setBrowserHandles(List handles)
Handles to either aggregator or mdp objects for use in NDR Browser


getBrowserHandles

public List getBrowserHandles()

setMdpHandleMap

public void setMdpHandleMap(Map handleMap)
handleMap associates a setSpec with the corresponding mdpHandle


getMdpHandleMap

public Map getMdpHandleMap()
Gets Map associating a setSpec with the corresponding mdpHandle


setNdrCollections

public void setNdrCollections(List sets)
A list of setInfo instances for each collection registered with NDR


getNdrCollections

public List getNdrCollections()
Gets list of setInfo instances for each collection registered with NDR


setDcsCollections

public void setDcsCollections(List sets)
A list of setInfo instances for each collection NOT registered with NDR


getDcsCollections

public List getDcsCollections()
Gets setInfo instances for each collection NOT registered with NDR


prtln

protected final void prtln(String s)
Output a line of text to standard out, with datestamp, if debug is set to true.

Parameters:
s - The String that will be output.

DLESE Tools
v1.6.0