资 源 简 介
Deprecated location.
Moved to https://github.com/dgradecak/alfresco-mvc
This project provides the glue between Alfresco and Spring @MVC. Use Springframework annotations instead of standard webscripts and speed up your development.
Alfresco @MVC enables the entire Spring MVC stack inside the Alfresco core repository.
There is no need to maintain several webscript files. One simple annotated method and you have the result. Autowire any Alfresco service or configure a servlet-context.xml
Works with all newer Alfresco versions in both community and enterprise versions.
Helper annotations are :
* @AlfrescoTransaction
* @AlfrescoRunAs
* @AlfrescoAuthentication
Sample :
```
@Controller
@RequestMapping("/user/*")
public class UserController {
@Autowired
private MyAlfrescoService myService;
@RequestMapping(value = "get", method = RequestMethod.GET)
public String getUSer(@RequestParam String userId) {
m