Package de.xima.fc.gui.bean.plugin
Class SystemPluginBean
- java.lang.Object
-
- All Implemented Interfaces:
Serializable
@Named @ViewScoped public class SystemPluginBean extends BasicPluginBean<SystemPlugin>
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.xima.fc.gui.common.utils.msg.AJSFContext
AJSFContext.RedirectOptions, AJSFContext.RedirectOptionsBuilder
-
-
Field Summary
-
Fields inherited from class de.xima.fc.gui.bean.plugin.BasicPluginBean
all, dao, marked, selected
-
Fields inherited from class de.xima.fc.gui.bean.FCContextBean
systemUC
-
-
Constructor Summary
Constructors Constructor Description SystemPluginBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
deletePlugin(PluginWrapperModel<SystemPlugin> plugin)
protected Set<PluginRuntime>
getAllPluginRuntimes()
protected EEntityKeySelectionType
getKeyType()
org.primefaces.model.StreamedContent
getMarkedPlugins()
protected PluginWrapperModel<SystemPlugin>
getNewPlugin()
protected boolean
save(PluginWrapperModel<SystemPlugin> plugin)
void
updateData()
-
Methods inherited from class de.xima.fc.gui.bean.plugin.BasicPluginBean
activate, activate, addNew, deactivate, deactivate, delete, deleteMarked, getAll, getEntityClassKey, getMarked, getSelected, getSelectionBean, getSinglePlugin, getStreamedContent, isContainsEntityPlugins, isMarkedContainsEntityPlugins, save, selectDefault, setMarked, setSelected, setSelectedFromMarked, setSelectionBean, upload, uploadAndPersist
-
Methods inherited from class de.xima.fc.gui.bean.FCContextBean
getNavigationBean, getSessionBean, isSetupUser, redirectToDashboard, setNavigationBean, setSessionBean, switchMainView, switchMainView, switchSubView, switchSubView
-
Methods inherited from class de.xima.fc.gui.bean.ABackendJSFContext
ec, findEntityContext, isDetached, isHasDB
-
Methods inherited from class de.xima.fc.gui.common.utils.msg.AJSFContext
destroySessionBean, encodeURL, findBean, findBean, findBean, findBean, findBean, findBean, findBean, findCurrentView, findUserContext, getBeanName, getBeanName, getContext, getCurrentViewBean, getLocaleBean, getRequest, getResponse, getSession, getSession, getSessionAttribute, isMasterServerContext, loadLazy, redirect, redirect, redirect, redirect, redirectToDashboard, redirectToDashboard, setLocaleBean, setSessionAttribute, uc
-
Methods inherited from class de.xima.fc.gui.common.utils.msg.MessageUtils
addErrorMsg, addErrorMsg, addErrorMsg, addErrorMsg, addErrorMsg, addErrorMsg, addErrorMsgFromString, addErrorMsgFromString, addErrorMsgToComponent, addErrorMsgToComponent, addErrorMsgToComponent, addErrorMsgToComponent, addErrorMsgToComponent, addErrorMsgToComponent, addInfoMsg, addInfoMsg, addInfoMsg, addInfoMsg, addInfoMsgFromString, addInfoMsgFromString, addInfoMsgToComponent, addInfoMsgToComponent, addInfoMsgToComponent, addInfoMsgToComponent, addMsg, addMsg, addMsg, addMsg, addMsgs, addMsgToComponent, addMsgToComponent, addWarnMsg, addWarnMsg, addWarnMsg, addWarnMsg, addWarnMsgFromString, addWarnMsgFromString, addWarnMsgToComponent, addWarnMsgToComponent, addWarnMsgToComponent, addWarnMsgToComponent, cleanErrorMsg, getErrorMessage, getNewErrorMsg, getNewErrorMsg, getNewErrorMsg, getNewInfoMsg, getNewInfoMsg, getNewMsg, getNewWarnMsg, getNewWarnMsg
-
-
-
-
Method Detail
-
updateData
public void updateData()
- Specified by:
updateData
in classBasicPluginBean<SystemPlugin>
-
deletePlugin
protected boolean deletePlugin(PluginWrapperModel<SystemPlugin> plugin)
- Specified by:
deletePlugin
in classBasicPluginBean<SystemPlugin>
- Parameters:
plugin
- Plugin to be deleted.- Returns:
true
iff the plugin was deleted.
-
getMarkedPlugins
public org.primefaces.model.StreamedContent getMarkedPlugins()
- Overrides:
getMarkedPlugins
in classBasicPluginBean<SystemPlugin>
-
getNewPlugin
protected PluginWrapperModel<SystemPlugin> getNewPlugin()
- Specified by:
getNewPlugin
in classBasicPluginBean<SystemPlugin>
-
save
protected boolean save(PluginWrapperModel<SystemPlugin> plugin)
- Specified by:
save
in classBasicPluginBean<SystemPlugin>
-
getAllPluginRuntimes
protected Set<PluginRuntime> getAllPluginRuntimes()
- Specified by:
getAllPluginRuntimes
in classBasicPluginBean<SystemPlugin>
-
getKeyType
protected EEntityKeySelectionType getKeyType()
- Specified by:
getKeyType
in classBasicPluginBean<SystemPlugin>
-
-