org.sakaiproject.sitestats.tool.wicket.providers
Class ReportDefsProvider

java.lang.Object
  extended by org.sakaiproject.sitestats.tool.wicket.providers.ReportDefsProvider
All Implemented Interfaces:
Serializable, org.apache.wicket.IClusterable, org.apache.wicket.markup.repeater.data.IDataProvider, org.apache.wicket.model.IDetachable

public class ReportDefsProvider
extends Object
implements org.apache.wicket.markup.repeater.data.IDataProvider

See Also:
Serialized Form

Field Summary
static int MODE_MY_AND_PREDEFINED_REPORTS
           
static int MODE_MYREPORTS
           
static int MODE_PREDEFINED_REPORTS
           
 
Constructor Summary
ReportDefsProvider(String siteId, int mode, boolean filterWithToolsInSite, boolean includeHidden)
           
 
Method Summary
 void detach()
           
 Comparator<ReportDef> getReportDefComparator()
           
 List<ReportDef> getReportDefs()
           
 Iterator iterator(int first, int count)
           
 org.apache.wicket.model.IModel model(Object object)
           
 int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MODE_MYREPORTS

public static final int MODE_MYREPORTS
See Also:
Constant Field Values

MODE_PREDEFINED_REPORTS

public static final int MODE_PREDEFINED_REPORTS
See Also:
Constant Field Values

MODE_MY_AND_PREDEFINED_REPORTS

public static final int MODE_MY_AND_PREDEFINED_REPORTS
See Also:
Constant Field Values
Constructor Detail

ReportDefsProvider

public ReportDefsProvider(String siteId,
                          int mode,
                          boolean filterWithToolsInSite,
                          boolean includeHidden)
Method Detail

iterator

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

getReportDefs

public List<ReportDef> getReportDefs()

model

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

size

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

detach

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

getReportDefComparator

public final Comparator<ReportDef> getReportDefComparator()


Copyright © 2006-2013 Universidade Fernando Pessoa. All Rights Reserved.