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 String
FILENAME_ATTACHMENTS_PREFIX
static String
FILENAME_ATTACHMENTS_SUFFIX
-
Constructor Summary
Constructors Constructor Description ProcessAttachmentBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
deleteAttachment(FormAttachmentModel attachment)
void
deleteSelectedAttachments()
void
downloadAllAttachments()
void
downloadSelectedAttachments()
org.primefaces.model.StreamedContent
getAllAttachments()
org.primefaces.model.StreamedContent
getAttachment(FormAttachmentModel attachment)
Map<EAttachmentSource,List<FormAttachmentModel>>
getFormAttachments()
ProcessReviewBean
getProcessReviewBean()
Deprecated.boolean
isAllSelected()
boolean
isAttachmentsSelected()
void
setAllSelected(boolean allSelected)
void
setFormAttachments(Map<EAttachmentSource,List<FormAttachmentModel>> formAttachments)
void
setProcessReviewBean(ProcessReviewBean processReviewBean)
Deprecated.void
unselectAllAttachments()
void
updateData()
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, 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, addMsgToComponent, addMsgToComponent, addWarnMsg, addWarnMsg, addWarnMsg, addWarnMsg, addWarnMsgFromString, addWarnMsgFromString, addWarnMsgToComponent, addWarnMsgToComponent, addWarnMsgToComponent, addWarnMsgToComponent, cleanErrorMsg, getErrorMessage, getNewErrorMsg, getNewErrorMsg, getNewErrorMsg, getNewInfoMsg, getNewInfoMsg, getNewMsg, getNewWarnMsg, getNewWarnMsg
-
-
-
-
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:IDataContainer
Should update data when called- Specified by:
updateData
in interfaceIDataContainer
-
getProcessReviewBean
@Deprecated public ProcessReviewBean getProcessReviewBean()
Deprecated.
-
setProcessReviewBean
@Deprecated public void setProcessReviewBean(ProcessReviewBean processReviewBean)
Deprecated.
-
-