public interface ITStaticResourceManager
| Modifier and Type | Method and Description | 
|---|---|
StaticResourceBean | 
createStaticResource(com.atlassian.jira.project.Project project,
                    int imageWidth,
                    int imageHeight,
                    String description,
                    String contentType,
                    String fileName,
                    byte[] data)
Create a new Static Resource and return a StaticResourceBean representing it's content 
 | 
void | 
deleteAllResources()  | 
StaticResourceBean | 
getStaticResourceById(int id)
Get a StaticResourceBean for the Static Resource matching the input ID (or null) 
 | 
StaticResourceBean createStaticResource(com.atlassian.jira.project.Project project, int imageWidth, int imageHeight, String description, String contentType, String fileName, byte[] data)
project - the project to scope the resource to (can be null)imageWidth - the image width (applicable if the resource is an image)imageHeight - the image height (applicable if the resource is an image)description - the description for the resourcecontentType - the content type of the resourcefileName - the filename of the resourcedata - the raw bytes for the resource dataStaticResourceBean getStaticResourceById(int id)
id - the ID of the Static Resource to getvoid deleteAllResources()
Copyright © 2008–2020 The Plugin People. All rights reserved.