|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.dlese.dpc.services.dds.DDSServicesUIHelperBean
public class DDSServicesUIHelperBean
A bean that performs functions helpful in the UI. Meant to be an applicateion scoped bean for uses in the JSP pages.
Nested Class Summary | |
---|---|
class |
DDSServicesUIHelperBean.DateLabelPair
Object used to store Dates and labels for the dates |
Constructor Summary | |
---|---|
DDSServicesUIHelperBean()
Constructor for the DDSServicesUIHelperBean object |
Method Summary | |
---|---|
protected static String |
getDs()
Return a string for the current time and date, sutiable for display in log files and output to standout: |
List |
getUtcDates()
A list of UTC dates in the past in the following order: one minute, one hour, one day, one week, one month, one year. |
protected void |
prtln(String s)
Output a line of text to standard out, with datestamp, if debug is set to true. |
protected void |
prtlnErr(String s)
Output a line of text to error out, with datestamp. |
static void |
setDebug(boolean isDebugOuput)
Sets the debug attribute |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DDSServicesUIHelperBean()
Method Detail |
---|
public List getUtcDates()
protected static final String getDs()
protected final void prtlnErr(String s)
s
- The text that will be output to error out.protected final void prtln(String s)
s
- The String that will be output.public static void setDebug(boolean isDebugOuput)
isDebugOuput
- The new debug value
|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |