|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lumis.portal.urlshortener.URLShortenerManager
public class URLShortenerManager
IURLManager
implementation.
Constructor Summary | |
---|---|
URLShortenerManager()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public URLShortenerManager()
Method Detail |
---|
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.lumis.portal.urlshortener.CustomURLShortener
lumis.portal.urlshortener.TinyURLShortener
lumis.portal.urlshortener.MigreMeURLShortener
lumis.portal.urlshortener.GoogleURLShortener
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
URL shortener
for the given channel.lumis.portal.urlshortener.CustomURLShortener
lumis.portal.urlshortener.TinyURLShortener
lumis.portal.urlshortener.MigreMeURLShortener
lumis.portal.urlshortener.GoogleURLShortener
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |