|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lumis.socialnetworkintegration.SocialNetworkAccount
public class SocialNetworkAccount
Represents the account from which messages will be published to a social
Field Summary | |
---|---|
static String |
ENTITY_NAME
This entity name. |
Constructor Summary | |
---|---|
SocialNetworkAccount()
Constructor for JPA. |
Method Summary | |
---|---|
SocialNetworkMessage |
addMessage(String messageContent,
Date publishDate)
Adds a message using this account. |
SocialNetworkApplication |
getApplication()
Returns the application to which this account will publish to. |
String |
getAuthenticationResponse()
Returns the authentication response sent by validation/authorization process. |
String |
getId()
Returns the account's id. |
String |
getName()
Returns the name. |
String |
getServiceInstanceId()
Returns the identifier of the service instance this account belongs to. |
boolean |
isAllServiceInstances()
Returns the isAllServiceInstances. |
boolean |
isEnabled()
Returns the enabled. |
void |
setAllServiceInstances(boolean isAllServiceInstances)
Sets the isAllServiceInstances. |
void |
setApplication(SocialNetworkApplication application)
Set the application to which this account will publish to. |
void |
setAuthenticationResponse(String authenticationResponse)
Set the authentication response sent by validation/authorization process. |
void |
setEnabled(boolean enabled)
Sets the enabled. |
void |
setName(String name)
Sets the name. |
void |
setServiceInstanceId(String serviceInstanceId)
Sets the identifier of the service instance this account belongs to. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String ENTITY_NAME
Constructor Detail |
---|
public SocialNetworkAccount()
Method Detail |
---|
public SocialNetworkApplication getApplication()
public String getAuthenticationResponse()
public String getId()
public boolean isEnabled()
public boolean isAllServiceInstances()
public void setApplication(SocialNetworkApplication application)
application
- the application.public void setAuthenticationResponse(String authenticationResponse)
authenticationResponse
- the authentication response.public void setEnabled(boolean enabled)
enabled
- the enabled value to set.public void setAllServiceInstances(boolean isAllServiceInstances)
isAllServiceInstances
- the isAllServiceInstances value to set.public SocialNetworkMessage addMessage(String messageContent, Date publishDate)
messageContent
- the message content.publishDate
- the message publish date.
public String getName()
public void setName(String name)
name
- the name value to set.public String getServiceInstanceId()
public void setServiceInstanceId(String serviceInstanceId)
serviceInstanceId
- the identifier of the service instance
this account belongs to.public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |