com.atlassian.jira.web.util
Interface WebAttachmentManager

All Known Implementing Classes:
DefaultWebAttachmentManager

public interface WebAttachmentManager


Method Summary
 ChangeItemBean createAttachment(webwork.multipart.MultiPartRequestWrapper requestWrapper, com.opensymphony.user.User remoteUser, org.ofbiz.core.entity.GenericValue issue, java.lang.String fileParamName)
           
 boolean validateAttachmentIfExists(java.io.File file, java.lang.String fileName)
           
 boolean validateAttachmentIfExists(webwork.multipart.MultiPartRequestWrapper requestWrapper, java.lang.String fileParamName, boolean required)
           
 

Method Detail

createAttachment

public ChangeItemBean createAttachment(webwork.multipart.MultiPartRequestWrapper requestWrapper,
                                       com.opensymphony.user.User remoteUser,
                                       org.ofbiz.core.entity.GenericValue issue,
                                       java.lang.String fileParamName)
                                throws AttachmentException,
                                       org.ofbiz.core.entity.GenericEntityException
Throws:
AttachmentException
org.ofbiz.core.entity.GenericEntityException

validateAttachmentIfExists

public boolean validateAttachmentIfExists(webwork.multipart.MultiPartRequestWrapper requestWrapper,
                                          java.lang.String fileParamName,
                                          boolean required)
                                   throws AttachmentException
Throws:
AttachmentException

validateAttachmentIfExists

public boolean validateAttachmentIfExists(java.io.File file,
                                          java.lang.String fileName)
                                   throws AttachmentException
Throws:
AttachmentException


Copyright © 2002-2005 Atlassian. All Rights Reserved.