Package de.xima.fc.plugin.config
Interface IProcessingBean
- 
- All Known Implementing Classes:
 APluginCustomGUIBean,ProcessingBean
public interface IProcessingBeanInterface for accessing data related to the workflow processing, meant for custom workflow UIs provided by a processing plugin. Also gives access to the current project, the current state and the current entity context for performing database operations.- Author:
 - XIMA MEDIA GmbH
 
 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description IParameterModeladdNewParameter(String paramName)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.default List<IParameterModel>getFilteredParameters()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 parametersList<Aktion>getProvidingPrevActions()Liefert eine Liste mit allen datei-bereitstellenden Aktionen, welche der aktuellen Aktion innerhalb des aktuellen Status vorgelagert sinddefault 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.default voidsetFilterForParameter(Set<String> filterParams)Deprecated.If you want to include a list of parameters in the UI and filter out some attributes, implement the filter yourself. 
 - 
 
- 
- 
Method Detail
- 
setFilterForParameter
@Deprecated default void setFilterForParameter(Set<String> filterParams)
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 no-op that ignore the given argument. 
- 
getFilteredParameters
@Deprecated default List<IParameterModel> getFilteredParameters()
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 the full parameter list. 
- 
isNewWorkflow
default boolean isNewWorkflow()
 
- 
getAllParameter
List<IParameterModel> getAllParameter()
Returns the list of all parameters.- Returns:
 - A 
Listwith a processing parameters. 
 
- 
getParameter
IParameterModel getParameter(String paramName)
Finds the parameter with the given name in the list of parameters- Parameters:
 paramName- Name of the parameter to get- Returns:
 - The 
IParameterModelfor the parameter, ornullwhen no such parameter exists 
 
- 
addNewParameter
IParameterModel addNewParameter(String paramName)
Adds a new parameter to the list of parameters, and returns the newly createdIParameterModelfor that parameter.- Parameters:
 paramName- Name of the parameter to add- Returns:
 - The newly created 
IParameterModel 
 
- 
removeParameter
void removeParameter(String paramName)
Removes the parameter with the given name from the list of parameters.- Parameters:
 paramName- Name of the parameter to remove
 
- 
removeParameter
void removeParameter(int idx)
Removes the parameter at the given index from the list of parameters.- Parameters:
 idx- 0-based index of the parameter to remove.
 
- 
getProvidingPrevActions
List<Aktion> getProvidingPrevActions()
Liefert eine Liste mit allen datei-bereitstellenden Aktionen, welche der aktuellen Aktion innerhalb des aktuellen Status vorgelagert sind- Returns:
 - an list of actions which provides files
 
 
- 
getCurrentProject
Projekt getCurrentProject()
Finds the project to which the workflow action belong- Returns:
 - The current 
Projekt 
 
- 
getCurrentState
Status getCurrentState()
Finds the state to which the workflow action belongs- Returns:
 - The current 
Statusof the action 
 
- 
getEntityContext
IEntityContext getEntityContext()
Finds the entity context that can be used to access the database.- Returns:
 - A 
IEntityContextfor the database 
 
- 
getCurrentAction
Aktion getCurrentAction()
Finds the currently selected workflow action.- Returns:
 - The selected workflow action.
 
 
- 
getCurrentLocale
Locale getCurrentLocale()
Finds the locale the current user is using.- Returns:
 - The current locale
 
 
 - 
 
 -