class AttributeUpdater extends java.lang.Object
Constructor and description |
---|
AttributeUpdater(java.util.List<java.lang.String> current, AssetsImplementation assets, com.riadalabs.jira.plugins.insight.channel.external.api.facade.ObjectTypeAttributeFacade objectTypeAttributeFacade, int objectTypeId, java.lang.String attributeName) |
Type Params | Return Type | Name and description |
---|---|---|
|
void |
add(com.riadalabs.jira.plugins.insight.services.model.ObjectBean[] values) Adds one or more object references for this attribute |
|
void |
add(java.lang.String[] objectKeys) Adds one or more references for this attribute. |
|
void |
clear() Clears current value |
|
java.util.List<java.lang.String> |
get() Gets current value |
|
boolean |
remove(com.riadalabs.jira.plugins.insight.services.model.ObjectBean[] values) Removes one or more object references for this attribute |
|
boolean |
remove(java.lang.String[] values) Removes one or more references for this attribute. |
|
void |
replace(java.lang.String oldValue, java.lang.String newValue) Replace one value with another |
|
void |
replace(com.riadalabs.jira.plugins.insight.services.model.ObjectBean oldValue, com.riadalabs.jira.plugins.insight.services.model.ObjectBean newValue) Replace one object reference with another |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Adds one or more object references for this attribute
values
- objects to addAdds one or more references for this attribute.
objectKeys
- objectKeys to addClears current value
Gets current value
Removes one or more object references for this attribute
values
- objects to addRemoves one or more references for this attribute.
values
- to removeReplace one value with another
oldValue
- value to search fornewValue
- value to replace withReplace one object reference with another
oldValue
- value to search fornewValue
- value to replace with