| 
 | Oracle® WebCenter Content Site Studio for External Applications Java API Reference 11g Release 1 (11.1.1) E17273-03 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
   oracle.stellent.wcm.client.SitePathBuilder
oracle.stellent.wcm.client.SitePathBuilder
public class SitePathBuilder
Class for building the paths used to create URLs to this site
| Constructor Summary | |
|---|---|
| SitePathBuilder(ClientApplication clientApplication)Build a site pattern builder using the configuration in the given bean | |
| Method Summary | |
|---|---|
|  java.lang.String | getUrlPath(UrlRequest.UrlRoot root, SiteRequest.Mode mode, java.lang.String siteID)Retrieve the url path | 
|  void | populateContext(SiteContext siteContext, boolean overwrite)Populate the SiteContext with the pattern values for UrlRequest.UrlRoot.SiteandUrlRequest.UrlRoot.PublicDir. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public SitePathBuilder(ClientApplication clientApplication)
configuration - the configuration object| Method Detail | 
|---|
public void populateContext(SiteContext siteContext,
                            boolean overwrite)
UrlRequest.UrlRoot.Site and UrlRequest.UrlRoot.PublicDir. Uses the mode and siteID configured in the SiteContext to determine URLs.siteContext - the site contextoverwrite - if true, overwrite existing values even if already set
public java.lang.String getUrlPath(UrlRequest.UrlRoot root,
                                   SiteRequest.Mode mode,
                                   java.lang.String siteID)
root - the url typemode - the current modesiteID - the site ID (if applicable)| 
 | Oracle® WebCenter Content Site Studio for External Applications Java API Reference 11g Release 1 (11.1.1) E17273-03 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||