Class UserDataService

UserDataService

Class Summary
Constructor Attributes Constructor Name and Description
 
A Class to handle All Kind of Data Services Associated with Nexcel Sheet

Method Summary

Class Detail

UserDataService()
A Class to handle All Kind of Data Services Associated with Nexcel Sheet
require('UserDataService')

Method Detail

  • <static> {Integer} UserDataService.addFolder(name, parentId, callback)
    An Asynchronous process. It creates teh given folder in the server, and return with the folder id. As it is an Asynchronous process it calls the callback function to update in the ui.
    Parameters:
    name
    Name of the folder
    parentId
    the Parent folder Id
    callback
    The call back function will be called once the Asynchronous process is completed.
    Returns:
    {Integer} groupId The unique identification for the group.
  • <static> {Void} UserDataService.login(id, name)
    An Asynchronous process to login the given user in the server and hence can keep the session maintained.
    Parameters:
    id
    The workbook Id
    name
    The new Name for teh workbook.
    Returns:
    {Void}
  • <static> {Void} UserDataService.renameWorkBook(id, name)
    An Asynchronous process. It updates teh name in the server with the new workbook name.
    Parameters:
    id
    The workbook Id
    name
    The new Name for teh workbook.
    Returns:
    {Void}