|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SiteNeighbourhoodService
The SiteNeighbourhoodService provides a list of sites in the neighbourhood of the current context. This might be all sites, or it might be just the children, siblings and drect parents of a site. It is returned as a flat list.
| Method Summary | |
|---|---|
List<org.sakaiproject.site.api.Site> |
getSitesAtNode(javax.servlet.http.HttpServletRequest request,
org.sakaiproject.tool.api.Session session,
boolean includeMyWorksite)
Get a list of sites at the current node as defined by the request |
String |
lookupSiteAlias(String siteId,
String content)
Convert an ID that is normally displayed in the URL into something more readable. |
String |
parseSiteAlias(String alias)
Attempt to convert an alias back into a site reference. |
| Method Detail |
|---|
List<org.sakaiproject.site.api.Site> getSitesAtNode(javax.servlet.http.HttpServletRequest request,
org.sakaiproject.tool.api.Session session,
boolean includeMyWorksite)
request - session - includeMyWorksite -
String lookupSiteAlias(String siteId,
String content)
siteId - The ID to convert.content - The context that this site is presented in.
String parseSiteAlias(String alias)
alias -
null if we couldn't find an reference that this maps to.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||