Class AbstractDeleteDataContainer<T extends DataContainer>

    • Field Detail

      • m_KeepReport

        protected boolean m_KeepReport
        whether to keep any existing report.
    • Constructor Detail

      • AbstractDeleteDataContainer

        public AbstractDeleteDataContainer()
    • Method Detail

      • setKeepReport

        public void setKeepReport​(boolean value)
        Sets whether to keep an existing report in the database.
        Parameters:
        value - true if to keep
      • getKeepReport

        public boolean getKeepReport()
        Returns whether to keep an existing report in the database.
        Returns:
        true if keep
      • keepReportTipText

        public String keepReportTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • accepts

        public Class[] accepts()
        Returns the class that the consumer accepts.
        Returns:
        java.lang.Integer.class
      • generates

        public Class[] generates()
        Returns the class of objects that it generates.
        Returns:
        java.lang.Integer.class
      • getDataProvider

        protected abstract DataProvider<T> getDataProvider()
        Returns the data provider to use for storing the container in the database.
        Returns:
        the data provider
      • remove

        protected boolean remove​(Token input)
        Removes the container from the database.
        Parameters:
        input - the ID of the container
        Returns:
        true if successfully removed