biz.hammurapi.web.process
Class ProcessActions
java.lang.Object
biz.hammurapi.web.ActionsBase
biz.hammurapi.web.process.ProcessActions
- public class ProcessActions
- extends ActionsBase
|
Method Summary |
void |
get(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
protected static biz.hammurapi.web.process.sql.ProcessEngine |
getEngine(javax.servlet.http.HttpServletRequest request)
|
void |
getImage(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
java.lang.Object |
getMenu(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Returns list of menus with processes for AJAX tree. |
java.lang.Object |
getXml(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Retrieves process with tasks and transitions to be XML-ized and rendered for viewing |
java.lang.String |
path(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Menu/interaction path |
void |
save(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Stores process in the database. |
| Methods inherited from class biz.hammurapi.web.ActionsBase |
getGlobal, getMatched, getMenu, getReferrer, getRemoted, getUid, hasPermission, includeThisInPath, invoke, isBlank, java, request2xml, setReferrer, sql |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProcessActions
public ProcessActions()
getEngine
protected static biz.hammurapi.web.process.sql.ProcessEngine getEngine(javax.servlet.http.HttpServletRequest request)
save
public void save(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException
- Stores process in the database.
- Parameters:
request - response -
- Throws:
java.io.IOException
get
public void get(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException
- Throws:
java.io.IOException
getXml
public java.lang.Object getXml(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.lang.NumberFormatException,
java.sql.SQLException
- Retrieves process with tasks and transitions to be XML-ized and rendered for viewing
- Parameters:
request - response -
- Returns:
-
- Throws:
java.sql.SQLException
java.lang.NumberFormatException
java.sql.SQLException
java.lang.NumberFormatException
getImage
public void getImage(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.lang.NumberFormatException,
java.sql.SQLException,
java.io.IOException
- Throws:
java.lang.NumberFormatException
java.sql.SQLException
java.io.IOException
getMenu
public java.lang.Object getMenu(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.sql.SQLException
- Returns list of menus with processes for AJAX tree.
- Parameters:
request - response -
- Returns:
-
- Throws:
java.sql.SQLException
java.sql.SQLException
biz.hammurapi.config.ConfigurationException
path
public java.lang.String path(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.lang.NumberFormatException,
java.sql.SQLException
- Menu/interaction path
- Parameters:
request - response -
- Returns:
-
- Throws:
java.lang.NumberFormatException
java.sql.SQLException
Copyright © 2006 Hammurapi Group. All Rights Reserved.