Uses of Class
com.jbstrap.core.filestore.JBFile
Package
Description
-
Uses of JBFile in com.jbstrap.core.dao.base
Modifier and TypeMethodDescriptionGets the files from the record, based on the specified metadata. -
Uses of JBFile in com.jbstrap.core.event
Modifier and TypeMethodDescriptionvoid
FileDeleteHandler.deleteFile
(FileValueFormItem<?> fileValueFormItem, JBFile file, boolean isPersisted) File delete in FileValueFormItem -
Uses of JBFile in com.jbstrap.core.filestore
Modifier and TypeMethodDescriptionstatic JBFile
JBFile.createJBFileFromContent
(byte[] content, String filename) Creates a new JBFile, based on the specified byte array's contents.static JBFile
JBFile.createJBFileFromContent
(byte[] content, String filename, Long size, String fileStoreName) Creates a new JBFile, based on the specified byte array's contents.static JBFile
JBFile.createJBFileFromContent
(byte[] content, String filename, String fileStoreName) Creates a new JBFile, based on the specified byte array's contents.static JBFile
Gets the specified file from the specified filestore.JBFile.setSize
(long size) Sets the filesizestatic JBFile
Stores the specified file in the FileStoreJBFile.store()
Stores the file in the previously specified filestore. -
Uses of JBFile in com.jbstrap.core.interfaces
Modifier and TypeMethodDescriptionIf a field in the record is of the file type, this method is called.Modifier and TypeMethodDescriptionFileHandler.processFilesAfterPersist
(List<JBFile> fileList, Record record, String attributeName, Client client) If a field in the record is of the file type, this method is called for the specific field after the record is persisted to the database.FileHandler.processFilesBeforePersist
(List<JBFile> fileList, Record record, String attributeName, Client client) If a field in the record is of the file type, this method is called for the specific field before the record is persisted to the database. -
Uses of JBFile in com.jbstrap.ui.components
ModifierConstructorDescriptionFileMiniature
(JBFile jbFile) Creates a file miniature component, based on the specified fileFileMiniature
(JBFile jbFile, String language) Creates a file miniature component, based on the specified fileFileMiniature
(String id, JBFile jbFile) Creates a file miniature component, based on the specified fileFileMiniature
(String id, JBFile jbFile, String language) Creates a file miniature component, based on the specified file -
Uses of JBFile in com.jbstrap.ui.components.form.items.fileitem
Modifier and TypeMethodDescriptionFileItem.getDeletedFiles()
Gets deleted, but previously uploaded files from the server.FileItem.getValue()
Gets the file item’s current value. -
Uses of JBFile in com.jbstrap.ui.interfaces
Modifier and TypeMethodDescriptionFileValueFormItem.getFileByName
(String filename) Uses the file name to gets theJBFile
that was uploaded to the component with the file type.Modifier and TypeMethodDescriptionFileValueFormItem.setFileUploadedPercent
(JBFile file, long chunkSize) Event handler for the �file upload status changed� event.
The method is called if the file upload status has changed, that is, a new file packet has been transferred to the server. -
Uses of JBFile in com.jbstrap.ui.servlet
Modifier and TypeMethodDescriptionstatic void
FileManagerServlet.downloadFile
(UI ui, JBFile file) Downloads the file specified by aJBFile
object to the UI.