net.sf.scmwebgui.actions
Class AddField

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

public class AddField
extends java.lang.Object
implements IActionHandler

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


Constructor Summary
AddField()
           
 
Method Summary
 void execute(RequestContext ctx, javax.servlet.http.HttpServletRequest request)
          Execute the actions in the IActionHandler
 java.lang.String getContentTypeId()
           
 java.lang.String getDescription()
           
 java.lang.String getId()
           
 java.lang.String getName()
           
 java.lang.String getReferencedType()
           
 int getSize()
           
 java.lang.String getType()
           
 boolean isCalculated()
           
 boolean isInternationalized()
           
 boolean isUnique()
           
 void setCalculated(boolean calculated)
           
 void setContentTypeId(java.lang.String contentTypeId)
           
 void setDescription(java.lang.String description)
           
 void setId(java.lang.String id)
           
 void setInternationalized(boolean internationalized)
           
 void setName(java.lang.String name)
           
 void setReferencedType(java.lang.String referencedType)
           
 void setSize(int size)
           
 void setType(java.lang.String type)
           
 void setUnique(boolean unique)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddField

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

isCalculated

public boolean isCalculated()
Returns:
Returns the calculated.

setCalculated

public void setCalculated(boolean calculated)
Parameters:
calculated - The calculated to set.

getContentTypeId

public java.lang.String getContentTypeId()
Returns:
Returns the contentTypeId.

setContentTypeId

public void setContentTypeId(java.lang.String contentTypeId)
Parameters:
contentTypeId - The contentTypeId to set.

getDescription

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

setDescription

public void setDescription(java.lang.String description)
Parameters:
description - The description 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.

isInternationalized

public boolean isInternationalized()
Returns:
Returns the internationalized.

setInternationalized

public void setInternationalized(boolean internationalized)
Parameters:
internationalized - The internationalized 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.

getReferencedType

public java.lang.String getReferencedType()
Returns:
Returns the referencedType.

setReferencedType

public void setReferencedType(java.lang.String referencedType)
Parameters:
referencedType - The referencedType to set.

getSize

public int getSize()
Returns:
Returns the size.

setSize

public void setSize(int size)
Parameters:
size - The size to set.

getType

public java.lang.String getType()
Returns:
Returns the type.

setType

public void setType(java.lang.String type)
Parameters:
type - The type to set.

isUnique

public boolean isUnique()
Returns:
Returns the unique.

setUnique

public void setUnique(boolean unique)
Parameters:
unique - The unique to set.


Copyright null null. All Rights Reserved.