public class EntityBean<T extends ITransferableEntity> extends FCContextBean
AJSFContext.RedirectOptions, AJSFContext.RedirectOptionsBuilder
Modifier and Type | Field and Description |
---|---|
protected T |
current |
protected IGenericDao<T> |
dao |
protected Class<T> |
entityClass |
systemUC
Constructor and Description |
---|
EntityBean(Class<T> entityClass) |
Modifier and Type | Method and Description |
---|---|
String |
delete() |
String |
delete(String targetView) |
String |
delete(String targetView,
T entity) |
String |
delete(T entity) |
T |
getCurrent() |
void |
loadLazyData() |
void |
save() |
void |
save(boolean addInfoMessages,
boolean addErrorMessages) |
T |
save(T entity,
boolean addInfoMessages,
boolean addErrorMessages) |
void |
setCurrent(T current) |
getNavigationBean, getSessionBean, isSetupUser, redirectToDashboard, setNavigationBean, setSessionBean, switchMainView, switchMainView, switchSubView, switchSubView
ec, isDetached, isHasDB
destroySessionBean, encodeURL, findBean, findBean, findBean, findBean, findBean, findBean, findBean, findCurrentView, getBeanName, getBeanName, getContext, getCurrentViewBean, getLocaleBean, getRequest, getResponse, getSession, getSession, getSessionAttribute, isMasterServerContext, loadLazy, redirect, redirect, redirect, redirect, redirectToDashboard, redirectToDashboard, setLocaleBean, setSessionAttribute, uc
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
protected T extends ITransferableEntity current
protected final Class<T extends ITransferableEntity> entityClass
protected final transient IGenericDao<T extends ITransferableEntity> dao
Copyright © 2021 XIMA MEDIA GmbH. All rights reserved.