public class BasePropertyWithKeyResource<E extends WithId & WithKey> extends BasePropertyResource<E>
Constructor and Description |
---|
BasePropertyWithKeyResource(EntityWithKeyPropertyService<E> entityPropertyService,
JiraAuthenticationContext authContext,
JiraBaseUrls jiraBaseUrls,
I18nHelper i18n,
com.google.common.base.Predicate<String> validKeyPredicate,
java.util.function.BiFunction<Long,String,String> entityIdAndPropertyKeyToSelfFunction,
EntityPropertyType entityPropertyType) |
Modifier and Type | Method and Description |
---|---|
protected EntityPropertyService.PropertyKeys<E> |
getPropertiesKeys(ApplicationUser user,
String idOrKey) |
protected EntityPropertyService.PropertyResult |
getProperty(ApplicationUser user,
String propertyKey,
String idOrKey) |
protected EntityPropertyService.DeletePropertyValidationResult |
validateDeleteProperty(ApplicationUser user,
String propertyKey,
String id) |
protected EntityPropertyService.SetPropertyValidationResult |
validateSetProperty(ApplicationUser user,
EntityPropertyService.PropertyInput propertyInput,
String idOrKey) |
deleteProperty, getPropertiesKeys, getProperty, setProperty, withIdValidation, withSelfFunction
public BasePropertyWithKeyResource(EntityWithKeyPropertyService<E> entityPropertyService, JiraAuthenticationContext authContext, JiraBaseUrls jiraBaseUrls, I18nHelper i18n, com.google.common.base.Predicate<String> validKeyPredicate, java.util.function.BiFunction<Long,String,String> entityIdAndPropertyKeyToSelfFunction, EntityPropertyType entityPropertyType)
protected EntityPropertyService.PropertyKeys<E> getPropertiesKeys(ApplicationUser user, String idOrKey)
getPropertiesKeys
in class BasePropertyResource<E extends WithId & WithKey>
protected EntityPropertyService.SetPropertyValidationResult validateSetProperty(ApplicationUser user, EntityPropertyService.PropertyInput propertyInput, String idOrKey)
validateSetProperty
in class BasePropertyResource<E extends WithId & WithKey>
protected EntityPropertyService.PropertyResult getProperty(ApplicationUser user, String propertyKey, String idOrKey)
getProperty
in class BasePropertyResource<E extends WithId & WithKey>
protected EntityPropertyService.DeletePropertyValidationResult validateDeleteProperty(ApplicationUser user, String propertyKey, String id)
validateDeleteProperty
in class BasePropertyResource<E extends WithId & WithKey>
Copyright © 2002-2019 Atlassian. All Rights Reserved.