Author: julien(a)jboss.com
Date: 2007-11-17 06:19:42 -0500 (Sat, 17 Nov 2007)
New Revision: 8981
Modified:
modules/common/trunk/common/src/main/java/org/jboss/portal/common/p3p/P3PConstants.java
Log:
on the P3PConstants, make private the constants that are used internally and should not be
exposed
Modified:
modules/common/trunk/common/src/main/java/org/jboss/portal/common/p3p/P3PConstants.java
===================================================================
---
modules/common/trunk/common/src/main/java/org/jboss/portal/common/p3p/P3PConstants.java 2007-11-16
22:48:16 UTC (rev 8980)
+++
modules/common/trunk/common/src/main/java/org/jboss/portal/common/p3p/P3PConstants.java 2007-11-17
11:19:42 UTC (rev 8981)
@@ -30,10 +30,35 @@
public final class P3PConstants
{
+ // Postal
+ private static final String POSTAL_NAME = "postal.name";
+ private static final String POSTAL_STREET = "postal.street";
+ private static final String POSTAL_CITY = "postal.city";
+ private static final String POSTAL_STATEPROV = "postal.stateprov";
+ private static final String POSTAL_POSTALCODE = "postal.postalcode";
+ private static final String POSTAL_COUNTRY = "postal.country";
+ private static final String POSTAL_ORGANIZATION = "postal.organization";
+
+ // Telecom
+ private static final String TELECOM_TELEPHONE = "telecom.telephone.";
+ private static final String TELECOM_FAX = "telecom.fax.";
+ private static final String TELECOM_MOBILE = "telecom.mobile.";
+ private static final String TELECOM_PAGER = "telecom.pager.";
+ private static final String INTCODE = "intcode";
+ private static final String LOCCODE = "loccode";
+ private static final String NUMBER = "number";
+ private static final String EXT = "ext";
+ private static final String COMMENT = "comment";
+
+ // Online
+ private static final String ONLINE_URI = "online.uri";
+ private static final String ONLINE_EMAIL = "online.email";
+
/*
* User information attribute names (PLT.D in the portlet spec) that are defined in
P3P spec.
*/
+ //
public static final String INFO_USER_BDATE = "user.bdate";
public static final String INFO_USER_GENDER = "user.gender";
public static final String INFO_USER_EMPLOYER = "user.employer";
@@ -46,30 +71,6 @@
public static final String INFO_USER_NAME_SUFFIX = "user.name.suffix";
public static final String INFO_USER_NAME_NICKNAME = "user.name.nickName";
- // Postal
- public static final String POSTAL_NAME = "postal.name";
- public static final String POSTAL_STREET = "postal.street";
- public static final String POSTAL_CITY = "postal.city";
- public static final String POSTAL_STATEPROV = "postal.stateprov";
- public static final String POSTAL_POSTALCODE = "postal.postalcode";
- public static final String POSTAL_COUNTRY = "postal.country";
- public static final String POSTAL_ORGANIZATION = "postal.organization";
-
- // Telecom
- public static final String TELECOM_TELEPHONE = "telecom.telephone.";
- public static final String TELECOM_FAX = "telecom.fax.";
- public static final String TELECOM_MOBILE = "telecom.mobile.";
- public static final String TELECOM_PAGER = "telecom.pager.";
- public static final String INTCODE = "intcode";
- public static final String LOCCODE = "loccode";
- public static final String NUMBER = "number";
- public static final String EXT = "ext";
- public static final String COMMENT = "comment";
-
- // Online
- public static final String ONLINE_URI = "online.uri";
- public static final String ONLINE_EMAIL = "online.email";
-
// User home
public static final String INFO_USER_HOME_PREFIX = "user.home-info.";
public static final String INFO_USER_HOME_INFO_POSTAL_NAME = INFO_USER_HOME_PREFIX +
POSTAL_NAME;
Show replies by date