Class SpaceAclController
java.lang.Object
org.duracloud.duradmin.spaces.controller.SpaceAclController
- Author:
- Daniel Bernstein Date: Nov 17, 2011
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSpaceAclController(ContentStoreManager contentStoreManager, DuracloudUserDetailsService userDetailsService) -
Method Summary
Modifier and TypeMethodDescriptionprotected ContentStoregetContentStore(Space space) org.springframework.web.servlet.ModelAndViewgetNewUserAcls(String spaceId, String storeId) org.springframework.web.servlet.ModelAndViewgetSpaceAcls(String spaceId, String storeId) org.springframework.web.servlet.ModelAndViewpostSpaceAcls(javax.servlet.http.HttpServletRequest request, String spaceId, String storeId, String action)
-
Field Details
-
log
protected final org.slf4j.Logger log
-
-
Constructor Details
-
SpaceAclController
@Autowired(required=true) public SpaceAclController(@Qualifier("contentStoreManager") ContentStoreManager contentStoreManager, @Qualifier("userDetailsSvc") DuracloudUserDetailsService userDetailsService)
-
-
Method Details
-
postSpaceAcls
@RequestMapping(value="/spaces/acls", method=POST) public org.springframework.web.servlet.ModelAndView postSpaceAcls(javax.servlet.http.HttpServletRequest request, @RequestParam String spaceId, @RequestParam String storeId, @RequestParam String action) throws Exception - Throws:
Exception
-
getSpaceAcls
@RequestMapping(value="/spaces/acls", method=GET) public org.springframework.web.servlet.ModelAndView getSpaceAcls(@RequestParam String spaceId, @RequestParam String storeId) throws Exception - Throws:
Exception
-
getNewUserAcls
@RequestMapping(value="/spaces/acls/unassignedAcls", method=GET) public org.springframework.web.servlet.ModelAndView getNewUserAcls(@RequestParam String spaceId, @RequestParam String storeId) throws Exception - Throws:
Exception
-
getContentStore
- Throws:
ContentStoreException
-