mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Web Framework loads model files from Stores
- first pass implementation - all model files are loaded from Stores - added configuration file (web-framework-model-context.xml) which maintains three stores (classpath, local and remote) - remove model file system from request context - updated caching so that it wraps Store objects - added a simple LocalFileSystemStore that mounts against a provided local path (i.e. d:/web-framework) - updated Store interface and implementations (RepoStore, ClassPathStore, RemoteStore, LocalFileSystemStore) to include removeDocument method git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9441 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -578,6 +578,17 @@ public class RepoStore implements Store, TenantDeployer
|
|||||||
ContentWriter writer = fileService.getWriter(fileInfo.getNodeRef());
|
ContentWriter writer = fileService.getWriter(fileInfo.getNodeRef());
|
||||||
writer.putContent(content);
|
writer.putContent(content);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* (non-Javadoc)
|
||||||
|
* @see org.alfresco.web.scripts.Store#removeDocument(java.lang.String)
|
||||||
|
*/
|
||||||
|
public boolean removeDocument(String documentPath)
|
||||||
|
throws IOException
|
||||||
|
{
|
||||||
|
// TODO: Implement remove for Repository Store
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/* (non-Javadoc)
|
/* (non-Javadoc)
|
||||||
* @see org.alfresco.web.scripts.Store#getTemplateLoader()
|
* @see org.alfresco.web.scripts.Store#getTemplateLoader()
|
||||||
|
Reference in New Issue
Block a user