com.atlassian.jira.security.roles.RoleActorFactory |
![]()
GroupRoleActorFactory,
MockProjectRoleManager.MockRoleActorFactory,
PluginDelegatingRoleActorFactory,
UserRoleActorFactory
|
Clients of @PublicSpi
can expect
that programs compiled against a given version will remain binary compatible with later versions of the
@PublicSpi
as per each product's API policy (clients should refer to each product's API policy for
the exact guarantee -- usually binary compatibility is guaranteed at least across minor versions).
@PublicSpi
interfaces and classes are specifically designed to be implemented/extended by clients.
Hence, the guarantee of binary compatibility is different to that of @PublicApi
elements (if an element
is both @PublicApi
and @PublicSpi
, both guarantees apply).
Create RoleActor instances.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create instance of the ProjectRoleActor representing a role actor stored in the database.
| |||||||||||
Find and return all role actors for the given user.
| |||||||||||
if RoleActors can be aggregated and queried in a more optimised way, then optimize the set to reduce its size so
we reduce the number of iterations across the set.
|
Create instance of the ProjectRoleActor representing a role actor stored in the database. In order to add a new role actor please pass a null id.
id | of the ProjectRoleActor |
---|---|
projectRoleId | of the ProjectRole associated with the actor. |
projectId | of the Project associated with the actor. |
type | of the actor which determines the implementation. |
parameter | saying with which exact entity is actor associated ie. group name, user name. |
Find and return all role actors for the given user.
user | for which actors will be obtained |
---|
if RoleActors can be aggregated and queried in a more optimised way, then optimize the set to reduce its size so we reduce the number of iterations across the set.
roleActors | a Set of RoleActor instances |
---|