Uses of Class
org.wso2.carbon.registry.social.api.SocialDataException
-
-
Uses of SocialDataException in org.wso2.carbon.registry.social.api.activity
Methods in org.wso2.carbon.registry.social.api.activity that throw SocialDataException Modifier and Type Method 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 detailsvoid
ActivityManager. deleteActivities(String userId, String groupId, String appId, Set<String> activityIds)
Deletes the activities for the given activityIdsvoid
ActivityManager. deleteActivity(String userId, String activityId, String appId)
Removes the activity of the given userIdActivity[]
ActivityManager. getActivities(String[] userIds, String groupId, String appId, Set<String> fields, FilterOptions options)
Returns an array of Activity objects to the passed parametersActivity[]
ActivityManager. getActivities(String userId, String groupId, String appId, Set<String> fields, FilterOptions options, String[] activityIds)
Returns an array of Activity objects to the passed activityIdsActivity
ActivityManager. getActivity(String userId, String groupId, String appId, Set<String> fields, String activityId)
Returns the Activity object for the given uservoid
ActivityManager. saveActivity(String userId, Activity userActivity)
Persists the activity for the given userIdvoid
ActivityManager. updateActivity(String userId, Activity userActivity)
Updates the activity of the given userId -
Uses of SocialDataException in org.wso2.carbon.registry.social.api.activityStream
Methods in org.wso2.carbon.registry.social.api.activityStream that throw SocialDataException Modifier and Type Method 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 userIdvoid
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 userIdvoid
ActivityStreamManager. updateActivityEntry(String userId, ActivityEntry activity)
Updates the specified Activity. -
Uses of SocialDataException in org.wso2.carbon.registry.social.api.appdata
Methods in org.wso2.carbon.registry.social.api.appdata that throw SocialDataException Modifier and Type Method Description void
AppDataManager. deletePersonData(String userId, String groupId, String appId, Set<String> fields)
Deletes data for the specified user and groupMap<String,Map<String,String>>
AppDataManager. getPersonData(String[] userIds, String groupId, String appId, Set<String> fields)
Retrieves app data for the specified user list and groupvoid
AppDataManager. savePersonData(String userId, String appId, Map<String,String> values)
Save app data for the specified user with the given valuesvoid
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 -
Uses of SocialDataException in org.wso2.carbon.registry.social.api.people
Methods in org.wso2.carbon.registry.social.api.people that throw SocialDataException Modifier and Type Method Description Person[]
PersonManager. getPeople(String[] userIds, String groupId, FilterOptions filterOptions, String[] fields)
Returns an array of persons that correspond to the passed in useIdsPerson
PersonManager. getPerson(String userId)
Fetches the person details for the given userIdPerson
PersonManager. getPerson(String userId, String[] fields)
Returns a person that corresponds to the passed in userIdsboolean
PersonManager. removePerson(String userId)
Removes the person from the storageboolean
PersonManager. savePerson(String userId, Person user)
Persists the details of the personboolean
PersonManager. updatePerson(String userId, Person user)
Updates/Modify person details -
Uses of SocialDataException in org.wso2.carbon.registry.social.api.people.relationship
Methods in org.wso2.carbon.registry.social.api.people.relationship that throw SocialDataException Modifier and Type Method Description boolean
RelationshipManager. acceptRelationshipRequest(String viewer, String owner)
Creates a relationship between viewer and ownerString[]
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 ownerboolean
RelationshipManager. removeRelationship(String owner, String viewer)
Removes the relationship between owner and viewer Implementation should remove the association between owner and viewerboolean
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
-