//-------------------------------
// Class
//-------------------------------

function RecentActivityController() {
	
	var _self = this;

	//-------------------------------
	// Constants
	//-------------------------------
	
	RecentActivityController.prototype.REFRESH_FEED = "refresh_feed";
	
	var PAGES_VISIBLE 	= 5;
	
	//-------------------------------
	// Properties
	//-------------------------------
	
	var _recentActivityView;
	
	var _pagination = new Object();
	var _timer// = setInterval(onTimer, 12000);
	var _paused = false;

	//-------------------------------
	// Constructor
	//-------------------------------
	
	$j(function() {
		_recentActivityView = new RecentActivityView();
	});
	
	//-------------------------------
	// Public Methods
	//-------------------------------
	
	_self.init = function(feed) {
		_recentActivityView.deploy(feed);
	}
	
	_self.controls = function(data) {
		_recentActivityView.controls(data);
	}
	
	_self.update = function(data) {
		_recentActivityView.remove(data);
		_recentActivityView.add(data);
		
	}
	
	//-------------------------------
	// Private Methods
	//-------------------------------
	

	
	//-------------------------------
	// Listeners
	//-------------------------------

	
}
