java.lang.Object
com.atlassian.jira.rest.v2.entity.property.BasePropertyResource<E>
com.atlassian.jira.rest.v2.entity.property.BasePropertyWithKeyResource<E>
public class BasePropertyWithKeyResource<E extends WithId & WithKey>
extends BasePropertyResource<E>
- Since:
- v6.2
-
Constructor Summary
ConstructorsConstructorDescriptionBasePropertyWithKeyResource(EntityWithKeyPropertyService<E> entityPropertyService, JiraAuthenticationContext authContext, JiraBaseUrls jiraBaseUrls, I18nHelper i18n, com.google.common.base.Predicate<String> validKeyPredicate, BiFunction<Long, String, String> entityIdAndPropertyKeyToSelfFunction, EntityPropertyType entityPropertyType) -
Method Summary
Modifier and TypeMethodDescriptionprotected EntityPropertyService.PropertyKeys<E>getPropertiesKeys(ApplicationUser user, String idOrKey) protected EntityPropertyService.PropertyResultgetProperty(ApplicationUser user, String propertyKey, String idOrKey) validateDeleteProperty(ApplicationUser user, String propertyKey, String id) validateSetProperty(ApplicationUser user, EntityPropertyService.PropertyInput propertyInput, String idOrKey) Methods inherited from class com.atlassian.jira.rest.v2.entity.property.BasePropertyResource
deleteProperty, getPropertiesKeys, getProperty, setProperty, withIdValidation, withSelfFunction
-
Constructor Details
-
BasePropertyWithKeyResource
@Inject public BasePropertyWithKeyResource(EntityWithKeyPropertyService<E> entityPropertyService, JiraAuthenticationContext authContext, JiraBaseUrls jiraBaseUrls, I18nHelper i18n, com.google.common.base.Predicate<String> validKeyPredicate, BiFunction<Long, String, String> entityIdAndPropertyKeyToSelfFunction, EntityPropertyType entityPropertyType)
-
-
Method Details
-
getPropertiesKeys
protected EntityPropertyService.PropertyKeys<E> getPropertiesKeys(ApplicationUser user, String idOrKey) - Overrides:
getPropertiesKeysin classBasePropertyResource<E extends WithId & WithKey>
-
validateSetProperty
protected EntityPropertyService.SetPropertyValidationResult validateSetProperty(ApplicationUser user, EntityPropertyService.PropertyInput propertyInput, String idOrKey) - Overrides:
validateSetPropertyin classBasePropertyResource<E extends WithId & WithKey>
-
getProperty
protected EntityPropertyService.PropertyResult getProperty(ApplicationUser user, String propertyKey, String idOrKey) - Overrides:
getPropertyin classBasePropertyResource<E extends WithId & WithKey>
-
validateDeleteProperty
protected EntityPropertyService.DeletePropertyValidationResult validateDeleteProperty(ApplicationUser user, String propertyKey, String id) - Overrides:
validateDeletePropertyin classBasePropertyResource<E extends WithId & WithKey>
-