@Internal public abstract class

AbstractRoleActor

extends Object
implements ProjectRoleActor
java.lang.Object
   ↳ com.atlassian.jira.security.roles.actor.AbstractRoleActor
Known Direct Subclasses

@Internal

This class is an internal implementation detail and will change without notice.

Clients that depend on @Internal classes and interfaces can not expect to be compatible with any version other than the version they were compiled against (even minor version and milestone releases may break binary compatibility with respect to @Internal elements).

Class Overview

Base class for ProjectRoleActor implementations.

Summary

[Expand]
Inherited Constants
From interface com.atlassian.jira.security.roles.ProjectRoleActor
Public Constructors
AbstractRoleActor(Long id, Long projectRoleId, Long projectId, String parameter)
Public Methods
boolean equals(Object o)
String getDescriptor()
Returns a pretty viewable representation of the contents of the RoleActor (e.g.
Long getId()
Returns the id for the Role Actor
String getParameter()
Returns the string that identifies the target of this role actor (ex.
Long getProjectId()
Gets the project this is associated with.
Long getProjectRoleId()
This will get the ProjectRole that this RoleActor belongs to.
int hashCode()
boolean isActive()
Whether this Role Actor entity is active or not;
String toString()
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.security.roles.ProjectRoleActor
From interface com.atlassian.jira.security.roles.RoleActor

Public Constructors

public AbstractRoleActor (Long id, Long projectRoleId, Long projectId, String parameter)

Public Methods

public boolean equals (Object o)

public String getDescriptor ()

Returns a pretty viewable representation of the contents of the RoleActor (e.g. if a UserRoleActor, then their full name, James Brown, if a GroupRoleActor, then the name of the group, Business Analysts). NOTE that the returned value is used in RoleActorComparator for sorting.

Returns
  • pretty descriptor

public Long getId ()

Returns the id for the Role Actor

Returns
  • the id for the Role Actor

public String getParameter ()

Returns the string that identifies the target of this role actor (ex. if you are a group role actor, then this will be the unique identifier of the group, the group name).

Returns
  • the target of the role actor

public Long getProjectId ()

Gets the project this is associated with.

Returns
  • project associated with

public Long getProjectRoleId ()

This will get the ProjectRole that this RoleActor belongs to.

Returns
  • the project role that this instance belongs to.

public int hashCode ()

public boolean isActive ()

Whether this Role Actor entity is active or not;

public String toString ()