org.gusdb.wdk.model.jspwrap
Class WdkModelBean
java.lang.Object
org.gusdb.wdk.model.jspwrap.WdkModelBean
public class WdkModelBean
- extends java.lang.Object
A wrapper on a WdkModel that provides simplified access for
consumption by a view
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WdkModelBean
public WdkModelBean(WdkModel model)
getName
public java.lang.String getName()
getDisplayName
public java.lang.String getDisplayName()
getIntroduction
public java.lang.String getIntroduction()
getBooleanOps
public EnumParamBean getBooleanOps()
getModel
public WdkModel getModel()
findRecordClass
public RecordClassBean findRecordClass(java.lang.String recClassRef)
throws WdkUserException,
WdkModelException
- used by the controller
- Throws:
WdkUserException
WdkModelException
getQuestionSetsMap
public java.util.Map getQuestionSetsMap()
- Returns:
- Map of questionSetName -->
QuestionSetBean
getQuestionSets
public QuestionSetBean[] getQuestionSets()
getRecordClasses
public RecordClassBean[] getRecordClasses()
createUser
public UserBean createUser(java.lang.String userID)
getUser
public UserBean getUser(java.lang.String userID)
deleteUser
public boolean deleteUser(java.lang.String userID)
getXmlQuestionSets
public XmlQuestionSetBean[] getXmlQuestionSets()
getXmlQuestionSetsMap
public java.util.Map getXmlQuestionSetsMap()
- Returns:
- Map of questionSetName -->
XmlQuestionSetBean
getXmlRecordClassSets
public XmlRecordClassSetBean[] getXmlRecordClassSets()