de.espirit.firstspirit.access.store.sitestore
Interface SiteStoreVariableFormData

All Superinterfaces:
FormData

public interface SiteStoreVariableFormData
extends FormData

Interface definition for a form data container containing sitestore variables.

Since:
4.2.440
See Also:
SiteStoreFolder.getFormData(), DataProvider.setFormData(de.espirit.firstspirit.forms.FormData)
Example:
Example how to modify variables of SiteStoreFolder

Method Summary
 FormField<String> createVariable(Language language, String variableName)
          Creates a new variable with desired name in this container and return the created form field for the given language.
 FormField<String> get(Language language, String fieldName)
          
 void removeVariable(String variableName)
          Removes the variable with desired name from this container.
 
Methods inherited from interface de.espirit.firstspirit.forms.FormData
getForm
 

Method Detail

createVariable

FormField<String> createVariable(Language language,
                                 String variableName)
Creates a new variable with desired name in this container and return the created form field for the given language.

Since:
4.2.440

removeVariable

void removeVariable(String variableName)
Removes the variable with desired name from this container.

Since:
4.2.440

get

@NotNull
FormField<String> get(Language language,
                              String fieldName)
                      throws NoSuchFormFieldException

Specified by:
get in interface FormData
Throws:
NoSuchFormFieldException
Since:
4.2.440


Copyright © 2012 e-Spirit AG. All Rights Reserved. Build 4.2.480