public static interface ContentPropertyService.Validator
Modifier and Type | Method and Description |
---|---|
ValidationResult |
validateCreate(JsonContentProperty newProperty)
Validate that a content property can be created, including permission checks.
|
ValidationResult |
validateDelete(JsonContentProperty property)
Validate that a content property can be deleted, including permission checks.
|
ValidationResult |
validateUpdate(JsonContentProperty property)
Validate that a content property can be updated, including permission checks.
|
ValidationResult validateCreate(JsonContentProperty newProperty)
newProperty
- the content to be createdValidationResult validateUpdate(JsonContentProperty property) throws ConflictException
property
- the content property to be updatedConflictException
ValidationResult validateDelete(JsonContentProperty property)
property
- the content property to be deletedCopyright © 2003–2017 Atlassian. All rights reserved.