Package org.javlo.service.social
Class SocialService
- java.lang.Object
-
- org.javlo.service.social.SocialService
-
public class SocialService extends Object
-
-
Constructor Summary
Constructors Constructor Description SocialService()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ISocialNetwork>
getAllNetworks()
Facebook
getFacebook()
ISocialNetwork
getGoogle()
static SocialService
getInstance(ContentContext ctx)
ISocialNetwork
getLinkedin()
ISocialNetwork
getNetwork(String name)
ISocialNetwork
getPushbullet()
ISocialNetwork
getTwitter()
boolean
isActive()
void
prepare(ContentContext ctx)
prepare renderingvoid
store()
-
-
-
Method Detail
-
getInstance
public static SocialService getInstance(ContentContext ctx)
-
prepare
public void prepare(ContentContext ctx) throws Exception
prepare rendering- Parameters:
ctx
-- Throws:
Exception
-
getAllNetworks
public List<ISocialNetwork> getAllNetworks()
-
getNetwork
public ISocialNetwork getNetwork(String name)
-
getFacebook
public Facebook getFacebook()
-
getLinkedin
public ISocialNetwork getLinkedin()
-
getPushbullet
public ISocialNetwork getPushbullet()
-
getTwitter
public ISocialNetwork getTwitter()
-
getGoogle
public ISocialNetwork getGoogle()
-
isActive
public boolean isActive()
-
store
public void store()
-
-