Class JdbcAccountArchivePersistenceServiceImpl

  • All Implemented Interfaces:
    net.anotheria.anoprise.metafactory.Service, AccountArchivePersistenceService, net.anotheria.portalkit.services.common.persistence.jdbc.BasePersistenceService

    public class JdbcAccountArchivePersistenceServiceImpl
    extends net.anotheria.portalkit.services.common.persistence.jdbc.BasePersistenceServiceJDBCImpl
    implements AccountArchivePersistenceService
    AccountArchivePersistenceService factory for JDBC implementation.
    Since:
    22.04.14 11:36
    Author:
    VKoulakov
    • Method Summary

      All Methods Instance Methods Concrete 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 type)  
      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.
      • Methods inherited from class net.anotheria.portalkit.services.common.persistence.jdbc.BasePersistenceServiceJDBCImpl

        addDaos, cleanupFromUnitTests, getConnection, getDataSource, getPackagePartsToExcludeFromFlywayTableName, init
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait