Class GroupRepository
- java.lang.Object
-
- com.dulanywebsite.sharedresources.repositories.DuWebEntityRepository
-
- com.dulanywebsite.sharedresources.repositories.GroupRepository
-
@Repository public class GroupRepository extends DuWebEntityRepository
-
-
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.lang.BooleancheckExists(java.lang.String groupName)java.util.Optional<DuWebEntity>findByGroupName(java.lang.String groupName)DuWebEntityListfindGroupsByGroupManager(java.lang.Long groupManager)DuWebEntityListfindGroupsByGroupMembersContaining(java.lang.Long member)
-
-
-
Constructor Detail
-
GroupRepository
@Autowired public GroupRepository(EntityHttpClient client)
-
-
Method Detail
-
findByGroupName
public java.util.Optional<DuWebEntity> findByGroupName(java.lang.String groupName)
-
findGroupsByGroupManager
public DuWebEntityList findGroupsByGroupManager(java.lang.Long groupManager)
-
findGroupsByGroupMembersContaining
public DuWebEntityList findGroupsByGroupMembersContaining(java.lang.Long member)
-
checkExists
public java.lang.Boolean checkExists(java.lang.String groupName)
-
-