//#############################################################################
//#                                                                           #
//#  Copyright (C) <2014>  <IMS MAXIMS>                                       #
//#                                                                           #
//#  This program is free software: you can redistribute it and/or modify     #
//#  it under the terms of the GNU Affero General Public License as           #
//#  published by the Free Software Foundation, either version 3 of the       #
//#  License, or (at your option) any later version.                          # 
//#                                                                           #
//#  This program 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 Affero General Public License for more details.                      #
//#                                                                           #
//#  You should have received a copy of the GNU Affero General Public License #
//#  along with this program.  If not, see <http://www.gnu.org/licenses/>.    #
//#                                                                           #
//#############################################################################
//#EOH
// This code was generated by Alexie Ursache using IMS Development Environment (version 1.45 build 2389.16953)
// Copyright (C) 1995-2006 IMS MAXIMS plc. All rights reserved.

package ims.assessment.domain.impl;

import ims.admin.domain.ApplicationRoles;
import ims.admin.domain.impl.ApplicationRolesImpl;
import ims.assessment.domain.UserAssessmentNew;
import ims.assessment.domain.base.impl.BaseUserAssessmentPreviewImpl;
import ims.admin.vo.AppRoleShortVoCollection;

public class UserAssessmentPreviewImpl extends BaseUserAssessmentPreviewImpl
{
	/**
	* getAssessment
	*/
	public ims.assessment.vo.UserAssessmentVo getAssessment(Integer id)
	{
		UserAssessmentNew impl = (UserAssessmentNew) getDomainImpl(UserAssessmentNewImpl.class);
		return impl.getAssessment(id);
	}

	public AppRoleShortVoCollection listRoles()
	{
		ApplicationRoles impl = (ApplicationRoles)getDomainImpl(ApplicationRolesImpl.class);
		if(impl != null)
			return impl.listRoles();
		return null;
	}
}
