Package de.xima.fc.inbox.bean
Class ProcessAttachmentBean
- java.lang.Object
-
- de.xima.fc.gui.common.utils.msg.I18nUtils
-
- de.xima.fc.gui.common.utils.msg.MessageUtils
-
- de.xima.fc.gui.common.utils.msg.AMessaging
-
- de.xima.fc.gui.common.utils.msg.AJSFContext
-
- de.xima.fc.inbox.bean.ProcessAttachmentBean
-
- All Implemented Interfaces:
IDataContainer,Serializable
@ViewScoped @Named public class ProcessAttachmentBean extends AJSFContext implements IDataContainer
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.xima.fc.gui.common.utils.msg.AJSFContext
AJSFContext.RedirectOptions, AJSFContext.RedirectOptionsBuilder
-
-
Field Summary
Fields Modifier and Type Field Description static StringFILENAME_ATTACHMENTS_PREFIXstatic StringFILENAME_ATTACHMENTS_SUFFIX-
Fields inherited from class de.xima.fc.gui.common.utils.msg.AJSFContext
localeBean
-
-
Constructor Summary
Constructors Constructor Description ProcessAttachmentBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voiddeleteAttachment(FormAttachmentModel attachment)voiddeleteSelectedAttachments()voiddownloadAllAttachments()voiddownloadSelectedAttachments()org.primefaces.model.StreamedContentgetAllAttachments()org.primefaces.model.StreamedContentgetAttachment(FormAttachmentModel attachment)Map<EAttachmentSource,List<FormAttachmentModel>>getFormAttachments()ProcessReviewBeangetProcessReviewBean()Deprecated.booleanisAllSelected()booleanisAttachmentsSelected()voidsetAllSelected(boolean allSelected)voidsetFormAttachments(Map<EAttachmentSource,List<FormAttachmentModel>> formAttachments)voidsetProcessReviewBean(ProcessReviewBean processReviewBean)Deprecated.voidunselectAllAttachments()voidupdateData()Should update data when called-
Methods inherited from class de.xima.fc.gui.common.utils.msg.AJSFContext
destroySessionBean, 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, redirectToDashboard, setLocaleBean, setSessionAttribute, uc
-
Methods inherited from class de.xima.fc.gui.common.utils.msg.MessageUtils
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, addMsgs, addMsgToComponent, addMsgToComponent, addWarnMsg, addWarnMsg, addWarnMsg, addWarnMsg, addWarnMsgFromString, addWarnMsgFromString, addWarnMsgToComponent, addWarnMsgToComponent, addWarnMsgToComponent, addWarnMsgToComponent, cleanErrorMsg, errorMsg, errorMsg, getErrorMessage, getNewErrorMsg, getNewErrorMsg, getNewErrorMsg, getNewInfoMsg, getNewInfoMsg, getNewMsg, getNewWarnMsg, getNewWarnMsg, msg
-
-
-
-
Field Detail
-
FILENAME_ATTACHMENTS_PREFIX
public static final String FILENAME_ATTACHMENTS_PREFIX
- See Also:
- Constant Field Values
-
FILENAME_ATTACHMENTS_SUFFIX
public static final String FILENAME_ATTACHMENTS_SUFFIX
- See Also:
- Constant Field Values
-
-
Method Detail
-
getFormAttachments
public Map<EAttachmentSource,List<FormAttachmentModel>> getFormAttachments()
-
setFormAttachments
public void setFormAttachments(Map<EAttachmentSource,List<FormAttachmentModel>> formAttachments)
-
isAttachmentsSelected
public boolean isAttachmentsSelected()
-
isAllSelected
public boolean isAllSelected()
-
setAllSelected
public void setAllSelected(boolean allSelected)
-
getAttachment
public org.primefaces.model.StreamedContent getAttachment(FormAttachmentModel attachment)
-
getAllAttachments
public org.primefaces.model.StreamedContent getAllAttachments()
-
downloadAllAttachments
public void downloadAllAttachments()
-
deleteAttachment
public void deleteAttachment(FormAttachmentModel attachment)
-
deleteSelectedAttachments
public void deleteSelectedAttachments()
-
downloadSelectedAttachments
public void downloadSelectedAttachments()
-
unselectAllAttachments
public void unselectAllAttachments()
-
updateData
public void updateData()
Description copied from interface:IDataContainerShould update data when called- Specified by:
updateDatain interfaceIDataContainer
-
getProcessReviewBean
@Deprecated public ProcessReviewBean getProcessReviewBean()
Deprecated.
-
setProcessReviewBean
@Deprecated public void setProcessReviewBean(ProcessReviewBean processReviewBean)
Deprecated.
-
-