java.lang.Object | |
↳ | com.atlassian.jira.propertyset.CachingOfBizPropertyEntryStore |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Retrieve the type and value of the specified property.
| |||||||||||
Retrieve all keys that are stored in the given property set.
| |||||||||||
Retrieve all keys that are stored in the given property set and have the specified value type.
| |||||||||||
Remove a specific property from a property set.
| |||||||||||
Removes an entire property set.
| |||||||||||
Stores a new value for the specified property.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||||||||||||||
![]()
|
Retrieve the type and value of the specified property.
entityName | the entity name of the property set's owner |
---|---|
entityId | the entity ID of the property set's owner |
propertyKey | the name of the property to load |
null
if the property does not exist. Note that even if it does "exist",
the value
can itself be null
.
Retrieve all keys that are stored in the given property set.
entityName | the entity name of the property set's owner |
---|---|
entityId | the entity ID of the property set's owner |
Retrieve all keys that are stored in the given property set and have the specified value type.
entityName | the entity name of the property set's owner |
---|---|
entityId | the entity ID of the property set's owner |
type | the value type, as defined by the value constants in the PropertySet interface, that the keys must have to be returned |
Remove a specific property from a property set.
entityName | the entity name of the property set's owner |
---|---|
entityId | the entity ID of the property set's owner |
propertyKey | the name of the property to remove |
Removes an entire property set.
Implementation note: This is a "hard" operation to optimize due to the way the tables are structured, OfBiz's poor support for joins and sub-selects, the cache's inability to replicate the invalidation of a group of keys, and the probable performance cost of flushing the entire entry cache. We will make these assumptions:
Based on those assumptions, the decision is to invalidate only those keys for which we actually find and remove an entry, exactly as if they have been removed individually.
entityName | the entity name of the property set's owner |
---|---|
entityId | the entity ID of the property set's owner |
Stores a new value for the specified property.
entityName | the entity name of the property set's owner |
---|---|
entityId | the entity ID of the property set's owner |
propertyKey | the name of the property to store |
type | the value type that is to be stored, as defined by the value constants in the PropertySet interface. |
value | the value to be stored |