Package de.xima.fc.plugin.abstracts
Class APluginCustomGUIBean
- java.lang.Object
 - 
- de.xima.fc.plugin.abstracts.APluginGenericCustomGUIBean
 - 
- de.xima.fc.plugin.abstracts.APluginCustomGUIBean
 
 
 
- 
- All Implemented Interfaces:
 IProcessingBean,IPluginCustomGUIBean,IPluginGenericCustomGUIBean,Serializable
public abstract class APluginCustomGUIBean extends APluginGenericCustomGUIBean implements IPluginCustomGUIBean, IProcessingBean
Helper class for a custom beans used by a processing plugin- Author:
 - XIMA MEDIA GmbH
 - See Also:
 - Serialized Form
 
 
- 
- 
Constructor Summary
Constructors Constructor Description APluginCustomGUIBean() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description IParameterModeladdNewParameter(String name)Adds a new parameter to the list of parameters, and returns the newly createdIParameterModelfor that parameter.List<IParameterModel>getAllParameter()Returns the list of all parameters.AktiongetCurrentAction()Finds the currently selected workflow action.LocalegetCurrentLocale()Finds the locale the current user is using.ProjektgetCurrentProject()Finds the project to which the workflow action belongStatusgetCurrentState()Finds the state to which the workflow action belongsIEntityContextgetEntityContext()Finds the entity context that can be used to access the database.Set<String>getFilterForParameter()Deprecated.If you want to include a list of parameters in the UI and filter out some attributes, implement the filter yourself.IParameterModelgetParameter(String paramName)Finds the parameter with the given name in the list of parametersIProcessingBeangetProcessingBean()Provides access to the FORMCYCLE processing bean.List<Aktion>getProvidingPrevActions()Liefert eine Liste mit allen datei-bereitstellenden Aktionen, welche der aktuellen Aktion innerhalb des aktuellen Status vorgelagert sindvoidinitialize(IPluginInitializeBeanData initializeBeanData)A callback method that is invoked after all beans required by theIPluginGenericCustomGUIplugin were created.booleanisNewWorkflow()voidremoveParameter(int idx)Removes the parameter at the given index from the list of parameters.voidremoveParameter(String paramName)Removes the parameter with the given name from the list of parameters.voidsetProcessingBean(IProcessingBean bean)Sets a reference to the FORMCYCLE processing bean- 
Methods inherited from class de.xima.fc.plugin.abstracts.APluginGenericCustomGUIBean
getFileHelper, getProperties, getResourceHelper 
- 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait 
- 
Methods inherited from interface de.xima.fc.plugin.gui.IPluginCustomGUIBean
afterSave, beforeDelete, beforeSave 
- 
Methods inherited from interface de.xima.fc.plugin.gui.IPluginGenericCustomGUIBean
destroy, getFileHelper, getProperties, getResourceHelper 
- 
Methods inherited from interface de.xima.fc.plugin.config.IProcessingBean
getFilteredParameters, setFilterForParameter 
 - 
 
 - 
 
- 
- 
Method Detail
- 
getFilterForParameter
@Deprecated public Set<String> getFilterForParameter()
Deprecated.If you want to include a list of parameters in the UI and filter out some attributes, implement the filter yourself.This method is a stub that always returns an empty list. 
- 
isNewWorkflow
public boolean isNewWorkflow()
- Specified by:
 isNewWorkflowin interfaceIProcessingBean
 
- 
initialize
public void initialize(IPluginInitializeBeanData initializeBeanData) throws FCPluginException
Description copied from interface:IPluginGenericCustomGUIBeanA callback method that is invoked after all beans required by theIPluginGenericCustomGUIplugin were created. You can use this method to get access to the plugin configuration data. If you need to perform any initialization logic, do it in this method.- Specified by:
 initializein interfaceIPluginGenericCustomGUIBean- Overrides:
 initializein classAPluginGenericCustomGUIBean- Parameters:
 initializeBeanData- TheIPluginInitializeBeanDatayou can make use of in the initialization process.- Throws:
 FCPluginException- When the bean could not be initialized. If you do throw the exception, an error will be shown to the user. Depending on the type of custom UI, the user may instead see an error page, a default page or be redirected to another page.
 
