|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jurismarches.vradi.services.managers.BindingManager
public class BindingManager
Class containing the methods to manage the binding of the xml streams fields with the form fields : - xml field bindings creation, update and retrieving - xml streams retrieving - form creation with the data from an xml stream
| Constructor Summary | |
|---|---|
BindingManager(FormTypeManager formTypeManager,
FormManager formManager)
|
|
BindingManager(org.sharengo.wikitty.WikittyProxy proxy,
FormTypeManager formTypeManager,
FormManager formManager)
|
|
| Method Summary | |
|---|---|
protected void |
autoLoadFormsFromXmlStreams(long delay,
long period)
Regularly retrieves the information from all the xml streams and create new forms |
void |
autoLoadFormsFromXmlStreams(String intervalUnit,
int intervalValue,
Integer hour,
Integer minute)
Regularly retrieves the information from all the xml streams and create new forms |
List<XmlStream> |
getAllXmlStreams()
|
int[] |
getFormsFromXmlStream(XmlStream xmlStream,
VradiUser vradiUser)
Creates forms with the data of an xml stream |
XmlFieldBinding |
getXmlFieldBinding(String xmlFieldBindingId)
Retrieves the xml field binding whose id is xmlFieldBindingId |
List<XmlFieldBinding> |
getXmlFieldBindings(XmlStream xmlStream)
Retrieves the xml field bindings whose xml stream is xmlStream |
XmlStream |
getXmlStream(String xmlStreamId)
|
List<XmlFieldBinding> |
updateXmlFieldBindings(List<XmlFieldBinding> bindings)
Updates the xml field bindings given in parameters |
XmlStream |
updateXmlStream(XmlStream xmlStream,
List<XmlFieldBinding> bindings)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BindingManager(org.sharengo.wikitty.WikittyProxy proxy,
FormTypeManager formTypeManager,
FormManager formManager)
public BindingManager(FormTypeManager formTypeManager,
FormManager formManager)
| Method Detail |
|---|
public List<XmlFieldBinding> getXmlFieldBindings(XmlStream xmlStream)
xmlStream - the xml stream associated with the xml field bindings
we want to retrieve
public XmlFieldBinding getXmlFieldBinding(String xmlFieldBindingId)
xmlFieldBindingId - the id of the xml field binding we want to retrieve
public List<XmlFieldBinding> updateXmlFieldBindings(List<XmlFieldBinding> bindings)
throws VradiException
bindings - the list of the xml field bindings to update
VradiException
public XmlStream updateXmlStream(XmlStream xmlStream,
List<XmlFieldBinding> bindings)
throws VradiException
VradiExceptionpublic List<XmlStream> getAllXmlStreams()
public XmlStream getXmlStream(String xmlStreamId)
throws VradiException
VradiException
public int[] getFormsFromXmlStream(XmlStream xmlStream,
VradiUser vradiUser)
throws VradiException
xmlStream - vradiUser -
VradiException - for various possible errors
public void autoLoadFormsFromXmlStreams(String intervalUnit,
int intervalValue,
Integer hour,
Integer minute)
throws VradiException
intervalUnit - unit of te interval between 2 retrievings (minute, hour or day)intervalValue - interval value between two retrievingshour - hour of the retrieving if the unit is dayminute - of the retrieving if the unit is day or hour
VradiException
protected void autoLoadFormsFromXmlStreams(long delay,
long period)
throws VradiException
delay - the delay before the first retrievingperiod - interval between two retrievings
VradiException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||