|
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<R>
public class SiteRequestLogic<R extends SiteRequest>
Base logic for all command objects
Constructor Summary | |
---|---|
SiteRequestLogic(ClientApplication clientApplication) |
Method Summary | |
---|---|
boolean |
checkSecurity(R request, LazyLoadingContent content) Check the security of this content item. |
boolean |
checkSecurity(R pageRequest, SectionNode section) Determine if the user has access rights to the given section |
ClientApplication |
getClientApplication() |
ProjectFile |
getProject(SiteRequest siteRequest) Retrieve the project associated with this site request. |
ProjectFile |
getProject(SiteRequest siteRequest, boolean errorIfNotFound) Retrieve the project associated with this site request. |
SectionNode |
getSection(SiteRequest siteRequest) |
SectionNode |
getSection(SiteRequest siteRequest, boolean errorIfNotFound) |
SectionTree |
getStructure(SiteRequest siteRequest) |
boolean |
isSectionAvailable(R pageRequest, SectionNode section) Determine if the section is available to the user |
void |
setRequestSiteID(R siteRequest, java.lang.String siteID) Reset the siteID for this request. |
void |
validateSiteRequest(R siteRequest) Verify the request parameters |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SiteRequestLogic(ClientApplication clientApplication)
Method Detail |
---|
public ClientApplication getClientApplication()
public void validateSiteRequest(R siteRequest) throws SiteRequestException
siteRequest
- the requestSiteRequestException
- if the parameters are not validpublic void setRequestSiteID(R siteRequest, java.lang.String siteID) throws SiteRequestException
siteRequest
- the current requestsiteID
- the site ID to verifySiteRequestException
- thrown if the site ID is invalidpublic SectionNode getSection(SiteRequest siteRequest) throws SiteRequestException
siteRequest
- the site requestSiteRequestException
public SectionNode getSection(SiteRequest siteRequest, boolean errorIfNotFound) throws SiteRequestException
siteRequest
- the site requesterrorIfNotFound
- true to throw an error if not foundSiteRequestException
public SectionTree getStructure(SiteRequest siteRequest) throws SiteRequestException
siteRequest
- the requestSiteRequestException
public ProjectFile getProject(SiteRequest siteRequest) throws SiteRequestException
siteRequest
- the site requestSiteRequestException
public ProjectFile getProject(SiteRequest siteRequest, boolean errorIfNotFound) throws SiteRequestException
siteRequest
- the site requesterrorIfNotFound
- true to throw an error if not foundSiteRequestException
public boolean isSectionAvailable(R pageRequest, SectionNode section)
pageRequest
- the page requestsection
- the section to verifypublic boolean checkSecurity(R pageRequest, SectionNode section) throws SiteRequestException
pageRequest
- the page requestsection
- the section to verifySiteRequestException
- if an error occurs while executing the security checkpublic boolean checkSecurity(R request, LazyLoadingContent content) throws SiteRequestException
request
- the requestcontent
- the contentSiteRequestException
|
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 |