org.opengts.db
Class ReportURL

java.lang.Object
  extended by org.opengts.db.ReportURL

public class ReportURL
extends java.lang.Object


Nested Class Summary
static class ReportURL.Format
           
 
Field Summary
static java.lang.String FORMAT_CALLBACK
           
static java.lang.String FORMAT_CSV
           
static java.lang.String FORMAT_CUSTOM
           
static java.lang.String FORMAT_EHTML
           
static java.lang.String FORMAT_EMAIL
           
static java.lang.String FORMAT_HTML
           
static java.lang.String FORMAT_PDF
           
static java.lang.String FORMAT_SCHEDULE
           
static java.lang.String FORMAT_SOAPXML
           
static java.lang.String FORMAT_TXT
           
static java.lang.String FORMAT_URL
           
static java.lang.String FORMAT_XLS
           
static java.lang.String FORMAT_XLSX
           
static java.lang.String FORMAT_XML
           
static java.lang.String PAGE_REPORT_SHOW
           
static java.lang.String PARM_PAGE
           
static java.lang.String RPTARG_ACCOUNT
           
static java.lang.String[] RPTARG_DATE_FR
           
static java.lang.String[] RPTARG_DATE_TO
           
static java.lang.String[] RPTARG_DATE_TZ
           
static java.lang.String RPTARG_DEVICE
           
static java.lang.String[] RPTARG_EMAIL
           
static java.lang.String RPTARG_ENCPASS
           
static java.lang.String[] RPTARG_FORMAT
           
static java.lang.String RPTARG_GROUP
           
static java.lang.String[] RPTARG_LIMIT
           
static java.lang.String[] RPTARG_LIMIT_TYPE
           
static java.lang.String[] RPTARG_REPORT
           
static java.lang.String RPTARG_USER
           
static java.lang.String URLARG_RTP
           
 
Constructor Summary
ReportURL()
           
 
Method Summary
static URIArg createEventDetailReportURL(java.lang.String userID, boolean inclPass, Device dev, long timestamp, java.lang.String baseURL)
          Return a URL for the EventDetail report, for the specified Device
static URIArg createReportURL(java.lang.String baseURL, boolean rtpEncode, java.lang.String accountID, java.lang.String userID, java.lang.String encPass, java.lang.String deviceID, java.lang.String groupID, java.lang.String date_fr, java.lang.String date_to, java.lang.String date_tz, java.lang.String r_report, java.lang.String r_limit, java.lang.String r_limType, java.lang.String r_format)
           
static URIArg createReportURL(URIArg rptURL, boolean rtpEncode)
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RPTARG_ACCOUNT

public static final java.lang.String RPTARG_ACCOUNT
See Also:
Constant Field Values

RPTARG_USER

public static final java.lang.String RPTARG_USER
See Also:
Constant Field Values

RPTARG_ENCPASS

public static final java.lang.String RPTARG_ENCPASS
See Also:
Constant Field Values

RPTARG_DEVICE

public static final java.lang.String RPTARG_DEVICE
See Also:
Constant Field Values

RPTARG_GROUP

public static final java.lang.String RPTARG_GROUP
See Also:
Constant Field Values

RPTARG_DATE_FR

public static final java.lang.String[] RPTARG_DATE_FR

RPTARG_DATE_TO

public static final java.lang.String[] RPTARG_DATE_TO

RPTARG_DATE_TZ

public static final java.lang.String[] RPTARG_DATE_TZ

RPTARG_REPORT

public static final java.lang.String[] RPTARG_REPORT

RPTARG_LIMIT

public static final java.lang.String[] RPTARG_LIMIT

RPTARG_LIMIT_TYPE

public static final java.lang.String[] RPTARG_LIMIT_TYPE

RPTARG_FORMAT

public static final java.lang.String[] RPTARG_FORMAT

RPTARG_EMAIL

public static final java.lang.String[] RPTARG_EMAIL

URLARG_RTP

public static final java.lang.String URLARG_RTP
See Also:
Constant Field Values

FORMAT_HTML

public static final java.lang.String FORMAT_HTML
See Also:
Constant Field Values

FORMAT_XML

public static final java.lang.String FORMAT_XML
See Also:
Constant Field Values

FORMAT_CSV

public static final java.lang.String FORMAT_CSV
See Also:
Constant Field Values

FORMAT_PDF

public static final java.lang.String FORMAT_PDF
See Also:
Constant Field Values

FORMAT_XLS

public static final java.lang.String FORMAT_XLS
See Also:
Constant Field Values

FORMAT_XLSX

public static final java.lang.String FORMAT_XLSX
See Also:
Constant Field Values

FORMAT_TXT

public static final java.lang.String FORMAT_TXT
See Also:
Constant Field Values

FORMAT_SOAPXML

public static final java.lang.String FORMAT_SOAPXML
See Also:
Constant Field Values

FORMAT_EHTML

public static final java.lang.String FORMAT_EHTML
See Also:
Constant Field Values

FORMAT_CUSTOM

public static final java.lang.String FORMAT_CUSTOM
See Also:
Constant Field Values

FORMAT_SCHEDULE

public static final java.lang.String FORMAT_SCHEDULE
See Also:
Constant Field Values

FORMAT_URL

public static final java.lang.String FORMAT_URL
See Also:
Constant Field Values

FORMAT_EMAIL

public static final java.lang.String FORMAT_EMAIL
See Also:
Constant Field Values

FORMAT_CALLBACK

public static final java.lang.String FORMAT_CALLBACK
See Also:
Constant Field Values

PARM_PAGE

public static final java.lang.String PARM_PAGE
See Also:
Constant Field Values

PAGE_REPORT_SHOW

public static final java.lang.String PAGE_REPORT_SHOW
See Also:
Constant Field Values
Constructor Detail

ReportURL

public ReportURL()
Method Detail

createEventDetailReportURL

public static URIArg createEventDetailReportURL(java.lang.String userID,
                                                boolean inclPass,
                                                Device dev,
                                                long timestamp,
                                                java.lang.String baseURL)
Return a URL for the EventDetail report, for the specified Device


createReportURL

public static URIArg createReportURL(URIArg rptURL,
                                     boolean rtpEncode)

createReportURL

public static URIArg createReportURL(java.lang.String baseURL,
                                     boolean rtpEncode,
                                     java.lang.String accountID,
                                     java.lang.String userID,
                                     java.lang.String encPass,
                                     java.lang.String deviceID,
                                     java.lang.String groupID,
                                     java.lang.String date_fr,
                                     java.lang.String date_to,
                                     java.lang.String date_tz,
                                     java.lang.String r_report,
                                     java.lang.String r_limit,
                                     java.lang.String r_limType,
                                     java.lang.String r_format)

main

public static void main(java.lang.String[] args)