public class ClientResourceBean extends ABasicResourceBean<MandantRessourceDateiData,MandantRessource>
| Modifier and Type | Class and Description |
|---|---|
class |
ClientResourceBean.EntityListModelImpl |
AJSFContext.RedirectOptions, AJSFContext.RedirectOptionsBuilderFILENAME_RESOURCES_SUFFIX, FILENAME_RESOURCES_ZIP, forceTextEdit, model, upload, uploadFileName, uploadFileSizesystemUC| Constructor and Description |
|---|
ClientResourceBean() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
checkResourceNameExist(String name) |
protected MandantRessource |
createResource(String resourceName,
String description,
String fileName,
byte[] data,
String userName) |
String |
getGeneratedUrl(MandantRessource res) |
org.primefaces.model.StreamedContent |
getMarkedResources()
Generates
StreamedContent from the List of all the marked resources contained within the model. |
protected IEntityListModel<MandantRessource> |
getNewModel() |
protected MandantRessource |
updateResource(String resourceName,
String newResourceName,
String description,
String fileName,
byte[] data,
String userName) |
cleanup, getGeneratedUrl, getModel, getPreviewType, getResourceContentBean, getResourceName, getStreamedContent, getUploadFileName, getUploadFileSize, hasResourceData, isForceTextEdit, isImageResource, isPreviewResource, isReaderResource, isShowImagePreview, isShowPreview, isShowReaderPreview, isShowTextPreview, isShowTextPreviewBinary, isSourceCodeResource, isTextPreviewSizeExceeded, isTextResource, resetUploadValues, setForceTextEdit, setModel, setResourceContentBean, setResourceName, updateModel, updateResource, upload, uploadAndPersistgetNavigationBean, getSessionBean, isSetupUser, redirectToDashboard, setNavigationBean, setSessionBean, switchMainView, switchMainView, switchSubView, switchSubViewec, isDetached, isHasDBdestroySessionBean, 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, ucaddErrorMsg, 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, getErrorMessagepublic org.primefaces.model.StreamedContent getMarkedResources()
ABasicResourceBeanStreamedContent from the List of all the marked resources contained within the model. If
this list contains only a single entry the StreamedContent for this resource will be returned. If the list
contains more than one entry the resources will be packed into a zip file and the generated StreamedContent
of the zip file will be returned.getMarkedResources in class ABasicResourceBean<MandantRessourceDateiData,MandantRessource>StreamedContent of all the marked model resourcesprotected IEntityListModel<MandantRessource> getNewModel()
getNewModel in class ABasicResourceBean<MandantRessourceDateiData,MandantRessource>protected MandantRessource createResource(String resourceName, String description, String fileName, byte[] data, String userName) throws Exception
createResource in class ABasicResourceBean<MandantRessourceDateiData,MandantRessource>Exceptionprotected MandantRessource updateResource(String resourceName, String newResourceName, String description, String fileName, byte[] data, String userName) throws Exception
updateResource in class ABasicResourceBean<MandantRessourceDateiData,MandantRessource>Exceptionprotected boolean checkResourceNameExist(String name)
checkResourceNameExist in class ABasicResourceBean<MandantRessourceDateiData,MandantRessource>public String getGeneratedUrl(MandantRessource res)
getGeneratedUrl in class ABasicResourceBean<MandantRessourceDateiData,MandantRessource>Copyright © 2020 XIMA MEDIA GmbH. All rights reserved.