Package io.vlingo.auth.infra.persistence
Class InMemoryGroupRepository
- java.lang.Object
-
- io.vlingo.auth.infra.persistence.InMemoryGroupRepository
-
- All Implemented Interfaces:
GroupRepository
public class InMemoryGroupRepository extends java.lang.Object implements GroupRepository
-
-
Constructor Summary
Constructors Constructor Description InMemoryGroupRepository()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Group
groupOf(TenantId tenantId, java.lang.String groupName)
java.util.Collection<Group>
groupsOf(TenantId tenantId)
protected java.lang.String
keyFor(TenantId tenantId)
protected java.lang.String
keyFor(TenantId tenantId, java.lang.String groupName)
void
save(Group group)
-
-
-
Method Detail
-
groupOf
public Group groupOf(TenantId tenantId, java.lang.String groupName)
- Specified by:
groupOf
in interfaceGroupRepository
-
groupsOf
public java.util.Collection<Group> groupsOf(TenantId tenantId)
- Specified by:
groupsOf
in interfaceGroupRepository
-
save
public void save(Group group)
- Specified by:
save
in interfaceGroupRepository
-
keyFor
protected java.lang.String keyFor(TenantId tenantId)
-
keyFor
protected java.lang.String keyFor(TenantId tenantId, java.lang.String groupName)
-
-