GroupManager.js

/**
 * @classdesc  
 * Provides the APIs for managing user groups in CompleteFTP. Instances of this class should be obtained using 
 * {@link Config#users|Config.groups}.
 * @class
 * @hideconstructor
*/
GroupManager = function () {
	/**
	* Adds a group with the given name.
	*
	* @method
	* @param {String} groupName Name of the group to create.
	* @return {Group} A {@link Group} object for the added group.
	*/
	this.add = function (groupName) { }

	/**
	* Deletes the given group.
	*
	* @method
	* @param {String} groupName Name of the group to be deleted.
	*/
	this.remove = function (groupName) { }

	/**
	* Returns a {@link Group} object for the given group name.
	*
	* @method
	* @param {String} groupName Name of the group.
	* @return {Group}
	*/
	this.get = function () { }

	/**
	* Returns an array of {@link Group} objects representing all groups in CompleteFTP including inbuilt ones.
	*
	* @method
	* @return {Group[]} 
	*/
	this.toArray = function () { }

}