Package de.xima.fc.gui.common.model
Class FormAttachmentModel
java.lang.Object
de.xima.fc.gui.common.model.FormAttachmentModel
- All Implemented Interfaces:
Serializable
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintorg.primefaces.model.StreamedContentbooleanbooleanvoidsetAttachment(Attachment attachment) voidsetSelected(boolean isSelected)
-
Constructor Details
-
FormAttachmentModel
- Parameters:
attachment- theAttachment
-
-
Method Details
-
getAttachment
- Returns:
- the attachment
-
setAttachment
- Parameters:
attachment- the attachment to set
-
getStreamedContent
public org.primefaces.model.StreamedContent getStreamedContent()- Returns:
- the streamedContent
-
isSelected
public boolean isSelected()- Returns:
- the isSelected
-
setSelected
public void setSelected(boolean isSelected) - Parameters:
isSelected- the isSelected to set
-
isImageFile
public boolean isImageFile()- Returns:
- the isImageFile
-
getFileSize
public int getFileSize()- Returns:
- the displayFileSize
-
getStyleClass
-