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.Stringdiscorddiscord_data holds the Patreon content creator Discord Webhook URL needed for integrationprotected java.lang.Stringinstagraminstagram_data holds the Instagram token needed for integrationprotected java.lang.StringtwitterAccessTokentwitterAccessToken holds the Twitter access_token needed for integrationprotected java.lang.StringtwitterRefreshTokentwitterRefreshToken holds the Twitter refresh token needed for integrationprotected WebAccountwebAccountwebAccount is theWebAccountobject linked with this objectprotected intwebAccountIdsocial_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.BooleanisEmpty()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 theWebAccountobject 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.TRUEif any social integrations are not null, false otherwise
-