org.sakaiproject.profile2.tool.dataproviders
Class ConfirmedFriendsDataProvider
java.lang.Object
org.sakaiproject.profile2.tool.dataproviders.ConfirmedFriendsDataProvider
- All Implemented Interfaces:
- Serializable, org.apache.wicket.IClusterable, org.apache.wicket.markup.repeater.data.IDataProvider<Person>, org.apache.wicket.model.IDetachable
public class ConfirmedFriendsDataProvider
- extends Object
- implements org.apache.wicket.markup.repeater.data.IDataProvider<Person>, Serializable
ConfirmedFriendsDataProvider.java
Steve Swinsburg
s.swinsburg@lancaster.ac.uk
January 2009
This implementation of Wicket's IDataProvider gets a list of confirmed friends
of userX, visible by userY.
This is used by MyFriends where a list of confirmed friends is required, and
in this case, both userX and userY will be the same so it calls a different method to get the friends list
(only requires userX)
It is also used in ViewFriends where userX is the owner of the page and userY is
the person viewing the page.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConfirmedFriendsDataProvider
public ConfirmedFriendsDataProvider(String userUuid)
iterator
public Iterator<Person> iterator(int first,
int count)
- Specified by:
iterator in interface org.apache.wicket.markup.repeater.data.IDataProvider<Person>
size
public int size()
- Specified by:
size in interface org.apache.wicket.markup.repeater.data.IDataProvider<Person>
model
public org.apache.wicket.model.IModel<Person> model(Person object)
- Specified by:
model in interface org.apache.wicket.markup.repeater.data.IDataProvider<Person>
detach
public void detach()
- Specified by:
detach in interface org.apache.wicket.model.IDetachable
Copyright © 2008-2012 The Sakai Foundation. All Rights Reserved.