net.sf.scmwebgui.actions
Class AddContentType
java.lang.Object
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:
- 'id' - Content Type identifier
- 'name' - Content Type name.
- 'description' - Content Type description.
- 'fileExtensions' - Content Type file extensions.
- 'handler' - Content Type handler.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AddContentType
public AddContentType()
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.