Package de.xima.fc.security.endpoint.uri
Class UriResolverFactory
- java.lang.Object
 - 
- de.xima.fc.security.endpoint.uri.UriResolverFactory
 
 
- 
public class UriResolverFactory extends Object
Factory for creating defaultIUriResolver.- Since:
 - 8.0.0
 - Author:
 - XIMA Media GmbH
 
 
- 
- 
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IUriResolverclientUri(List<String> viewParts, String extension)static IUriResolverdesignerUri(List<String> viewParts, String extension)static IUriResolverpluginMenuEntryUriResolver(IPluginMenuEntry pluginEntry, String contextName)static IUriResolverprotectedUri(List<String> viewParts, String extension)static IUriResolverpublicUri(List<String> viewParts, String extension)static IUriResolversystemUri(List<String> viewParts, String extension) 
 - 
 
- 
- 
Method Detail
- 
publicUri
public static IUriResolver publicUri(List<String> viewParts, String extension)
- 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
public static IUriResolver protectedUri(List<String> viewParts, String extension)
- 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
public static IUriResolver clientUri(List<String> viewParts, String extension)
- 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
public static IUriResolver designerUri(List<String> viewParts, String extension)
- 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
public static IUriResolver systemUri(List<String> viewParts, String extension)
- 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.
 
 
- 
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
 
 
 - 
 
 -