com.ibm.portal.model
Interface VanityURLModelProvider

All Superinterfaces:
VanityURLModelProvider

public interface VanityURLModelProvider
extends VanityURLModelProvider

This interface provides access to the vanity URL model given a request and response.

Since:
8.5
See Also:
VanityURLModelHome

Method Summary
<T extends VanityURLNode>
VanityURLModel<T>
getVanityURLModel(javax.servlet.ServletRequest req, javax.servlet.ServletResponse res)
          Returns a vanity URL model for a given request and response.
 

Method Detail

getVanityURLModel

<T extends VanityURLNode> VanityURLModel<T> getVanityURLModel(javax.servlet.ServletRequest req,
                                                              javax.servlet.ServletResponse res)
                                                          throws ModelException
Returns a vanity URL model for a given request and response.

Parameters:
req - the current request
res - the current response
Returns:
the vanity URL model valid for the given request and response
Throws:
ModelException - in case the model cannot be obtained