When I add a new Category, I use a CategoryDTO class, which contains a parameter friendlyUrl validated by @FriendlyURL validator:
@FriendlyURL(exists = false, message = "error.friendly.url.already.exists")
private String friendlyUrl;
When I update the Category I want to use the same CategoryDTO with @FriendlyURL validator but now with options `exists=true' and message = "error.friendly.url.not.found"
@FriendlyURL(exists = true, message = "error.friendly.url.not.found")
Is this possible or should I create a new DTO for the update method?