| org.objectweb.salome_tmf.api.sql.ISQLFileAttachment
All known Subclasses: org.objectweb.salome_tmf.soap.SQLFileAttachmentSoapBindingStub, org.objectweb.salome_tmf.databaseSQL.SQLFileAttachment,
getFile | public SalomeFileWrapper getFile(int idBdd) throws Exception(Code) | | Get the file on local disk for the attachment identified by idBdd
Parameters: idBdd - : id of the file in the table ATTACHMENT the salome file object representing localy the fileno permission needed |
getFileIn | public SalomeFileWrapper getFileIn(int idBdd, SalomeFileWrapper file) throws Exception(Code) | | Get the file on local disk (at path specified) for the attachment identified by idBdd
Parameters: idBdd - : id of the file in the table ATTACHMENT file; the salome file object representing localy the file throws: Exception - |
insert | public int insert(SalomeFileWrapper f, String description) throws Exception(Code) | | Insert an attachment as file in the table ATTACHEMENT
Parameters: f - Parameters: description - throws: Exception - the id of the new attached fileno permission needed |
updateFile | public void updateFile(int idBdd, SalomeFileWrapper file) throws Exception(Code) | | Update the file in database table ATTACHEMENT, this include the update of content, date and length
Parameters: idBdd - : id of the file in the table ATTACHEMENT Parameters: file - : the salome file representing the new content throws: Exception - no permission needed |
updateFileContent | public void updateFileContent(int idBdd, byte[] fileContent) throws Exception(Code) | | Change the content of an existing file in the database
Parameters: idBdd - : id of the file in the table ATTACHMENT Parameters: fileContent - : the new content throws: Exception - no permission needed |
updateFileDate | public void updateFileDate(int idBdd, Date date) throws Exception(Code) | | Change the date of the file in the database
Parameters: idBdd - : id of the file in the table ATTACHMENT Parameters: date - : the new date throws: Exception - no permission needed |
updateFileLength | public void updateFileLength(int idBdd, long length) throws Exception(Code) | | Change the length of the file in the database
Parameters: idBdd - : id of the file in the table ATTACHMENT Parameters: length - : the new lengthno permission needed |
updateFileName | public void updateFileName(int idBdd, String name) throws Exception(Code) | | Update the file name of the attachements identified by idBdd
Parameters: idBdd - Parameters: name - : the new name throws: Exception - no permission needed |
|
|