Class DbActions.DbAction

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected org.xipki.datasource.DataSourceFactory datasourceFactory  
      • Fields inherited from class org.xipki.shell.XiAction

        passwordResolver, session
    • Constructor Summary

      Constructors 
      Constructor Description
      DbAction()  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.lang.Object execute0()  
      protected abstract org.xipki.ca.mgmt.db.DbWorker getDbWorker()  
      • Methods inherited from class org.xipki.shell.XiAction

        confirm, derPemEncode, embedFileContent, encodeCert, encodeCrl, encodeCsr, execute, expandFilepath, expandFilepath, isBlank, isEmpty, isEnabled, isNotBlank, isNotEmpty, isTrue, print, println, readPassword, readPassword, readPasswordIfNotSet, readPasswordIfNotSet, readPrompt, resolvePassword, save, save, saveVerbose, saveVerbose, split, toBigInt, toBigInt
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • datasourceFactory

        protected org.xipki.datasource.DataSourceFactory datasourceFactory
    • Constructor Detail

      • DbAction

        public DbAction()
    • Method Detail

      • getDbWorker

        protected abstract org.xipki.ca.mgmt.db.DbWorker getDbWorker()
                                                              throws java.lang.Exception
        Throws:
        java.lang.Exception
      • execute0

        protected java.lang.Object execute0()
                                     throws java.lang.Exception
        Specified by:
        execute0 in class org.xipki.shell.XiAction
        Throws:
        java.lang.Exception