Class UsageDAO

java.lang.Object
ru.bgcrm.dao.CommonDAO
org.bgerp.plugin.inventoru.dao.UsageDAO

public class UsageDAO extends CommonDAO
Whether a directory record is still referenced. The directories of the plugin are deleted for real, and a store type, a status, a manufacturer deleted from under the rows naming it left those rows pointing nowhere — the card showed a dash, the filter lost them, restoring a store brought back one without a type.
  • Constructor Details

  • Method Details

    • count

      public int count(UsageDAO.Ref ref, int id) throws SQLException
      Returns:
      how many rows reference the record, deleted ones included: a deleted store can be restored, and it has to come back with its type and status.
      Throws:
      SQLException