Package org.openforis.collect.reporting
Class MondrianSchemaStorageManager
- java.lang.Object
-
- org.openforis.collect.manager.BaseStorageManager
-
- org.openforis.collect.reporting.MondrianSchemaStorageManager
-
- All Implemented Interfaces:
Serializable,org.springframework.beans.factory.InitializingBean
@Component public class MondrianSchemaStorageManager extends BaseStorageManager implements org.springframework.beans.factory.InitializingBean
- Author:
- S. Ricci
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.openforis.collect.manager.BaseStorageManager
configurationManager, DATA_FOLDER_NAME, storageDirectory
-
-
Constructor Summary
Constructors Constructor Description MondrianSchemaStorageManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterPropertiesSet()booleancreateBackupCopy(String surveyName)booleandeleteSchemaFile(String surveyName)booleanexistsSchemaFile(String surveyName)FilegetSchemaFile(String surveyName)voidinit()protected voidinitStorageDirectory()StringreadSchemaFile(String surveyName)-
Methods inherited from class org.openforis.collect.manager.BaseStorageManager
getDefaultRootStoragePath, getDefaultStorageDirectory, getDefaultStorageRootDirectory, getStorageDirectory, initStorageDirectory, initStorageDirectory, setDefaultRootStoragePath, setDefaultSubFolder
-
-
-
-
Method Detail
-
afterPropertiesSet
public void afterPropertiesSet() throws Exception- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception
-
init
public void init()
-
initStorageDirectory
protected void initStorageDirectory()
-
existsSchemaFile
public boolean existsSchemaFile(String surveyName)
-
createBackupCopy
public boolean createBackupCopy(String surveyName) throws IOException
- Throws:
IOException
-
deleteSchemaFile
public boolean deleteSchemaFile(String surveyName)
-
-