@Repository(value="userInvitationRepo") public interface DuracloudUserInvitationRepo extends org.springframework.data.jpa.repository.JpaRepository<UserInvitation,Long>
Modifier and Type | Method and Description |
---|---|
List<UserInvitation> |
findByAccountId(Long id)
This method returns the set of invitations associated with a given
DuraCloud account
|
UserInvitation |
findByRedemptionCode(String redemptionCode)
This method returns the user invitation which matches the given
redemption code
|
deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, flush, getOne, save, saveAndFlush
UserInvitation findByRedemptionCode(String redemptionCode)
redemptionCode
- the unique code used to redeem this invitationList<UserInvitation> findByAccountId(Long id)
id
- the identifier of the DuraCloud accountCopyright © 2009–2014 DuraSpace. All rights reserved.