Modifier and Type | Field and Description |
---|---|
static Object |
LOCK |
Object |
lockReference |
static boolean |
ONE_INSTANCE_RUN |
Constructor and Description |
---|
PersistenceThread(Object lockReference) |
Modifier and Type | Method and Description |
---|---|
void |
addFolderToSave(File file) |
String |
getContextKey() |
String |
getDataFolder() |
String |
getDefaultLg() |
Map<String,String> |
getGlobalContentMap() |
MenuElement |
getMenuElement() |
int |
getMode() |
PersistenceService |
getPersistenceService() |
TaxonomyBean |
getTaxonomyRoot() |
protected File |
getXMLPersistenceFile(int mode) |
protected File |
getXMLPersistenceFile(int mode,
long version) |
boolean |
isRunning() |
void |
run() |
void |
setContextKey(String contextKey) |
void |
setDataFolder(String dataFolder) |
void |
setDefaultLg(String defaultLg) |
void |
setGlobalContentMap(Map<String,String> globalContentMap) |
void |
setMenuElement(MenuElement menuElement) |
void |
setMode(int mode) |
void |
setPersistenceService(PersistenceService persistenceService) |
void |
setTaxonomyRoot(TaxonomyBean taxonomyRoot) |
void |
start(boolean async) |
public static boolean ONE_INSTANCE_RUN
public Object lockReference
public static final Object LOCK
public PersistenceThread(Object lockReference)
public void addFolderToSave(File file)
public String getDataFolder()
public String getDefaultLg()
public TaxonomyBean getTaxonomyRoot()
public void setTaxonomyRoot(TaxonomyBean taxonomyRoot)
public MenuElement getMenuElement()
public int getMode()
public PersistenceService getPersistenceService()
public void start(boolean async)
public boolean isRunning()
public void setDataFolder(String dataFolder)
public void setDefaultLg(String defaultLg)
public void setMenuElement(MenuElement menuElement)
public void setMode(int mode)
public void setPersistenceService(PersistenceService persistenceService)
protected File getXMLPersistenceFile(int mode, long version)
protected File getXMLPersistenceFile(int mode)
public String getContextKey()
public void setContextKey(String contextKey)
Copyright © 2012-2018. All Rights Reserved.