Package com.atlassian.jira.sharing.type
Interface ShareTypeValidator
- All Known Implementing Classes:
AuthenticatedUserShareTypeValidator,GlobalShareTypeValidator,GroupShareTypeValidator,ProjectShareTypeValidator,UserShareTypeValidator
public interface ShareTypeValidator
Interface that defines the validation of a particular
ShareType. Validation is checking that its associated
SharePermission or ShareTypeSearchParameter is valid.-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbooleancheckSearchParameter(JiraServiceContext ctx, ShareTypeSearchParameter searchParameter) Check to see if the passed SearchParameter is valid for the ShareType.booleancheckSharePermission(JiraServiceContext ctx, SharePermission permission) Checks if the passed SharePermission is valid for the associated ShareType.
-
Field Details
-
ERROR_KEY
Key used for any error messages.- See Also:
-
DELEGATED_ERROR_KEY
- See Also:
-
-
Method Details