- 
setProcessingBean
public void setProcessingBean(IProcessingBean bean)
Description copied from interface:IPluginCustomGUIBeanSets a reference to the FORMCYCLE processing bean- Specified by:
 setProcessingBeanin interfaceIPluginCustomGUIBean- Parameters:
 bean- an object of typeIProcessingBean
 
- 
getProcessingBean
public IProcessingBean getProcessingBean()
Description copied from interface:IPluginCustomGUIBeanProvides access to the FORMCYCLE processing bean.- Specified by:
 getProcessingBeanin interfaceIPluginCustomGUIBean- Returns:
 - an object of type 
IProcessingBeanor null 
 
- 
getAllParameter
public List<IParameterModel> getAllParameter()
Description copied from interface:IProcessingBeanReturns the list of all parameters.- Specified by:
 getAllParameterin interfaceIProcessingBean- Returns:
 - A 
Listwith a processing parameters. 
 
- 
getParameter
public IParameterModel getParameter(String paramName)
Description copied from interface:IProcessingBeanFinds the parameter with the given name in the list of parameters- Specified by:
 getParameterin interfaceIProcessingBean- Parameters:
 paramName- Name of the parameter to get- Returns:
 - The 
IParameterModelfor the parameter, ornullwhen no such parameter exists 
 
- 
addNewParameter
public IParameterModel addNewParameter(String name)
Description copied from interface:IProcessingBeanAdds a new parameter to the list of parameters, and returns the newly createdIParameterModelfor that parameter.- Specified by:
 addNewParameterin interfaceIProcessingBean- Parameters:
 name- Name of the parameter to add- Returns:
 - The newly created 
IParameterModel 
 
- 
removeParameter
public void removeParameter(String paramName)
Description copied from interface:IProcessingBeanRemoves the parameter with the given name from the list of parameters.- Specified by:
 removeParameterin interfaceIProcessingBean- Parameters:
 paramName- Name of the parameter to remove
 
- 
removeParameter
public void removeParameter(int idx)
Description copied from interface:IProcessingBeanRemoves the parameter at the given index from the list of parameters.- Specified by:
 removeParameterin interfaceIProcessingBean- Parameters:
 idx- 0-based index of the parameter to remove.
 
- 
getProvidingPrevActions
public List<Aktion> getProvidingPrevActions()
Description copied from interface:IProcessingBeanLiefert eine Liste mit allen datei-bereitstellenden Aktionen, welche der aktuellen Aktion innerhalb des aktuellen Status vorgelagert sind- Specified by:
 getProvidingPrevActionsin interfaceIProcessingBean- Returns:
 - an list of actions which provides files
 
 
- 
getCurrentProject
public Projekt getCurrentProject()
Description copied from interface:IProcessingBeanFinds the project to which the workflow action belong- Specified by:
 getCurrentProjectin interfaceIProcessingBean- Returns:
 - The current 
Projekt 
 
- 
getCurrentState
public Status getCurrentState()
Description copied from interface:IProcessingBeanFinds the state to which the workflow action belongs- Specified by:
 getCurrentStatein interfaceIProcessingBean- Returns:
 - The current 
Statusof the action 
 
- 
getEntityContext
public IEntityContext getEntityContext()
Description copied from interface:IProcessingBeanFinds the entity context that can be used to access the database.- Specified by:
 getEntityContextin interfaceIProcessingBean- Returns:
 - A 
IEntityContextfor the database 
 
- 
getCurrentAction
public Aktion getCurrentAction()
Description copied from interface:IProcessingBeanFinds the currently selected workflow action.- Specified by:
 getCurrentActionin interfaceIProcessingBean- Returns:
 - The selected workflow action.
 
 
- 
getCurrentLocale
public Locale getCurrentLocale()
Description copied from interface:IProcessingBeanFinds the locale the current user is using.- Specified by:
 getCurrentLocalein interfaceIProcessingBean- Returns:
 - The current locale
 
 
 - 
 
 -