public class DataFileStreamField extends FileStreamField implements Storable, FileStreamTransfer
filesToDelete, uploadPendingFiles
additionalTagFragments, capitalization, className, contentChangeListener, controlLength, enterAction, maxColumns, maxlength, registerFlag, required, size
context, editable, enabled, lastEditability, lastVisibility, name, nonstandardPanel, nonstandardPosition, sessionData, toolTipText, visible
Constructor and Description |
---|
DataFileStreamField(SessionData sessionData,
DataObject assignedDataObject,
DataObject fileDataObject,
java.lang.String columnNameForFileName,
java.lang.String columnNameForFileDate,
java.lang.String columnNameForBinaryData) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
createTempFile(GeneralizedRequest request) |
void |
free()
Releases external resources.
|
DataObject |
getAssignedDataObject() |
boolean |
isContentValid() |
boolean |
isToSave() |
void |
loadValue()
Loads the component's database stored value.
|
void |
receiveFrom(GeneralizedRequest request)
Receives information from request for further specification what to provide.
|
void |
saveValue()
Stores the component's value.
|
void |
writeToResponseOutputStream(GeneralizedRequest request,
HttpServletResponse response)
Writes the stream to the response output stream.
|
buildRemoteView, fetchValuesFromRequest
addContentChangeListener, addMoreCreationAspects, getApplication, getCreateTagElement, getText, getTextOrNullIfEmpty, hasFocus, isFilled, isModified, isRequirementUnfulfilled, isValid, perform, setApplication, setCapitalization, setColumns, setEditable, setEnterAction, setOnChoice, setRegisterFlag, setRequired, setText, setTextAsUserInput, setValues
destroy
beginAction, endAction, getContext, getName, getTranslation, isEnabled, isVisible, register, requestFocusInWindow, resetLastStatus, selectAll, setEnabled, setToolTipText, setVisible
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isFilled, isModified, isRequirementUnfulfilled, isValid, setRequired
requestFocusInWindow, selectAll, setValues
destroy, fetchValuesFromRequest, setToolTipText
buildRemoteView
getName
public DataFileStreamField(SessionData sessionData, DataObject assignedDataObject, DataObject fileDataObject, java.lang.String columnNameForFileName, java.lang.String columnNameForFileDate, java.lang.String columnNameForBinaryData)
public DataObject getAssignedDataObject()
getAssignedDataObject
in interface Storable
public void loadValue()
Storable
public boolean isToSave()
public boolean isContentValid()
public void receiveFrom(GeneralizedRequest request)
FileStreamTransfer
receiveFrom
in interface FileStreamTransfer
request
- the request starting the stream transferpublic void writeToResponseOutputStream(GeneralizedRequest request, HttpServletResponse response)
FileStreamTransfer
writeToResponseOutputStream
in interface FileStreamTransfer
request
- the request starting the stream transferresponse
- the servlet response to which the stream is to write topublic java.lang.String createTempFile(GeneralizedRequest request)
public void saveValue()
Storable
public void free()
ExemptibleManager
free
in interface Exemptible
free
in interface ExemptibleManager
free
in class RemoteElement
Copyright 1998-2023 Christoph Mueller, Kaerntner Str. 56, D-70469 Stuttgart, Germany, https://www.perpus.de