⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 p3pattributes.java

📁 portal越来越流行了
💻 JAVA
字号:
/*
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.apache.pluto.spi.optional;

/**
 * As defined in PLT.D of the JSR-168 specification, this class defines a set of
 * attribute names for user information and their intended
 * meaning. To allow portals an automated mapping of commonly used user information
 * attributes portlet programmers should use these attribute names. These attribute names
 * are derived from the Platform for Privacy Preferences 1.0 (P3P 1.0) Specification by the
 * W3C (http://www.w3c.org/TR/P3P).
 *
 */
public interface P3PAttributes {

	/*	NOTE: The user.bdate must consist of a string that represents the time in milliseconds
	since January 1, 1970, 00:00:00 GMT. */
	public static final String USER_BDATE = "user.bdate";
	public static final String USER_GENDER = "user.gender";
	public static final String USER_EMPLOYER = "user.employer";
	public static final String USER_DEPARTMENT = "user.department";
	public static final String USER_JOBTITLE = "user.jobtitle";
	public static final String USER_NAME_PREFIX = "user.name.prefix";
	public static final String USER_NAME_GIVEN = "user.name.given";
	public static final String USER_NAME_FAMILY = "user.name.family";
	public static final String USER_NAME_MIDDLE = "user.name.middle";
	public static final String USER_NAME_SUFFIX = "user.name.suffix";
	public static final String USER_NAME_NICKNAME = "user.name.nickName";
	public static final String USER_HOME_INFO_POSTAL_NAME = "user.home-info.postal.name";
	public static final String USER_HOME_INFO_POSTAL_STREET = "user.home-info.postal.street";
	public static final String USER_HOME_INFO_POSTAL_CITY = "user.home-info.postal.city";
	public static final String USER_HOME_INFO_POSTAL_STATEPROV = "user.home-info.postal.stateprov";
	public static final String USER_HOME_INFO_POSTAL_POSTALCODE = "user.home-info.postal.postalcode";
	public static final String USER_HOME_INFO_POSTAL_COUNTRY = "user.home-info.postal.country";
	public static final String USER_HOME_INFO_POSTAL_ORGANIZATION= "user.home-info.postal.organization";
	public static final String USER_HOME_INFO_TELECOM_TELEPHONE_INTCODE = "user.home-info.telecom.telephone.intcode";
	public static final String USER_HOME_INFO_TELECOM_TELEPHONE_LOCCODE = "user.home-info.telecom.telephone.loccode";
	public static final String USER_HOME_INFO_TELECOM_TELEPHONE_NUMBER = "user.home-info.telecom.telephone.number";
	public static final String USER_HOME_INFO_TELECOM_TELEPHONE_EXT = "user.home-info.telecom.telephone.ext";
	public static final String USER_HOME_INFO_TELECOM_TELEPHONE_COMMENT = "user.home-info.telecom.telephone.comment";
	public static final String USER_HOME_INFO_TELECOM_FAX_INTCODE = "user.home-info.telecom.fax.intcode";
	public static final String USER_HOME_INFO_TELECOM_FAX_LOCCODE = "user.home-info.telecom.fax.loccode";
	public static final String USER_HOME_INFO_TELECOM_FAX_NUMBER = "user.home-info.telecom.fax.number";
	public static final String USER_HOME_INFO_TELECOM_FAX_EXT = "user.home-info.telecom.fax.ext";
	public static final String USER_HOME_INFO_TELECOM_FAX_COMMENT = "user.home-info.telecom.fax.comment";
	public static final String USER_HOME_INFO_TELECOM_MOBILE_INTCODE = "user.home-info.telecom.mobile.intcode";
	public static final String USER_HOME_INFO_TELECOM_MOBILE_LOCCODE = "user.home-info.telecom.mobile.loccode";
	public static final String USER_HOME_INFO_TELECOM_MOBILE_NUMBER = "user.home-info.telecom.mobile.number";
	public static final String USER_HOME_INFO_TELECOM_MOBILE_EXT = "user.home-info.telecom.mobile.ext";
	public static final String USER_HOME_INFO_TELECOM_MOBILE_COMMENT = "user.home-info.telecom.mobile.comment";
	public static final String USER_HOME_INFO_TELECOM_PAGER_INTCODE = "user.home-info.telecom.pager.intcode";
	public static final String USER_HOME_INFO_TELECOM_PAGER_LOCCODE = "user.home-info.telecom.pager.loccode";
	public static final String USER_HOME_INFO_TELECOM_PAGER_NUMBER = "user.home-info.telecom.pager.number";
	public static final String USER_HOME_INFO_TELECOM_PAGER_EXT = "user.home-info.telecom.pager.ext";
	public static final String USER_HOME_INFO_TELECOM_PAGER_COMMENT = "user.home-info.telecom.pager.comment";
	public static final String USER_HOME_INFO_ONLINE_EMAIL = "user.home-info.online.email";
	public static final String USER_HOME_INFO_ONLINE_URI = "user.home-info.online.uri";
	public static final String USER_BUSINESS_INFO_POSTAL_NAME = "user.business-info.postal.name";
	public static final String USER_BUSINESS_INFO_POSTAL_STREET = "user.business-info.postal.street";
	public static final String USER_BUSINESS_INFO_POSTAL_CITY = "user.business-info.postal.city";
	public static final String USER_BUSINESS_INFO_POSTAL_STATEPROV = "user.business-info.postal.stateprov";
	public static final String USER_BUSINESS_INFO_POSTAL_POSTALCODE = "user.business-info.postal.postalcode";
	public static final String USER_BUSINESS_INFO_POSTAL_COUNTRY = "user.business-info.postal.country";
	public static final String USER_BUSINESS_INFO_POSTAL_ORGANIZATION = "user.business-info.postal.organization";
	public static final String USER_BUSINESS_INFO_TELECOM_TELEPHONE_INTCODE = "user.business-info.telecom.telephone.intcode";
	public static final String USER_BUSINESS_INFO_TELECOM_TELEPHONE_LOCCODE= "user.business-info.telecom.telephone.loccode";
	public static final String USER_BUSINESS_INFO_TELECOM_TELEPHONE_NUMBER = "user.business-info.telecom.telephone.number";
	public static final String USER_BUSINESS_INFO_TELECOM_TELEPHONE_EXT = "user.business-info.telecom.telephone.ext";
	public static final String USER_BUSINESS_INFO_TELECOM_TELEPHONE_COMMENT = "user.business-info.telecom.telephone.comment";
	public static final String USER_BUSINESS_INFO_TELECOM_FAX_INTCODE = "user.business-info.telecom.fax.intcode";
	public static final String USER_BUSINESS_INFO_TELECOM_FAX_LOCCODE = "user.business-info.telecom.fax.loccode";
	public static final String USER_BUSINESS_INFO_TELECOM_FAX_NUMBER = "user.business-info.telecom.fax.number";
	public static final String USER_BUSINESS_INFO_TELECOM_FAX_EXT = "user.business-info.telecom.fax.ext";
	public static final String USER_BUSINESS_INFO_TELECOM_FAX_COMMENT = "user.business-info.telecom.fax.comment";
	public static final String USER_BUSINESS_INFO_TELECOM_MOBILE_INTCODE = "user.business-info.telecom.mobile.intcode";
	public static final String USER_BUSINESS_INFO_TELECOM_MOBILE_LOCCODE = "user.business-info.telecom.mobile.loccode";
	public static final String USER_BUSINESS_INFO_TELECOM_MOBILE_NUMBER = "user.business-info.telecom.mobile.number";
	public static final String USER_BUSINESS_INFO_TELECOM_MOBILE_EXT = "user.business-info.telecom.mobile.ext";
	public static final String USER_BUSINESS_INFO_TELECOM_MOBILE_COMMENT = "user.business-info.telecom.mobile.comment";
	public static final String USER_BUSINESS_INFO_TELECOM_PAGER_INTCODE = "user.business-info.telecom.pager.intcode";
	public static final String USER_BUSINESS_INFO_TELECOM_PAGER_LOCCODE = "user.business-info.telecom.pager.loccode";
	public static final String USER_BUSINESS_INFO_TELECOM_PAGER_NUMBER = "user.business-info.telecom.pager.number";
	public static final String USER_BUSINESS_INFO_TELECOM_PAGER_EXT = "user.business-info.telecom.pager.ext";
	public static final String USER_BUSINESS_INFO_TELECOM_PAGER_COMMENT = "user.business-info.telecom.pager.comment";
	public static final String USER_BUSINESS_INFO_ONLINE_EMAIL = "user.business-info.online.email";
	public static final String USER_BUSINESS_INFO_ONLINE_URI = "user.business-info.online.uri";

