亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? user.java

?? Jive Forums 1.0 src
?? JAVA
字號:
/**
 * User.java
 * August 19, 2000
 * * Copyright (C) 2000 CoolServlets.com. All rights reserved. * * =================================================================== * The Apache Software License, Version 1.1
 *
 * 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
 *        CoolServlets.com (http://www.coolservlets.com)."
 *    Alternately, this acknowledgment may appear in the software itself,
 *    if and wherever such third-party acknowledgments normally appear.
 *
 * 4. The names "Jive" and "CoolServlets.com" must not be used to
 *    endorse or promote products derived from this software without
 *    prior written permission. For written permission, please
 *    contact webmaster@coolservlets.com.
 *
 * 5. Products derived from this software may not be called "Jive",
 *    nor may "Jive" appear in their name, without prior written
 *    permission of CoolServlets.com.
 *
 * 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 COOLSERVLETS.COM 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 CoolServlets.com. For more information
 * on CoolServlets.com, please see <http://www.coolservlets.com>.
 */

package com.coolservlets.forum;

import java.util.*;

/**
 * The User interface provides information about and services for users
 * of the forum system. Users can be identified by a unique id or username.
 * Users can also be organized into Groups for easier management of
 * permissions at the forum level.
 * <p>
 * The name and email field will normally be required fields when creating
 * user accounts for most implementations of forums. However, some users may
 * wish to keep that information private. Therefore, there are two flags to
 * set if the name and email fields should be made visible to other users. If
 * the flags are set to deny access, getName() and getEmail() will throw
 * UnauthorizedExceptions to users that don't have ADMIN permissions.
 * <p>
 * Security for User objects is provide by UserProxy protection proxy objects.
 *
 * @see Group
 */
public interface User {
    
    /**
     * Returns the user's id. All ids must be unique in the system.
     */
    public int getID();

    /**
     * Returns true if the User object is an anonymous user object.
     */
    public boolean isAnonymous();

    /**
     * Returns the user's username. All usernames must be unique in the system.
     */
    public String getUsername();

    /**
     * Returns the user's name. The user's name does not have to be to be
     * unique in the system. Some users may opt to not let others see their
     * name for privacy reasons. In that case, the user can set nameVisible to
     * false. In that case, a call to this method will return null.
     *
     * @return the name of the user.
     */
    public String getName();

    /**
     * Sets the user's name. The user's name does not have to be to be
     * unique in the system.
     *
     * @param name new name for the user.
     *
     * @throws UnauthorizedException if does not have ADMIN permissions.
     */
    public void setName(String name) throws UnauthorizedException;

    /**
     * Returns true if the user has chosen to make her name visible to other
     * users. If the name is not visible, calling getName() will throw an
     * UnauthorizedException.
     */
    public boolean isNameVisible();

    /**
     * Sets whether a user's name is visible to other users. If the field
     * is set to not be visible, calling getName() will throw an
     * UnauthorizedException.
     *
     * @throws UnauthorizedException if does not have ADMIN permissions.
     */
    public void setNameVisible(boolean visible) throws UnauthorizedException;

    /**
     * Sets the users's password. The password should be passed in as
     * plain text. The way the password is stored is implementation dependent.
     * However, it is recommended to at least hash passwords with an
     * algorithm such as MD5.
     *
     * @param password new password for the user.
     *
     * @throws UnauthorizedException if does not have ADMIN permissions.
     */
    public void setPassword(String password) throws UnauthorizedException;

    /**
     * Reset's a user's password. This is useful if a user forgets their
     * password since many implementations will not be able retrieve a
     * hashed password. The normal side effect of calling this method is
     * that the new password is emailed to the user using the email address
     * listed in the account. However, this method could be abused by another
     * user if they were able to continually reset another users's password.
     * <p>
     * A recommendation for implementation of a password resetting system:
     * provide a form where users can request a password reset because they've
     * forgotten their password. Making this request sends an email to the
     * email account listed for the user. That email should include a web
     * address with a random string for security. If the user visits that
     * address within 24 hours, the password is reset with a random string
     * and emailed to the user. If the web page is never visited, the password
     * is not reset. This method provides good security and prevents abuse
     * of the password resetting system. This functionality would probably
     * be incorporated into a forum skin.
     */
    //NOTE: This feature will be delayed until after Jive 1.0
    //public void resetPassword();

    /**
     * Returns the user's email address. Email should be considered to be
     * a required field of a user account since it is critical to many
     * user operations performing. If the user sets emailVisible to false,
     * this method will always return null.
     */
    public String getEmail();

