Class ExpressionExperimentManipulatingCLI

    • Field Detail

      • eeService

        @Autowired
        protected ubic.gemma.persistence.service.expression.experiment.ExpressionExperimentService eeService
      • auditTrailService

        @Autowired
        protected ubic.gemma.persistence.service.common.auditAndSecurity.AuditTrailService auditTrailService
      • auditEventService

        @Autowired
        protected ubic.gemma.persistence.service.common.auditAndSecurity.AuditEventService auditEventService
      • expressionExperiments

        protected final Set<ubic.gemma.model.expression.experiment.BioAssaySet> expressionExperiments
      • force

        protected boolean force
        Force processing of EEs regardless of their troubled status.
    • Constructor Detail

      • ExpressionExperimentManipulatingCLI

        public ExpressionExperimentManipulatingCLI()
    • Method Detail

      • getCommandGroup

        public GemmaCLI.CommandGroup getCommandGroup()
        Description copied from interface: CLI
        Obtain the command group for this CLI.
      • buildOptions

        protected void buildOptions​(org.apache.commons.cli.Options options)
        Description copied from class: AbstractCLI
        Build option implementation.

        Implement this method to add options to your command line, using the OptionBuilder.

        This is called right after AbstractCLI.buildStandardOptions(Options) so the options will be added after standard options.

        Specified by:
        buildOptions in class AbstractCLI
      • processOptions

        protected void processOptions​(org.apache.commons.cli.CommandLine commandLine)
                               throws org.apache.commons.cli.ParseException
        Description copied from class: AbstractCLI
        Process command line options.

        Implement this to provide processing of options. It is called after AbstractCLI.buildOptions(Options) and right before AbstractCLI.doWork().

        Specified by:
        processOptions in class AbstractCLI
        Throws:
        org.apache.commons.cli.ParseException - in case of unrecoverable failure (i.e. missing option or invalid value), an exception can be raised and will result in an exit code of AbstractCLI.FAILURE.
      • addForceOption

        protected void addForceOption​(org.apache.commons.cli.Options options)
      • noNeedToRun

        protected boolean noNeedToRun​(ubic.gemma.model.common.auditAndSecurity.Auditable auditable,
                                      Class<? extends ubic.gemma.model.common.auditAndSecurity.eventType.AuditEventType> eventClass)
        Parameters:
        auditable - auditable
        eventClass - can be null
        Returns:
        boolean
      • refreshExpressionExperimentFromGemmaWeb

        protected void refreshExpressionExperimentFromGemmaWeb​(ubic.gemma.model.expression.experiment.ExpressionExperiment ee,
                                                               boolean refreshVectors,
                                                               boolean refreshReports)
                                                        throws Exception
        Refresh a dataset for Gemma Web.
        Throws:
        Exception
      • setUseReferencesIfPossible

        protected void setUseReferencesIfPossible​(boolean useReferencesIfPossible)
        Set this to true to allow reference to be retrieved instead of actual entities.

        This only works for entities retrieved by ID.

        When this is enabled, do not access anything but ExpressionExperiment.getId(), or else proxy-initialization will be triggered, and you will have to deal with a LazyInitializationException.

        The default is false.