net.sf.scmwebgui.actions
Class AddContentType

java.lang.Object
  extended by net.sf.scmwebgui.actions.AddContentType
All Implemented Interfaces:
IActionHandler

public class AddContentType
extends java.lang.Object
implements IActionHandler

This IActionHandler adds a new Content Type to current Project. The handler is called with these parameters:


Constructor Summary
AddContentType()
           
 
Method Summary
 void execute(RequestContext ctx, javax.servlet.http.HttpServletRequest request)
          Execute the actions in the IActionHandler
 java.lang.String getDefaultCategory()
           
 java.lang.String getDescription()
           
 java.lang.String getFileExtensions()
           
 java.lang.String getHandler()
           
 java.lang.String getId()
           
 java.lang.String getName()
           
 void setDefaultCategory(java.lang.String defaultCategory)
           
 void setDescription(java.lang.String description)
           
 void setFileExtensions(java.lang.String fileExtensions)
           
 void setHandler(java.lang.String handler)
           
 void setId(java.lang.String id)
           
 void setName(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddContentType

public AddContentType()
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.

getDescription

public java.lang.String getDescription()
Returns:
Returns the description.

setDescription

public void setDescription(java.lang.String description)
Parameters:
description - The description to set.

getFileExtensions

public java.lang.String getFileExtensions()
Returns:
Returns the fileExtensions.

setFileExtensions

public void setFileExtensions(java.lang.String fileExtensions)
Parameters:
fileExtensions - The fileExtensions to set.

getHandler

public java.lang.String getHandler()
Returns:
Returns the handler.

setHandler

public void setHandler(java.lang.String handler)
Parameters:
handler - The handler to set.

getId

public java.lang.String getId()
Returns:
Returns the id.

setId

public void setId(java.lang.String id)
Parameters:
id - The id to set.

getName

public java.lang.String getName()
Returns:
Returns the name.

setName

public void setName(java.lang.String name)
Parameters:
name - The name to set.

getDefaultCategory

public java.lang.String getDefaultCategory()
Returns:
Returns the defaultCategory.

setDefaultCategory

public void setDefaultCategory(java.lang.String defaultCategory)
Parameters:
defaultCategory - The defaultCategory to set.


Copyright null null. All Rights Reserved.