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, getResourceHelper
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
afterSave, beforeDelete, beforeSave
destroy, getFileHelper, getProperties, getResourceHelper
getFilteredParameters, setFilterForParameter
@Deprecated public Set<String> getFilterForParameter()
public void initialize(IPluginInitializeBeanData initializeBeanData) throws FCPluginException
IPluginGenericCustomGUIBean
IPluginGenericCustomGUI
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 IPluginGenericCustomGUIBean
initialize
in class APluginGenericCustomGUIBean
initializeBeanData
- 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)
IPluginCustomGUIBean
setProcessingBean
in interface IPluginCustomGUIBean
bean
- an object of type IProcessingBean
public IProcessingBean getProcessingBean()
IPluginCustomGUIBean
getProcessingBean
in interface IPluginCustomGUIBean
IProcessingBean
or nullpublic List<IParameterModel> getAllParameter()
IProcessingBean
getAllParameter
in interface IProcessingBean
List
with a processing parameters.public IParameterModel getParameter(String paramName)
IProcessingBean
getParameter
in interface IProcessingBean
paramName
- Name of the parameter to getIParameterModel
for the parameter, or null
when no such parameter existspublic IParameterModel addNewParameter(String name)
IProcessingBean
IParameterModel
for that
parameter.addNewParameter
in interface IProcessingBean
name
- Name of the parameter to addIParameterModel
public void removeParameter(String paramName)
IProcessingBean
removeParameter
in interface IProcessingBean
paramName
- Name of the parameter to removepublic void removeParameter(int idx)
IProcessingBean
removeParameter
in interface IProcessingBean
idx
- 0-based index of the parameter to remove.public List<Aktion> getProvidingPrevActions()
IProcessingBean
getProvidingPrevActions
in interface IProcessingBean
public Projekt getCurrentProject()
IProcessingBean
getCurrentProject
in interface IProcessingBean
Projekt
public Status getCurrentState()
IProcessingBean
getCurrentState
in interface IProcessingBean
Status
of the actionpublic IEntityContext getEntityContext()
IProcessingBean
getEntityContext
in interface IProcessingBean
IEntityContext
for the databasepublic Aktion getCurrentAction()
IProcessingBean
getCurrentAction
in interface IProcessingBean
public Locale getCurrentLocale()
IProcessingBean
getCurrentLocale
in interface IProcessingBean
Copyright © 2020 XIMA MEDIA GmbH. All rights reserved.