org.jasig.schedassist.web.profiles
Class ProfilePageInformation

java.lang.Object
  extended by org.jasig.schedassist.web.profiles.ProfilePageInformation

public class ProfilePageInformation
extends Object

Java bean to help validate startIndex request parameter for the public profile controllers.

Version:
$Id: ProfilePageInformation.java $
Author:
Nicholas Blair, nblair@doit.wisc.edu

Field Summary
static int DEFAULT_RESULTS_PER_PAGE
           
 
Constructor Summary
ProfilePageInformation(List<PublicProfileId> profileIds, int requestedStartIndex)
           
 
Method Summary
 int getEndIndex()
           
 int getShowNextIndex()
           
 int getShowPrevIndex()
           
 int getStartIndex()
           
 List<PublicProfileId> getSublist()
           
 boolean isShowNext()
           
 boolean isShowPrev()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_RESULTS_PER_PAGE

public static int DEFAULT_RESULTS_PER_PAGE
Constructor Detail

ProfilePageInformation

public ProfilePageInformation(List<PublicProfileId> profileIds,
                              int requestedStartIndex)
Parameters:
profileIds -
requestedStartIndex -
Method Detail

getStartIndex

public int getStartIndex()
Returns:
the startIndex

getEndIndex

public int getEndIndex()
Returns:
the endIndex

isShowPrev

public boolean isShowPrev()
Returns:
the showPrev

isShowNext

public boolean isShowNext()
Returns:
the showNext

getSublist

public List<PublicProfileId> getSublist()
Returns:
the sublist

getShowPrevIndex

public int getShowPrevIndex()
Returns:
the showPrevIndex

getShowNextIndex

public int getShowNextIndex()
Returns:
the showNextIndex


Copyright © 2012 Jasig. All Rights Reserved.