Class ProfileService#

Inheritance Relationships#

Base Type#

Class Documentation#

class xbe.sdk.Services.ProfileService : xbe.sdk.ServiceBase#

Public Functions

ProfileService ()#
Task<Profile> FindMyProfile ()#

Retrieves the instance of Profile associated with the logged in user.

Task<Profile> UpdateMyProfile (Profile obj)#

Updates the instance of Profile associated with the logged in user.

Param obj:

The object to update with the remote service.

Task DeleteMyProfile ()#

Deletes the instance of Profile associated with the logged in user.

Task<List<Profile>> FindAll (Dictionary<string, string> query = null)#

Returns all profiles from the system that the user has access to.

Task<Profile> Create (Profile obj)#

Create a new profile.

Task<Profile> FindById (string id)#

Returns a single profile from the system that the user has access to.

Task<Profile> Update (string id, Profile obj)#

Updates a single profile.

Task<Object> GetUserPresence (string id)#

Retrieves the presence data for the user with the specified identifier.

Param id:

The unique identifier of the user whose presence will be retrieved.

Return:

Task SetUserPresence (string id, Object presence)#

Updates the user presence data for the given unique identifier and presence data.

Param id:

The unique identifier of the user whose presence will be updated.

Param presence:

The presence data to update.

Return:

Task<long?> Count (Dictionary<string, string> query = null)#

Retrieves the Entities Count based on the given criteria.

Return:

Entity Count

Task Delete (string id)#

Deletes an instance of T with the specified unique identifier.

Return:

Task