public class WicketNonCachingImageExtensions extends Object
| Constructor and Description |
|---|
WicketNonCachingImageExtensions() |
| Modifier and Type | Method and Description |
|---|---|
static de.alpharogroup.resource.system.entities.Resources |
getFirstImage(Set<de.alpharogroup.resource.system.entities.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<de.alpharogroup.resource.system.entities.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(de.alpharogroup.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(de.alpharogroup.resource.system.entities.Resources img,
String wicketId)
Gets the wicket image from the given db Images object.
|
static org.apache.wicket.markup.html.image.NonCachingImage |
getNonCachingImage(Set<de.alpharogroup.resource.system.entities.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(de.alpharogroup.user.management.entities.UserDatas userData)
Gets the user image with the default wicket:id="image".
|
static org.apache.wicket.markup.html.image.NonCachingImage |
getUserImage(de.alpharogroup.user.management.entities.UserDatas userData,
String wicketId)
Gets the user image.
|
static de.alpharogroup.resource.system.entities.Resources |
getUserImages(de.alpharogroup.user.management.entities.UserDatas userData)
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(de.alpharogroup.user.management.entities.UserDatas userData,
String wicketId)
Gets the user image.
|
public static de.alpharogroup.resource.system.entities.Resources getFirstImage(Set<de.alpharogroup.resource.system.entities.Resources> images)
images - the Set of Images objects.public static org.apache.wicket.markup.html.image.NonCachingImage getImage(Set<de.alpharogroup.resource.system.entities.Resources> images)
images - the Set of imagespublic static org.apache.wicket.markup.html.image.NonCachingImage getNonCachingImage(de.alpharogroup.resource.system.entities.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(de.alpharogroup.resource.system.application.model.ResourcesModel 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(Set<de.alpharogroup.resource.system.entities.Resources> images, String wicketId)
images - the Set of imageswicketId - the id from the image for the html template.public static org.apache.wicket.markup.html.image.NonCachingImage getNonCachingImage(String wicketId, byte[] data, String contentType)
wicketId - the wicket iddata - the datacontentType - the content typepublic static org.apache.wicket.markup.html.image.NonCachingImage getUserImage(de.alpharogroup.user.management.entities.UserDatas userData)
userData - the user datapublic static org.apache.wicket.markup.html.image.NonCachingImage getUserImage(de.alpharogroup.user.management.entities.UserDatas userData,
String wicketId)
userData - the user datawicketId - the id from the image for the html template.public static de.alpharogroup.resource.system.entities.Resources getUserImages(de.alpharogroup.user.management.entities.UserDatas userData)
userData - the user datapublic static org.apache.wicket.markup.html.image.NonCachingImage getUserNonCachingImage(de.alpharogroup.user.management.entities.UserDatas userData,
String wicketId)
userData - the user datawicketId - the id from the image for the html template.Copyright © 2015–2017 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.