com.hascode.confluence.plugin.socialcomments.persistence
Interface SocialCommentsConfigurationService

All Known Implementing Classes:
SocialCommentsConfigurationServiceImpl

public interface SocialCommentsConfigurationService


Method Summary
 SocialCommentsConfiguration load()
          returns the configuration from the persistence api
 void saveOrUpdate(SocialCommentsConfiguration config)
          saves or updates the configuration
 Set<javax.validation.ConstraintViolation<SocialCommentsConfiguration>> validate(SocialCommentsConfiguration config)
          validates a given configuration
 

Method Detail

validate

Set<javax.validation.ConstraintViolation<SocialCommentsConfiguration>> validate(SocialCommentsConfiguration config)
validates a given configuration

Parameters:
config - the configuration to validate
Returns:
a set of generic constraint violations

saveOrUpdate

void saveOrUpdate(SocialCommentsConfiguration config)
saves or updates the configuration

Parameters:
config - the configuration

load

SocialCommentsConfiguration load()
returns the configuration from the persistence api

Returns:
the configuration


Copyright © 2011 hasCode.com. All Rights Reserved.