|
Oracle® Fusion Middleware Site Studio for External Applications Java API Reference 11g Release 1 (11.1.1) E17273-02 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
oracle.stellent.wcm.server.request.logic.RequestLogic<T>
public class RequestLogic<T extends SiteRequest>
Base logic for all command objects
| Constructor Summary | |
|---|---|
RequestLogic(ServerContext serverContext) |
|
| Method Summary | |
|---|---|
boolean |
checkSecurity(T request, ProviderContent content)Check the security of this content item. |
boolean |
checkSecurity(T pageRequest, SectionNode section)Determine if the user has access rights to the given section |
Project |
getProject(SiteRequest siteRequest)Retrieve the project associated with this site request. |
Project |
getProject(SiteRequest siteRequest, boolean errorIfNotFound)Retrieve the project associated with this site request. |
SectionNode |
getSection(SiteRequest siteRequest) |
SectionNode |
getSection(SiteRequest siteRequest, boolean errorIfNotFound) |
ServerContext |
getServerContext() |
SectionTree |
getStructure(SiteRequest request) |
boolean |
isSectionAvailable(T pageRequest, SectionNode section)Determine if the section is available to the user |
void |
setRequestSiteID(T request, java.lang.String siteID)Reset the siteID for this request. |
void |
validateRequest(T request)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 RequestLogic(ServerContext serverContext)
| Method Detail |
|---|
public ServerContext getServerContext()
public void validateRequest(T request)
throws RequestException
request - the requestRequestException - if the parameters are not valid
public void setRequestSiteID(T request,
java.lang.String siteID)
throws RequestException
request - the current requestsiteID - the site ID to verifyRequestException - thrown if the site ID is invalid
public SectionNode getSection(SiteRequest siteRequest)
throws RequestException
siteRequest - the site requestRequestException
public SectionNode getSection(SiteRequest siteRequest,
boolean errorIfNotFound)
throws RequestException
siteRequest - the site requesterrorIfNotFound - true to throw an error if not foundRequestException
public SectionTree getStructure(SiteRequest request)
throws RequestException
request - the requestRequestException
public Project getProject(SiteRequest siteRequest)
throws RequestException
siteRequest - the site requestRequestException
public Project getProject(SiteRequest siteRequest,
boolean errorIfNotFound)
throws RequestException
siteRequest - the site requesterrorIfNotFound - true to throw an error if not foundRequestException
public boolean isSectionAvailable(T pageRequest,
SectionNode section)
pageRequest - the page requestsection - the section to verify
public boolean checkSecurity(T pageRequest,
SectionNode section)
throws RequestException
pageRequest - the page requestsection - the section to verifyRequestException - if an error occurs while executing the security check
public boolean checkSecurity(T request,
ProviderContent content)
throws RequestException
request - the requestcontent - the contentRequestException
|
Oracle® Fusion Middleware Site Studio for External Applications Java API Reference 11g Release 1 (11.1.1) E17273-02 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||