com.atlassian.jira.association.UserAssociationStore |
![]() |
This Store is used to work with relationships between Users and other objects.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Tests if the given association exists.
| |||||||||||
This method is deprecated.
Use
associationExists(String, com.atlassian.jira.user.ApplicationUser, String, Long) instead. Since v6.0.
| |||||||||||
Creates an association between a user and a sink node.
| |||||||||||
Creates an association between a user and a sink node.
| |||||||||||
Creates an association between a user and a sink node.
| |||||||||||
Returns all the sinks that are associated with the given User.
| |||||||||||
Finds and returns a list of userkeys associated with a given sink.
| |||||||||||
Finds and returns a list of usernames associated with a given sink.
| |||||||||||
Finds and returns a list of Users associated with a given sink.
| |||||||||||
Removes an association between a user and a sink node.
| |||||||||||
Removes an association between a user and a sink node.
| |||||||||||
Removes all User Associations for this Sink
| |||||||||||
Removes all User Associations for this User of the given associationType
|
Tests if the given association exists.
associationType | the Association type |
---|---|
user | the User |
sinkNodeEntity | The entity name of the sink node (eg "Issue"). |
sinkNodeId | The id of the sink node. |
This method is deprecated.
Use associationExists(String, com.atlassian.jira.user.ApplicationUser, String, Long)
instead. Since v6.0.
Tests if the given association exists.
associationType | the Association type |
---|---|
user | the User |
sinkNodeEntity | The entity name of the sink node (eg "Issue"). |
sinkNodeId | The id of the sink node. |
Creates an association between a user and a sink node.
associationType | the Association type |
---|---|
user | the user to associate with the sink node. |
sink | the sink node |
Creates an association between a user and a sink node.
associationType | the Association type |
---|---|
userkey | the user name to associate with the sink node. |
sinkNodeEntity | the entity name of the sink node |
sinkNodeId | the id of the sink node entity |
Creates an association between a user and a sink node.
associationType | the Association type |
---|---|
user | the user to associate with the sink node. |
sink | the sink node |
Returns all the sinks that are associated with the given User.
associationType | the Association type |
---|---|
user | the User |
sinkNodeEntity | The entity name of the sink node (eg "Issue"). |
Finds and returns a list of userkeys associated with a given sink.
associationType | the Association type |
---|---|
sinkNodeEntity | The entity name of the sink node (eg "Issue"). |
sinkNodeId | The id of the sink node. |
Finds and returns a list of usernames associated with a given sink.
associationType | the Association type |
---|---|
sink | the sink node |
Finds and returns a list of Users associated with a given sink.
associationType | the Association type |
---|---|
sink | the sink node |
Removes an association between a user and a sink node.
associationType | the Association type |
---|---|
userkey | the user to associate with the sink node. |
sinkNodeEntity | the entity name of the sink node |
sinkNodeId | the id of the sink node entity |
Removes an association between a user and a sink node.
associationType | the Association type |
---|---|
user | the user to associate with the sink node. |
sink | the sink node |
Removes all User Associations for this Sink
sinkNodeEntity | The entity name of the sink node (eg "Issue"). |
---|---|
sinkNodeId | the id of the sink node entity |
Removes all User Associations for this User of the given associationType
associationType | the Association type |
---|---|
user | the User |
sinkNodeEntity | The entity name of the sink node (eg "Issue"). |