Package de.xima.fc.gui.bean.plugin
Class BasicPluginBean<E extends IPluginEntity<?,?,?>>
- 
- All Implemented Interfaces:
- Serializable
 - Direct Known Subclasses:
- ClientPluginBean,- SystemPluginBean
 
 public abstract class BasicPluginBean<E extends IPluginEntity<?,?,?>> extends FCContextBean - See Also:
- Serialized Form
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class de.xima.fc.gui.common.utils.msg.AJSFContextAJSFContext.RedirectOptions, AJSFContext.RedirectOptionsBuilder
 
- 
 - 
Field SummaryFields Modifier and Type Field Description protected List<PluginWrapperModel<E>>allprotected IGenericDao<E>daoprotected List<PluginWrapperModel<E>>markedprotected PluginWrapperModel<E>selected- 
Fields inherited from class de.xima.fc.gui.bean.FCContextBeansystemUC
 
- 
 - 
Constructor SummaryConstructors Constructor Description BasicPluginBean(IGenericDao<E> dao)
 - 
Method Summary- 
Methods inherited from class de.xima.fc.gui.bean.FCContextBeangetNavigationBean, getSessionBean, isSetupUser, redirectToDashboard, setNavigationBean, setSessionBean, switchMainView, switchMainView, switchSubView, switchSubView
 - 
Methods inherited from class de.xima.fc.gui.bean.ABackendJSFContextec, findEntityContext, isDetached, isHasDB
 - 
Methods inherited from class de.xima.fc.gui.common.utils.msg.AJSFContextdestroySessionBean, 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.MessageUtilsaddErrorMsg, 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
 
- 
 
- 
- 
- 
Field Detail- 
daoprotected IGenericDao<E extends IPluginEntity<?,?,?>> dao 
 - 
allprotected List<PluginWrapperModel<E extends IPluginEntity<?,?,?>>> all 
 - 
selectedprotected PluginWrapperModel<E extends IPluginEntity<?,?,?>> selected 
 - 
markedprotected List<PluginWrapperModel<E extends IPluginEntity<?,?,?>>> marked 
 
- 
 - 
Constructor Detail- 
BasicPluginBeanpublic BasicPluginBean(IGenericDao<E> dao) 
 
- 
 - 
Method Detail- 
getSelectionBeanpublic SelectionBean getSelectionBean() 
 - 
setSelectionBeanpublic void setSelectionBean(SelectionBean selectionBean) 
 - 
updateDatapublic abstract void updateData() 
 - 
deletePluginprotected abstract boolean deletePlugin(PluginWrapperModel<E> plugin) - Parameters:
- plugin- Plugin to be deleted.
- Returns:
- trueiff the plugin was deleted.
 
 - 
getNewPluginprotected abstract PluginWrapperModel<E> getNewPlugin() 
 - 
saveprotected abstract boolean save(PluginWrapperModel<E> plugin) 
 - 
getAllPluginRuntimesprotected abstract Set<PluginRuntime> getAllPluginRuntimes() 
 - 
getKeyTypeprotected abstract EEntityKeySelectionType getKeyType() 
 - 
getAllpublic List<PluginWrapperModel<E>> getAll() 
 - 
getSelectedpublic PluginWrapperModel<E> getSelected() 
 - 
setSelectedpublic void setSelected(PluginWrapperModel<E> selected) 
 - 
getMarkedpublic List<PluginWrapperModel<E>> getMarked() 
 - 
setMarkedpublic void setMarked(List<PluginWrapperModel<E>> marked) 
 - 
setSelectedFromMarkedpublic void setSelectedFromMarked() 
 - 
isMarkedContainsEntityPluginspublic boolean isMarkedContainsEntityPlugins() - Returns:
- trueif the marked plugins containing an entity-based one
 
 - 
isContainsEntityPluginspublic boolean isContainsEntityPlugins() 
 - 
getEntityClassKeypublic String getEntityClassKey() 
 - 
uploadpublic void upload(org.primefaces.event.FileUploadEvent evt) 
 - 
uploadAndPersistpublic void uploadAndPersist(org.primefaces.event.FileUploadEvent evt) 
 - 
getMarkedPluginspublic org.primefaces.model.StreamedContent getMarkedPlugins() 
 - 
getSinglePluginpublic org.primefaces.model.StreamedContent getSinglePlugin(PluginWrapperModel<E> plugin) 
 - 
addNewpublic void addNew() 
 - 
savepublic void save() 
 - 
deletepublic void delete(PluginWrapperModel<E> plugin) 
 - 
deleteMarkedpublic void deleteMarked() 
 - 
deactivatepublic void deactivate() 
 - 
deactivatepublic void deactivate(PluginWrapperModel<?> plugin) 
 - 
activatepublic void activate() 
 - 
activatepublic void activate(PluginWrapperModel<?> plugin) 
 - 
selectDefaultprotected void selectDefault() 
 - 
getStreamedContentprotected org.primefaces.model.StreamedContent getStreamedContent(List<PluginWrapperModel<E>> plugins, String zipFileName) 
 
- 
 
-