|
A content URI route.It allows to both map
external URIs containing instance PKs to internal JSF pages AND to generate
those external URIs based on an instance PK.
Supported placeholders:
${id}
| The content ID |
${pk}
| The content PK |
author: Daniel Lichtenberger (daniel.lichtenberger@flexive.com), UCS - unique computing solutions gmbh (http://www.ucs.at) version: $Rev: 1 $
Constructor Summary | |
public | ContentURIRoute(String target, String format, String typeName) Create a new content URI mapper with the given format and for the given type name. |
ContentURIRoute | public ContentURIRoute(String target, String format, String typeName)(Code) | | Create a new content URI mapper with the given format and for the given type name.
Parameters: target - the target URI Parameters: format - the format string Parameters: typeName - the type for which this mapper should be applied. See Also: com.flexive.shared.structure.FxType |
findForType | public static ContentURIRoute findForType(Collection<? extends ContentURIRoute> routes, String typeName)(Code) | | Returns the first route matching the given typename, or null when no route was found.
Parameters: routes - the routes to be searched Parameters: typeName - the typename to be searched for the first route matching the given typename, or null when no route was found. |
|