Interface TableMaintenanceUtil
- All Known Implementing Classes:
TableMaintenanceUtilImpl
public interface TableMaintenanceUtil
- Author:
- paul
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringQuery space used by theEXPRESSION_EXPERIMENT2ARRAY_DESIGNtable.static final StringQuery space used by theEXPRESSION_EXPERIMENT2CHARACTERISTICtable.static final intRecommended batch size to use when retrieving entries from the GENE2CS table either by gene or design element.static final StringQuery space used by theGENE2CStable. -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidEvict the query cache for theEXPRESSION_EXPERIMENT2_ARRAY_DESIGNtable.voidEvict the query cache for theEXPRESSION_EXPERIMENT2CHARACTERISTICtable.voidEvict the query cache for theGENE2CStable.intupdateExpressionExperiment2ArrayDesignEntries(Date sinceLastUpdate, boolean truncate) Update theEXPRESSION_EXPERIMENT2_ARRAY_DESIGNtable.intintupdateExpressionExperiment2CharacteristicEntries(Class<?> level, Date sinceLastUpdate, boolean truncate) Update a specific level of theEXPRESSION_EXPERIMENT2CHARACTERISTICtable.intupdateExpressionExperiment2CharacteristicEntries(Date sinceLastUpdate, boolean truncate) Update theEXPRESSION_EXPERIMENT2CHARACTERISTICtable.intUpdate theEXPRESSION_EXPERIMENT2CHARACTERISTICtable for a specific experiment.intIf necessary, update the GENE2CS table.intupdateGene2CsEntries(Date sinceLastUpdate, boolean truncate, boolean force) Update the GENE2CS table.intupdateGene2CsEntries(ArrayDesign arrayDesign, boolean force) Update the GENE2CS table for a specificArrayDesign.
-
Field Details
-
GENE2CS_QUERY_SPACE
Query space used by theGENE2CStable.You may also want to synchronize to
ArrayDesign,CompositeSequenceandGenesince entries in the GENE2CS table are removed in cascade.- See Also:
-
GENE2CS_BATCH_SIZE
static final int GENE2CS_BATCH_SIZERecommended batch size to use when retrieving entries from the GENE2CS table either by gene or design element.- See Also:
-
EE2C_QUERY_SPACE
Query space used by theEXPRESSION_EXPERIMENT2CHARACTERISTICtable.You may also want to synchronize to
ExpressionExperimentandCharacteristicsince entries in the EE2C table are removed in cascade.- See Also:
-
EE2AD_QUERY_SPACE
Query space used by theEXPRESSION_EXPERIMENT2ARRAY_DESIGNtable.You may also want to synchronize to
ExpressionExperimentandArrayDesignsince 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
Update the GENE2CS table for a specificArrayDesign.- Parameters:
arrayDesign- the platform for which to update the GENE2CS entriesforce- 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 correspondingArrayDesignhsa been updated after the given datetruncate- if true, the GENE2CS table will be truncated before the updateforce- 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 theEXPRESSION_EXPERIMENT2CHARACTERISTICtable.- 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 theEXPRESSION_EXPERIMENT2CHARACTERISTICtable.- Parameters:
level- the level to update which is eitherExpressionExperiment,BioMaterialorExperimentalDesign- Returns:
- the number of records that were created or updated
-
updateExpressionExperiment2CharacteristicEntries
@Secured("GROUP_AGENT") int updateExpressionExperiment2CharacteristicEntries(ExpressionExperiment ee, @Nullable Class<?> level) Update theEXPRESSION_EXPERIMENT2CHARACTERISTICtable for a specific experiment. -
updateExpressionExperiment2ArrayDesignEntries
@Secured("GROUP_AGENT") int updateExpressionExperiment2ArrayDesignEntries(@Nullable Date sinceLastUpdate, boolean truncate) Update theEXPRESSION_EXPERIMENT2_ARRAY_DESIGNtable.- Parameters:
sinceLastUpdate- only update entries for platforms updated since this datetruncate- if true, the table will be truncated before the update- Returns:
- the number of records that were created or updated
-
updateExpressionExperiment2ArrayDesignEntries
-
evictGene2CsQueryCache
@Secured("GROUP_ADMIN") void evictGene2CsQueryCache()Evict the query cache for theGENE2CStable. -
evictEe2CQueryCache
@Secured("GROUP_ADMIN") void evictEe2CQueryCache()Evict the query cache for theEXPRESSION_EXPERIMENT2CHARACTERISTICtable. -
evictEe2AdQueryCache
@Secured("GROUP_ADMIN") void evictEe2AdQueryCache()Evict the query cache for theEXPRESSION_EXPERIMENT2_ARRAY_DESIGNtable. -
disableEmail
@Secured("GROUP_ADMIN") void disableEmail()
-