Skip to content
Snippets Groups Projects
Commit d74b60de authored by brinn's avatar brinn
Browse files

add: method getUsers() (fix JSON mapping by ignoring this method)

SVN: 23234
parent b61f835c
No related branches found
No related tags found
No related merge requests found
...@@ -25,6 +25,7 @@ import java.util.List; ...@@ -25,6 +25,7 @@ import java.util.List;
import java.util.Map; import java.util.Map;
import java.util.Set; import java.util.Set;
import org.codehaus.jackson.annotate.JsonIgnore;
import org.codehaus.jackson.annotate.JsonProperty; import org.codehaus.jackson.annotate.JsonProperty;
/** /**
...@@ -102,6 +103,7 @@ public class SpaceWithProjectsAndRoleAssignments implements Serializable ...@@ -102,6 +103,7 @@ public class SpaceWithProjectsAndRoleAssignments implements Serializable
/** /**
* Returns the set of all users that have a role in this space. * Returns the set of all users that have a role in this space.
*/ */
@JsonIgnore
public Set<String> getUsers() public Set<String> getUsers()
{ {
return rolesPerUser.keySet(); return rolesPerUser.keySet();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment