org.enhydra.barracuda.contrib.sam.data
Class DefaultConfig
java.lang.Object
org.enhydra.barracuda.contrib.sam.data.DefaultConfig
- All Implemented Interfaces:
- Config
- public abstract class DefaultConfig
- extends Object
- implements Config
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected static org.apache.log4j.Logger logger
viewEvent
protected Class viewEvent
xmlFormName
protected String xmlFormName
formName
protected String formName
MAP
protected String MAP
OID
protected String OID
DefaultConfig
public DefaultConfig(Class viewEvent,
String xmlFormName,
String formName)
getViewEvent
public ViewEvent getViewEvent()
- Description copied from interface:
Config
- returns a view event called for displaying the form
- Specified by:
getViewEvent
in interface Config
getXmlFormName
public String getXmlFormName()
- Specified by:
getXmlFormName
in interface Config
- Returns:
- name of the XML Form, this string is used by
XmlFormFactory
getFormName
public String getFormName()
- Specified by:
getFormName
in interface Config
getMapName
public String getMapName()
- Specified by:
getMapName
in interface Config
getOidName
public String getOidName()
- Specified by:
getOidName
in interface Config
- Returns:
- name of the identifier field in the
DataObject
getDataObject
public abstract DataObject getDataObject(String oid)
throws DataObjectException
- Specified by:
getDataObject
in interface Config
- Returns:
- data object identified by the given oid. Normally, this would be implemented by
a SQL query
- Throws:
DataObjectException
Copyright © 2003 BarracudaMVC.org All Rights Reserved.