Package com.patreonshout.beans
Class SocialIntegration
java.lang.Object
com.patreonshout.beans.SocialIntegration
- All Implemented Interfaces:
java.io.Serializable
@Entity
public class SocialIntegration
extends java.lang.Object
implements java.io.Serializable
POJO that relates to the social_integrations table in our database
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
discord
discord_data holds the Patreon content creator Discord Webhook URL needed for integrationprotected java.lang.String
instagram
instagram_data holds the Instagram token needed for integrationprotected java.lang.String
twitterAccessToken
twitterAccessToken holds the Twitter access_token needed for integrationprotected java.lang.String
twitterRefreshToken
twitterRefreshToken holds the Twitter refresh token needed for integrationprotected WebAccount
webAccount
webAccount is theWebAccount
object linked with this objectprotected int
webAccountId
social_integration_id is the index/primary key for the social_integrations table in our database -
Constructor Summary
Constructors Constructor Description SocialIntegration()
-
Method Summary
Modifier and Type Method Description java.lang.Boolean
isEmpty()
Informs if this SocialIntegration object has any Social IntegrationsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
webAccountId
protected int webAccountIdsocial_integration_id is the index/primary key for the social_integrations table in our database -
discord
protected java.lang.String discorddiscord_data holds the Patreon content creator Discord Webhook URL needed for integration -
twitterAccessToken
protected java.lang.String twitterAccessTokentwitterAccessToken holds the Twitter access_token needed for integration -
twitterRefreshToken
protected java.lang.String twitterRefreshTokentwitterRefreshToken holds the Twitter refresh token needed for integration -
instagram
protected java.lang.String instagraminstagram_data holds the Instagram token needed for integration -
webAccount
webAccount is theWebAccount
object linked with this object
-
-
Constructor Details
-
SocialIntegration
public SocialIntegration()
-
-
Method Details
-
isEmpty
public java.lang.Boolean isEmpty()Informs if this SocialIntegration object has any Social Integrations- Returns:
Boolean.TRUE
if any social integrations are not null, false otherwise
-