|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.security.roles.actor.AbstractRoleActor com.atlassian.jira.security.roles.actor.UserRoleActor
Represents a User actor for project roles.
Field Summary | |
static String |
TYPE
|
Fields inherited from class com.atlassian.jira.security.roles.actor.AbstractRoleActor |
parameter |
Constructor Summary | |
UserRoleActor(JiraAuthenticationContext jiraAuthenticationContext)
|
Method Summary | |
boolean |
equals(Object o)
|
String |
getDescriptor()
Returns a pretty viewable representation of the contents of the RoleActor (e.g. |
String |
getPrettyName()
Gets the pretty viewable name for this role actor, this is the user-presentable version of the role actors type. |
String |
getType()
Returns a string that identifies the implementation type. |
Set |
getUsers()
Will provide a Set of users encapsulated by this RoleActor. |
int |
hashCode()
|
void |
setParameter(String parameter)
Sets the username. |
void |
setUser(User user)
Convenience alternative to setParameter(String), note that this sets the parameter value to the name of the given user. |
Methods inherited from class com.atlassian.jira.security.roles.actor.AbstractRoleActor |
getId, getParameter, getProject, getProjectRole, setId, setProject, setProjectRole |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String TYPE
Constructor Detail |
public UserRoleActor(JiraAuthenticationContext jiraAuthenticationContext)
Method Detail |
public String getType()
RoleActor
public String getPrettyName()
RoleActor
public String getDescriptor()
RoleActor
RoleActorComparator
for sorting.
getDescriptor
in interface RoleActor
getDescriptor
in class AbstractRoleActor
public Set getUsers()
RoleActor
public void setUser(User user)
user
- the user.public void setParameter(String parameter)
parameter
- the username.public boolean equals(Object o)
public int hashCode()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |