Package de.unirostock.sems.cbarchive.web
Class WorkspaceManager
- java.lang.Object
-
- de.unirostock.sems.cbarchive.web.WorkspaceManager
-
public class WorkspaceManager extends Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkspacecreateWorkspace()static WorkspaceManagergetInstance()WorkspacegetWorkspace(String workspaceId)booleanhasWorkspace(String workspaceId)voidremoveWorkspace(Workspace workspace)voidstoreSettings()stores the settings immediately to diskvoidupdateStorage()Checks if the time for the store cycle exceeded and runs the store process, if necessary
-
-
-
Method Detail
-
getInstance
public static final WorkspaceManager getInstance()
-
hasWorkspace
public boolean hasWorkspace(String workspaceId)
-
createWorkspace
public Workspace createWorkspace() throws IOException
- Throws:
IOException
-
removeWorkspace
public void removeWorkspace(Workspace workspace)
-
updateStorage
public void updateStorage()
Checks if the time for the store cycle exceeded and runs the store process, if necessary
-
storeSettings
public void storeSettings()
stores the settings immediately to disk
-
-