Interface PolicyService
-
- All Known Implementing Classes:
PolicyServiceImpl
public interface PolicyService
Validates changes on content- Since:
- 4.0.0
- Author:
- joseross
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<ValidationResult>
validate(String siteId, List<Action> actions)
Performs the validation of one or more actions for a given site
-
-
-
Method Detail
-
validate
List<ValidationResult> validate(String siteId, List<Action> actions) throws ConfigurationException, IOException, ContentNotFoundException
Performs the validation of one or more actions for a given site- Parameters:
siteId
- the id of the siteactions
- the list of actions to validate- Returns:
- the validation results
- Throws:
ConfigurationException
- if there any error parsing the configurationIOException
- if the is any error reading the configurationContentNotFoundException
- if there is any error reading the site repository
-
-