Class PersistenceThread

    • Field Detail

      • ONE_INSTANCE_RUN

        public static boolean ONE_INSTANCE_RUN
      • lockReference

        public Object lockReference
      • LOCK

        public static final Object LOCK
    • Constructor Detail

      • PersistenceThread

        public PersistenceThread​(Object lockReference)
    • Method Detail

      • addFolderToSave

        public void addFolderToSave​(File file)
      • getDataFolder

        public String getDataFolder()
      • getDefaultLg

        public String getDefaultLg()
      • setTaxonomyRoot

        public void setTaxonomyRoot​(TaxonomyBean taxonomyRoot)
      • getMode

        public int getMode()
      • start

        public void start​(boolean async)
      • run

        public void run()
        Specified by:
        run in interface Runnable
      • isRunning

        public boolean isRunning()
      • setDataFolder

        public void setDataFolder​(String dataFolder)
      • setDefaultLg

        public void setDefaultLg​(String defaultLg)
      • setGlobalContentMap

        public void setGlobalContentMap​(Map<String,​String> globalContentMap)
      • setMenuElement

        public void setMenuElement​(MenuElement menuElement)
      • setMode

        public void setMode​(int mode)
      • setPersistenceService

        public void setPersistenceService​(PersistenceService persistenceService)
      • getXMLPersistenceFile

        protected File getXMLPersistenceFile​(int mode)
      • getContextKey

        public String getContextKey()
      • setContextKey

        public void setContextKey​(String contextKey)
      • getEncryptKey

        public String getEncryptKey()
      • setEncryptKey

        public void setEncryptKey​(String encryptKey)
      • isZipStorage

        public boolean isZipStorage()
      • setZipStorage

        public void setZipStorage​(boolean zipStorage)