com.hascode.confluence.plugin.socialcomments.persistence
Class SocialCommentsConfigurationServiceImpl
java.lang.Object
com.hascode.confluence.plugin.socialcomments.persistence.SocialCommentsConfigurationServiceImpl
- All Implemented Interfaces:
- SocialCommentsConfigurationService
public class SocialCommentsConfigurationServiceImpl
- extends Object
- implements SocialCommentsConfigurationService
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SocialCommentsConfigurationServiceImpl
public SocialCommentsConfigurationServiceImpl(com.atlassian.bandana.BandanaManager bandanaManager)
validate
public Set<javax.validation.ConstraintViolation<SocialCommentsConfiguration>> validate(SocialCommentsConfiguration config)
- Description copied from interface:
SocialCommentsConfigurationService
- validates a given configuration
- Specified by:
validate
in interface SocialCommentsConfigurationService
- Parameters:
config
- the configuration to validate
- Returns:
- a set of generic constraint violations
saveOrUpdate
public void saveOrUpdate(SocialCommentsConfiguration config)
- Description copied from interface:
SocialCommentsConfigurationService
- saves or updates the configuration
- Specified by:
saveOrUpdate
in interface SocialCommentsConfigurationService
- Parameters:
config
- the configuration
load
public SocialCommentsConfiguration load()
- Description copied from interface:
SocialCommentsConfigurationService
- returns the configuration from the persistence api
- Specified by:
load
in interface SocialCommentsConfigurationService
- Returns:
- the configuration
Copyright © 2011 hasCode.com. All Rights Reserved.