Interface GroupsUpdate.Factory
-
- Enclosing class:
- GroupsUpdate
public static interface GroupsUpdate.Factory
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GroupsUpdate
create(IdentifiedUser currentUser)
Creates aGroupsUpdate
which uses the identity of the specified user to mark database modifications executed by it.GroupsUpdate
createWithServerIdent()
Creates aGroupsUpdate
which uses the server identity to mark database modifications executed by it.
-
-
-
Method Detail
-
create
GroupsUpdate create(IdentifiedUser currentUser)
Creates aGroupsUpdate
which uses the identity of the specified user to mark database modifications executed by it. For NoteDb, this identity is used as author and committer for all related commits.Note: Please use this method with care and consider using the
UserInitiated
annotation on the provider of aGroupsUpdate
instead.- Parameters:
currentUser
- the user to which modifications should be attributed
-
createWithServerIdent
GroupsUpdate createWithServerIdent()
Creates aGroupsUpdate
which uses the server identity to mark database modifications executed by it. For NoteDb, this identity is used as author and committer for all related commits.Note: Please use this method with care and consider using the
ServerInitiated
annotation on the provider of aGroupsUpdate
instead.
-
-