net.sf.scmwebgui.actions
Class AddContent
java.lang.Object
net.sf.scmwebgui.actions.AddContent
- All Implemented Interfaces:
- IActionHandler
public class AddContent
- extends java.lang.Object
- implements IActionHandler
This IActionHandler adds a new Content to current Category. If current
Category is the Project, the Content is inserted on ContentType default
Category. The handler is called with these parameters:
- 'ctype' - Content Type
- 'fields' - Map with content fields.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AddContent
public AddContent()
execute
public void execute(RequestContext ctx,
javax.servlet.http.HttpServletRequest request)
- Description copied from interface:
IActionHandler
- Execute the actions in the IActionHandler
- Specified by:
execute
in interface IActionHandler
request
- Servlet Request with parameters as attributes.
getCtype
public java.lang.String getCtype()
- Returns:
- Returns the ctype.
setCtype
public void setCtype(java.lang.String ctype)
- Parameters:
ctype
- The ctype to set.
getFields
public java.util.Map getFields()
- Returns:
- Returns the fields.
setFields
public void setFields(java.util.Map fields)
- Parameters:
fields
- The fields to set.
getFromDate
public java.lang.String getFromDate()
- Returns:
- Returns the fromDate.
setFromDate
public void setFromDate(java.lang.String fromDate)
- Parameters:
fromDate
- The fromDate to set.
getToDate
public java.lang.String getToDate()
- Returns:
- Returns the toDate.
setToDate
public void setToDate(java.lang.String toDate)
- Parameters:
toDate
- The toDate to set.
Copyright null null. All Rights Reserved.