/*
̃t@C̒ǵANTT I[v\[XCZX@o[W 1.0iu{
_vƂj̓Kp󂯂܂B
{_炵ȂÃt@CgpĂ͂Ȃ܂B
{_̃Rs[́Âtqkł܂B
yzzTCgURLz http://www.oss.ecl.ntt.co.jp/lms/

{_ɊÂЕz\tgEFÁÂ܂܁Âَ͖
ނ̕ۏ؂ȂŁAЕz܂B{_ɊÂyѐ𗥂
̕ɂẮA{_QƂĂB

uIWiR[hv́A NTT Cyber Space Laboratories Code łB 
uIWiR[hv́uJҁv́A{dMdbЂłB  
{dMdbЂɂn삳ꂽ́ACopyright (C) 2004 
{dMdb łB
SĂ̌ۂ܂B 
uRgr[^vF_____________________________________ 


The contents of this file are subject to the NTT Opensource License
Version 1.0 (the License); you may not use this file except in
compliance with the License. You may obtain a copy of the License at
yzzTCgURLz http://www.oss.ecl.ntt.co.jp/lms/

Software distributed under the License is distributed on an AS IS
basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
License for the specific language governing rights and limitations
under the License.

The Original Code is NTT Cyber Space Laboratories Code .

The Initial Developer of the Original Code is NIPPON TELEGRAPH AND 
TELEPHONE CORPORATION.
Portions created by the NIPPON TELEGRAPH AND TELEPHONE CORPORATION 
are Copyright (C) 2004 NIPPON TELEGRAPH AND TELEPHONE CORPORATION. 
All Rights Reserved.

Contributor(s) ______________________________________.
*/

//
// [Uo^@͉ʍĕ\rWlXAction
// 
// 
//
//	ύX
//	2004.01.08 VK쐬 M.Seko 
//

package jp.co.ntt.lms.xms.people;

import jp.co.ntt.lms.xms.framework.XmsBusinessAction;
import jp.co.ntt.lms.xms.framework.XmsException;
import jp.co.ntt.lms.xms.framework.XmsRequest;
import jp.co.ntt.lms.xms.framework.XmsResponse;
import jp.co.ntt.lms.xms.common.util.CommonUtil;


/**
 * [Uo^@͉ʍĕ\rWlXActionB<br>
 * G[ʂ畜AۂɁA
 * ʕ\s߂ɎgpB
 * 
 *  @author M.Seko
 */
public class PeopleInsertInputFramesetReDisplayBusinessAction extends XmsBusinessAction {

	/**
	 * @see jp.co.ntt.lms.xms.framework.XmsBusinessAction#initProcessRequest(XmsRequest)
	 */
	protected void initProcessRequest(XmsRequest xmsRequest) throws XmsException {
	}

	/**
	 * [̎gp\Es\ɉďU蕪B<br>
	 * ܂Aform͂郆[U̓ei[ꂽZbVNAɂB<br>
	 * @see jp.co.ntt.lms.xms.framework.XmsBusinessAction#processRequest(XmsRequest, XmsResponse)
	 */
	protected void processRequest(XmsRequest xmsRequest, XmsResponse xmsResponse)
		throws XmsException {

		if (CommonUtil.checkMailAuthority(xmsRequest) == true) {
			//OC[ÚA[gp\ł
			//[ev[gt̉ʂ\Xe[^XZbg
			xmsResponse.setBusinessStatus("mailAuthorityOK");
		} else {
			//OC[ÚA[gps\łB
			//[ev[g̉ʂ\Xe[^XZbg
			xmsResponse.setBusinessStatus("mailAuthorityNG");

		}
	}

}
