public class BasicResourceBean<E extends IAbstractDateiData,T extends IFileProviding<E>> extends FCContextBean
| Modifier and Type | Field and Description |
|---|---|
protected javax.faces.component.UIComponent |
fileUploadComponent |
protected IEntityListModel<T> |
model |
protected org.primefaces.component.inputtext.InputText |
nameInputComponent |
protected org.primefaces.model.UploadedFile |
upload |
protected String |
uploadFileName |
systemUCuc| Constructor and Description |
|---|
BasicResourceBean() |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanup() |
javax.faces.component.UIComponent |
getFileUploadComponent() |
IEntityListModel<T> |
getModel() |
javax.faces.component.UIComponent |
getNameInputComponent() |
ResourceContentBean |
getResourceContentBean() |
String |
getUploadFileName() |
boolean |
hasResourceData() |
boolean |
isShowImagePreview() |
boolean |
isShowPreview() |
boolean |
isShowTextPreview() |
protected void |
resetNameInputField() |
void |
setFileUploadComponent(javax.faces.component.UIComponent comp) |
void |
setModel(IEntityListModel<T> model) |
void |
setNameInputComponent(javax.faces.component.UIComponent comp) |
void |
setResourceContentBean(ResourceContentBean resourceContentBean) |
void |
updateModel() |
getSessionBean, init, isSetupUser, setSessionBean, switchMainView, switchMainView, switchSubView, switchSubViewdestroySessionBean, ec, findBean, findBean, getBeanName, getBeanName, getContext, getLocaleBean, getRequest, getResponse, getSession, getSession, getSessionAttribute, isDetached, loadLazy, setLocaleBean, setSessionAttributeaddErrorMsg, addErrorMsg, addErrorMsg, addErrorMsg, addErrorMsg, addErrorMsg, addErrorMsgToComponent, addErrorMsgToComponent, addErrorMsgToComponent, addErrorMsgToComponent, addErrorMsgToComponent, addErrorMsgToComponent, addInfoMsg, addInfoMsg, addInfoMsg, addInfoMsg, addInfoMsgToComponent, addInfoMsgToComponent, addInfoMsgToComponent, addInfoMsgToComponent, addMsg, addMsg, addMsg, addMsg, addMsgs, addMsgToComponent, addMsgToComponent, addWarnMsg, addWarnMsg, addWarnMsg, addWarnMsg, addWarnMsgToComponent, addWarnMsgToComponent, addWarnMsgToComponent, addWarnMsgToComponent, cleanErrorMsg, getErrorMessagegetFacesContext, getLocale, rbValue, rbValueprotected IEntityListModel<T extends IFileProviding<E>> model
protected transient javax.faces.component.UIComponent fileUploadComponent
protected transient org.primefaces.component.inputtext.InputText nameInputComponent
protected transient org.primefaces.model.UploadedFile upload
protected String uploadFileName
public void setFileUploadComponent(javax.faces.component.UIComponent comp)
public javax.faces.component.UIComponent getFileUploadComponent()
public String getUploadFileName()
public void setNameInputComponent(javax.faces.component.UIComponent comp)
public javax.faces.component.UIComponent getNameInputComponent()
public ResourceContentBean getResourceContentBean()
public void setResourceContentBean(ResourceContentBean resourceContentBean)
resourceContentBean - the resourceContentBean to setpublic void updateModel()
public IEntityListModel<T> getModel()
public void setModel(IEntityListModel<T> model)
model - the model to setpublic boolean hasResourceData()
public boolean isShowPreview()
public boolean isShowImagePreview()
public boolean isShowTextPreview()
protected void resetNameInputField()
@PreDestroy public void cleanup()
Copyright © 2018 XIMA MEDIA GmbH. All rights reserved.