Package de.xima.fc.gui.bean.plugin
Class ClientPluginBean
- java.lang.Object
-
- All Implemented Interfaces:
Serializable
@Named @ViewScoped public class ClientPluginBean extends BasicPluginBean<ClientPlugin>
- 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 ClientPluginBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
deletePlugin(PluginWrapperModel<ClientPlugin> plugin)
protected Set<PluginRuntime>
getAllPluginRuntimes()
protected EEntityKeySelectionType
getKeyType()
org.primefaces.model.StreamedContent
getMarkedPlugins()
protected PluginWrapperModel<ClientPlugin>
getNewPlugin()
protected boolean
save(PluginWrapperModel<ClientPlugin> 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<ClientPlugin>
-
deletePlugin
protected boolean deletePlugin(PluginWrapperModel<ClientPlugin> plugin)
- Specified by:
deletePlugin
in classBasicPluginBean<ClientPlugin>
- Parameters:
plugin
- Plugin to be deleted.- Returns:
true
iff the plugin was deleted.
-
getMarkedPlugins
public org.primefaces.model.StreamedContent getMarkedPlugins()
- Overrides:
getMarkedPlugins
in classBasicPluginBean<ClientPlugin>
-
getNewPlugin
protected PluginWrapperModel<ClientPlugin> getNewPlugin()
- Specified by:
getNewPlugin
in classBasicPluginBean<ClientPlugin>
-
save
protected boolean save(PluginWrapperModel<ClientPlugin> plugin)
- Specified by:
save
in classBasicPluginBean<ClientPlugin>
-
getAllPluginRuntimes
protected Set<PluginRuntime> getAllPluginRuntimes()
- Specified by:
getAllPluginRuntimes
in classBasicPluginBean<ClientPlugin>
-
getKeyType
protected EEntityKeySelectionType getKeyType()
- Specified by:
getKeyType
in classBasicPluginBean<ClientPlugin>
-
-