|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.jira.security.roles.DefaultRoleActorsImpl
public class DefaultRoleActorsImpl
DefaultRoleActors| Constructor Summary | |
|---|---|
DefaultRoleActorsImpl(Long projectRoleId,
RoleActor roleActor)
This will allow you to add a single role actor to the internal Set used for the role actors. |
|
DefaultRoleActorsImpl(Long projectRoleId,
Set roleActors)
|
|
| Method Summary | |
|---|---|
DefaultRoleActors |
addRoleActor(RoleActor roleActor)
Add the RoleActor to the contained set of RoleActors and return a new DefaultRoleActors with the modified set |
DefaultRoleActors |
addRoleActors(Collection roleActors)
Add the collection of RoleActors to the contained set of RoleActors and return a new DefaultRoleActors with the modified set |
boolean |
contains(com.atlassian.crowd.embedded.api.User user)
Does the collection of RoleActor instances contain the specified user. |
Long |
getProjectRoleId()
|
Set |
getRoleActors()
|
Set |
getRoleActorsByType(String type)
|
Set<com.atlassian.crowd.embedded.api.User> |
getUsers()
|
DefaultRoleActors |
removeRoleActor(RoleActor roleActor)
Remove the RoleActor from the contained set of RoleActors and return a new DefaultRoleActors with the modified set |
DefaultRoleActors |
removeRoleActors(Collection roleActors)
Remove the RoleActor from the contained set of RoleActors and return a new DefaultRoleActors with the modified set |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultRoleActorsImpl(Long projectRoleId,
Set roleActors)
public DefaultRoleActorsImpl(Long projectRoleId,
RoleActor roleActor)
projectRoleId - the Project Role Id we are modellingroleActor - the Project Role we are modelling| Method Detail |
|---|
public Set<com.atlassian.crowd.embedded.api.User> getUsers()
getUsers in interface DefaultRoleActorspublic Set getRoleActors()
getRoleActors in interface DefaultRoleActorspublic Long getProjectRoleId()
getProjectRoleId in interface DefaultRoleActorspublic Set getRoleActorsByType(String type)
getRoleActorsByType in interface DefaultRoleActorspublic boolean contains(com.atlassian.crowd.embedded.api.User user)
DefaultRoleActors
contains in interface DefaultRoleActorsuser - the user to check if they are contained
public DefaultRoleActors addRoleActor(RoleActor roleActor)
DefaultRoleActors
addRoleActor in interface DefaultRoleActorsroleActor - the RoleActor to add
public DefaultRoleActors addRoleActors(Collection roleActors)
DefaultRoleActors
addRoleActors in interface DefaultRoleActorsroleActors - the collection RoleActor to add
public DefaultRoleActors removeRoleActor(RoleActor roleActor)
DefaultRoleActors
removeRoleActor in interface DefaultRoleActorsroleActor - the RoleActor to remove
public DefaultRoleActors removeRoleActors(Collection roleActors)
DefaultRoleActors
removeRoleActors in interface DefaultRoleActorsroleActors - the RoleActor to add
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||