public class URLShortenerManager extends Object implements IURLShortenerManager
IURLManager
implementation.Constructor and Description |
---|
URLShortenerManager() |
public IURLShortener get(ServiceInstanceConfig serviceInstance) throws PortalException
IURLShortenerManager
URL shortener
for the given service
instance.get
in interface IURLShortenerManager
serviceInstance
- the service instance.URL shortener
for the given service
instance.PortalException
public IURLShortener get(ChannelConfig channel) throws PortalException
IURLShortenerManager
URL shortener
for the given
channel
.get
in interface IURLShortenerManager
channel
- the channeç.URL shortener
for the given
channel
.PortalException
public void put(ServiceInstanceConfig serviceInstance, String className, Map<String,String> parameters) throws PortalException
IURLShortenerManager
URL shortener
for the given service
instance.put
in interface IURLShortenerManager
serviceInstance
- the service instance.className
- the class name.parameters
- the parameters to be passed to the URL shortener.PortalException
public void put(ChannelConfig channel, String className, Map<String,String> parameters) throws PortalException
IURLShortenerManager
put
in interface IURLShortenerManager
channel
- the channel.className
- the class name.parameters
- the parameters to be passed to the URL shortener.PortalException
public void remove(ServiceInstanceConfig serviceInstance) throws PortalException
IURLShortenerManager
URL shortener
of the given service
instance.remove
in interface IURLShortenerManager
serviceInstance
- the service instance.PortalException
public void remove(ChannelConfig channel) throws PortalException
IURLShortenerManager
URL shortener
of the given channel.remove
in interface IURLShortenerManager
channel
- the channel.PortalException
public boolean isLocal(ChannelConfig channel) throws PortalException
shortener
.channel
- the channel.shortener
.PortalException
Lumisportal 10.1.2.170428 - Copyright © 2006–2017 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.