Jive Forums API (5.5.20.2-oracle) Developer Javadocs

com.jivesoftware.base.ban
Class DateRangeBean

java.lang.Object
  extended by com.jivesoftware.base.ban.DateRangeBean

public class DateRangeBean
extends java.lang.Object

A helper bean containing date range options for the banning interface.


Nested Class Summary
static class DateRangeBean.RangeOption
          Represents a single date range option with a key and value.
 
Field Summary
static RelativeDateRange[] DATE_RANGES
          An array of RelativeDateRange objects representing the possible future date values that can be used for a bans expiration date.
static RelativeDateRange NEVER
          A RelativeDateRange object representing a future date value that will never be reached.
 
Constructor Summary
DateRangeBean()
           
 
Method Summary
 java.util.List getRanges()
          Gets a list of possible expiration date range options for bans.
 void setPageUser(User pageUser)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NEVER

public static final RelativeDateRange NEVER
A RelativeDateRange object representing a future date value that will never be reached.


DATE_RANGES

public static final RelativeDateRange[] DATE_RANGES
An array of RelativeDateRange objects representing the possible future date values that can be used for a bans expiration date.

Constructor Detail

DateRangeBean

public DateRangeBean()
Method Detail

setPageUser

public void setPageUser(User pageUser)

getRanges

public java.util.List getRanges()
Gets a list of possible expiration date range options for bans.

Returns:
the List of possible date range options

Jive Forums Project Page

Copyright © 1999-2006 Jive Software.