Package de.xima.fc.security.endpoint.uri
Class UriResolverFactory
java.lang.Object
de.xima.fc.security.endpoint.uri.UriResolverFactory
Factory for creating default
IUriResolver.- Since:
- 8.0.0
- Author:
- XIMA Media GmbH
-
Method Summary
Modifier and TypeMethodDescriptionstatic IUriResolverstatic IUriResolverdesignerUri(List<String> viewParts, String extension) static IUriResolverpluginMenuEntryUriResolver(IPluginMenuEntry pluginEntry, String contextName) static IUriResolverprofileUri(List<String> viewParts, String extension) static IUriResolverprotectedUri(List<String> viewParts, String extension) static IUriResolverstatic IUriResolver
-
Method Details
-
publicUri
- Parameters:
viewParts- ordered list of path parts of the URI. These parts are part of the rewrite URI template as well as the internal URI.extension- Extension to add to the last view part, e.g..xhtml. Can be an empty string when no extension is required.- Returns:
- Rewrite URI resolver for public views.
-
protectedUri
- Parameters:
viewParts- ordered list of path parts of the URI. These parts are part of the rewrite URI template as well as the internal URI.extension- Extension to add to the last view part, e.g..xhtml. Can be an empty string when no extension is required.- Returns:
- Rewrite URI resolver for protected views.
-
clientUri
- Parameters:
viewParts- ordered list of path parts of the URI. These parts are part of the rewrite URI template as well as the internal URI.extension- Extension to add to the last view part, e.g..xhtml. Can be an empty string when no extension is required.- Returns:
- Rewrite URI resolver for client scoped views.
-
designerUri
- Parameters:
viewParts- ordered list of path parts of the URI. These parts are part of the rewrite URI template as well as the internal URI.extension- Extension to add to the last view part, e.g..xhtml. Can be an empty string when no extension is required.- Returns:
- Rewrite URI resolver for designer / form version scoped views.
-
systemUri
- Parameters:
viewParts- ordered list of path parts of the URI. These parts are part of the rewrite URI template as well as the internal URI.extension- Extension to add to the last view part, e.g..xhtml. Can be an empty string when no extension is required.- Returns:
- Rewrite URI resolver for system scoped views.
-
profileUri
- Parameters:
viewParts- ordered list of path parts of the URI. These parts are part of the rewrite URI template as well as the internal URI.extension- Extension to add to the last view part, e.g..xhtml. Can be an empty string when no extension is required.- Returns:
- Rewrite URI resolver for profile views.
-
pluginMenuEntryUriResolver
public static IUriResolver pluginMenuEntryUriResolver(IPluginMenuEntry pluginEntry, String contextName) - Parameters:
pluginEntry- menu entry provided by a plugin.contextName- name of the portal context- Returns:
- Plugin menu entry URI resolver
-