|
|||||||||
| Home >> All >> samples >> [ filefind overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
samples.filefind
Class DateCriteriaModel

java.lang.Objectorg.scopemvc.model.basic.BasicModel
samples.filefind.DateCriteriaModel
- All Implemented Interfaces:
- org.scopemvc.core.ModelChangeEventSource, org.scopemvc.core.ModelChangeListener, org.scopemvc.core.ModelChangeTypes
- public class DateCriteriaModel
- extends org.scopemvc.model.basic.BasicModel
Part of the SearchViewModel.
- Version:
- $Revision: 1.3 $ $Date: 2002/01/26 09:49:24 $
| Field Summary | |
static org.scopemvc.core.Selector |
DATE_FROM
|
static org.scopemvc.core.Selector |
DATE_TO
|
private java.util.Date |
dateFrom
|
private java.util.Date |
dateTo
|
static org.scopemvc.core.Selector |
INTERVAL_ENABLED
|
private boolean |
intervalEnabled
|
static org.scopemvc.core.Selector |
LAST_DAYS
|
static org.scopemvc.core.Selector |
LAST_DAYS_ENABLED
|
static org.scopemvc.core.Selector |
LAST_MONTHS
|
static org.scopemvc.core.Selector |
LAST_MONTHS_ENABLED
|
private int |
lastDays
|
private boolean |
lastDaysEnabled
|
private int |
lastMonths
|
private boolean |
lastMonthsEnabled
|
private static org.apache.commons.logging.Log |
LOG
|
| Fields inherited from class org.scopemvc.model.basic.BasicModel |
|
| Fields inherited from interface org.scopemvc.core.ModelChangeTypes |
ACCESS_CHANGED, VALUE_ADDED, VALUE_CHANGED, VALUE_REMOVED |
| Constructor Summary | |
(package private) |
DateCriteriaModel()
|
| Method Summary | |
java.util.Date |
getDateFrom()
|
java.util.Date |
getDateTo()
|
int |
getLastDays()
|
int |
getLastMonths()
|
boolean |
isIntervalEnabled()
|
boolean |
isLastDaysEnabled()
|
boolean |
isLastMonthsEnabled()
|
(package private) void |
prepareFilter(SearchViewModel.ComplexFileFilter filter)
|
void |
setDateFrom(java.util.Date dateFrom)
|
void |
setDateTo(java.util.Date dateTo)
|
void |
setIntervalEnabled(boolean intervalEnabled)
|
void |
setLastDays(int lastDays)
|
void |
setLastDaysEnabled(boolean lastDaysEnabled)
|
void |
setLastMonths(int lastMonths)
|
void |
setLastMonthsEnabled(boolean lastMonthsEnabled)
|
| Methods inherited from class org.scopemvc.model.basic.BasicModel |
addModelChangeListener, fireModelChange, listenNewSubmodel, makeActive, modelChanged, removeModelChangeListener, unlistenOldSubmodel |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
LOG
private static final org.apache.commons.logging.Log LOG
DATE_FROM
public static final org.scopemvc.core.Selector DATE_FROM
DATE_TO
public static final org.scopemvc.core.Selector DATE_TO
LAST_DAYS
public static final org.scopemvc.core.Selector LAST_DAYS
LAST_MONTHS
public static final org.scopemvc.core.Selector LAST_MONTHS
LAST_DAYS_ENABLED
public static final org.scopemvc.core.Selector LAST_DAYS_ENABLED
LAST_MONTHS_ENABLED
public static final org.scopemvc.core.Selector LAST_MONTHS_ENABLED
INTERVAL_ENABLED
public static final org.scopemvc.core.Selector INTERVAL_ENABLED
dateFrom
private java.util.Date dateFrom
dateTo
private java.util.Date dateTo
lastDays
private int lastDays
lastMonths
private int lastMonths
lastDaysEnabled
private boolean lastDaysEnabled
lastMonthsEnabled
private boolean lastMonthsEnabled
intervalEnabled
private boolean intervalEnabled
| Constructor Detail |
DateCriteriaModel
DateCriteriaModel()
| Method Detail |
getDateFrom
public java.util.Date getDateFrom()
setDateFrom
public void setDateFrom(java.util.Date dateFrom)
getDateTo
public java.util.Date getDateTo()
setDateTo
public void setDateTo(java.util.Date dateTo)
getLastDays
public int getLastDays()
setLastDays
public void setLastDays(int lastDays)
getLastMonths
public int getLastMonths()
setLastMonths
public void setLastMonths(int lastMonths)
isLastDaysEnabled
public boolean isLastDaysEnabled()
setLastDaysEnabled
public void setLastDaysEnabled(boolean lastDaysEnabled)
isLastMonthsEnabled
public boolean isLastMonthsEnabled()
setLastMonthsEnabled
public void setLastMonthsEnabled(boolean lastMonthsEnabled)
isIntervalEnabled
public boolean isIntervalEnabled()
setIntervalEnabled
public void setIntervalEnabled(boolean intervalEnabled)
prepareFilter
void prepareFilter(SearchViewModel.ComplexFileFilter filter)
|
|||||||||
| Home >> All >> samples >> [ filefind overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC