|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IURLShortenerManager
Provides URL shortening operations.
All the operations here defined require some authenticated user, so that
SessionConfig.getCurrentSessionConfig()
do not return null.
Method Detail |
---|
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.lumis.portal.urlshortener.CustomURLShortener
lumis.portal.urlshortener.TinyURLShortener
lumis.portal.urlshortener.MigreMeURLShortener
lumis.portal.urlshortener.GoogleURLShortener
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
URL shortener
for the given channel.lumis.portal.urlshortener.CustomURLShortener
lumis.portal.urlshortener.TinyURLShortener
lumis.portal.urlshortener.MigreMeURLShortener
lumis.portal.urlshortener.GoogleURLShortener
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |