public interface ITStaticResourceManager
Modifier and Type | Method and Description |
---|---|
com.javahollic.jira.emh.api.export.beans.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() |
com.javahollic.jira.emh.api.export.beans.StaticResourceBean |
getStaticResourceById(int id)
Get a StaticResourceBean for the Static Resource matching the input ID (or null)
|
com.javahollic.jira.emh.api.export.beans.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 datacom.javahollic.jira.emh.api.export.beans.StaticResourceBean getStaticResourceById(int id)
id
- the ID of the Static Resource to getvoid deleteAllResources()
Copyright © 2008–2022 The Plugin People. All rights reserved.