You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by pr...@apache.org on 2002/03/27 06:13:58 UTC
cvs commit: jakarta-commons-sandbox/periodicity/src/java/org/apache/commons/periodicity/util TestTemplateParams.java TestTemplateLabels.java
prickett 02/03/26 21:13:58
Modified: periodicity/src/java/org/apache/commons/periodicity/turbine/screens
Event_detail.java Evt_do.java Evt_do_jrl.java
Evt_do_jrl_fb.java No_alarm.java
periodicity/src/java/org/apache/commons/periodicity/util
TestTemplateLabels.java
Added: periodicity/src/java/org/apache/commons/periodicity/util
TestTemplateParams.java
Log:
Added methods to the screens to add the parameter values to the
Velocity context used by Turbine.
Added a new file to hold the parameter values.
Revision Changes Path
1.3 +26 -4 jakarta-commons-sandbox/periodicity/src/java/org/apache/commons/periodicity/turbine/screens/Event_detail.java
Index: Event_detail.java
===================================================================
RCS file: /home/cvs/jakarta-commons-sandbox/periodicity/src/java/org/apache/commons/periodicity/turbine/screens/Event_detail.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- Event_detail.java 26 Mar 2002 10:15:13 -0000 1.2
+++ Event_detail.java 27 Mar 2002 05:13:58 -0000 1.3
@@ -60,6 +60,7 @@
import org.apache.turbine.modules.screens.VelocityScreen;
import org.apache.turbine.util.Log;
import org.apache.commons.periodicity.util.TestTemplateLabels;
+import org.apache.commons.periodicity.util.TestTemplateParams;
public class Event_detail extends Evt_do
{
@@ -71,7 +72,8 @@
if(context != null)
{
Log.debug("context != null");
- addLabelsToContext(context);
+ addLabelsToContext(data, context);
+ addParametersToContext(data, context);
}
else
{
@@ -84,15 +86,35 @@
}
}
- protected void addLabelsToContext(Context context)
+ protected void addLabelsToContext(RunData data, Context context)
{
- super.addLabelsToContext(context);
- if(context != null)
+ super.addLabelsToContext(data, context);
+ if(context != null && data != null)
{
context.put(TestTemplateLabels.END_DATE_LABEL_KEY,
TestTemplateLabels.END_DATE_LABEL);
context.put(TestTemplateLabels.TRANSPARENCY_LABEL_KEY,
TestTemplateLabels.TRANSPARENCY_LABEL);
+ }
+ }
+
+ protected void addParametersToContext(RunData data, Context context)
+ {
+ super.addParametersToContext(data, context);
+ if(context != null && data != null)
+ {
+ context.put(TestTemplateParams.END_DATE_PARAM_KEY,
+ TestTemplateParams.END_DATE_PARAM);
+ context.put(TestTemplateParams.END_MONTH_PARAM_KEY,
+ TestTemplateParams.END_MONTH_PARAM);
+ context.put(TestTemplateParams.END_YEAR_PARAM_KEY,
+ TestTemplateParams.END_YEAR_PARAM);
+ context.put(TestTemplateParams.END_HOUR_PARAM_KEY,
+ TestTemplateParams.END_HOUR_PARAM);
+ context.put(TestTemplateParams.END_MINUTE_PARAM_KEY,
+ TestTemplateParams.END_MINUTE_PARAM);
+ context.put(TestTemplateParams.TRANSPARENCY_PARAM_KEY,
+ TestTemplateParams.TRANSPARENCY_PARAM);
}
}
}
1.2 +26 -5 jakarta-commons-sandbox/periodicity/src/java/org/apache/commons/periodicity/turbine/screens/Evt_do.java
Index: Evt_do.java
===================================================================
RCS file: /home/cvs/jakarta-commons-sandbox/periodicity/src/java/org/apache/commons/periodicity/turbine/screens/Evt_do.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- Evt_do.java 26 Mar 2002 10:15:13 -0000 1.1
+++ Evt_do.java 27 Mar 2002 05:13:58 -0000 1.2
@@ -60,6 +60,7 @@
import org.apache.turbine.modules.screens.VelocityScreen;
import org.apache.turbine.util.Log;
import org.apache.commons.periodicity.util.TestTemplateLabels;
+import org.apache.commons.periodicity.util.TestTemplateParams;
public class Evt_do extends Evt_do_jrl
{
@@ -71,12 +72,12 @@
if(context != null)
{
Log.debug("context != null");
- addLabelsToContext(context);
+ addLabelsToContext(data, context);
+ addParametersToContext(data, context);
}
else
{
Log.debug("context == null");
- addLabelsToContext(new VelocityContext());
}
}
else
@@ -85,10 +86,10 @@
}
}
- protected void addLabelsToContext(Context context)
+ protected void addLabelsToContext(RunData data, Context context)
{
- super.addLabelsToContext(context);
- if(context != null)
+ super.addLabelsToContext(data, context);
+ if(data != null && context != null)
{
context.put(TestTemplateLabels.LATITUDE_LABEL_KEY,
TestTemplateLabels.LATITDUE_LABEL);
@@ -102,6 +103,26 @@
TestTemplateLabels.LOCATION_LANG_LABEL);
context.put(TestTemplateLabels.PRIORITY_LABEL_KEY,
TestTemplateLabels.PRIORITY_LABEL);
+ }
+ }
+
+ protected void addParametersToContext(RunData data, Context context)
+ {
+ super.addParametersToContext(data, context);
+ if(context != null && data != null)
+ {
+ context.put(TestTemplateParams.LATITUDE_PARAM_KEY,
+ TestTemplateParams.LATITUDE_PARAM);
+ context.put(TestTemplateParams.LONGITUDE_PARAM_KEY,
+ TestTemplateParams.LONGITUDE_PARAM);
+ context.put(TestTemplateParams.LOCATION_PARAM_KEY,
+ TestTemplateParams.LOCATION_PARAM);
+ context.put(TestTemplateParams.LOCATION_ALTREP_PARAM_KEY,
+ TestTemplateParams.LOCATION_ALTREP_PARAM);
+ context.put(TestTemplateParams.LOCATION_LANG_PARAM_KEY,
+ TestTemplateParams.LOCATION_LANG_PARAM);
+ context.put(TestTemplateParams.PRIORITY_PARAM_KEY,
+ TestTemplateParams.PRIORITY_PARAM);
}
}
}
1.2 +44 -5 jakarta-commons-sandbox/periodicity/src/java/org/apache/commons/periodicity/turbine/screens/Evt_do_jrl.java
Index: Evt_do_jrl.java
===================================================================
RCS file: /home/cvs/jakarta-commons-sandbox/periodicity/src/java/org/apache/commons/periodicity/turbine/screens/Evt_do_jrl.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- Evt_do_jrl.java 26 Mar 2002 10:15:13 -0000 1.1
+++ Evt_do_jrl.java 27 Mar 2002 05:13:58 -0000 1.2
@@ -60,6 +60,7 @@
import org.apache.turbine.modules.screens.VelocityScreen;
import org.apache.turbine.util.Log;
import org.apache.commons.periodicity.util.TestTemplateLabels;
+import org.apache.commons.periodicity.util.TestTemplateParams;
public class Evt_do_jrl extends Evt_do_jrl_fb
{
@@ -71,12 +72,12 @@
if(context != null)
{
Log.debug("context != null");
- addLabelsToContext(context);
+ addLabelsToContext(data, context);
+ addParametersToContext(data, context);
}
else
{
Log.debug("context == null");
- addLabelsToContext(new VelocityContext());
}
}
else
@@ -85,10 +86,10 @@
}
}
- protected void addLabelsToContext(Context context)
+ protected void addLabelsToContext(RunData data, Context context)
{
- super.addLabelsToContext(context);
- if(context != null)
+ super.addLabelsToContext(data, context);
+ if(data != null && context != null)
{
context.put(TestTemplateLabels.CLASSIFICATION_LABEL_KEY,
TestTemplateLabels.CLASSIFICATION_LABEL);
@@ -116,6 +117,44 @@
TestTemplateLabels.SUMMARY_ALTREP_LABEL);
context.put(TestTemplateLabels.SUMMARY_LANG_LABEL_KEY,
TestTemplateLabels.SUMMARY_LANG_LABEL);
+ }
+ }
+
+ protected void addParametersToContext(RunData data, Context context)
+ {
+ super.addParametersToContext(data, context);
+ if(data != null && context != null)
+ {
+ context.put(TestTemplateParams.CLASSIFICATION_PARAM_KEY,
+ TestTemplateParams.CLASSIFICATION_PARAM);
+ context.put(TestTemplateParams.DESCRIPTION_PARAM_KEY,
+ TestTemplateParams.DESCRIPTION_PARAM);
+ context.put(TestTemplateParams.DESC_ALTREP_PARAM_KEY,
+ TestTemplateParams.DESC_ALTREP_PARAM);
+ context.put(TestTemplateParams.DESC_LANG_PARAM_KEY,
+ TestTemplateParams.DESC_LANG_PARAM);
+ context.put(TestTemplateParams.RECURID_MONTH_PARAM_KEY,
+ TestTemplateParams.RECURID_MONTH_PARAM);
+ context.put(TestTemplateParams.RECURID_DATE_PARAM_KEY,
+ TestTemplateParams.RECURID_DATE_PARAM);
+ context.put(TestTemplateParams.RECURID_YEAR_PARAM_KEY,
+ TestTemplateParams.RECURID_YEAR_PARAM);
+ context.put(TestTemplateParams.RECURID_HOUR_PARAM_KEY,
+ TestTemplateParams.RECURID_HOUR_PARAM);
+ context.put(TestTemplateParams.RECURID_RANGE_PARAM_KEY,
+ TestTemplateParams.RECURID_RANGE_PARAM);
+ context.put(TestTemplateParams.RECURID_TZID_PARAM_KEY,
+ TestTemplateParams.RECURID_TZID_PARAM);
+ context.put(TestTemplateParams.SEQUENCE_PARAM_KEY,
+ TestTemplateParams.SEQUENCE_PARAM);
+ context.put(TestTemplateParams.STATUS_PARAM_KEY,
+ TestTemplateParams.STATUS_PARAM);
+ context.put(TestTemplateParams.SUMMARY_PARAM_KEY,
+ TestTemplateParams.SUMMARY_PARAM);
+ context.put(TestTemplateParams.SUMMARY_ALTREP_PARAM_KEY,
+ TestTemplateParams.SUMMARY_ALTREP_PARAM);
+ context.put(TestTemplateParams.SUMMARY_LANG_PARAM_KEY,
+ TestTemplateParams.SUMMARY_LANG_PARAM);
}
}
}
1.2 +29 -5 jakarta-commons-sandbox/periodicity/src/java/org/apache/commons/periodicity/turbine/screens/Evt_do_jrl_fb.java
Index: Evt_do_jrl_fb.java
===================================================================
RCS file: /home/cvs/jakarta-commons-sandbox/periodicity/src/java/org/apache/commons/periodicity/turbine/screens/Evt_do_jrl_fb.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- Evt_do_jrl_fb.java 26 Mar 2002 10:15:13 -0000 1.1
+++ Evt_do_jrl_fb.java 27 Mar 2002 05:13:58 -0000 1.2
@@ -60,6 +60,7 @@
import org.apache.turbine.modules.screens.VelocityScreen;
import org.apache.turbine.util.Log;
import org.apache.commons.periodicity.util.TestTemplateLabels;
+import org.apache.commons.periodicity.util.TestTemplateParams;
public class Evt_do_jrl_fb extends No_alarm
{
@@ -71,12 +72,12 @@
if(context != null)
{
Log.debug("context != null");
- addLabelsToContext(context);
+ addLabelsToContext(data, context);
+ addParametersToContext(data, context);
}
else
{
Log.debug("context == null");
- addLabelsToContext(new VelocityContext());
}
}
else
@@ -85,10 +86,10 @@
}
}
- protected void addLabelsToContext(Context context)
+ protected void addLabelsToContext(RunData data, Context context)
{
- super.addLabelsToContext(context);
- if(context != null)
+ super.addLabelsToContext(data, context);
+ if(data != null && context != null)
{
context.put(TestTemplateLabels.ORGANIZER_LABEL_KEY,
TestTemplateLabels.ORGANIZER_LABEL);
@@ -106,5 +107,28 @@
TestTemplateLabels.URL_LABEL);
}
}
+
+ protected void addParametersToContext(RunData data, Context context)
+ {
+ super.addParametersToContext(data, context);
+ if(data != null && context != null)
+ {
+ context.put(TestTemplateParams.ORGANIZER_PARAM_KEY,
+ TestTemplateParams.ORGANIZER_PARAM);
+ context.put(TestTemplateParams.ORGANIZER_NAME_PARAM_KEY,
+ TestTemplateParams.ORGANIZER_NAME_PARAM);
+ context.put(TestTemplateParams.ORGANIZER_DIRECTORY_PARAM_KEY,
+ TestTemplateParams.ORGANIZER_DIRECTORY_PARAM);
+ context.put(TestTemplateParams.ORGANIZER_SENTBY_PARAM_KEY,
+ TestTemplateParams.ORGANIZER_SENTBY_PARAM);
+ context.put(TestTemplateParams.ORGANIZER_LANG_PARAM_KEY,
+ TestTemplateParams.ORGANIZER_LANG_PARAM);
+ context.put(TestTemplateParams.UID_PARAM_KEY,
+ TestTemplateParams.UID_PARAM);
+ context.put(TestTemplateParams.URL_PARAM_KEY,
+ TestTemplateParams.URL_PARAM);
+ }
+ }
+
}
1.2 +23 -4 jakarta-commons-sandbox/periodicity/src/java/org/apache/commons/periodicity/turbine/screens/No_alarm.java
Index: No_alarm.java
===================================================================
RCS file: /home/cvs/jakarta-commons-sandbox/periodicity/src/java/org/apache/commons/periodicity/turbine/screens/No_alarm.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- No_alarm.java 26 Mar 2002 10:15:13 -0000 1.1
+++ No_alarm.java 27 Mar 2002 05:13:58 -0000 1.2
@@ -60,6 +60,7 @@
import org.apache.turbine.modules.screens.VelocityScreen;
import org.apache.turbine.util.Log;
import org.apache.commons.periodicity.util.TestTemplateLabels;
+import org.apache.commons.periodicity.util.TestTemplateParams;
public class No_alarm extends VelocityScreen
{
@@ -71,12 +72,11 @@
if(context != null)
{
Log.debug("context != null");
- addLabelsToContext(context);
+ addLabelsToContext(data, context);
}
else
{
Log.debug("context == null");
- addLabelsToContext(new VelocityContext());
}
}
else
@@ -85,9 +85,9 @@
}
}
- protected void addLabelsToContext(Context context)
+ protected void addLabelsToContext(RunData data, Context context)
{
- if(context != null)
+ if(data != null && context != null)
{
context.put(TestTemplateLabels.DTSTART_DATE_LABEL_KEY,
TestTemplateLabels.DTSTART_DATE_LABEL);
@@ -95,6 +95,25 @@
TestTemplateLabels.DTSTART_TIME_LABEL);
context.put(TestTemplateLabels.DTSTART_TZID_LABEL_KEY,
TestTemplateLabels.DTSTART_TZID_LABEL);
+ }
+ }
+
+ protected void addParametersToContext(RunData data, Context context)
+ {
+ if(data != null && context != null)
+ {
+ context.put(TestTemplateParams.DTSTART_MONTH_PARAM_KEY,
+ TestTemplateParams.DTSTART_MONTH_PARAM);
+ context.put(TestTemplateParams.DTSTART_DATE_PARAM_KEY,
+ TestTemplateParams.DTSTART_DATE_PARAM);
+ context.put(TestTemplateParams.DTSTART_YEAR_PARAM_KEY,
+ TestTemplateParams.DTSTART_YEAR_PARAM);
+ context.put(TestTemplateParams.DTSTART_HOUR_PARAM_KEY,
+ TestTemplateParams.DTSTART_HOUR_PARAM);
+ context.put(TestTemplateParams.DTSTART_MINUTE_PARAM_KEY,
+ TestTemplateParams.DTSTART_MINUTE_PARAM);
+ context.put(TestTemplateParams.DTSTART_TZID_PARAM_KEY,
+ TestTemplateParams.DTSTART_TZID_PARAM);
}
}
}
1.3 +54 -0 jakarta-commons-sandbox/periodicity/src/java/org/apache/commons/periodicity/util/TestTemplateLabels.java
Index: TestTemplateLabels.java
===================================================================
RCS file: /home/cvs/jakarta-commons-sandbox/periodicity/src/java/org/apache/commons/periodicity/util/TestTemplateLabels.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- TestTemplateLabels.java 26 Mar 2002 10:15:14 -0000 1.2
+++ TestTemplateLabels.java 27 Mar 2002 05:13:58 -0000 1.3
@@ -1,5 +1,59 @@
package org.apache.commons.periodicity.util;
+/* ====================================================================
+ * The Apache Software License, Version 1.1
+ *
+ * Copyright (c) 2000-2002 The Apache Software Foundation. All rights
+ * reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in
+ * the documentation and/or other materials provided with the
+ * distribution.
+ *
+ * 3. The end-user documentation included with the redistribution,
+ * if any, must include the following acknowledgment:
+ * "This product includes software developed by the
+ * Apache Software Foundation (http://www.apache.org/)."
+ * Alternately, this acknowledgment may appear in the software itself,
+ * if and wherever such third-party acknowledgments normally appear.
+ *
+ * 4. The names "Apache" and "Apache Software Foundation" and
+ * "Apache Jetspeed" must not be used to endorse or promote products
+ * derived from this software without prior written permission. For
+ * written permission, please contact apache@apache.org.
+ *
+ * 5. Products derived from this software may not be called "Apache" or
+ * "Apache Jetspeed", nor may "Apache" appear in their name, without
+ * prior written permission of the Apache Software Foundation.
+ *
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
+ * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
+ * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+ * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
+ * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ * ====================================================================
+ *
+ * This software consists of voluntary contributions made by many
+ * individuals on behalf of the Apache Software Foundation. For more
+ * information on the Apache Software Foundation, please see
+ * <http://www.apache.org/>.
+ */
+
public class TestTemplateLabels
{
1.1 jakarta-commons-sandbox/periodicity/src/java/org/apache/commons/periodicity/util/TestTemplateParams.java
Index: TestTemplateParams.java
===================================================================
package org.apache.commons.periodicity.util;
/* ====================================================================
* The Apache Software License, Version 1.1
*
* Copyright (c) 2000-2002 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
*
* 3. The end-user documentation included with the redistribution,
* if any, must include the following acknowledgment:
* "This product includes software developed by the
* Apache Software Foundation (http://www.apache.org/)."
* Alternately, this acknowledgment may appear in the software itself,
* if and wherever such third-party acknowledgments normally appear.
*
* 4. The names "Apache" and "Apache Software Foundation" and
* "Apache Jetspeed" must not be used to endorse or promote products
* derived from this software without prior written permission. For
* written permission, please contact apache@apache.org.
*
* 5. Products derived from this software may not be called "Apache" or
* "Apache Jetspeed", nor may "Apache" appear in their name, without
* prior written permission of the Apache Software Foundation.
*
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
* ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
* ====================================================================
*
* This software consists of voluntary contributions made by many
* individuals on behalf of the Apache Software Foundation. For more
* information on the Apache Software Foundation, please see
* <http://www.apache.org/>.
*/
public class TestTemplateParams
{
/** The velocity context key for the start date month parameter */
public static final String DTSTART_MONTH_PARAM_KEY =
"start_date_month_param";
/** The velocity context key for the start date date parameter */
public static final String DTSTART_DATE_PARAM_KEY =
"start_date_date_param";
/** The velocity context key for the start date year parameter */
public static final String DTSTART_YEAR_PARAM_KEY =
"start_date_year_param";
/** The velocity context key for the start date hour parameter */
public static final String DTSTART_HOUR_PARAM_KEY =
"start_time_hour_param";
/** The velocity context key for the start date minute parameter */
public static final String DTSTART_MINUTE_PARAM_KEY =
"start_time_minute_param";
/** The velocity context key for the start time time zone id parameter */
public static final String DTSTART_TZID_PARAM_KEY =
"start_time_tzid_param";
/** The velocity context key for the organizer parameter */
public static final String ORGANIZER_PARAM_KEY = "organizer_param";
/** The velocity context key for the organizer common name parameter */
public static final String ORGANIZER_NAME_PARAM_KEY =
"organizer_common_name_param";
/** The velocity context key for the organizer directory parameter */
public static final String ORGANIZER_DIRECTORY_PARAM_KEY =
"organizer_directory_param";
/** The velocity context key for the organizer sent by parameter */
public static final String ORGANIZER_SENTBY_PARAM_KEY =
"organizer_sentby_param";
/** The velocity context key for the organizer language parameter */
public static final String ORGANIZER_LANG_PARAM_KEY =
"organizer_language_param";
/** The velocity context key for the Unique ID parameter */
public static final String UID_PARAM_KEY = "uid_param";
/** The velocity context key for the URL parameter */
public static final String URL_PARAM_KEY = "url_param";
/** The velocity context key for the classification parameter */
public static final String CLASSIFICATION_PARAM_KEY =
"classification_param";
/** The velocity context key for the description parameter */
public static final String DESCRIPTION_PARAM_KEY =
"description_param";
/** The velocity context key for the description's alternate represenation
* parameter */
public static final String DESC_ALTREP_PARAM_KEY =
"desc_altrep_param";
/** The velocity context key for the description's language parameter */
public static final String DESC_LANG_PARAM_KEY = "desc_language_param";
/** The velocity context key for the recurrence id's month parameter */
public static final String RECURID_MONTH_PARAM_KEY =
"recur_id_date_month_param";
/** The velocity context key for the recurrence id's date parameter */
public static final String RECURID_DATE_PARAM_KEY =
"recur_id_date_date_param";
/** The velocity context key for the recurrence id's year parameter */
public static final String RECURID_YEAR_PARAM_KEY =
"recur_id_date_year_param";
/** The velocity context key for the recurrence id's hour parameter */
public static final String RECURID_HOUR_PARAM_KEY =
"recur_id_time_hour_param";
/** The velocity context key for the recurrence id's minute parameter */
public static final String RECURID_MINUTE_PARAM_KEY =
"recur_id_time_minute_param";
/** The velocity context key for the recurrence id's range parameter */
public static final String RECURID_RANGE_PARAM_KEY =
"recur_id_range_param";
/** The velocity context key for the recurrence id's time zone id */
public static final String RECURID_TZID_PARAM_KEY =
"recur_id_tzid_param";
/** The velocity context key for the sequence parameter */
public static final String SEQUENCE_PARAM_KEY = "sequence_param";
/** The velocity context key for the status parameter */
public static final String STATUS_PARAM_KEY = "status_param";
/** The velocity context key for the summary parameter */
public static final String SUMMARY_PARAM_KEY = "summary_param";
/** The velocity context key for the summary's alternate represenation
* parameter */
public static final String SUMMARY_ALTREP_PARAM_KEY =
"summary_altrep_param";
/** The velocity context key for the summary's language parameter */
public static final String SUMMARY_LANG_PARAM_KEY =
"summary_language_param";
/** The velocity context key for the latitude parameter */
public static final String LATITUDE_PARAM_KEY = "latitude_param";
/** The velocity context key for the longitude parameter */
public static final String LONGITUDE_PARAM_KEY = "longitude_param";
/** The velocity context key for the location parameter */
public static final String LOCATION_PARAM_KEY = "location_param";
/** The velocity context key for the location's alternate representation
* parameter */
public static final String LOCATION_ALTREP_PARAM_KEY =
"location_altrep_param";
/** The velocity context key for the location's language parameter */
public static final String LOCATION_LANG_PARAM_KEY =
"location_language_param";
/** The velocity context key for the priority parameter */
public static final String PRIORITY_PARAM_KEY =
"priority_param";
/** The velocity context key for the end date month parameter */
public static final String END_MONTH_PARAM_KEY =
"end_date_month_param";
/** The velocity context key for the end date date parameter */
public static final String END_DATE_PARAM_KEY =
"end_date_date_param";
/** The velocity context key for the end date year parameter */
public static final String END_YEAR_PARAM_KEY =
"end_date_year_param";
/** The velocity context key for the end time hour parameter */
public static final String END_HOUR_PARAM_KEY =
"end_time_hour_param";
/** The velocity context key for the end time minute parameter */
public static final String END_MINUTE_PARAM_KEY =
"end_time_minute_param";
/** The velocity context key for the end time time zone id parameter */
public static final String END_TZID_PARAM_KEY =
"end_time_tzid_param";
/** The velocity context key for the transparency parameter */
public static final String TRANSPARENCY_PARAM_KEY =
"transparency_param";
/** The velocity context key for the
/*
* Constants for the parameters
*/
/** The value for the start date month parameter */
public static final String DTSTART_MONTH_PARAM =
"start_date_month";
/** The value for the start date date parameter */
public static final String DTSTART_DATE_PARAM =
"start_date_date";
/** The value for the start date year parameter */
public static final String DTSTART_YEAR_PARAM =
"start_date_year";
/** The value for the start time hour parameter */
public static final String DTSTART_HOUR_PARAM =
"start_time_hour";
/** The value for the start time minute parameter */
public static final String DTSTART_MINUTE_PARAM =
"start_time_minute";
/** The value for the start time time zone id parameter */
public static final String DTSTART_TZID_PARAM =
"start_time_tzid";
/** The value for the organizer parameter */
public static final String ORGANIZER_PARAM = "organizer";
/** The value for the organizer common name parameter */
public static final String ORGANIZER_NAME_PARAM = "organizer_common_name";
/** The value for the organizer directory parameter */
public static final String ORGANIZER_DIRECTORY_PARAM =
"organizer_directory";
/** The value for the organizer sent by parameter */
public static final String ORGANIZER_SENTBY_PARAM = "organizer_sentby";
/** The value for the organizer language parameter */
public static final String ORGANIZER_LANG_PARAM = "organizer_language";
/** The value for the Unique ID parameter */
public static final String UID_PARAM = "uid";
/** The value for the URL parameter */
public static final String URL_PARAM = "url";
/** The value for the classification parameter */
public static final String CLASSIFICATION_PARAM = "classification";
/** The value for the description parameter */
public static final String DESCRIPTION_PARAM = "description";
/** The value for the description's alternate representation parameter */
public static final String DESC_ALTREP_PARAM = "desc_altrep";
/** The value for the description language parameter */
public static final String DESC_LANG_PARAM = "desc_language";
/** The value for the recurrence id's date month parameter */
public static final String RECURID_MONTH_PARAM =
"recur_id_date_month";
/** The value for the recurrence id's date date parameter */
public static final String RECURID_DATE_PARAM =
"recur_id_date_date";
/** The value for the recurrence id's date year parameter */
public static final String RECURID_YEAR_PARAM =
"recur_id_date_year";
/** The value for the recurrence id's hour parameter */
public static final String RECURID_HOUR_PARAM =
"recur_id_time_hour";
/** The value for the recurrence id's minute parameter */
public static final String RECURID_MINUTE_PARAM =
"recur_id_time_minute";
/** The value for the recurrence id's range parameter */
public static final String RECURID_RANGE_PARAM =
"recur_id_range";
/** The value for the recurrence id's time zone id parameter */
public static final String RECURID_TZID_PARAM =
"recur_id_tzid";
/** The value for the sequence parameter */
public static final String SEQUENCE_PARAM = "sequence";
/** The value for the status parameter */
public static final String STATUS_PARAM = "status";
/** The value for the summary parameter */
public static final String SUMMARY_PARAM = "summary";
/** The value for the summary's alternate representation parameter */
public static final String SUMMARY_ALTREP_PARAM = "summary_altrep";
/** The value for the summary language parameter */
public static final String SUMMARY_LANG_PARAM = "summary_language";
/** The value for the priority parameter */
public static final String PRIORITY_PARAM = "priority";
/** The value for the latitdue parameter */
public static final String LATITUDE_PARAM = "latitude";
/** The valuefor the longitude parameter */
public static final String LONGITUDE_PARAM = "longitude";
/** The value for the location parameter */
public static final String LOCATION_PARAM = "location";
/** The value for the location's alternate representation parameter */
public static final String LOCATION_ALTREP_PARAM = "location_altrep";
/** The value for the location language parameter */
public static final String LOCATION_LANG_PARAM = "location_language";
/** The value for the end date month parameter */
public static final String END_MONTH_PARAM = "end_date_month";
/** The value for the end date date parameter */
public static final String END_DATE_PARAM = "end_date_date";
/** The value for the end date year parameter */
public static final String END_YEAR_PARAM = "end_date_year";
/** The value for the end time hour parameter */
public static final String END_HOUR_PARAM = "end_time_hour";
/** The value for the end time minute parameter */
public static final String END_MINUTE_PARAM = "end_time_minute";
/** The value for the end time time zone id parameter */
public static final String END_TZID_PARAM = "end_tzid_param";
/** The value for the transparency parameter */
public static final String TRANSPARENCY_PARAM = "transparency_param";
}
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>