Interface PolicyService
- All Known Implementing Classes:
PolicyServiceImpl
public interface PolicyService
Validates changes on content
- Since:
- 4.0.0
- Author:
- joseross
-
Method Summary
-
Method Details
-
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
-