public class SiteUtils extends Object
Constructor and Description |
---|
SiteUtils() |
Modifier and Type | Method and Description |
---|---|
static String |
getSiteId(String contentPath)
Returns the site id given a content path of the form
|
SiteManager |
getSiteManager() |
static String |
getSiteUrl(SiteState siteState,
String href)
Converts a URL into a site-aware URL.
|
void |
setSiteManager(SiteManager siteManager) |
public SiteManager getSiteManager()
public void setSiteManager(SiteManager siteManager)
public static String getSiteUrl(SiteState siteState, String href) throws URISyntaxException
action
- the action that the url is being constructed forURISyntaxException
Copyright © 2017, Oracle and/or its affiliates. All rights reserved.