public Site getSite(String siteShortName) return the site
object for the specified site.
Parameters
- siteShortName
- A string representing the name of the site.
Returns
Returns a Site instance representing the specified site. Returns null if the site cannot be found.
Example
siteService = session.getServiceRegistry() .getSiteService(); site = siteService.getSite("public-site");