Class GroupRepository
- java.lang.Object
-
- com.dulanywebsite.sharedresources.repositories.DuWebEntityRepository<Group>
-
- com.dulanywebsite.sharedresources.repositories.GroupRepository
-
@Repository public class GroupRepository extends DuWebEntityRepository<Group>
-
-
Field Summary
-
Fields inherited from class com.dulanywebsite.sharedresources.repositories.DuWebEntityRepository
baseApiUrl, client, entityType, headerMap, objectMapper
-
-
Constructor Summary
Constructors Constructor Description GroupRepository(EntityHttpClient client)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<Group>findByGroupName(java.lang.String groupName)java.util.List<Group>findGroupsByGroupManager(java.lang.String groupManager)java.util.List<Group>findGroupsByGroupMembersContaining(java.lang.Long member)
-
-
-
Constructor Detail
-
GroupRepository
@Autowired public GroupRepository(EntityHttpClient client)
-
-
Method Detail
-
findByGroupName
public java.util.Optional<Group> findByGroupName(java.lang.String groupName) throws java.io.IOException
- Throws:
java.io.IOException
-
findGroupsByGroupManager
public java.util.List<Group> findGroupsByGroupManager(java.lang.String groupManager) throws java.io.IOException
- Throws:
java.io.IOException
-
findGroupsByGroupMembersContaining
public java.util.List<Group> findGroupsByGroupMembersContaining(java.lang.Long member) throws java.io.IOException
- Throws:
java.io.IOException
-
-