Package org.javlo.context
Class StatContext
- java.lang.Object
-
- org.javlo.context.StatContext
-
- All Implemented Interfaces:
Serializable
public class StatContext extends Object implements Serializable
- Author:
- pvandermaesen contain the state of the statistique pages
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
MAILING_VIEW
-
Constructor Summary
Constructors Constructor Description StatContext(Date from, Date to)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCurrentMailing()
String
getCurrentStat()
Date
getFrom()
static StatContext
getInstance(javax.servlet.http.HttpServletRequest request)
String
getMailingFilter()
String
getParentPath()
String[]
getStatChoices()
Date
getTo()
void
setCurrentMailing(String currentMailing)
void
setCurrentStat(String currentStat)
void
setFrom(Date from)
void
setMailingFilter(String mailingFilter)
void
setParentPath(String parentPath)
void
setTo(Date to)
-
-
-
Field Detail
-
MAILING_VIEW
public static final String MAILING_VIEW
- See Also:
- Constant Field Values
-
-
Method Detail
-
getInstance
public static final StatContext getInstance(javax.servlet.http.HttpServletRequest request)
-
getStatChoices
public String[] getStatChoices()
- Returns:
- Returns the statChoices.
-
getCurrentStat
public String getCurrentStat()
- Returns:
- Returns the currentStat.
-
setCurrentStat
public void setCurrentStat(String currentStat)
- Parameters:
currentStat
- The currentStat to set.
-
getFrom
public Date getFrom()
-
setFrom
public void setFrom(Date from)
-
getTo
public Date getTo()
-
setTo
public void setTo(Date to)
-
getParentPath
public String getParentPath()
-
setParentPath
public void setParentPath(String parentPath)
-
getCurrentMailing
public String getCurrentMailing()
-
setCurrentMailing
public void setCurrentMailing(String currentMailing)
-
getMailingFilter
public String getMailingFilter()
-
setMailingFilter
public void setMailingFilter(String mailingFilter)
-
-