mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-03-31 01:10:19 +02:00
Implement base to read groups
This commit is contained in:
@@ -66,7 +66,7 @@ import javax.xml.bind.annotation.XmlRootElement;
|
||||
@XmlRootElement(name = "groups")
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
public class Group extends BasicPropertiesAware
|
||||
implements ModelObject, Iterable<String>, PermissionObject
|
||||
implements ModelObject, PermissionObject
|
||||
{
|
||||
|
||||
/** Field description */
|
||||
@@ -245,7 +245,6 @@ public class Group extends BasicPropertiesAware
|
||||
*
|
||||
* @return a {@link java.util.Iterator} for the members of this {@link Group}
|
||||
*/
|
||||
@Override
|
||||
public Iterator<String> iterator()
|
||||
{
|
||||
return getMembers().iterator();
|
||||
|
||||
@@ -13,6 +13,7 @@ public class VndMediaType {
|
||||
private static final String SUFFIX = "+json;v=" + VERSION;
|
||||
|
||||
public static final String USER = PREFIX + "user" + SUFFIX;
|
||||
public static final String GROUP = PREFIX + "group" + SUFFIX;
|
||||
public static final String USER_COLLECTION = PREFIX + "userCollection" + SUFFIX;
|
||||
|
||||
private VndMediaType() {
|
||||
|
||||
Reference in New Issue
Block a user