01: /**
02: *
03: */package org.sakaiproject.content.api;
04:
05: import org.sakaiproject.entity.api.Edit;
06:
07: /**
08: * @author ieb
09: *
10: */
11: public interface ContentHostingHandlerResolver {
12:
13: public static final String CHH_BEAN_NAME = "sakai:handler-bean-id";
14:
15: /**
16: * create a new Collection Edit to allow the CHH implementation to deliver Collections
17: *
18: * @param id
19: * @return
20: */
21: Edit newCollectionEdit(String id);
22:
23: /**
24: * create a new Resource Edit to allow the CHH implementation to deliver Resources
25: *
26: * @param id
27: * @return
28: */
29: Edit newResourceEdit(String id);
30:
31: }
|