Package net.anotheria.anodoc.util
Interface ICommonModuleStorage
-
public interface ICommonModuleStorageInterface for module storage.- Version:
- $Id: $Id
- Author:
- another
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddeleteModule(java.lang.String moduleId, java.lang.String ownerId, java.lang.String copyId)Delete the specified instance.ModuleloadModule(java.lang.String moduleId, java.lang.String ownerId, java.lang.String copyId, IModuleFactory factory)Loads the specified instance.voidsaveModule(Module module)Saves the given instance permanently.
-
-
-
Method Detail
-
saveModule
void saveModule(Module module) throws CommonModuleStorageException
Saves the given instance permanently.- Parameters:
module- module to save- Throws:
CommonModuleStorageException- if any.
-
loadModule
Module loadModule(java.lang.String moduleId, java.lang.String ownerId, java.lang.String copyId, IModuleFactory factory) throws CommonModuleStorageException
Loads the specified instance.- Parameters:
moduleId- aStringobject.ownerId- aStringobject.copyId- aStringobject.factory- aIModuleFactoryobject.- Returns:
- loaded module
- Throws:
CommonModuleStorageException- if any.
-
deleteModule
void deleteModule(java.lang.String moduleId, java.lang.String ownerId, java.lang.String copyId) throws CommonModuleStorageExceptionDelete the specified instance.- Parameters:
moduleId- id of moduleownerId- id of ownercopyId- id of copy- Throws:
CommonModuleStorageException- if any.
-
-