|
||||||||||
| 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<? extends RoleActor> 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<? extends RoleActor> roleActors)
Add the collection of RoleActors to the contained set of RoleActors and return a new DefaultRoleActors with the modified set |
boolean |
contains(ApplicationUser user)
Does the collection of RoleActor instances contain the specified user. |
boolean |
contains(com.atlassian.crowd.embedded.api.User user)
Does the collection of RoleActor instances contain the specified user. |
Set<ApplicationUser> |
getApplicationUsers()
|
Long |
getProjectRoleId()
|
Set<RoleActor> |
getRoleActors()
|
Set<RoleActor> |
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<? extends RoleActor> roleActors)
Remove the RoleActor from the contained set of RoleActors and return a new DefaultRoleActors with the modified set |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultRoleActorsImpl(Long projectRoleId,
Set<? extends RoleActor> 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<ApplicationUser> getApplicationUsers()
getApplicationUsers in interface DefaultRoleActorspublic Set<RoleActor> getRoleActors()
getRoleActors in interface DefaultRoleActorspublic Long getProjectRoleId()
getProjectRoleId in interface DefaultRoleActorspublic Set<RoleActor> getRoleActorsByType(String type)
getRoleActorsByType in interface DefaultRoleActorspublic boolean contains(ApplicationUser user)
DefaultRoleActors
contains in interface DefaultRoleActorsuser - the application user to check if they are contained
public boolean contains(com.atlassian.crowd.embedded.api.User user)
DefaultRoleActors
contains in interface DefaultRoleActorsuser - the application 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<? extends RoleActor> 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<? extends RoleActor> roleActors)
DefaultRoleActors
removeRoleActors in interface DefaultRoleActorsroleActors - the RoleActor to remove
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||