if(typeof ServiceTier == "undefined") ServiceTier={};
if(typeof ServiceTier.DSMovie == "undefined") ServiceTier.DSMovie={};
ServiceTier.DSMovie_class = function() {};
Object.extend(ServiceTier.DSMovie_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	addMovie: function(arrMovie) {
		return this.invoke("addMovie", {"arrMovie":arrMovie}, this.addMovie.getArguments().slice(1));
	},
	goFirstPage: function(arrCondition) {
		return this.invoke("goFirstPage", {"arrCondition":arrCondition}, this.goFirstPage.getArguments().slice(1));
	},
	goLastPage: function(arrCondition, nTotalMovie) {
		return this.invoke("goLastPage", {"arrCondition":arrCondition, "nTotalMovie":nTotalMovie}, this.goLastPage.getArguments().slice(2));
	},
	goNextPage: function(arrCondition, strOnIdLimit) {
		return this.invoke("goNextPage", {"arrCondition":arrCondition, "strOnIdLimit":strOnIdLimit}, this.goNextPage.getArguments().slice(2));
	},
	goPreviousPage: function(arrCondition, strUnderIdLimit) {
		return this.invoke("goPreviousPage", {"arrCondition":arrCondition, "strUnderIdLimit":strUnderIdLimit}, this.goPreviousPage.getArguments().slice(2));
	},
	jumpMoviePage: function(arrCondition) {
		return this.invoke("jumpMoviePage", {"arrCondition":arrCondition}, this.jumpMoviePage.getArguments().slice(1));
	},
	searchMovie: function(arrCondition) {
		return this.invoke("searchMovie", {"arrCondition":arrCondition}, this.searchMovie.getArguments().slice(1));
	},
	editMovie: function(arrMovie) {
		return this.invoke("editMovie", {"arrMovie":arrMovie}, this.editMovie.getArguments().slice(1));
	},
	remove: function(arrCondition, arrMovieId) {
		return this.invoke("remove", {"arrCondition":arrCondition, "arrMovieId":arrMovieId}, this.remove.getArguments().slice(2));
	},
	getFirstPage: function(arrCondition) {
		return this.invoke("getFirstPage", {"arrCondition":arrCondition}, this.getFirstPage.getArguments().slice(1));
	},
	getLastPage: function(arrCondition, nTotalMovie) {
		return this.invoke("getLastPage", {"arrCondition":arrCondition, "nTotalMovie":nTotalMovie}, this.getLastPage.getArguments().slice(2));
	},
	getNextPage: function(arrCondition, strOnIdLimit) {
		return this.invoke("getNextPage", {"arrCondition":arrCondition, "strOnIdLimit":strOnIdLimit}, this.getNextPage.getArguments().slice(2));
	},
	getPreviousPage: function(arrCondition, strUnderIdLimit) {
		return this.invoke("getPreviousPage", {"arrCondition":arrCondition, "strUnderIdLimit":strUnderIdLimit}, this.getPreviousPage.getArguments().slice(2));
	},
	getMoviePage: function(arrCondition) {
		return this.invoke("getMoviePage", {"arrCondition":arrCondition}, this.getMoviePage.getArguments().slice(1));
	},
	url: '/ajaxpro/ServiceTier.DSMovie,ServiceTier.ashx'
}));
ServiceTier.DSMovie = new ServiceTier.DSMovie_class();

