Uses of Class
com.jbstrap.core.filestore.JBFile
Packages that use JBFile
Package
Description
-
Uses of JBFile in com.jbstrap.core.dao.base
Methods in com.jbstrap.core.dao.base that return types with arguments of type JBFileModifier and TypeMethodDescriptionGets the files from the record, based on the specified metadata.Method parameters in com.jbstrap.core.dao.base with type arguments of type JBFile -
Uses of JBFile in com.jbstrap.core.event
Methods in com.jbstrap.core.event with parameters of type JBFileModifier and TypeMethodDescriptionvoidFileDeleteHandler.deleteFile(FileValueFormItem<?> fileValueFormItem, JBFile file, boolean isPersisted) File delete in FileValueFormItem -
Uses of JBFile in com.jbstrap.core.filestore
Methods in com.jbstrap.core.filestore that return JBFileModifier and TypeMethodDescriptionstatic JBFileJBFile.createJBFileFromContent(byte[] content, String filename) Creates a new JBFile, based on the specified byte array's contents.static JBFileJBFile.createJBFileFromContent(byte[] content, String filename, Long size, String fileStoreName) Creates a new JBFile, based on the specified byte array's contents.static JBFileJBFile.createJBFileFromContent(byte[] content, String filename, String fileStoreName) Creates a new JBFile, based on the specified byte array's contents.static JBFileGets the specified file from the specified filestore.JBFile.setSize(long size) Sets the filesizestatic JBFileStores the specified file in the FileStoreJBFile.store()Stores the file in the previously specified filestore.Methods in com.jbstrap.core.filestore with parameters of type JBFile -
Uses of JBFile in com.jbstrap.core.interfaces
Methods in com.jbstrap.core.interfaces that return types with arguments of type JBFileModifier and TypeMethodDescriptionIf a field in the record is of the file type, this method is called.Method parameters in com.jbstrap.core.interfaces with type arguments of type JBFileModifier 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
Constructors in com.jbstrap.ui.components with parameters of type JBFileModifierConstructorDescriptionFileMiniature(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
Methods in com.jbstrap.ui.components.form.items.fileitem that return JBFileMethods in com.jbstrap.ui.components.form.items.fileitem that return types with arguments of type JBFileModifier and TypeMethodDescriptionFileItem.getDeletedFiles()Gets deleted, but previously uploaded files from the server.FileItem.getValue()Gets the file item’s current value.Methods in com.jbstrap.ui.components.form.items.fileitem with parameters of type JBFileMethod parameters in com.jbstrap.ui.components.form.items.fileitem with type arguments of type JBFile -
Uses of JBFile in com.jbstrap.ui.interfaces
Methods in com.jbstrap.ui.interfaces that return JBFileModifier and TypeMethodDescriptionFileValueFormItem.getFileByName(String filename) Uses the file name to gets theJBFilethat was uploaded to the component with the file type.Methods in com.jbstrap.ui.interfaces with parameters of type JBFileModifier 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
Methods in com.jbstrap.ui.servlet with parameters of type JBFileModifier and TypeMethodDescriptionstatic voidFileManagerServlet.downloadFile(UI ui, JBFile file) Downloads the file specified by aJBFileobject to the UI.