com.flexive.shared.scripting
Class FxScriptInfoEdit

java.lang.Object
  extended by com.flexive.shared.AbstractSelectableObjectWithName
      extended by com.flexive.shared.scripting.FxScriptInfo
          extended by com.flexive.shared.scripting.FxScriptInfoEdit
All Implemented Interfaces:
SelectableObject, SelectableObjectWithName, java.io.Serializable

public class FxScriptInfoEdit
extends FxScriptInfo

Editable FxScriptInfo

Author:
Gerhard Glos (gerhard.glos@flexive.com), UCS - unique computing solutions gmbh (http://www.ucs.at)
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.flexive.shared.scripting.FxScriptInfo
active, code, description, event, id, name
 
Constructor Summary
FxScriptInfoEdit(FxScriptInfo si)
          Constructs a editable script info object from FxScriptInfo.
FxScriptInfoEdit(long id, FxScriptEvent event, java.lang.String name, java.lang.String description, java.lang.String code, boolean active)
          Constructor
 
Method Summary
 void setActive(boolean active)
           
 void setCode(java.lang.String code)
           
 void setDescription(java.lang.String description)
           
 void setEvent(FxScriptEvent event)
           
 void setName(java.lang.String name)
           
 
Methods inherited from class com.flexive.shared.scripting.FxScriptInfo
asEditable, getCode, getDescription, getEvent, getId, getName, isActive
 
Methods inherited from class com.flexive.shared.AbstractSelectableObjectWithName
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FxScriptInfoEdit

public FxScriptInfoEdit(long id,
                        FxScriptEvent event,
                        java.lang.String name,
                        java.lang.String description,
                        java.lang.String code,
                        boolean active)
                 throws FxInvalidParameterException
Constructor

Parameters:
id - script id
event - script type
name - (unique) name of the script
description - description
code - the script code
active - if the script is active
Throws:
FxInvalidParameterException - on errors
See Also:
FxScriptEvent

FxScriptInfoEdit

public FxScriptInfoEdit(FxScriptInfo si)
Constructs a editable script info object from FxScriptInfo.

Parameters:
si - the script info object
Method Detail

setEvent

public void setEvent(FxScriptEvent event)

setName

public void setName(java.lang.String name)

setDescription

public void setDescription(java.lang.String description)

setCode

public void setCode(java.lang.String code)

setActive

public void setActive(boolean active)