public interface ImageManager
Modifier and Type | Method and Description |
---|---|
ImageInputStream |
getHubImage(HubContext ctx)
Retrieves a Hub image.
|
java.util.List<ImageGroup> |
getImageLibraryGroups(HubContext ctx)
Retrieves all groups in the image library.
|
ImageInputStream |
getImageLibraryImage(HubContext ctx,
java.lang.String imageId)
Retrieves binary representation of an image library image.
|
java.util.List<java.lang.String> |
getImageLibraryImageIds(HubContext ctx,
java.lang.String groupId)
Retrieves all image IDs in a group.
|
void |
setHubImage(HubContext ctx,
ImageInputStream iis)
Sets the current Hub image.
|
ImageInputStream getHubImage(HubContext ctx)
ctx
- the hub contextHobsonNotFoundException
- if an image does not existvoid setHubImage(HubContext ctx, ImageInputStream iis)
ctx
- the context of the target hubiis
- the image input streamjava.util.List<ImageGroup> getImageLibraryGroups(HubContext ctx)
ctx
- the context of the target hubjava.util.List<java.lang.String> getImageLibraryImageIds(HubContext ctx, java.lang.String groupId)
ctx
- the context of the target hubgroupId
- the group IDImageInputStream getImageLibraryImage(HubContext ctx, java.lang.String imageId)
ctx
- the context of the target hubimageId
- the ID of the image to retrieveHobsonNotFoundException
- if an image does not existCopyright © 2015 Whizzo Software LLC. All rights reserved.