public abstract class InternalGroup extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
InternalGroup.Builder |
Constructor and Description |
---|
InternalGroup() |
Modifier and Type | Method and Description |
---|---|
static InternalGroup.Builder |
builder() |
static InternalGroup |
create(AccountGroup accountGroup,
com.google.common.collect.ImmutableSet<Account.Id> members,
com.google.common.collect.ImmutableSet<AccountGroup.UUID> subgroups) |
static InternalGroup |
create(AccountGroup accountGroup,
com.google.common.collect.ImmutableSet<Account.Id> members,
com.google.common.collect.ImmutableSet<AccountGroup.UUID> subgroups,
org.eclipse.jgit.lib.ObjectId refState) |
abstract Timestamp |
getCreatedOn() |
abstract String |
getDescription() |
abstract AccountGroup.UUID |
getGroupUUID() |
abstract AccountGroup.Id |
getId() |
abstract com.google.common.collect.ImmutableSet<Account.Id> |
getMembers() |
String |
getName() |
abstract AccountGroup.NameKey |
getNameKey() |
abstract AccountGroup.UUID |
getOwnerGroupUUID() |
abstract org.eclipse.jgit.lib.ObjectId |
getRefState() |
abstract com.google.common.collect.ImmutableSet<AccountGroup.UUID> |
getSubgroups() |
abstract boolean |
isVisibleToAll() |
abstract InternalGroup.Builder |
toBuilder() |
public static InternalGroup create(AccountGroup accountGroup, com.google.common.collect.ImmutableSet<Account.Id> members, com.google.common.collect.ImmutableSet<AccountGroup.UUID> subgroups)
public static InternalGroup create(AccountGroup accountGroup, com.google.common.collect.ImmutableSet<Account.Id> members, com.google.common.collect.ImmutableSet<AccountGroup.UUID> subgroups, org.eclipse.jgit.lib.ObjectId refState)
public abstract AccountGroup.Id getId()
public String getName()
public abstract AccountGroup.NameKey getNameKey()
public abstract String getDescription()
public abstract AccountGroup.UUID getOwnerGroupUUID()
public abstract boolean isVisibleToAll()
public abstract AccountGroup.UUID getGroupUUID()
public abstract Timestamp getCreatedOn()
public abstract com.google.common.collect.ImmutableSet<Account.Id> getMembers()
public abstract com.google.common.collect.ImmutableSet<AccountGroup.UUID> getSubgroups()
public abstract org.eclipse.jgit.lib.ObjectId getRefState()
public abstract InternalGroup.Builder toBuilder()
public static InternalGroup.Builder builder()