Package org.alfresco.repo.urlshortening
Class BitlyUrlShortenerImpl
- java.lang.Object
-
- org.alfresco.repo.urlshortening.BitlyUrlShortenerImpl
-
- All Implemented Interfaces:
UrlShortener
@Deprecated public class BitlyUrlShortenerImpl extends Object implements UrlShortener
Deprecated.as it is no longer used in the core repository code.
-
-
Constructor Summary
Constructors Constructor Description BitlyUrlShortenerImpl()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description intgetUrlLength()Deprecated.voidsetApiKey(String apiKey)Deprecated.voidsetUrlLength(int urlLength)Deprecated.voidsetUsername(String username)Deprecated.StringshortenUrl(String longUrl)Deprecated.
-
-
-
Method Detail
-
shortenUrl
public String shortenUrl(String longUrl)
Deprecated.- Specified by:
shortenUrlin interfaceUrlShortener
-
getUrlLength
public int getUrlLength()
Deprecated.- Specified by:
getUrlLengthin interfaceUrlShortener
-
setUrlLength
public void setUrlLength(int urlLength)
Deprecated.- Parameters:
urlLength- the urlLength to set
-
setUsername
public void setUsername(String username)
Deprecated.- Parameters:
username- the username to set
-
setApiKey
public void setApiKey(String apiKey)
Deprecated.- Parameters:
apiKey- the apiKey to set
-
-