| java.lang.Object org.sakaiproject.portal.util.PortalSiteHelper
PortalSiteHelper | public class PortalSiteHelper (Code) | | author: ieb since: Sakai 2.4 version: $Rev: 29143 $ |
Method Summary | |
public boolean | allowTool(Site site, Placement placement) | public boolean | doGatewaySiteList() | public List<Site> | getAllSites(HttpServletRequest req, Session session, boolean includeMyWorkspace) | public Site | getMyWorkspace(Session session) | public List | getPermittedPagesInOrder(Site site) | public String | getSiteEffectiveId(Site site) If this is a user site, return an id based on the user EID, otherwise
just return the site id.
Parameters: site - The site. | public Site | getSiteVisit(String siteId) Do the getSiteVisit, but if not found and the id is a user site, try
translating from user EID to ID.
Parameters: siteId - The Site Id. | public boolean | setTemporaryPlacement(Site site) | public boolean | summarizePage(Map m, Site site, SitePage page) | public boolean | summarizeTool(Map m, Site site, String toolIdentifier) |
CURRENT_PLACEMENT | final protected static String CURRENT_PLACEMENT(Code) | | |
doGatewaySiteList | public boolean doGatewaySiteList()(Code) | | |
getPermittedPagesInOrder | public List getPermittedPagesInOrder(Site site)(Code) | | |
getSiteEffectiveId | public String getSiteEffectiveId(Site site)(Code) | | If this is a user site, return an id based on the user EID, otherwise
just return the site id.
Parameters: site - The site. The effective site id. |
setTemporaryPlacement | public boolean setTemporaryPlacement(Site site)(Code) | | |
|
|