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 integration
    protected java.lang.String instagram
    instagram_data holds the Instagram token needed for integration
    protected java.lang.String twitterAccessToken
    twitterAccessToken holds the Twitter access_token needed for integration
    protected java.lang.String twitterRefreshToken
    twitterRefreshToken holds the Twitter refresh token needed for integration
    protected WebAccount webAccount
    webAccount is the WebAccount object linked with this object
    protected 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 Integrations

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • webAccountId

      protected int webAccountId
      social_integration_id is the index/primary key for the social_integrations table in our database
    • discord

      protected java.lang.String discord
      discord_data holds the Patreon content creator Discord Webhook URL needed for integration
    • twitterAccessToken

      protected java.lang.String twitterAccessToken
      twitterAccessToken holds the Twitter access_token needed for integration
    • twitterRefreshToken

      protected java.lang.String twitterRefreshToken
      twitterRefreshToken holds the Twitter refresh token needed for integration
    • instagram

      protected java.lang.String instagram
      instagram_data holds the Instagram token needed for integration
    • webAccount

      protected WebAccount webAccount
      webAccount is the WebAccount 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