using System.Web;
using CommunityServer.Components;
//------------------------------------------------------------------------------
// <copyright company="Telligent Systems">
//     Copyright (c) Telligent Systems Corporation.  All rights reserved.
// </copyright> 
//------------------------------------------------------------------------------

namespace CommunityServer.Galleries.Components
{
	/// <summary>
	/// Summary description for ImportItem.
	/// </summary>
	public class ImportItem
	{

		#region Private Members

		private Gallery gallery;
		private string filename;
		private User user;
		private string[] categories;

		#endregion

		#region Constructors

		public ImportItem() { }

		public ImportItem(Gallery gallery, string filename, User user)
		{
			this.gallery = gallery;
			this.filename = filename;
			this.user = user;
		}
		public ImportItem(Gallery gallery, string[] Categories, string filename, User user)
		{
			this.gallery = gallery;
			this.filename = filename;
			this.user = user;
			this.categories = Categories;
		}
		public ImportItem(Gallery gallery, string Category, string filename, User user)
		{
			this.gallery = gallery;
			this.filename = filename;
			this.user = user;
			this.categories = new string[1] {Category};
		}

		#endregion

		#region Public Properties

		public Gallery Gallery
		{
			get { return gallery; }
			set { gallery = value; }
		}

		public string Filename
		{
			get { return filename; }
			set { filename = value; }
		}
		public User User
		{
			get { return user; }
			set { user = value; }
		}
		public string[] Categories
		{
			get{return categories;}
			set{categories = value;}
		}


		#endregion

	}
}
