|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.gadgets.refimpl.PluginSettingsAppDataService
public class PluginSettingsAppDataService
An AppDataService implementation backed by SAL's PluginSettings
| Constructor Summary | |
|---|---|
PluginSettingsAppDataService(com.atlassian.sal.api.pluginsettings.PluginSettingsFactory pluginSettingsFactory)
|
|
| Method Summary | |
|---|---|
void |
deletePersonData(PersonId personId,
AppId appId,
OpenSocialRequestContext requestContext)
Delete all application data for the specified person and all fields |
void |
deletePersonData(PersonId personId,
AppId appId,
Set<String> fields,
OpenSocialRequestContext requestContext)
Delete all application data for the specified person and fields |
Map<PersonId,Map<String,String>> |
getPeopleData(Set<PersonId> people,
AppId appId,
OpenSocialRequestContext requestContext)
Fetch the application data for the specified people and all fields |
Map<PersonId,Map<String,String>> |
getPeopleData(Set<PersonId> people,
AppId appId,
Set<String> fields,
OpenSocialRequestContext requestContext)
Fetch the application data for the specified people |
void |
updatePersonData(PersonId personId,
AppId appId,
Map<String,String> values,
OpenSocialRequestContext requestContext)
Update (add or modify) application data for the specified person with the specified field / value pairs. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PluginSettingsAppDataService(com.atlassian.sal.api.pluginsettings.PluginSettingsFactory pluginSettingsFactory)
| Method Detail |
|---|
public Map<PersonId,Map<String,String>> getPeopleData(Set<PersonId> people,
AppId appId,
Set<String> fields,
OpenSocialRequestContext requestContext)
throws AppDataServiceException
AppDataService
getPeopleData in interface AppDataServicepeople - The people whose data is being requestedappId - The app id for the gadget making this requestfields - The requested fieldsrequestContext - The request context
AppDataServiceException - if there is a problem while performing this operation
public Map<PersonId,Map<String,String>> getPeopleData(Set<PersonId> people,
AppId appId,
OpenSocialRequestContext requestContext)
throws AppDataServiceException
AppDataService
getPeopleData in interface AppDataServicepeople - The people whose data is being requestedappId - The app id for the gadget making this requestrequestContext - The request context
AppDataServiceException
public void deletePersonData(PersonId personId,
AppId appId,
Set<String> fields,
OpenSocialRequestContext requestContext)
throws AppDataServiceException
AppDataService
deletePersonData in interface AppDataServicepersonId - The person whose data is being deletedappId - The app id for the gadget making this requestfields - The requested fieldsrequestContext - The request context
AppDataServiceException - if there is a problem while performing this operation
public void deletePersonData(PersonId personId,
AppId appId,
OpenSocialRequestContext requestContext)
throws AppDataServiceException
AppDataService
deletePersonData in interface AppDataServicepersonId - The person whose data is being deletedappId - The app id for the gadget making this requestrequestContext - The request context
AppDataServiceException - if there is a problem while performing this operation
public void updatePersonData(PersonId personId,
AppId appId,
Map<String,String> values,
OpenSocialRequestContext requestContext)
throws AppDataServiceException
AppDataService
updatePersonData in interface AppDataServicepersonId - The person whose data is being updatedappId - The app id for the gadget making this requestvalues - The new values for the fields to take onrequestContext - The request context
AppDataServiceException - if there is a problem while performing this operation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||