public class WicketNonCachingImageUtils extends Object
| Constructor and Description |
|---|
WicketNonCachingImageUtils() |
| Modifier and Type | Method and Description |
|---|---|
static resource.system.model.Resources |
getFirstImage(Set<resource.system.model.Resources> images)
Gets the first Images object from the given Set or null if the given Set
is null or empty.
|
static org.apache.wicket.markup.html.image.NonCachingImage |
getImage(Set<resource.system.model.Resources> images)
Gets the first image from the given Set with the default
wicket:id="image".
|
static org.apache.wicket.markup.html.image.NonCachingImage |
getNonCachingImage(resource.system.application.model.ResourcesModel img,
String wicketId)
Gets the wicket image from the given db Images object.
|
static org.apache.wicket.markup.html.image.NonCachingImage |
getNonCachingImage(resource.system.model.Resources img,
String wicketId)
Gets the wicket image from the given db Images object.
|
static org.apache.wicket.markup.html.image.NonCachingImage |
getNonCachingImage(Set<resource.system.model.Resources> images,
String wicketId)
Gets the first image from the given Set.
|
static org.apache.wicket.markup.html.image.NonCachingImage |
getNonCachingImage(String wicketId,
byte[] data,
String contentType)
Gets the non caching image.
|
static org.apache.wicket.markup.html.image.NonCachingImage |
getUserImage(user.management.model.Users user)
Gets the user image with the default wicket:id="image".
|
static org.apache.wicket.markup.html.image.NonCachingImage |
getUserImage(user.management.model.Users user,
String wicketId)
Gets the user image.
|
static resource.system.model.Resources |
getUserImages(user.management.model.Users user)
Gets the Images object from the given user or null if the user does not
have any Images objects in the database.
|
static org.apache.wicket.markup.html.image.NonCachingImage |
getUserNonCachingImage(user.management.model.Users user,
String wicketId)
Gets the user image.
|
public static org.apache.wicket.markup.html.image.NonCachingImage getUserImage(user.management.model.Users user)
user - the userpublic static org.apache.wicket.markup.html.image.NonCachingImage getUserImage(user.management.model.Users user,
String wicketId)
user - the userwicketId - the id from the image for the html template.public static org.apache.wicket.markup.html.image.NonCachingImage getUserNonCachingImage(user.management.model.Users user,
String wicketId)
user - the userwicketId - the id from the image for the html template.public static org.apache.wicket.markup.html.image.NonCachingImage getImage(Set<resource.system.model.Resources> images)
images - the Set of imagespublic static org.apache.wicket.markup.html.image.NonCachingImage getNonCachingImage(Set<resource.system.model.Resources> images, String wicketId)
images - the Set of imageswicketId - the id from the image for the html template.public static resource.system.model.Resources getUserImages(user.management.model.Users user)
user - the userpublic static resource.system.model.Resources getFirstImage(Set<resource.system.model.Resources> images)
images - the Set of Images objects.public static org.apache.wicket.markup.html.image.NonCachingImage getNonCachingImage(resource.system.model.Resources img,
String wicketId)
img - the given db Images object.wicketId - the wicket id for the wicket image.public static org.apache.wicket.markup.html.image.NonCachingImage getNonCachingImage(resource.system.application.model.ResourcesModel img,
String wicketId)
img - the given db Images object.wicketId - the wicket id for the wicket image.Copyright © 2015. All rights reserved.