	public static final String[] ATTRIBUTE_ARRAY = {
		"user.bdate",
		"user.gender",
		"user.employer",
		"user.department",
		"user.jobtitle",
		"user.name.prefix",
		"user.name.given",
		"user.name.family",
		"user.name.middle",
		"user.name.suffix",
		"user.name.nickName",
		"user.home-info.postal.name",
		"user.home-info.postal.street",
		"user.home-info.postal.city",
		"user.home-info.postal.stateprov",
		"user.home-info.postal.postalcode",
		"user.home-info.postal.country",
		"user.home-info.postal.organization",
		"user.home-info.telecom.telephone.intcode",
		"user.home-info.telecom.telephone.loccode",
		"user.home-info.telecom.telephone.number",
		"user.home-info.telecom.telephone.ext",
		"user.home-info.telecom.telephone.comment",
		"user.home-info.telecom.fax.intcode",
		"user.home-info.telecom.fax.loccode",
		"user.home-info.telecom.fax.number",
		"user.home-info.telecom.fax.ext",
		"user.home-info.telecom.fax.comment",
		"user.home-info.telecom.mobile.intcode",
		"user.home-info.telecom.mobile.loccode",
		"user.home-info.telecom.mobile.number",
		"user.home-info.telecom.mobile.ext",
		"user.home-info.telecom.mobile.comment",
		"user.home-info.telecom.pager.intcode",
		"user.home-info.telecom.pager.loccode",
		"user.home-info.telecom.pager.number",
		"user.home-info.telecom.pager.ext",
		"user.home-info.telecom.pager.comment",
		"user.home-info.online.email",
		"user.home-info.online.uri",
		"user.business-info.postal.name",
		"user.business-info.postal.street",
		"user.business-info.postal.city",
		"user.business-info.postal.stateprov",
		"user.business-info.postal.postalcode",
		"user.business-info.postal.country",
		"user.business-info.postal.organization",
		"user.business-info.telecom.telephone.intcode",
		"user.business-info.telecom.telephone.loccode",
		"user.business-info.telecom.telephone.number",
		"user.business-info.telecom.telephone.ext",
		"user.business-info.telecom.telephone.comment",
		"user.business-info.telecom.fax.intcode",
		"user.business-info.telecom.fax.loccode",
		"user.business-info.telecom.fax.number",
		"user.business-info.telecom.fax.ext",
		"user.business-info.telecom.fax.comment",
		"user.business-info.telecom.mobile.intcode",
		"user.business-info.telecom.mobile.loccode",
		"user.business-info.telecom.mobile.number",
		"user.business-info.telecom.mobile.ext",
		"user.business-info.telecom.mobile.comment",
		"user.business-info.telecom.pager.intcode",
		"user.business-info.telecom.pager.loccode",
		"user.business-info.telecom.pager.number",
		"user.business-info.telecom.pager.ext",
		"user.business-info.telecom.pager.comment",
		"user.business-info.online.email",
		"user.business-info.online.uri"
	};
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -