Package org.xwiki.model.validation
Interface EntityNameValidationManager
-
@Role public interface EntityNameValidationManager
Manage the availableEntityNameValidation
components.- Since:
- 12.0RC1
- Version:
- $Id: 131b15bdb5c2a983084353791179a9f5969ca9e2 $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Set<String>
getAvailableEntityNameValidations()
EntityNameValidation
getEntityReferenceNameStrategy()
EntityNameValidation
getEntityReferenceNameStrategy(String hint)
void
resetStrategies()
Allow to reset the configuration of the strategies.
-
-
-
Method Detail
-
getEntityReferenceNameStrategy
EntityNameValidation getEntityReferenceNameStrategy()
- Returns:
- the current strategy as defined in the
EntityNameValidationConfiguration
.
-
getEntityReferenceNameStrategy
EntityNameValidation getEntityReferenceNameStrategy(String hint)
- Parameters:
hint
- hint of the name strategy to retrieve.- Returns:
- the @
EntityNameValidation
for the given hint.
-
getAvailableEntityNameValidations
Set<String> getAvailableEntityNameValidations()
- Returns:
- the names of available strategies.
-
resetStrategies
void resetStrategies()
Allow to reset the configuration of the strategies.
-
-