net.sf.scmwebgui.actions
Class AddContent

java.lang.Object
  extended by 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:


Constructor Summary
AddContent()
           
 
Method Summary
 void execute(RequestContext ctx, javax.servlet.http.HttpServletRequest request)
          Execute the actions in the IActionHandler
 java.lang.String getCtype()
           
 java.util.Map getFields()
           
 java.lang.String getFromDate()
           
 java.lang.String getToDate()
           
 void setCtype(java.lang.String ctype)
           
 void setFields(java.util.Map fields)
           
 void setFromDate(java.lang.String fromDate)
           
 void setToDate(java.lang.String toDate)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddContent

public AddContent()
Method Detail

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.