org.sakaiproject.profile2.tool.dataproviders
Class GalleryImageDataProvider

java.lang.Object
  extended by org.sakaiproject.profile2.tool.dataproviders.GalleryImageDataProvider
All Implemented Interfaces:
Serializable, org.apache.wicket.IClusterable, org.apache.wicket.markup.repeater.data.IDataProvider<GalleryImage>, org.apache.wicket.model.IDetachable
Direct Known Subclasses:
GalleryImageRandomizedDataProvider

public class GalleryImageDataProvider
extends Object
implements org.apache.wicket.markup.repeater.data.IDataProvider<GalleryImage>

IDataProvider implementation for retrieving gallery images.

Author:
d.b.robinson@lancaster.ac.uk
See Also:
Serialized Form

Field Summary
protected  ProfileImageLogic imageLogic
           
protected  String userUuid
           
 
Constructor Summary
GalleryImageDataProvider(String userUuid)
           
 
Method Summary
 void detach()
           
 Iterator<GalleryImage> iterator(int first, int count)
           
 org.apache.wicket.model.IModel<GalleryImage> model(GalleryImage object)
           
 int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

userUuid

protected String userUuid

imageLogic

@SpringBean(name="org.sakaiproject.profile2.logic.ProfileImageLogic")
protected ProfileImageLogic imageLogic
Constructor Detail

GalleryImageDataProvider

public GalleryImageDataProvider(String userUuid)
Method Detail

iterator

public Iterator<GalleryImage> iterator(int first,
                                       int count)
Specified by:
iterator in interface org.apache.wicket.markup.repeater.data.IDataProvider<GalleryImage>

model

public org.apache.wicket.model.IModel<GalleryImage> model(GalleryImage object)
Specified by:
model in interface org.apache.wicket.markup.repeater.data.IDataProvider<GalleryImage>

size

public int size()
Specified by:
size in interface org.apache.wicket.markup.repeater.data.IDataProvider<GalleryImage>

detach

public void detach()
Specified by:
detach in interface org.apache.wicket.model.IDetachable


Copyright © 2008-2012 The Sakai Foundation. All Rights Reserved.