|
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.server.request.SiteRequestLogic<UrlRequest>
oracle.stellent.wcm.server.request.url.UrlLogic
public class UrlLogic
Logic for the UrlCommand
Field Summary | |
---|---|
static java.lang.String |
DEFAULT_PAGE_NAME default name of a page |
Constructor Summary | |
---|---|
UrlLogic(ClientApplication clientApplication) |
Method Summary | |
---|---|
static java.lang.String |
createUrlWithPattern(java.lang.String url, java.lang.String urlPattern) Create the URL with the specified pattern |
protected oracle.stellent.wcm.server.request.url.UrlLogic.UrlHolder |
getContentLink(UrlRequest urlRequest) Create a link to a content item |
protected oracle.stellent.wcm.server.request.url.UrlLogic.UrlHolder |
getDCPageLink(UrlRequest urlRequest) Create a link to a specific page of a dynamic conversion |
protected oracle.stellent.wcm.server.request.url.UrlLogic.UrlHolder |
getDCResourceLink(UrlRequest urlRequest) Create a link to a DC resource |
protected NamedPageNode |
getNamedPageNodeByID(UrlRequest urlRequest, java.lang.String id) |
protected oracle.stellent.wcm.server.request.url.UrlLogic.UrlHolder |
getNodeLink(UrlRequest urlRequest) Create a node link |
protected oracle.stellent.wcm.server.request.url.UrlLogic.PageTemplateMapping |
getPageTemplateForDataFile(UrlRequest urlRequest, SectionNode section, ContentID contentID) Determine which page template to use to display the given content ID |
protected oracle.stellent.wcm.server.request.url.UrlLogic.UrlHolder |
getRenditionLink(UrlRequest urlRequest) Create a link to a rendition |
protected oracle.stellent.wcm.server.request.url.UrlLogic.UrlHolder |
getRenditionLink(UrlRequest urlRequest, java.lang.String dDocName, java.lang.String renditionName) Create a link to a rendition |
protected oracle.stellent.wcm.server.request.url.UrlLogic.UrlHolder |
getResourceLink(UrlRequest urlRequest) Create a link to a resource |
protected SectionNode |
getSectionByID(UrlRequest urlRequest, java.lang.String id) Lookup the section, determine if the section is a number or a path |
java.lang.String |
getUrl(UrlRequest urlRequest) Retrieve the URL for the values in this request |
void |
validateSiteRequest(UrlRequest request) Verify the request parameters |
Methods inherited from class oracle.stellent.wcm.server.request.SiteRequestLogic |
---|
checkSecurity, checkSecurity, getClientApplication, getProject, getProject, getSection, getSection, getStructure, isSectionAvailable, setRequestSiteID |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String DEFAULT_PAGE_NAME
Constructor Detail |
---|
public UrlLogic(ClientApplication clientApplication)
Method Detail |
---|
public static java.lang.String createUrlWithPattern(java.lang.String url, java.lang.String urlPattern)
url
- the urlurlPattern
- the patternpublic void validateSiteRequest(UrlRequest request) throws SiteRequestException
SiteRequestLogic
validateSiteRequest
in class SiteRequestLogic<UrlRequest>
request
- the requestSiteRequestException
- if the parameters are not validpublic java.lang.String getUrl(UrlRequest urlRequest) throws SiteRequestException
urlRequest
- the url requestSiteRequestException
protected oracle.stellent.wcm.server.request.url.UrlLogic.UrlHolder getDCPageLink(UrlRequest urlRequest)
urlRequest
- the url commandprotected oracle.stellent.wcm.server.request.url.UrlLogic.UrlHolder getResourceLink(UrlRequest urlRequest) throws oracle.stellent.ridc.IdcClientException
urlRequest
- the url commandoracle.stellent.ridc.IdcClientException
protected oracle.stellent.wcm.server.request.url.UrlLogic.UrlHolder getDCResourceLink(UrlRequest urlRequest) throws oracle.stellent.ridc.IdcClientException
urlRequest
- the url commandoracle.stellent.ridc.IdcClientException
protected oracle.stellent.wcm.server.request.url.UrlLogic.UrlHolder getRenditionLink(UrlRequest urlRequest) throws oracle.stellent.ridc.IdcClientException
urlRequest
- the url commandoracle.stellent.ridc.IdcClientException
protected oracle.stellent.wcm.server.request.url.UrlLogic.UrlHolder getRenditionLink(UrlRequest urlRequest, java.lang.String dDocName, java.lang.String renditionName) throws oracle.stellent.ridc.IdcClientException
urlRequest
- the url commanddDocName
- the content IDrenditionName
- the rendition nameoracle.stellent.ridc.IdcClientException
protected oracle.stellent.wcm.server.request.url.UrlLogic.UrlHolder getContentLink(UrlRequest urlRequest) throws SiteRequestException
urlRequest
- the url commandSiteRequestException
protected oracle.stellent.wcm.server.request.url.UrlLogic.UrlHolder getNodeLink(UrlRequest urlRequest) throws SiteRequestException
urlRequest
- the url commandSiteRequestException
protected NamedPageNode getNamedPageNodeByID(UrlRequest urlRequest, java.lang.String id) throws SiteRequestException
SiteRequestException
protected SectionNode getSectionByID(UrlRequest urlRequest, java.lang.String id) throws SiteRequestException
urlRequest
- the url commandid
- the section ID or pathSiteRequestException
protected oracle.stellent.wcm.server.request.url.UrlLogic.PageTemplateMapping getPageTemplateForDataFile(UrlRequest urlRequest, SectionNode section, ContentID contentID) throws SiteRequestException
urlRequest
- the url requestsection
- the section to querycontentID
- the content ID of the data file to displaySiteRequestException
- if the page template cannot be determined
|
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 |