    /**
     * Sets the user's email address. Email should be considered to be
     * a required field of a user account since it is critical to many
     * user operations performing.
     *
     * @param email new email address for the user.
     *
     * @throws UnauthorizedException if does not have ADMIN permissions.
     */
    public void setEmail(String email) throws UnauthorizedException;

    /**
     * Returns true if the user has chosen to make her email visible to other
     * users. If the email field is not visible, calling getEmail() will throw
     * an UnauthorizedException.
     */
    public boolean isEmailVisible();

    /**
     * Sets whether a user's email is visible to other users. If the field
     * is set to not be visible, calling getEmail() will throw an
     * UnauthorizedException.
     *
     * @throws UnauthorizedException if does not have ADMIN permissions.
     */
    public void setEmailVisible(boolean visible) throws UnauthorizedException;

    /**
     * Returns an extended property of the user. Each user can have an     * arbitrary number of extended properties. This lets particular skins     * or filters provide enhanced functionality that is not part of the base     * interface.     *     * @param name the name of the property to get.     */    public String getProperty(String name);    /**     * Returns an Enumeration of all the names of the extended user properties.     */    public Enumeration propertyNames();    /**     * Sets an extended property of the user. Each user can have an     * arbitrary number of extended properties. This lets particular skins     * or filters provide enhanced functionality that is not part of the base     * interface.     *     * @param name the name of the property to set.     * @param value the new value for the property.     */    public void setProperty(String name, String value);
    /**
     * Returns the permissions for the user that correspond to the
     * passed-in Authorization. 
     *
     * @param authorization the auth token to look up permissions with.
     */
    public abstract ForumPermissions getPermissions(Authorization authorization);

    /**
     * Returns true if the handle on the object has the permission specified.
     * A list of possible permissions can be found in the ForumPermissions
     * class. Certain methods of this class are restricted to certain
     * permissions as specified in the method comments.
     *
     * @see ForumPermissions
     */
    public boolean hasPermission(int type);
}

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产欧美精品一区| 久久久久免费观看| 亚洲成人av一区二区三区| 欧美性色黄大片| 日韩国产欧美在线视频| 日韩欧美视频在线| 福利一区在线观看| 亚洲女女做受ⅹxx高潮| 欧美日韩国产一级二级| 美女视频一区二区三区| 国产网站一区二区| 99精品国产一区二区三区不卡| 亚洲精品国产成人久久av盗摄| 欧美色视频在线| 免费成人美女在线观看.| 精品福利一区二区三区 | 中文字幕精品一区二区精品绿巨人| 国产成人精品免费视频网站| 亚洲欧洲精品一区二区三区不卡| 日本电影亚洲天堂一区| 午夜精品一区二区三区免费视频| 久久综合久久综合九色| 91性感美女视频| 免费久久精品视频| 亚洲人成小说网站色在线 | 色综合久久久久网| 日韩国产在线观看一区| 国产精品毛片a∨一区二区三区 | zzijzzij亚洲日本少妇熟睡| 婷婷亚洲久悠悠色悠在线播放 | caoporn国产精品| 日韩精彩视频在线观看| 国产精品毛片久久久久久| 91麻豆精品国产| www.亚洲激情.com| 国内精品久久久久影院色| 亚洲一区二区偷拍精品| 国产色爱av资源综合区| 欧美日韩久久一区二区| 成人中文字幕电影| 九九久久精品视频| 亚洲小少妇裸体bbw| 国产欧美日韩在线看| 欧美一区二区三区视频免费| 色偷偷成人一区二区三区91| 国产精品自拍毛片| 人人精品人人爱| 一区二区三区欧美久久| 中文字幕欧美日本乱码一线二线| 日韩一卡二卡三卡四卡| 色婷婷av一区二区三区之一色屋| 国产成人亚洲综合a∨猫咪| 美女视频网站久久| 水蜜桃久久夜色精品一区的特点| 日韩毛片精品高清免费| 欧美国产综合一区二区| 精品日韩一区二区三区 | 国产在线不卡一区| 免费日本视频一区| 婷婷开心久久网| 亚洲男人天堂av网| 亚洲色图制服丝袜| 国产婷婷一区二区| 26uuu国产日韩综合| 欧美成人a视频| 欧美大肚乱孕交hd孕妇| 日韩一区二区三区电影在线观看 | 日韩精品乱码av一区二区| 亚洲天堂免费在线观看视频| 亚洲欧美中日韩| 国产精品久久福利| 国产精品成人免费在线| 国产精品视频麻豆| 中文字幕不卡一区| 中文字幕中文字幕一区二区| 国产欧美日韩中文久久| 国产精品嫩草影院com| 国产精品欧美一区二区三区| 中文字幕欧美激情一区| 国产精品污www在线观看| 国产精品无人区| 亚洲欧洲日产国码二区| 一区二区三区在线视频免费| 亚洲一区二区在线观看视频| 午夜视黄欧洲亚洲| 美脚の诱脚舐め脚责91 | 日韩一区二区影院| 精品区一区二区| 欧美激情一区在线| 一区在线中文字幕| 一区二区三区四区激情| 日韩一区精品字幕| 国产乱淫av一区二区三区| 成人sese在线| 欧美视频中文字幕| 欧美成人vr18sexvr| 国产日韩欧美在线一区| 亚洲视频一区在线观看| 亚洲第一成人在线| 国内精品免费在线观看| eeuss国产一区二区三区| 欧美性生交片4| 欧美久久一二区| 26uuu色噜噜精品一区二区| 国产精品高清亚洲| 日韩电影在线一区二区三区| 久久99精品国产.久久久久久 | 亚洲精品五月天| 日本视频中文字幕一区二区三区| 国产伦精品一区二区三区视频青涩 | 波多野结衣91| 欧美偷拍一区二区| 久久婷婷久久一区二区三区| 综合久久国产九一剧情麻豆| 亚洲成人动漫av| 国产成人av一区二区三区在线| 欧美日韩在线播放三区| 91精品国产入口| 日韩一区中文字幕| 日韩av一二三| 色婷婷久久99综合精品jk白丝| 精品国产伦一区二区三区观看方式| 国产精品国产三级国产a| 蜜臀久久久久久久| 91在线视频网址| 2021久久国产精品不只是精品| 亚洲精品视频在线观看免费| 国产美女娇喘av呻吟久久| 欧美日韩在线不卡| 中文字幕中文字幕在线一区| 激情深爱一区二区| 欧美色视频在线| 亚洲欧美日韩国产手机在线| 国产在线国偷精品产拍免费yy| 欧美日韩一区二区在线观看| 国产精品国产三级国产aⅴ中文| 免费久久99精品国产| 欧美私模裸体表演在线观看| 国产精品理伦片| 国产成人自拍网| 精品久久五月天| 免费欧美在线视频| 欧美视频在线一区| 亚洲美腿欧美偷拍| 成人h精品动漫一区二区三区| 日韩三级视频在线看| 亚洲成人免费在线| 在线一区二区视频| 亚洲视频 欧洲视频| 99精品欧美一区二区蜜桃免费 | 丝袜诱惑制服诱惑色一区在线观看| 成人av在线电影| 国产视频亚洲色图| 国产一区日韩二区欧美三区| 日韩一级免费一区| 日产国产欧美视频一区精品| 欧美日韩三级一区二区| 一区二区三区电影在线播| 一本大道av一区二区在线播放| 中文字幕+乱码+中文字幕一区| 国产一区二区三区四区五区入口| 日韩欧美国产系列| 麻豆免费看一区二区三区| 日韩午夜精品电影| 久热成人在线视频| 欧美一区欧美二区| 美女任你摸久久| 日韩欧美国产综合| 国产在线麻豆精品观看| 国产亚洲精品久| 粉嫩av一区二区三区| 欧美精彩视频一区二区三区| 成人午夜精品在线| 18欧美乱大交hd1984| 在线国产电影不卡| 五月天激情综合| 日韩视频一区二区在线观看| 久久电影国产免费久久电影 | 91色porny蝌蚪| 一区二区高清在线| 91麻豆精品国产| 国产精品一区二区不卡| 中文字幕欧美激情一区| 日本道免费精品一区二区三区| 亚洲国产一区二区在线播放| 91精品国产aⅴ一区二区| 精品一区二区三区欧美| 国产精品电影院| 欧美日韩一区中文字幕| 久久se精品一区精品二区| 国产精品色一区二区三区| 欧洲激情一区二区| 久久国产生活片100| 国产精品免费网站在线观看| 在线视频你懂得一区| 久久精品国产网站| 亚洲欧洲韩国日本视频| 6080日韩午夜伦伦午夜伦| 国产不卡在线视频| 视频一区国产视频|