org.infoglue.cms.applications.common.actions
Class ModelAction

java.lang.Object
  |
  +--org.infoglue.cms.applications.common.actions.WebworkAbstractAction
        |
        +--org.infoglue.cms.applications.common.actions.InfoGlueAbstractAction
              |
              +--org.infoglue.cms.applications.common.actions.ModelAction
All Implemented Interfaces:
webwork.action.Action, webwork.action.CommandDriven, java.io.Serializable, webwork.action.ServletRequestAware, webwork.action.ServletResponseAware
Direct Known Subclasses:
CategoryAction, ContentCategoryAction, PropertiesCategoryAction

public abstract class ModelAction
extends InfoGlueAbstractAction

Base class to provide Actions with some common semantics for dealing with a specific domain object (model) and collections of domain objects (models).

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

Field Summary
 
Fields inherited from interface webwork.action.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
ModelAction()
           
 
Method Summary
 Persistent getModel()
           
 java.util.Collection getModels()
           
 
Methods inherited from class org.infoglue.cms.applications.common.actions.InfoGlueAbstractAction
beginTransaction, closeDatabase, closeTransaction, encode, getCMSBaseUrl, getColorScheme, getComponentRendererAction, getComponentRendererUrl, getCurrentURL, getLanguageCode, getLocale, getPrincipalPropertyHashValues, getPrincipalPropertyValue, getPrincipalPropertyValue, getSessionTimeout, getThis, getURLBase, getUserName, hasAccessTo, hasAccessTo, rollbackTransaction, setColorScheme
 
Methods inherited from class org.infoglue.cms.applications.common.actions.WebworkAbstractAction
doDefault, execute, getBrowserBean, getCurrentUrl, getError, getErrors, getInfoGluePrincipal, getLocalizedString, getRoot, getSession, setCommand, setServletRequest, setServletResponse
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModelAction

public ModelAction()
Method Detail

getModel

public Persistent getModel()

getModels

public java.util.Collection getModels()