org.infoglue.cms.applications.managementtool.actions
Class CategoryAction

java.lang.Object
  extended by org.infoglue.cms.applications.common.actions.WebworkAbstractAction
      extended by org.infoglue.cms.applications.common.actions.InfoGlueAbstractAction
          extended by org.infoglue.cms.applications.common.actions.ModelAction
              extended by org.infoglue.cms.applications.managementtool.actions.CategoryAction
All Implemented Interfaces:
java.io.Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.ServletRequestAware, webwork.action.ServletResponseAware

public class CategoryAction
extends ModelAction

Author:
Frank Febbraro (frank@phase2technology.com)
See Also:
Serialized Form

Field Summary
static java.lang.String MAIN
           
 
Fields inherited from class org.infoglue.cms.applications.common.actions.InfoGlueAbstractAction
colorScheme
 
Fields inherited from interface webwork.action.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
CategoryAction()
           
 
Method Summary
protected  Persistent createModel()
          Template method used by subclasses to provide a new instance of the model.
 java.lang.String doDelete()
           
 java.lang.String doDisplayTreeForMove()
           
 java.lang.String doEdit()
           
 java.lang.String doExecute()
          Default implementation for WebworkAbstractAction, subclasses shold feel free to override
 java.lang.String doList()
           
 java.lang.String doMove()
           
 java.lang.String doNew()
           
 java.lang.String doSave()
           
 CategoryVO getCategory()
           
 java.lang.Integer getCategoryId()
           
 void setCategoryId(java.lang.Integer i)
           
 
Methods inherited from class org.infoglue.cms.applications.common.actions.ModelAction
getModel, getModels, setModel, setModels, validateModel
 
Methods inherited from class org.infoglue.cms.applications.common.actions.InfoGlueAbstractAction
beginTransaction, closeDatabase, closeTransaction, commitTransaction, encode, getAllowPublicationEventFilter, getAnonymousPrincipal, getCMSBaseUrl, getColorScheme, getComponentRendererAction, getComponentRendererUrl, getCurrentURL, getDisableImageEditor, getInfoGluePrincipal, getLanguageCode, getLocale, getLogoutURL, getOriginalFullURL, getParameter, getPrincipalPropertyHashValues, getPrincipalPropertyValue, getPrincipalPropertyValue, getSessionTimeout, getSingleParameter, getThis, getToolId, getToolLocales, getURLBase, getUserName, hasAccessTo, hasAccessTo, rollbackTransaction, setColorScheme, setLanguageCode, setToolId
 
Methods inherited from class org.infoglue.cms.applications.common.actions.WebworkAbstractAction
doDefault, execute, getBrowserBean, getCurrentUrl, getError, getErrors, getHttpSession, getInfoGluePrincipal, getLocalizedString, getRequest, getResponse, getRoot, getSession, setCommand, setError, setServletRequest, setServletResponse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAIN

public static final java.lang.String MAIN
See Also:
Constant Field Values
Constructor Detail

CategoryAction

public CategoryAction()
Method Detail

createModel

protected Persistent createModel()
Description copied from class: ModelAction
Template method used by subclasses to provide a new instance of the model.

Specified by:
createModel in class ModelAction
Returns:
a new PersistentObject

getCategory

public CategoryVO getCategory()

getCategoryId

public java.lang.Integer getCategoryId()

setCategoryId

public void setCategoryId(java.lang.Integer i)

doList

public java.lang.String doList()
                        throws SystemException
Throws:
SystemException

doNew

public java.lang.String doNew()
                       throws SystemException
Throws:
SystemException

doEdit

public java.lang.String doEdit()
                        throws SystemException
Throws:
SystemException

doDisplayTreeForMove

public java.lang.String doDisplayTreeForMove()
                                      throws SystemException
Throws:
SystemException

doMove

public java.lang.String doMove()
                        throws SystemException
Throws:
SystemException

doSave

public java.lang.String doSave()
                        throws SystemException,
                               ConstraintException
Throws:
SystemException
ConstraintException

doDelete

public java.lang.String doDelete()
                          throws SystemException
Throws:
SystemException

doExecute

public java.lang.String doExecute()
                           throws java.lang.Exception
Description copied from class: ModelAction
Default implementation for WebworkAbstractAction, subclasses shold feel free to override

Overrides:
doExecute in class ModelAction
Throws:
java.lang.Exception


Copyright © 2005 InfoGlue.org All Rights Reserved.