fr.paris.lutece.plugins.form.business
Class FormAction

java.lang.Object
  extended by fr.paris.lutece.plugins.form.business.FormAction
All Implemented Interfaces:
fr.paris.lutece.portal.service.i18n.Localizable, fr.paris.lutece.portal.service.rbac.RBACAction

public class FormAction
extends java.lang.Object
implements fr.paris.lutece.portal.service.rbac.RBACAction, fr.paris.lutece.portal.service.i18n.Localizable

Action available on a space


Constructor Summary
FormAction()
           
 
Method Summary
 java.lang.String getDescription()
          Returns the Description
 java.lang.String getDescriptionKey()
          Returns the DescriptionKey
 int getFormState()
           
 java.lang.String getIconUrl()
          Returns the IconUrl
 java.lang.String getName()
          Returns the Name
 java.lang.String getNameKey()
          Returns the NameKey
 java.lang.String getPermission()
          Returns the permission associated to the action
 java.lang.String getUrl()
          Returns the Url
 void setDescriptionKey(java.lang.String strDescriptionKey)
          Sets the DescriptionKey
 void setFormState(int nState)
          set 1 if the action must be use when the form is enable 0 if the action must be use when the form is disable
 void setIconUrl(java.lang.String strIconUrl)
          Sets the IconUrl
 void setLocale(java.util.Locale locale)
          Implements Localizable
 void setNameKey(java.lang.String strNameKey)
          Sets the NameKey
 void setPermission(java.lang.String strPermission)
          Sets the Permission
 void setUrl(java.lang.String strUrl)
          Sets the Url
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FormAction

public FormAction()
Method Detail

getFormState

public int getFormState()
Returns:
1 if the action must be use when the form is enable 0 if the action must be use when the form is disable

setFormState

public void setFormState(int nState)
set 1 if the action must be use when the form is enable 0 if the action must be use when the form is disable

Parameters:
nState - 1 if the action must be use when the form is enable 0 if the action must be use when the form is disable

getUrl

public java.lang.String getUrl()
Returns the Url

Returns:
The Url

setUrl

public void setUrl(java.lang.String strUrl)
Sets the Url

Parameters:
strUrl - The Url

getNameKey

public java.lang.String getNameKey()
Returns the NameKey

Returns:
The NameKey

getName

public java.lang.String getName()
Returns the Name

Returns:
The Name

setNameKey

public void setNameKey(java.lang.String strNameKey)
Sets the NameKey

Parameters:
strNameKey - The NameKey

getDescriptionKey

public java.lang.String getDescriptionKey()
Returns the DescriptionKey

Returns:
The DescriptionKey

getDescription

public java.lang.String getDescription()
Returns the Description

Returns:
The Description

setDescriptionKey

public void setDescriptionKey(java.lang.String strDescriptionKey)
Sets the DescriptionKey

Parameters:
strDescriptionKey - The DescriptionKey

getIconUrl

public java.lang.String getIconUrl()
Returns the IconUrl

Returns:
The IconUrl

setIconUrl

public void setIconUrl(java.lang.String strIconUrl)
Sets the IconUrl

Parameters:
strIconUrl - The IconUrl

getPermission

public java.lang.String getPermission()
Returns the permission associated to the action

Specified by:
getPermission in interface fr.paris.lutece.portal.service.rbac.RBACAction
Returns:
The permission

setPermission

public void setPermission(java.lang.String strPermission)
Sets the Permission

Parameters:
strPermission - The Permission

setLocale

public void setLocale(java.util.Locale locale)
Implements Localizable

Specified by:
setLocale in interface fr.paris.lutece.portal.service.i18n.Localizable
Parameters:
locale - The current locale


Copyright © 2010 Mairie de Paris. All Rights Reserved.