Package de.xima.fc.form.helper
Class AttachmentHelper
- java.lang.Object
 - 
- de.xima.fc.form.helper.AttachmentHelper
 
 
- 
public class AttachmentHelper extends Object
 
- 
- 
Constructor Summary
Constructors Constructor Description AttachmentHelper() 
- 
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static AttachmentcreateAttachment(UserContext uc, Mandant man, Benutzer ben, Vorgang vorgang, String fileName, EAttachmentSource attachmentSource, InputStream is)Deprecated.static AttachmentcreateAttachment(UserContext uc, Mandant man, Benutzer ben, Vorgang vorgang, org.apache.commons.fileupload.FileItem item, EAttachmentSource attachmentSource)Deprecated.static AttachmentcreateAttachment(UserContext uc, Mandant man, IUser user, Vorgang vorgang, String fileName, EAttachmentSource attachmentSource, InputStream is)static AttachmentcreateAttachmentBody(byte[] daten, String userName, String filename, Mandant mandant, Vorgang vorgang, EAttachmentSource attachmentSource)static AttachmentcreateAttachmentBody(byte[] daten, String userName, org.apache.commons.fileupload.FileItem item, Mandant mandant, Vorgang vorgang, EAttachmentSource attachmentSource)static StringgetAjaxUUIDFieldName(String fieldName)static StringgetFileName(org.apache.commons.fileupload.FileItem item)static StringgetUUIDFieldName(String orgFieldName)static booleanhanldeFormUploads(IFormRequestContext requestCtx, IXForm xform, Vorgang vorgang)Deprecated.static AttachmentupdateAttachmentBody(UserContext uc, Attachment at, byte[] daten, String userName, org.apache.commons.fileupload.FileItem item, Vorgang vorgang) 
 - 
 
- 
- 
Method Detail
- 
hanldeFormUploads
@Deprecated public static boolean hanldeFormUploads(IFormRequestContext requestCtx, IXForm xform, Vorgang vorgang)
Deprecated. 
- 
updateAttachmentBody
public static Attachment updateAttachmentBody(UserContext uc, Attachment at, byte[] daten, String userName, org.apache.commons.fileupload.FileItem item, Vorgang vorgang)
 
- 
createAttachmentBody
public static Attachment createAttachmentBody(byte[] daten, String userName, String filename, Mandant mandant, Vorgang vorgang, EAttachmentSource attachmentSource)
 
- 
getFileName
public static String getFileName(org.apache.commons.fileupload.FileItem item)
 
- 
createAttachmentBody
public static Attachment createAttachmentBody(byte[] daten, String userName, org.apache.commons.fileupload.FileItem item, Mandant mandant, Vorgang vorgang, EAttachmentSource attachmentSource)
 
- 
createAttachment
public static Attachment createAttachment(UserContext uc, Mandant man, IUser user, Vorgang vorgang, String fileName, EAttachmentSource attachmentSource, InputStream is) throws IOException
- Throws:
 IOException
 
- 
createAttachment
@Deprecated public static Attachment createAttachment(UserContext uc, Mandant man, Benutzer ben, Vorgang vorgang, String fileName, EAttachmentSource attachmentSource, InputStream is) throws IOException
Deprecated.- Throws:
 IOException
 
- 
createAttachment
@Deprecated public static Attachment createAttachment(UserContext uc, Mandant man, Benutzer ben, Vorgang vorgang, org.apache.commons.fileupload.FileItem item, EAttachmentSource attachmentSource) throws IOException
Deprecated.- Throws:
 IOException
 
 - 
 
 -