biz.hammurapi.web.menu
Class Function

java.lang.Object
  extended bybiz.hammurapi.sql.DatabaseObject
      extended bybiz.hammurapi.web.menu.sql.MenuFunctionImpl
          extended bybiz.hammurapi.web.menu.Function
All Implemented Interfaces:
biz.hammurapi.util.Attributable, java.lang.Cloneable, biz.hammurapi.sql.columns.ColumnChangeListener, biz.hammurapi.config.Context, biz.hammurapi.config.ContextConfigurable, biz.hammurapi.config.DomConfigurable, biz.hammurapi.xml.dom.DomSerializable, biz.hammurapi.sql.IDatabaseObject, biz.hammurapi.web.menu.sql.MenuFunction, biz.hammurapi.util.Observable, biz.hammurapi.sql.Projector, java.io.Serializable, biz.hammurapi.util.Versioned

public class Function
extends biz.hammurapi.web.menu.sql.MenuFunctionImpl
implements biz.hammurapi.sql.Projector

See Also:
Serialized Form

Field Summary
 
Fields inherited from class biz.hammurapi.web.menu.sql.MenuFunctionImpl
CacheInterval, Description, FunctionCode, MenuId, Name, ParameterCount, SqlProcessor, Type
 
Fields inherited from class biz.hammurapi.sql.DatabaseObject
columns, objectVersion, originalVersion
 
Constructor Summary
Function()
           
Function(boolean force)
           
Function(org.w3c.dom.Element holder, boolean force)
           
Function(org.w3c.dom.Element holder, java.util.Properties pathMap, org.apache.xpath.CachedXPathAPI cxpa, boolean force)
           
Function(java.sql.ResultSet rs)
           
 
Method Summary
 java.lang.Object invoke(java.lang.Object[] args)
           
 java.lang.Object invoke(java.lang.Object[] args, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 java.lang.Object project(java.sql.ResultSet rs)
           
 void start(biz.hammurapi.config.Context context, Menu owner)
           
 
Methods inherited from class biz.hammurapi.web.menu.sql.MenuFunctionImpl
clone, getCacheInterval, getDescription, getFunctionCode, getMenuId, getName, getParameterCount, getSqlProcessor, getType, project, project, setCacheInterval, setDescription, setFunctionCode, setMenuId, setName, setParameterCount, setSqlProcessor, setType
 
Methods inherited from class biz.hammurapi.sql.DatabaseObject
addColumn, addObserver, addRelationship, clear, configure, configure, copy, delete, equals, fromDom, fromDom, get, getAttribute, getColumn, getColumnAttribute, getObjectVersion, getRelationship, getSqlType, hashCode, insert, isDeleted, isModified, loadRelationships, onChange, removeAttribute, removeColumnAttribute, removeObserver, setAttribute, setColumnAttribute, setOriginal, toDom, toDom, toString, update
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface biz.hammurapi.xml.dom.DomSerializable
toDom
 

Constructor Detail

Function

public Function()

Function

public Function(boolean force)

Function

public Function(org.w3c.dom.Element holder,
                boolean force)
         throws biz.hammurapi.config.ConfigurationException

Function

public Function(org.w3c.dom.Element holder,
                java.util.Properties pathMap,
                org.apache.xpath.CachedXPathAPI cxpa,
                boolean force)
         throws biz.hammurapi.config.ConfigurationException

Function

public Function(java.sql.ResultSet rs)
         throws java.sql.SQLException
Method Detail

project

public java.lang.Object project(java.sql.ResultSet rs)
                         throws java.sql.SQLException
Specified by:
project in interface biz.hammurapi.sql.Projector
Throws:
java.sql.SQLException

invoke

public java.lang.Object invoke(java.lang.Object[] args)
                        throws HammurapiWebException
Throws:
HammurapiWebException

invoke

public java.lang.Object invoke(java.lang.Object[] args,
                               javax.servlet.http.HttpServletRequest request,
                               javax.servlet.http.HttpServletResponse response)
                        throws HammurapiWebException
Throws:
HammurapiWebException

start

public void start(biz.hammurapi.config.Context context,
                  Menu owner)
           throws HammurapiWebException
Throws:
HammurapiWebException


Copyright © 2006 Hammurapi Group. All Rights Reserved.