/*
 * This file is part of Nuts Framework.
 * Copyright(C) 2009-2012 Nuts Develop Team.
 *
 * Nuts Framework is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License any later version.
 * 
 * Nuts Framework is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.	 See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with Nuts Framework. If not, see <http://www.gnu.org/licenses/>.
 */
package nuts.aems.constant;

import nuts.exts.struts2.interceptor.AuthenticateInterceptor;

/**
 */
public interface GC {
	//--------------------------------------------------------
	// locale
	//--------------------------------------------------------
	/**
	 * LOCALE_ALL = "*";
	 */
	public final static String LOCALE_ALL = "*";

	//--------------------------------------------------------
	// permission
	//--------------------------------------------------------
	/**
	 * PERMISSION_ALL = "*";
	 */
	public final static String PERMISSION_ALL = AuthenticateInterceptor.PERMISSION_ALL;
	
	/**
	 * PERMISSION_NONE = "-";
	 */
	public final static String PERMISSION_NONE = AuthenticateInterceptor.PERMISSION_NONE;

	//----------------------------------------------------
	// USER CONSTANTS
	//----------------------------------------------------
	/**
	 * UNKNOWN_USID = 0L;
	 */
	public final static Long UNKNOWN_USID = 0L;

	/**
	 * GUESTS_ID = 999L;
	 */
	public final static Long GUESTS_ID = 999L;

	/**
	 * ADMIN_LEVEL = 0;
	 */
	public final static Integer ADMIN_LEVEL = 0;

	/**
	 * GUEST_LEVEL = 999;
	 */
	public final static Integer GUEST_LEVEL = 999;

	//--------------------------------------------------------
	// mail properties
	//--------------------------------------------------------
	/**
	 * MAIL_DEBUG = "mail.debug";
	 */
	public final static String MAIL_DEBUG = "mail.debug";

	/**
	 * MAIL_EXCEPTION = "mail.exception";
	 */
	public final static String MAIL_EXCEPTION = "mail.exception";
	
	/**
	 * MAIL_SMTP_HOST = "mail.smtp.host";
	 */
	public final static String MAIL_SMTP_HOST = "mail.smtp.host";
	
	/**
	 * MAIL_SMTP_HOST_PORT = "mail.smtp.port";
	 */
	public final static String MAIL_SMTP_PORT = "mail.smtp.port";
	
	/**
	 * MAIL_SMTP_SSL = "mail.smtp.ssl";
	 */
	public final static String MAIL_SMTP_SSL = "mail.smtp.ssl";
	
	/**
	 * MAIL_SMTP_TLS = "mail.smtp.tls";
	 */
	public final static String MAIL_SMTP_TLS = "mail.smtp.tls";
	
	/**
	 * MAIL_SMTP_USER = "mail.smtp.user";
	 */
	public final static String MAIL_SMTP_USER = "mail.smtp.user";
	
	/**
	 * MAIL_SMTP_PASSWORD = "mail.smtp.password";
	 */
	public final static String MAIL_SMTP_PASSWORD = "mail.smtp.password";
	
	/**
	 * MAIL_FROM_MAIL = "mail.from.mail";
	 */
	public final static String MAIL_FROM_MAIL = "mail.from.mail";
	
	/**
	 * MAIL_FROM_NAME = "mail.from.name";
	 */
	public final static String MAIL_FROM_NAME = "mail.from.name";
	
	/**
	 * MAIL_BOUNCE = "mail.smtp.bounce";
	 */
	public final static String MAIL_SMTP_BOUNCE = "mail.smtp.bounce";
	
	/**
	 * MAIL_CHARSET = "mail.charset";
	 */
	public final static String MAIL_CHARSET = "mail.charset";
}
