Class OA4MPStoreCommands

    • Nested Class Summary

      • Nested classes/interfaces inherited from class edu.uiuc.ncsa.security.storage.cli.StoreCommands2

        edu.uiuc.ncsa.security.storage.cli.StoreCommands2.ChangeIDRecord, edu.uiuc.ncsa.security.storage.cli.StoreCommands2.RSRecord
    • Field Summary

      • Fields inherited from class edu.uiuc.ncsa.security.storage.cli.StoreCommands2

        ALL_LIST_COMMAND, allEntries, DEFAULT_MAGIC_NUMBER, display_width, FILE_FLAG, FORCE_COPY_FLAG, KEY_SHORTHAND_PREFIX, LINE_LIST_COMMAND, LIST_EOL_MARKER, LOAD_ONLY_COMMAND, NEXT_N_COMMAND, RANDOM_ID_FLAG, RESULT_SET_KEY, resultSets, RM_FORCE_FLAG, RS_APPEND_ACTION, RS_CLEAR_ACTION, RS_DROP_ACTION, RS_FIELDS_ACTION, RS_FILE_KEY, RS_LIST_ACTION, RS_RANGE_KEY, RS_RANGE_SHORT_KEY, RS_READ_ACTION, RS_REMOVE_ACTION, RS_SAVE_ACTION, RS_SHOW_ACTION, RS_SIZE_ACTION, RS_SUBSET_ACTION, RS_WRITE_ACTION, SEARCH_AFTER_TS_FLAG, SEARCH_BEFORE_TS_FLAG, SEARCH_DATE_FLAG, SEARCH_DEBUG_FLAG, SEARCH_IS_NULL_FLAG, SEARCH_REGEX_FLAG, SEARCH_RESULT_SET_NAME, SEARCH_RETURNED_ATTRIBUTES_FLAG, SEARCH_SHORT_REGEX_FLAG, SEARCH_SIZE_FLAG, SEARCH_VERSIONS_FALSE_VALUE, SEARCH_VERSIONS_FLAG, SEARCH_VERSIONS_ONLY_VALUE, SEARCH_VERSIONS_TRUE_VALUE, SHORT_UPDATE_FLAG, SIZE_ALL_FLAG, SIZE_VERSIONS_FLAG, SKIP_UPDATE_PERMISSIONS_FLAG, sortable, UPDATE_FLAG, UPKEEP_FLAG_CFG, UPKEEP_FLAG_ENABLE, UPKEEP_FLAG_RUN, UPKEEP_FLAG_SHOW, UPKEEP_FLAG_TEST, VERBOSE_COMMAND
      • Fields inherited from class edu.uiuc.ncsa.security.util.cli.CommonCommands2

        placeHolder
      • Fields inherited from class edu.uiuc.ncsa.security.util.cli.AbstractCommandsImpl

        CL_INPUT_FILE_FLAG, CL_OUTPUT_FILE_FLAG, DEFAULT_NULL_VALUE_PLACEHOLDER, defaultIndent, INDENT, LOGO, logoName, NO_HEADER, NO_LOGO, showHeader, showLogo, SILENT
    • Constructor Summary

      Constructors 
      Constructor Description
      OA4MPStoreCommands​(edu.uiuc.ncsa.security.util.cli.CLIDriver driver, edu.uiuc.ncsa.security.core.Store store)  
      OA4MPStoreCommands​(edu.uiuc.ncsa.security.util.cli.CLIDriver driver, String defaultIndent, edu.uiuc.ncsa.security.core.Store store)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void about​(boolean showBanner, boolean showHeader)  
      void decode​(edu.uiuc.ncsa.security.util.cli.InputLine inputLine)  
      void encode​(edu.uiuc.ncsa.security.util.cli.InputLine inputLine)  
      void extraUpdates​(edu.uiuc.ncsa.security.core.Identifiable identifiable, int magicNumber)  
      org.oa4mp.server.loader.oauth2.OA2SE getEnvironment()  
      org.qdl_lang.state.State getState()  
      void initialize()  
      void load​(edu.uiuc.ncsa.security.util.cli.InputLine inputLine)  
      protected void printIndexHelp​(boolean singletonsOnly)  
      protected List processList​(edu.uiuc.ncsa.security.util.cli.InputLine inputLine, String key)
      Parse lists using QDL.
      void run_qdl​(edu.uiuc.ncsa.security.util.cli.InputLine inputLine)  
      void setState​(org.qdl_lang.state.State state)  
      • Methods inherited from class edu.uiuc.ncsa.security.storage.cli.StoreCommands2

        actualCreate, addEntry, addEntry, archive, archiveFormat, bootstrap, change_id, clear_id, clear_store, clearEntries, copy, create, create, create, createEntry, deserialize, doChangeID, doCopy, edit, extractRawList, findByIDOrRS, findItem, findItem, findItem, findSingleton, findSingleton, format, formatLongLine, fromXMLMap, get_id, getAndCheckKeyArg, getArgList, getEditorEntry, getID, getIdentifierfromIndex, getKeyArg, getKeyArg, getKeys, getMapConverter, getPrompt, getResultSets, getSerializationKeys, getSortable, getStore, getStoreArchiver, getTempDir, hasEntries, hasId, hasID, hasKey, initHelp, inputJSON, isBadID, isMonitored, list_keys, listEntries, loadAllEntries, loadQDLScript, longFormat, longFormat, longFormat, ls, multiLineInput, multiLinePropertyInput, oldls1, oldrm, oldUpdate, preCreation, print_help, printRS, rangeHelpSnippet, removeEntries, removeEntry, rm, rmCleanup, rs, search, serialize, serialize, set_id, setEnvironment, setID, setIDFromInputLine, setResultSets, setSortable, setStore, showArchiveHelp, showCommandLineSwitchesHelp, showCreateHelp, showDeserializeHelp, showEntry, showEntrySubset, showKeyShorthandHelp, showListKeysHelp, showLSHelp, showLSHelp3, showResultSetHelp, showRMHelp, showSearchHelp, showSearchHelpExamples, showSerializeHelp, showSizeHelp, showUpdateHelp, showUpkeepHelp, size, toXMLMap, update, update, update, updateSingleValue, updateSingleValue, updateStorePermissions, upkeep
      • Methods inherited from class edu.uiuc.ncsa.security.util.cli.CommonCommands2

        getIOInterface, getPlaceHolder, getValue, isEmpty, isVerbose, say2, sayii, set_output_on, set_verbose_on, setOutputOnHelp, setPlaceHolder, setVerboseHelp, version, versionHelp
      • Methods inherited from class edu.uiuc.ncsa.security.util.cli.AbstractCommandsImpl

        bootstrap, clear_env, clearEnvHelp, debug, error, error, get_env, getDriver, getHelpUtil, getInput, getLogoName, getPropertyHelp, gracefulExit, hasLogger, indentWidth, info, isDebugOn, isOk, isShowHeader, isShowLogo, print_env, printEnvHelp, printGetEnvHelp, printReadEnvHelp, printSaveEnvHelp, printSetEnvHelp, read_env, readJSON, readline, readline, save_env, say, say, sayi, sayv, set_env, setDebugOn, setDriver, setLogoName, setShowHeader, setShowLogo, showHelp, warn
      • Methods inherited from interface edu.uiuc.ncsa.security.util.cli.Commands

        getName
    • Constructor Detail

      • OA4MPStoreCommands

        public OA4MPStoreCommands​(edu.uiuc.ncsa.security.util.cli.CLIDriver driver,
                                  String defaultIndent,
                                  edu.uiuc.ncsa.security.core.Store store)
                           throws Throwable
        Throws:
        Throwable
      • OA4MPStoreCommands

        public OA4MPStoreCommands​(edu.uiuc.ncsa.security.util.cli.CLIDriver driver,
                                  edu.uiuc.ncsa.security.core.Store store)
                           throws Throwable
        Throws:
        Throwable
    • Method Detail

      • initialize

        public void initialize()
                        throws Throwable
        Specified by:
        initialize in class edu.uiuc.ncsa.security.util.cli.AbstractCommandsImpl
        Throws:
        Throwable
      • load

        public void load​(edu.uiuc.ncsa.security.util.cli.InputLine inputLine)
        Specified by:
        load in class edu.uiuc.ncsa.security.util.cli.AbstractCommandsImpl
      • getEnvironment

        public org.oa4mp.server.loader.oauth2.OA2SE getEnvironment()
        Overrides:
        getEnvironment in class edu.uiuc.ncsa.security.storage.cli.StoreCommands2
      • encode

        public void encode​(edu.uiuc.ncsa.security.util.cli.InputLine inputLine)
                    throws Throwable
        Throws:
        Throwable
      • decode

        public void decode​(edu.uiuc.ncsa.security.util.cli.InputLine inputLine)
                    throws Throwable
        Throws:
        Throwable
      • extraUpdates

        public void extraUpdates​(edu.uiuc.ncsa.security.core.Identifiable identifiable,
                                 int magicNumber)
                          throws IOException
        Specified by:
        extraUpdates in class edu.uiuc.ncsa.security.storage.cli.StoreCommands2
        Throws:
        IOException
      • processList

        protected List processList​(edu.uiuc.ncsa.security.util.cli.InputLine inputLine,
                                   String key)
                            throws Exception
        Parse lists using QDL. This will remove these are arguments if found.
        Overrides:
        processList in class edu.uiuc.ncsa.security.storage.cli.StoreCommands2
        Parameters:
        inputLine -
        key -
        Returns:
        Throws:
        Exception
      • run_qdl

        public void run_qdl​(edu.uiuc.ncsa.security.util.cli.InputLine inputLine)
                     throws Throwable
        Throws:
        Throwable
      • printIndexHelp

        protected void printIndexHelp​(boolean singletonsOnly)
        Overrides:
        printIndexHelp in class edu.uiuc.ncsa.security.storage.cli.StoreCommands2
      • getState

        public org.qdl_lang.state.State getState()
      • setState

        public void setState​(org.qdl_lang.state.State state)
      • about

        public void about​(boolean showBanner,
                          boolean showHeader)
        Specified by:
        about in class edu.uiuc.ncsa.security.util.cli.AbstractCommandsImpl