Class ClientReconciliationFileDao

java.lang.Object
com.avoka.core.dao.BaseDao
com.avoka.fc.core.dao.ClientReconciliationFileDao

public class ClientReconciliationFileDao extends BaseDao
Provides a DAO for the Client Reconciliation File entity.
Since:
4.0.0
See Also:
  • Constructor Details Link icon

    • ClientReconciliationFileDao Link icon

      public ClientReconciliationFileDao()
  • Method Details Link icon

    • getUserPropertyForPK Link icon

      public ClientReconciliationFile getUserPropertyForPK(Object id)
      Return the client reconciliation file entity with the specified OID.
      Parameters:
      id - the OID
      Returns:
      the matching client reconciliation file entity, or null if not found
    • getFileByTimestamp Link icon

      public ClientReconciliationFile getFileByTimestamp(Client client, Date reconciliationTime)
      Return the client reconciliation file entity for a client and reconciliation time.
      Parameters:
      client - the client organization (required)
      reconciliationTime - the reconciliation time (required)
      Returns:
      the matching client reconciliation file entity, or null if not found
    • insertNewFile Link icon

      public void insertNewFile(Client client, String fileName, Date reconciliationTime, byte[] contents)
      Insert a new ClientReconciliationFile object to represent the specified reconciliation file
      Parameters:
      client - the client organization (required)
      fileName - the fileName (required)
      reconciliationTime - The reconciliation time (required)
      contents - The file contents (required)
    • deleteFilesBeforeDate Link icon

      public int deleteFilesBeforeDate(Client client, Date reconciliationTime)
      Deletes any ClientReconciliationFile entities before the specified reconciliation time
      Parameters:
      client - the client organization (required)
      reconciliationTime - The reconciliation time (required)
      Returns:
      the number of records deleted