createuserstatus.java

来自「一个用struts tiles的在线影院web系统」· Java 代码 · 共 40 行

JAVA
40
字号
package com.eline.vod.security.model;

/**
 * Indicates the return status for creating a new user.
 * 
 * @author Lucifer
 * 
 */
public interface CreateUserStatus {

	// The user was not created for some unknown reason
	public static final int UnknownFailure = 0;

	// The user's account was successfully created.
	public static final int Created = 1;

	// The user's account was not created because the user's desired username is
	// already being used.
	public static final int DuplicateUsername = 2;

	// The user's account was not created because the user's email address is
	// already being used.
	public static final int DuplicateEmailAddress = 3;

	public static final int DuplicateMobilePIN = 4;

	// The username has been previously disallowed.
	public static final int DisallowedUsername = 5;

	// The user record has been updated
	public static final int Updated = 6;

	// The user record has been deleted
	public static final int Deleted = 7;

	public static final int InvalidQuestionAnswer = 8;

	public static final int InvalidPassword = 9;
}

⌨️ 快捷键说明

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