|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.security.roles.MockRoleActor
public class MockRoleActor
Constructor Summary | |
---|---|
MockRoleActor(Long projectRoleId,
Long projectId,
String parameter,
String type)
|
|
MockRoleActor(Long projectRoleId,
Long projectId,
String descriptor,
String parameter,
String type)
|
|
MockRoleActor(String descriptor,
String parameter)
|
Method Summary | |
---|---|
boolean |
contains(com.atlassian.crowd.embedded.api.User user)
Does this RoleActor contain the specified user. |
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. |
String |
getPrettyName()
|
Long |
getProjectId()
Gets the project this is associated with. |
Long |
getProjectRoleId()
This will get the ProjectRole that this RoleActor belongs to. |
String |
getType()
Returns a string that identifies the implementation type. |
Set |
getUsers()
Will provide a Set of users encapsulated by this RoleActor. |
int |
hashCode()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MockRoleActor(String descriptor, String parameter)
public MockRoleActor(Long projectRoleId, Long projectId, String descriptor, String parameter, String type)
public MockRoleActor(Long projectRoleId, Long projectId, String parameter, String type)
Method Detail |
---|
public String getDescriptor()
RoleActor
RoleActorComparator
for sorting.
getDescriptor
in interface RoleActor
public String getPrettyName()
public String getType()
RoleActor
getType
in interface RoleActor
public Set getUsers()
RoleActor
getUsers
in interface RoleActor
public boolean contains(com.atlassian.crowd.embedded.api.User user)
RoleActor
contains
in interface RoleActor
user
- the user to check if they are contained
public Long getProjectId()
ProjectRoleActor
getProjectId
in interface ProjectRoleActor
public Long getProjectRoleId()
RoleActor
getProjectRoleId
in interface RoleActor
public Long getId()
RoleActor
getId
in interface RoleActor
public String getParameter()
RoleActor
getParameter
in interface RoleActor
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |