public interface IURLShortenerManager
SessionConfig.getCurrentSessionConfig()
do not return null.Modifier and Type | Method and Description |
---|---|
IURLShortener |
get(ChannelConfig channel)
Returns the
URL shortener for the given
channel . |
IURLShortener |
get(ServiceInstanceConfig serviceInstance)
Returns the
URL shortener for the given service
instance. |
void |
put(ChannelConfig channel,
String className,
Map<String,String> parameters)
Sets the
URL shortener for the given channel.The class name received must be one of the following: lumis.portal.urlshortener.CustomURLShortener
lumis.portal.urlshortener.TinyURLShortener
|
void |
put(ServiceInstanceConfig serviceInstance,
String className,
Map<String,String> parameters)
Sets the
URL shortener for the given service
instance.The class name received must be one of the following: lumis.portal.urlshortener.CustomURLShortener
lumis.portal.urlshortener.TinyURLShortener
|
void |
remove(ChannelConfig channel)
Removes the
URL shortener of the given channel. |
void |
remove(ServiceInstanceConfig serviceInstance)
Removes the
URL shortener of the given service
instance. |
IURLShortener get(ServiceInstanceConfig serviceInstance) throws PortalException
URL shortener
for the given service
instance.serviceInstance
- the service instance.URL shortener
for the given service
instance.PortalException
IURLShortener get(ChannelConfig channel) throws PortalException
URL shortener
for the given
channel
.channel
- the channeç.URL shortener
for the given
channel
.PortalException
void put(ServiceInstanceConfig serviceInstance, String className, Map<String,String> parameters) throws PortalException
URL shortener
for the given service
instance.serviceInstance
- the service instance.className
- the class name.parameters
- the parameters to be passed to the URL shortener.PortalException
void put(ChannelConfig channel, String className, Map<String,String> parameters) throws PortalException
channel
- the channel.className
- the class name.parameters
- the parameters to be passed to the URL shortener.PortalException
void remove(ServiceInstanceConfig serviceInstance) throws PortalException
URL shortener
of the given service
instance.serviceInstance
- the service instance.PortalException
void remove(ChannelConfig channel) throws PortalException
URL shortener
of the given channel.channel
- the channel.PortalException
LumisXP 12.3.0.200408 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.