Interface TableMaintenanceUtil

All Known Implementing Classes:
TableMaintenanceUtilImpl

public interface TableMaintenanceUtil
Author:
paul
  • Field Details

    • GENE2CS_QUERY_SPACE

      static final String GENE2CS_QUERY_SPACE
      Query space used by the GENE2CS table.

      You may also want to synchronize to ArrayDesign, CompositeSequence and Gene since entries in the GENE2CS table are removed in cascade.

      See Also:
    • GENE2CS_BATCH_SIZE

      static final int GENE2CS_BATCH_SIZE
      Recommended batch size to use when retrieving entries from the GENE2CS table either by gene or design element.
      See Also:
    • EE2C_QUERY_SPACE

      static final String EE2C_QUERY_SPACE
      Query space used by the EXPRESSION_EXPERIMENT2CHARACTERISTIC table.

      You may also want to synchronize to ExpressionExperiment and Characteristic since entries in the EE2C table are removed in cascade.

      See Also:
    • EE2AD_QUERY_SPACE

      static final String EE2AD_QUERY_SPACE
      Query space used by the EXPRESSION_EXPERIMENT2ARRAY_DESIGN table.

      You may also want to synchronize to ExpressionExperiment and ArrayDesign since entries in the EE2AD table are removed in cascade.

      See Also:
  • Method Details

    • updateGene2CsEntries

      @Secured("GROUP_AGENT") int updateGene2CsEntries()
      If necessary, update the GENE2CS table.
    • updateGene2CsEntries

      @Secured("GROUP_AGENT") int updateGene2CsEntries(ArrayDesign arrayDesign, boolean force)
      Update the GENE2CS table for a specific ArrayDesign.
      Parameters:
      arrayDesign - the platform for which to update the GENE2CS entries
      force - update the table even if no platforms has been modified since the last update
    • updateGene2CsEntries

      @Secured("GROUP_AGENT") int updateGene2CsEntries(@Nullable Date sinceLastUpdate, boolean truncate, boolean force)
      Update the GENE2CS table.
      Parameters:
      sinceLastUpdate - if not null, only update entries whose corresponding ArrayDesign hsa been updated after the given date
      truncate - if true, the GENE2CS table will be truncated before the update
      force - update the table even if no platforms has been modified since the last update
    • updateExpressionExperiment2CharacteristicEntries

      @Secured("GROUP_AGENT") int updateExpressionExperiment2CharacteristicEntries(@Nullable Date sinceLastUpdate, boolean truncate)
      Update the EXPRESSION_EXPERIMENT2CHARACTERISTIC table.
      Returns:
      the number of records that were created or updated
    • updateExpressionExperiment2CharacteristicEntries

      @Secured("GROUP_AGENT") int updateExpressionExperiment2CharacteristicEntries(Class<?> level, @Nullable Date sinceLastUpdate, boolean truncate)
      Update a specific level of the EXPRESSION_EXPERIMENT2CHARACTERISTIC table.
      Parameters:
      level - the level to update which is either ExpressionExperiment, BioMaterial or ExperimentalDesign
      Returns:
      the number of records that were created or updated
    • updateExpressionExperiment2CharacteristicEntries

      @Secured("GROUP_AGENT") int updateExpressionExperiment2CharacteristicEntries(ExpressionExperiment ee, @Nullable Class<?> level)
      Update the EXPRESSION_EXPERIMENT2CHARACTERISTIC table for a specific experiment.
    • updateExpressionExperiment2ArrayDesignEntries

      @Secured("GROUP_AGENT") int updateExpressionExperiment2ArrayDesignEntries(@Nullable Date sinceLastUpdate, boolean truncate)
      Update the EXPRESSION_EXPERIMENT2_ARRAY_DESIGN table.
      Parameters:
      sinceLastUpdate - only update entries for platforms updated since this date
      truncate - if true, the table will be truncated before the update
      Returns:
      the number of records that were created or updated
    • updateExpressionExperiment2ArrayDesignEntries

      @Secured("GROUP_AGENT") int updateExpressionExperiment2ArrayDesignEntries(ExpressionExperiment ee)
    • evictGene2CsQueryCache

      @Secured("GROUP_ADMIN") void evictGene2CsQueryCache()
      Evict the query cache for the GENE2CS table.
    • evictEe2CQueryCache

      @Secured("GROUP_ADMIN") void evictEe2CQueryCache()
      Evict the query cache for the EXPRESSION_EXPERIMENT2CHARACTERISTIC table.
    • evictEe2AdQueryCache

      @Secured("GROUP_ADMIN") void evictEe2AdQueryCache()
      Evict the query cache for the EXPRESSION_EXPERIMENT2_ARRAY_DESIGN table.
    • disableEmail

      @Secured("GROUP_ADMIN") void disableEmail()