Class FormDesignerPluginBean
- java.lang.Object
 - 
- de.xima.fc.gui.designer.form.bean.FormDesignerPluginBean
 
 
- 
- All Implemented Interfaces:
 Serializable
@RequestScoped @Named public class FormDesignerPluginBean extends Object implements Serializable
Bean for the form designer. Handles plugin-related functions, such as providing the JavaScript and CSS required by widget plugins.- Since:
 - 7.0.0
 - Author:
 - XIMA MEDIA GmbH
 - See Also:
 - Serialized Form
 
 
- 
- 
Field Summary
Fields Modifier and Type Field Description protected static org.slf4j.LoggerLOG 
- 
Constructor Summary
Constructors Constructor Description FormDesignerPluginBean() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.primefaces.model.StreamedContentgetPluginCssFontFaceInfoStreamedContentForResource(long clientId, String pluginName, String languageTag, boolean devMode)org.primefaces.model.StreamedContentgetPluginCssFontFaceInfoStreamedContentForWidget(long clientId, String pluginName)org.primefaces.model.StreamedContentgetPluginCssForDesignerUiStreamedContentForResource(long clientId, String pluginName, String languageTag, boolean devMode)org.primefaces.model.StreamedContentgetPluginCssForDesignerUiStreamedContentForWidget(long clientId, String pluginName)List<String>getPluginCssForDesignerUiUrls()org.primefaces.model.StreamedContentgetPluginCssStreamedContentForResource(long clientId, String pluginName, String languageTag, boolean devMode)org.primefaces.model.StreamedContentgetPluginCssStreamedContentForWidget(long clientId, String pluginName)List<CssWithFontFacesInfo>getPluginCssUrls()org.primefaces.model.StreamedContentgetPluginJavaScriptStreamedContentForResource(long clientId, String pluginName, String languageTag, boolean devMode)org.primefaces.model.StreamedContentgetPluginJavaScriptStreamedContentForWidget(long clientId, String pluginName)List<String>getPluginJavaScriptUrls() 
 - 
 
- 
- 
Method Detail
- 
getPluginCssFontFaceInfoStreamedContentForResource
public org.primefaces.model.StreamedContent getPluginCssFontFaceInfoStreamedContentForResource(long clientId, String pluginName, String languageTag, boolean devMode)- Parameters:
 clientId- Current client ID.pluginName- Name of the widget plugin.languageTag- The requested language tag, e.g. "en".devMode- Whether development mode is enabled.- Returns:
 - The CSS for the form inside the designer required by widget plugin for the given client.
 
 
- 
getPluginCssFontFaceInfoStreamedContentForWidget
public org.primefaces.model.StreamedContent getPluginCssFontFaceInfoStreamedContentForWidget(long clientId, String pluginName)- Parameters:
 clientId- Current client ID.pluginName- Name of the widget plugin.- Returns:
 - The CSS for the form inside the designer required by widget plugin for the given client.
 
 
- 
getPluginCssForDesignerUiStreamedContentForResource
public org.primefaces.model.StreamedContent getPluginCssForDesignerUiStreamedContentForResource(long clientId, String pluginName, String languageTag, boolean devMode)- Parameters:
 clientId- Current client ID.pluginName- Name of the widget plugin.languageTag- Requested language tag.devMode- Whether to get the dev resource.- Returns:
 - The CSS for the form inside the designer required by resource plugin for the given client.
 
 
- 
getPluginCssForDesignerUiStreamedContentForWidget
public org.primefaces.model.StreamedContent getPluginCssForDesignerUiStreamedContentForWidget(long clientId, String pluginName)- Parameters:
 clientId- Current client ID.pluginName- Name of the widget plugin.- Returns:
 - The CSS for the form inside the designer required by a widget plugin for the given client.
 
 
- 
getPluginCssForDesignerUiUrls
public List<String> getPluginCssForDesignerUiUrls()
- Returns:
 - The URL for the resource that serves the CSS form the form designer UI required by widget plugins.
 
 
- 
getPluginCssStreamedContentForResource
public org.primefaces.model.StreamedContent getPluginCssStreamedContentForResource(long clientId, String pluginName, String languageTag, boolean devMode)- Parameters:
 clientId- Current client ID.pluginName- Name of the widget plugin.languageTag- Requested language tag.devMode- Whether to get the dev resource.- Returns:
 - The CSS for the form inside the designer required by a resource plugin from the given client.
 
 
- 
getPluginCssStreamedContentForWidget
public org.primefaces.model.StreamedContent getPluginCssStreamedContentForWidget(long clientId, String pluginName)- Parameters:
 clientId- Current client ID.pluginName- Name of the widget plugin.- Returns:
 - The CSS for the form inside the designer required by a widget plugin from the given client.
 
 
- 
getPluginCssUrls
public List<CssWithFontFacesInfo> getPluginCssUrls()
- Returns:
 - The URL for the resource that serves the CSS for the form within the designer required by widget plugins.
 
 
- 
getPluginJavaScriptStreamedContentForResource
public org.primefaces.model.StreamedContent getPluginJavaScriptStreamedContentForResource(long clientId, String pluginName, String languageTag, boolean devMode)- Parameters:
 clientId- Current client ID.pluginName- Name of the widget plugin.languageTag- Requested language tag.devMode- Whether to get the dev resource.- Returns:
 - The JavaScript required by widget plugin for the given client of a resource plugin.
 
 
- 
getPluginJavaScriptStreamedContentForWidget
public org.primefaces.model.StreamedContent getPluginJavaScriptStreamedContentForWidget(long clientId, String pluginName)- Parameters:
 clientId- Current client ID.pluginName- Name of the widget plugin.- Returns:
 - The JavaScript required by widget plugin for the given client of a widget plugin.
 
 
 - 
 
 -