public abstract class APluginCustomGUIBean extends APluginGenericCustomGUIBean implements IPluginCustomGUIBean, IProcessingBean
| Constructor and Description |
|---|
APluginCustomGUIBean() |
| Modifier and Type | Method and Description |
|---|---|
IParameterModel |
addNewParameter(String name)
Adds a new parameter to the list of parameters, and returns the newly created
IParameterModel for that
parameter. |
List<IParameterModel> |
getAllParameter()
Returns the list of all parameters.
|
Aktion |
getCurrentAction()
Finds the currently selected workflow action.
|
Locale |
getCurrentLocale()
Finds the locale the current user is using.
|
Projekt |
getCurrentProject()
Finds the project to which the workflow action belong
|
Status |
getCurrentState()
Finds the state to which the workflow action belongs
|
IEntityContext |
getEntityContext()
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.
|
IParameterModel |
getParameter(String paramName)
Finds the parameter with the given name in the list of parameters
|
IProcessingBean |
getProcessingBean()
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 sind
|
void |
initialize(IPluginInitializeBeanData initializeBeanData)
A callback method that is invoked after all beans required by the
IPluginGenericCustomGUI plugin were
created. |
void |
removeParameter(int idx)
Removes the parameter at the given index from the list of parameters.
|
void |
removeParameter(String paramName)
Removes the parameter with the given name from the list of parameters.
|
void |
setProcessingBean(IProcessingBean bean)
Sets a reference to the FORMCYCLE processing bean
|
getFileHelper, getProperties, getResourceHelperclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitafterSave, beforeDelete, beforeSavedestroy, getFileHelper, getProperties, getResourceHelpergetFilteredParameters, setFilterForParameter@Deprecated public Set<String> getFilterForParameter()
public void initialize(IPluginInitializeBeanData initializeBeanData) throws FCPluginException
IPluginGenericCustomGUIBeanIPluginGenericCustomGUI plugin 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.initialize in interface IPluginGenericCustomGUIBeaninitialize in class APluginGenericCustomGUIBeaninitializeBeanData - The IPluginInitializeBeanData you can make use of in the initialization process.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.public void setProcessingBean(IProcessingBean bean)
IPluginCustomGUIBeansetProcessingBean in interface IPluginCustomGUIBeanbean - an object of type IProcessingBeanpublic IProcessingBean getProcessingBean()
IPluginCustomGUIBeangetProcessingBean in interface IPluginCustomGUIBeanIProcessingBean or nullpublic List<IParameterModel> getAllParameter()
IProcessingBeangetAllParameter in interface IProcessingBeanList with a processing parameters.public IParameterModel getParameter(String paramName)
IProcessingBeangetParameter in interface IProcessingBeanparamName - Name of the parameter to getIParameterModel for the parameter, or null when no such parameter existspublic IParameterModel addNewParameter(String name)
IProcessingBeanIParameterModel for that
parameter.addNewParameter in interface IProcessingBeanname - Name of the parameter to addIParameterModelpublic void removeParameter(String paramName)
IProcessingBeanremoveParameter in interface IProcessingBeanparamName - Name of the parameter to removepublic void removeParameter(int idx)
IProcessingBeanremoveParameter in interface IProcessingBeanidx - 0-based index of the parameter to remove.public List<Aktion> getProvidingPrevActions()
IProcessingBeangetProvidingPrevActions in interface IProcessingBeanpublic Projekt getCurrentProject()
IProcessingBeangetCurrentProject in interface IProcessingBeanProjektpublic Status getCurrentState()
IProcessingBeangetCurrentState in interface IProcessingBeanStatus of the actionpublic IEntityContext getEntityContext()
IProcessingBeangetEntityContext in interface IProcessingBeanIEntityContext for the databasepublic Aktion getCurrentAction()
IProcessingBeangetCurrentAction in interface IProcessingBeanpublic Locale getCurrentLocale()
IProcessingBeangetCurrentLocale in interface IProcessingBeanCopyright © 2020 XIMA MEDIA GmbH. All rights reserved.