|
||||||||||
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 Summary | |
---|---|
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,
java.lang.String className,
java.util.Map<java.lang.String,java.lang.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
lumis.portal.urlshortener.MigreMeURLShortener
lumis.portal.urlshortener.GoogleURLShortener
|
void |
put(ServiceInstanceConfig serviceInstance,
java.lang.String className,
java.util.Map<java.lang.String,java.lang.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
lumis.portal.urlshortener.MigreMeURLShortener
lumis.portal.urlshortener.GoogleURLShortener
|
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. |
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, java.lang.String className, java.util.Map<java.lang.String,java.lang.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, java.lang.String className, java.util.Map<java.lang.String,java.lang.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 |