com.atlassian.jira.web.util
Interface WebAttachmentManager
- All Known Implementing Classes:
- DefaultWebAttachmentManager
- public interface WebAttachmentManager
createAttachment
public ChangeItemBean createAttachment(webwork.multipart.MultiPartRequestWrapper requestWrapper,
User remoteUser,
org.ofbiz.core.entity.GenericValue issue,
String fileParamName,
Map attachmentProperties)
throws AttachmentException,
org.ofbiz.core.entity.GenericEntityException
- Throws:
AttachmentException
org.ofbiz.core.entity.GenericEntityException
validateAttachmentIfExists
public boolean validateAttachmentIfExists(webwork.multipart.MultiPartRequestWrapper requestWrapper,
String fileParamName,
boolean required)
throws AttachmentException
- Throws:
AttachmentException
validateAttachmentIfExists
public boolean validateAttachmentIfExists(File file,
String fileName)
throws AttachmentException
- Throws:
AttachmentException
Copyright © 2002-2006 Atlassian. All Rights Reserved.