@Internal public interface RemoteAgentAuthenticationDao extends BambooObjectDao<RemoteAgentAuthenticationEntity>
Modifier and Type | Method and Description |
---|---|
void |
approve(Iterable<RemoteAgentAuthenticationEntity> authentications)
Approve all authentications in the collection.
|
Collection<RemoteAgentAuthenticationEntity> |
getAllAuthentications()
Get all agent authentications.
|
RemoteAgentAuthenticationEntity |
saveAndReturn(RemoteAgentAuthenticationEntity authentication)
Save and return a new remote agent authentication.
|
countAll, countWithRestriction, delete, deleteAll, findAll, findById, merge, save, saveAll
@NotNull RemoteAgentAuthenticationEntity saveAndReturn(RemoteAgentAuthenticationEntity authentication)
authentication
- new authentication@NotNull Collection<RemoteAgentAuthenticationEntity> getAllAuthentications()
void approve(Iterable<RemoteAgentAuthenticationEntity> authentications)
Approve all authentications in the collection.
Authentications are uniquely identified by their UUID so any already approved authentication that is matched by UUID of an authentication in authentications will have its IP updated. Otherwise a new entity will be stored.
authentications
- collection of authentications to approveCopyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.