Interface AccountArchivePersistenceService

  • All Superinterfaces:
    net.anotheria.anoprise.metafactory.Service
    All Known Implementing Classes:
    JdbcAccountArchivePersistenceServiceImpl

    public interface AccountArchivePersistenceService
    extends net.anotheria.anoprise.metafactory.Service
    Since:
    21.04.14 19:04
    Author:
    VKoulakov
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void deleteAccount​(net.anotheria.portalkit.services.common.AccountId id)
      Deletes the account with submitted id.
      ArchivedAccount getAccount​(net.anotheria.portalkit.services.common.AccountId id)
      Returns the account with that account id.
      java.util.List<ArchivedAccount> getAccounts​(java.util.List<net.anotheria.portalkit.services.common.AccountId> identities)
      Returns the list of AccountId with specified identities.
      java.util.List<ArchivedAccount> getAccountsByQuery​(ArchivedAccountQuery query)
      Get accounts by query.
      java.util.List<net.anotheria.portalkit.services.common.AccountId> getAccountsByType​(int id)  
      java.util.Collection<net.anotheria.portalkit.services.common.AccountId> getAllAccountIds()
      Get all account id's.
      java.util.List<ArchivedAccount> getAllAccounts()  
      java.lang.String getCustomNote​(net.anotheria.portalkit.services.common.AccountId id)
      Returns the custom note of the account with the given id.
      net.anotheria.portalkit.services.common.AccountId getIdByEmail​(java.lang.String email)
      Returns the id of the account with the given email.
      net.anotheria.portalkit.services.common.AccountId getIdByName​(java.lang.String name)
      Returns the id of the account with the given name.
      void saveAccount​(ArchivedAccount account)
      Saves the account.
      void saveCustomNote​(net.anotheria.portalkit.services.common.AccountId id, java.lang.String customNote)
      Save custom note.