com.atlassian.gadgets.refimpl
Class PluginSettingsAppDataService

java.lang.Object
  extended by com.atlassian.gadgets.refimpl.PluginSettingsAppDataService
All Implemented Interfaces:
com.atlassian.gadgets.opensocial.spi.AppDataService

public class PluginSettingsAppDataService
extends Object
implements com.atlassian.gadgets.opensocial.spi.AppDataService

An AppDataService implementation backed by SAL's PluginSettings


Constructor Summary
PluginSettingsAppDataService(com.atlassian.sal.api.pluginsettings.PluginSettingsFactory pluginSettingsFactory)
           
 
Method Summary
 void deletePersonData(com.atlassian.gadgets.opensocial.model.PersonId personId, com.atlassian.gadgets.opensocial.model.AppId appId, com.atlassian.gadgets.opensocial.OpenSocialRequestContext requestContext)
           
 void deletePersonData(com.atlassian.gadgets.opensocial.model.PersonId personId, com.atlassian.gadgets.opensocial.model.AppId appId, Set<String> fields, com.atlassian.gadgets.opensocial.OpenSocialRequestContext requestContext)
           
 Map<com.atlassian.gadgets.opensocial.model.PersonId,Map<String,String>> getPeopleData(Set<com.atlassian.gadgets.opensocial.model.PersonId> people, com.atlassian.gadgets.opensocial.model.AppId appId, com.atlassian.gadgets.opensocial.OpenSocialRequestContext requestContext)
           
 Map<com.atlassian.gadgets.opensocial.model.PersonId,Map<String,String>> getPeopleData(Set<com.atlassian.gadgets.opensocial.model.PersonId> people, com.atlassian.gadgets.opensocial.model.AppId appId, Set<String> fields, com.atlassian.gadgets.opensocial.OpenSocialRequestContext requestContext)
           
 void updatePersonData(com.atlassian.gadgets.opensocial.model.PersonId personId, com.atlassian.gadgets.opensocial.model.AppId appId, Map<String,String> values, com.atlassian.gadgets.opensocial.OpenSocialRequestContext requestContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PluginSettingsAppDataService

public PluginSettingsAppDataService(com.atlassian.sal.api.pluginsettings.PluginSettingsFactory pluginSettingsFactory)
Method Detail

getPeopleData

public Map<com.atlassian.gadgets.opensocial.model.PersonId,Map<String,String>> getPeopleData(Set<com.atlassian.gadgets.opensocial.model.PersonId> people,
                                                                                             com.atlassian.gadgets.opensocial.model.AppId appId,
                                                                                             Set<String> fields,
                                                                                             com.atlassian.gadgets.opensocial.OpenSocialRequestContext requestContext)
                                                                                      throws com.atlassian.gadgets.opensocial.spi.AppDataServiceException
Specified by:
getPeopleData in interface com.atlassian.gadgets.opensocial.spi.AppDataService
Throws:
com.atlassian.gadgets.opensocial.spi.AppDataServiceException

getPeopleData

public Map<com.atlassian.gadgets.opensocial.model.PersonId,Map<String,String>> getPeopleData(Set<com.atlassian.gadgets.opensocial.model.PersonId> people,
                                                                                             com.atlassian.gadgets.opensocial.model.AppId appId,
                                                                                             com.atlassian.gadgets.opensocial.OpenSocialRequestContext requestContext)
                                                                                      throws com.atlassian.gadgets.opensocial.spi.AppDataServiceException
Specified by:
getPeopleData in interface com.atlassian.gadgets.opensocial.spi.AppDataService
Throws:
com.atlassian.gadgets.opensocial.spi.AppDataServiceException

deletePersonData

public void deletePersonData(com.atlassian.gadgets.opensocial.model.PersonId personId,
                             com.atlassian.gadgets.opensocial.model.AppId appId,
                             Set<String> fields,
                             com.atlassian.gadgets.opensocial.OpenSocialRequestContext requestContext)
                      throws com.atlassian.gadgets.opensocial.spi.AppDataServiceException
Specified by:
deletePersonData in interface com.atlassian.gadgets.opensocial.spi.AppDataService
Throws:
com.atlassian.gadgets.opensocial.spi.AppDataServiceException

deletePersonData

public void deletePersonData(com.atlassian.gadgets.opensocial.model.PersonId personId,
                             com.atlassian.gadgets.opensocial.model.AppId appId,
                             com.atlassian.gadgets.opensocial.OpenSocialRequestContext requestContext)
                      throws com.atlassian.gadgets.opensocial.spi.AppDataServiceException
Specified by:
deletePersonData in interface com.atlassian.gadgets.opensocial.spi.AppDataService
Throws:
com.atlassian.gadgets.opensocial.spi.AppDataServiceException

updatePersonData

public void updatePersonData(com.atlassian.gadgets.opensocial.model.PersonId personId,
                             com.atlassian.gadgets.opensocial.model.AppId appId,
                             Map<String,String> values,
                             com.atlassian.gadgets.opensocial.OpenSocialRequestContext requestContext)
                      throws com.atlassian.gadgets.opensocial.spi.AppDataServiceException
Specified by:
updatePersonData in interface com.atlassian.gadgets.opensocial.spi.AppDataService
Throws:
com.atlassian.gadgets.opensocial.spi.AppDataServiceException


Copyright © 2013 Atlassian. All Rights Reserved.