public class ProjectResourceBean extends ABasicResourceBean<ProjektRessourceDateiData,ProjektRessource>
| Modifier and Type | Class and Description | 
|---|---|
class  | 
ProjectResourceBean.EntityListModelImpl  | 
AJSFContext.RedirectOptions, AJSFContext.RedirectOptionsBuilderFILENAME_RESOURCES_SUFFIX, FILENAME_RESOURCES_ZIP, forceTextEdit, model, upload, uploadFileName, uploadFileSizesystemUC| Constructor and Description | 
|---|
ProjectResourceBean()  | 
| Modifier and Type | Method and Description | 
|---|---|
protected boolean | 
checkResourceNameExist(String name)  | 
protected ProjektRessource | 
createResource(String resourceName,
              String description,
              String fileName,
              byte[] data,
              String userName)  | 
CurrentProjectBean | 
getCurrentProjectBean()  | 
String | 
getGeneratedUrl(ProjektRessource res)  | 
org.primefaces.model.StreamedContent | 
getMarkedResources()
Generates  
StreamedContent from the List of all the marked resources contained within the model. | 
protected IEntityListModel<ProjektRessource> | 
getNewModel()  | 
void | 
setCurrentProjectBean(CurrentProjectBean currentProjectBean)  | 
protected ProjektRessource | 
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 CurrentProjectBean getCurrentProjectBean()
public void setCurrentProjectBean(CurrentProjectBean currentProjectBean)
public 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<ProjektRessourceDateiData,ProjektRessource>StreamedContent of all the marked model resourcesprotected IEntityListModel<ProjektRessource> getNewModel()
getNewModel in class ABasicResourceBean<ProjektRessourceDateiData,ProjektRessource>protected ProjektRessource createResource(String resourceName, String description, String fileName, byte[] data, String userName) throws Exception
createResource in class ABasicResourceBean<ProjektRessourceDateiData,ProjektRessource>Exceptionprotected ProjektRessource updateResource(String resourceName, String newResourceName, String description, String fileName, byte[] data, String userName) throws Exception
updateResource in class ABasicResourceBean<ProjektRessourceDateiData,ProjektRessource>Exceptionprotected boolean checkResourceNameExist(String name)
checkResourceNameExist in class ABasicResourceBean<ProjektRessourceDateiData,ProjektRessource>public String getGeneratedUrl(ProjektRessource res)
getGeneratedUrl in class ABasicResourceBean<ProjektRessourceDateiData,ProjektRessource>Copyright © 2019 XIMA MEDIA GmbH. All rights reserved.