|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Title: openFJORD
Description: open Flexible Java Online Research Designer
Copyright: Copyright (c) 2003 Ingo Düppe
Company: University of Muenster
ElementManagerDelegate
Method Summary | |
SurveyElementContainer |
addElement(SurveyElement element,
SurveyElementContainer parent)
This method will create a new server side element and will add it to the parent element. |
SurveyElementContainer |
deleteElement(SurveyElement element)
Deletes a specific service side element specified by the primary key information of the value object |
SurveyElementContainer |
getContainer(java.lang.String elementId)
Returning a survey element container with his sub elements defined by his primary key. |
SurveyElementContainer |
getContainer(SurveyElement element)
Returning a survey element container with his sub elements defined by his value object. |
SurveyElementContainer |
moveElement(SurveyElement element,
int offset)
Moves the element to a new position in the same container |
SurveyElementContainer |
moveElement(SurveyElement element,
SurveyElementContainer destination)
Moves the element from the current parent container to the new parent container |
SurveyElementContainer |
updateContainer(SurveyElementContainer container)
Updates the server side element container with new data. |
SurveyElementContainer |
updateElement(SurveyElement element)
Updates the server side element with new data. |
Method Detail |
public SurveyElementContainer getContainer(SurveyElement element) throws java.rmi.RemoteException, NoElementContainerException
java.rmi.RemoteException
- something gone wrong
NoElementContainerException
public SurveyElementContainer getContainer(java.lang.String elementId) throws java.rmi.RemoteException
elementId
- the primary key of the element container
java.rmi.RemoteException
- something gone wrongpublic SurveyElementContainer updateContainer(SurveyElementContainer container) throws java.rmi.RemoteException
container
- value object with the new data
java.rmi.RemoteException
- something gone wrongpublic SurveyElementContainer addElement(SurveyElement element, SurveyElementContainer parent) throws java.rmi.RemoteException
element
- the new elementparent
- element will add to the parent container object
java.rmi.RemoteException
- something gone wrongpublic SurveyElementContainer updateElement(SurveyElement element) throws java.rmi.RemoteException
element
- value object with new data.
java.rmi.RemoteException
- something gone wrongpublic SurveyElementContainer deleteElement(SurveyElement element) throws java.rmi.RemoteException
element
- value object containing primary key information
java.rmi.RemoteException
- something gone wrongpublic SurveyElementContainer moveElement(SurveyElement element, int offset) throws java.rmi.RemoteException
element
- the value objectoffset
- new position relative to the old
java.rmi.RemoteException
- somthing gone wrongpublic SurveyElementContainer moveElement(SurveyElement element, SurveyElementContainer destination) throws java.rmi.RemoteException
element
- the value object of the server side element with primary key informationdestination
- new parent container object
java.rmi.RemoteException
- something gone wrong
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |