Modifier and Type | Method and Description |
---|---|
void |
ActivityManager.createActivity(String userId,
String groupId,
String appId,
Set<String> fields,
Activity activity)
Creates an Activity object for the given person using the given details
|
void |
ActivityManager.deleteActivities(String userId,
String groupId,
String appId,
Set<String> activityIds)
Deletes the activities for the given activityIds
|
void |
ActivityManager.deleteActivity(String userId,
String activityId,
String appId)
Removes the activity of the given userId
|
Activity[] |
ActivityManager.getActivities(String[] userIds,
String groupId,
String appId,
Set<String> fields,
FilterOptions options)
Returns an array of Activity objects to the passed parameters
|
Activity[] |
ActivityManager.getActivities(String userId,
String groupId,
String appId,
Set<String> fields,
FilterOptions options,
String[] activityIds)
Returns an array of Activity objects to the passed activityIds
|
Activity |
ActivityManager.getActivity(String userId,
String groupId,
String appId,
Set<String> fields,
String activityId)
Returns the Activity object for the given user
|
void |
ActivityManager.saveActivity(String userId,
Activity userActivity)
Persists the activity for the given userId
|
void |
ActivityManager.updateActivity(String userId,
Activity userActivity)
Updates the activity of the given userId
|
Modifier and Type | Method and Description |
---|---|
void |
ActivityStreamManager.createActivityEntry(String userId,
String groupId,
String appId,
Set<String> fields,
ActivityEntry activity)
Creates the passed in activity for the passed in user and group.
|
void |
ActivityStreamManager.deleteActivity(String userId,
String activityId,
String appId)
Removes the activity of the given userId
|
void |
ActivityStreamManager.deleteActivityEntries(String userId,
String groupId,
String appId,
Set<String> activityIds)
Deletes the activity for the passed in user and group that corresponds to the activityId.
|
ActivityEntry[] |
ActivityStreamManager.getActivityEntries(String[] userIds,
String groupId,
String appId,
Set<String> fields,
FilterOptions options)
Returns a list of activities that correspond to the passed in users and group.
|
ActivityEntry[] |
ActivityStreamManager.getActivityEntries(String userId,
String groupId,
String appId,
Set<String> fields,
FilterOptions options,
String[] activityIds)
Returns a set of activities for the passed in user and group that corresponds to a list of
activityIds.
|
ActivityEntry |
ActivityStreamManager.getActivityEntry(String userId,
String groupId,
String appId,
Set<String> fields,
String activityId)
Returns an activity for the passed in user and group that corresponds to a single
activityId.
|
void |
ActivityStreamManager.saveActivity(String userId,
ActivityEntry activity)
Persists the activity for the given userId
|
void |
ActivityStreamManager.updateActivityEntry(String userId,
ActivityEntry activity)
Updates the specified Activity.
|
Modifier and Type | Method and Description |
---|---|
void |
AppDataManager.deletePersonData(String userId,
String groupId,
String appId,
Set<String> fields)
Deletes data for the specified user and group
|
Map<String,Map<String,String>> |
AppDataManager.getPersonData(String[] userIds,
String groupId,
String appId,
Set<String> fields)
Retrieves app data for the specified user list and group
|
void |
AppDataManager.savePersonData(String userId,
String appId,
Map<String,String> values)
Save app data for the specified user with the given values
|
void |
AppDataManager.updatePersonData(String userId,
String groupId,
String appId,
Set<String> fields,
Map<String,String> values)
Updates app data for the specified user and group with the new values
|
Modifier and Type | Method and Description |
---|---|
Person[] |
PersonManager.getPeople(String[] userIds,
String groupId,
FilterOptions filterOptions,
String[] fields)
Returns an array of persons that correspond to the passed in useIds
|
Person |
PersonManager.getPerson(String userId)
Fetches the person details for the given userId
|
Person |
PersonManager.getPerson(String userId,
String[] fields)
Returns a person that corresponds to the passed in userIds
|
boolean |
PersonManager.removePerson(String userId)
Removes the person from the storage
|
boolean |
PersonManager.savePerson(String userId,
Person user)
Persists the details of the person
|
boolean |
PersonManager.updatePerson(String userId,
Person user)
Updates/Modify person details
|
Modifier and Type | Method and Description |
---|---|
boolean |
RelationshipManager.acceptRelationshipRequest(String viewer,
String owner)
Creates a relationship between viewer and owner
|
String[] |
RelationshipManager.getPendingRelationshipRequests(String owner) |
String[] |
RelationshipManager.getRelationshipList(String loggedUser) |
String |
RelationshipManager.getRelationshipStatus(String viewer,
String owner) |
boolean |
RelationshipManager.ignoreRelationship(String viewer,
String owner)
Ignores the relationship request from viewer to owner
Implementation should remove the userId of viewer from the pending-relationship-requests list of the owner
|
boolean |
RelationshipManager.removeRelationship(String owner,
String viewer)
Removes the relationship between owner and viewer
Implementation should remove the association between owner and viewer
|
boolean |
RelationshipManager.requestRelationship(String viewer,
String owner)
Creates a relationship request from viewer to owner
The userId of viewer should be added to the pending relationship requests of the owner
|
Copyright © 2018 WSO2. All Rights Reserved.