com.atlassian.jira.entity.property.EntityWithKeyPropertyService<T extends com.atlassian.jira.entity.WithId & com.atlassian.jira.entity.WithKey> |
Known Indirect Subclasses |
@Internal
or @PublicApi
.
Extension of the EntityPropertyService
specific for entities which are identifiable by key.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the properties keys associated with the specified entity.
| |||||||||||
Returns the properties keys associated with the specified entity.
| |||||||||||
Returns the JSON property with the specified key from specified entity.
| |||||||||||
Returns the JSON property with the specified key from specified entity.
| |||||||||||
Check if it is possible to remove the entity property with specified entity's key and entity's property key.
| |||||||||||
Check if it is possible to remove the entity property with specified entity's key and entity's property key.
| |||||||||||
Checks if the provided entity's property is valid.
| |||||||||||
Checks if the provided entity's property is valid.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
com.atlassian.jira.entity.property.EntityPropertyService
|
Returns the properties keys associated with the specified entity.
This method checks if the entity with given id exists.
user | who the permission checks will be run against (can be null, indicating anonymous user). |
---|---|
entityKey | the key of the entity with which the property is associated. |
options | options to skip permission while performing the validation. |
Returns the properties keys associated with the specified entity.
This method checks if the calling user has permissions to browse the entitys and if the entity with given id exists.
user | who the permission checks will be run against (can be null, indicating anonymous user). |
---|---|
entityKey | the key of the entity with which the property is associated. |
Returns the JSON property with the specified key from specified entity.
This method checks if the entity with given key exists.
user | who the permission checks will be run against (can be null, indicating anonymous user). |
---|---|
entityKey | the key of the entity with which the property is associated. |
propertyKey | the key of the entity's property. |
options | options to skip permission while performing the validation. |
Returns the JSON property with the specified key from specified entity.
This method checks if the calling user has permissions to browse the entities and if the entity with given key exists.
user | who the permission checks will be run against (can be null, indicating anonymous user). |
---|---|
entityKey | the key of the entity with which the property is associated. |
propertyKey | the key of the entity's property. |
Check if it is possible to remove the entity property with specified entity's key and entity's property key.
This method checks if the calling user has permissions to edit the selected entity and if the property for given entity key and property key exists.
user | who the permission checks will be run against (can be null, indicating anonymous user). |
---|---|
entityKey | the key of the entity with which the property is associated. |
propertyKey | the key of the entity's property. |
Check if it is possible to remove the entity property with specified entity's key and entity's property key.
This method checks if the property for given entity key and property key exists.
user | who the permission checks will be run against (can be null, indicating anonymous user). |
---|---|
entityKey | the key of the entity with which the property is associated. |
propertyKey | the key of the entity's property. |
options | options to skip permission while performing the validation. |
Checks if the provided entity's property is valid.
This method checks if the entity with which the property will be associated exists and if the calling user
has permissions to edit the entity. It validates if the property's key length is less then 255
characters.
It also checks if the length of the property's value is less then 32,768
.
user | who the permission checks will be run against (can be null, indicating anonymous user). |
---|---|
entityKey | the key of the entity with which the property will be associated. |
propertyInput | the pair of key and value which will be associated with the entity. |
Checks if the provided entity's property is valid.
This method checks if the entity with which the property will be associated exists.
It validates if the property's key length is less then 255
characters.
It also checks if the length of the property's value is less then 32,768
.
user | who the permission checks will be run against (can be null, indicating anonymous user). |
---|---|
entityKey | the key of the entity with which the property will be associated. |
propertyInput | the pair of key and value which will be associated with the entity. |
options | options to skip permission while performing the validation. |