use of com.linkedin.restli.common.validation.RestLiDataValidator in project parseq by linkedin.
the class AnnotatedComplexKeysBatchPartialUpdateBuilder method validateInput.
public static ValidationResult validateInput(PatchRequest<Message> patch) {
Map<String, List<String>> annotations = new HashMap<String, List<String>>();
RestLiDataValidator validator = new RestLiDataValidator(annotations, Message.class, ResourceMethod.BATCH_PARTIAL_UPDATE);
return validator.validateInput(patch);
}
use of com.linkedin.restli.common.validation.RestLiDataValidator in project parseq by linkedin.
the class AnnotatedComplexKeysBatchPartialUpdateRequestBuilder method validateInput.
public static ValidationResult validateInput(PatchRequest<Message> patch) {
Map<String, List<String>> annotations = new HashMap<String, List<String>>();
RestLiDataValidator validator = new RestLiDataValidator(annotations, Message.class, ResourceMethod.BATCH_PARTIAL_UPDATE);
return validator.validateInput(patch);
}
use of com.linkedin.restli.common.validation.RestLiDataValidator in project parseq by linkedin.
the class AnnotatedComplexKeysCreateRequestBuilder method validateInput.
public static ValidationResult validateInput(Message input) {
Map<String, List<String>> annotations = new HashMap<String, List<String>>();
RestLiDataValidator validator = new RestLiDataValidator(annotations, Message.class, ResourceMethod.CREATE);
return validator.validateInput(input);
}
use of com.linkedin.restli.common.validation.RestLiDataValidator in project parseq by linkedin.
the class AssociationsBatchPartialUpdateBuilder method validateInput.
public static ValidationResult validateInput(PatchRequest<Message> patch) {
Map<String, List<String>> annotations = new HashMap<String, List<String>>();
RestLiDataValidator validator = new RestLiDataValidator(annotations, Message.class, ResourceMethod.BATCH_PARTIAL_UPDATE);
return validator.validateInput(patch);
}
use of com.linkedin.restli.common.validation.RestLiDataValidator in project parseq by linkedin.
the class AssociationsBatchPartialUpdateRequestBuilder method validateInput.
public static ValidationResult validateInput(PatchRequest<Message> patch) {
Map<String, List<String>> annotations = new HashMap<String, List<String>>();
RestLiDataValidator validator = new RestLiDataValidator(annotations, Message.class, ResourceMethod.BATCH_PARTIAL_UPDATE);
return validator.validateInput(patch);
}
Aggregations