Interface AccountsUpdate.AccountsUpdateLoader

All Known Implementing Classes:
AccountsUpdateNoteDbImpl.Factory, AccountsUpdateNoteDbImpl.FactoryNoReindex
Enclosing class:
AccountsUpdate

public static interface AccountsUpdate.AccountsUpdateLoader
  • Method Details

    • create

      AccountsUpdate create(IdentifiedUser currentUser)
      Creates an AccountsUpdate which uses the identity of the specified user as author for all commits related to accounts. The server identity will be used as committer.

      Note: Please use this method with care and consider using the UserInitiated annotation on the provider of an AccountsUpdate instead.

      Parameters:
      currentUser - the user to which modifications should be attributed
    • createWithServerIdent

      AccountsUpdate createWithServerIdent()
      Creates an AccountsUpdate which uses the server identity as author and committer for all commits related to accounts.

      Note: Please use this method with care and consider using the ServerInitiated annotation on the provider of an AccountsUpdate instead.