...
- Determine bodypath for file storage, from ContentHostingService
- Determine if bodypath exists via ContentHostingService. If exists, try to
- Find site type from a Sakai reference object (that ContentHostingService uses) if site type is:
- User Sites
- Determine userid from reference path (e.g. /content/user)
- From userid, determine user AFS home root from firstname, lastname algorithm. This is AFS HOME ROOT
- Create bodypath as /afs/home.ucdavis.edu/home/AFS HOME ROOT/.sakai/INSTANCE
- Personal Project Sites
- Course Sites
- Other Site Types (e.g. Institutional Project Sites)
- else if bodypath doesn't exist..
...