Interface OAuth2ApplicationModel

All Superinterfaces:
com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<OAuth2Application>, com.liferay.portal.kernel.model.ClassedModel, Cloneable, Comparable<OAuth2Application>, com.liferay.portal.kernel.model.ExternalReferenceCodeModel, Serializable, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.StagedAuditedModel, com.liferay.portal.kernel.model.StagedModel
All Known Subinterfaces:
OAuth2Application
All Known Implementing Classes:
OAuth2ApplicationWrapper

@ProviderType public interface OAuth2ApplicationModel extends com.liferay.portal.kernel.model.BaseModel<OAuth2Application>, com.liferay.portal.kernel.model.ExternalReferenceCodeModel, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.StagedAuditedModel
The base model interface for the OAuth2Application service. Represents a row in the "OAuth2Application" database table, with each column mapped to a property of this class.

This interface and its corresponding implementation com.liferay.oauth2.provider.model.impl.OAuth2ApplicationModelImpl exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.oauth2.provider.model.impl.OAuth2ApplicationImpl.

See Also:
Generated:
  • Method Details

    • getPrimaryKey

      long getPrimaryKey()
      Returns the primary key of this o auth2 application.
      Returns:
      the primary key of this o auth2 application
    • setPrimaryKey

      void setPrimaryKey(long primaryKey)
      Sets the primary key of this o auth2 application.
      Parameters:
      primaryKey - the primary key of this o auth2 application
    • getUuid

      @AutoEscape String getUuid()
      Returns the uuid of this o auth2 application.
      Specified by:
      getUuid in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the uuid of this o auth2 application
    • setUuid

      void setUuid(String uuid)
      Sets the uuid of this o auth2 application.
      Specified by:
      setUuid in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      uuid - the uuid of this o auth2 application
    • getExternalReferenceCode

      @AutoEscape String getExternalReferenceCode()
      Returns the external reference code of this o auth2 application.
      Specified by:
      getExternalReferenceCode in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModel
      Returns:
      the external reference code of this o auth2 application
    • setExternalReferenceCode

      void setExternalReferenceCode(String externalReferenceCode)
      Sets the external reference code of this o auth2 application.
      Specified by:
      setExternalReferenceCode in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModel
      Parameters:
      externalReferenceCode - the external reference code of this o auth2 application
    • getOAuth2ApplicationId

      long getOAuth2ApplicationId()
      Returns the o auth2 application ID of this o auth2 application.
      Returns:
      the o auth2 application ID of this o auth2 application
    • setOAuth2ApplicationId

      void setOAuth2ApplicationId(long oAuth2ApplicationId)
      Sets the o auth2 application ID of this o auth2 application.
      Parameters:
      oAuth2ApplicationId - the o auth2 application ID of this o auth2 application
    • getCompanyId

      long getCompanyId()
      Returns the company ID of this o auth2 application.
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the company ID of this o auth2 application
    • setCompanyId

      void setCompanyId(long companyId)
      Sets the company ID of this o auth2 application.
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      companyId - the company ID of this o auth2 application
    • getUserId

      long getUserId()
      Returns the user ID of this o auth2 application.
      Specified by:
      getUserId in interface com.liferay.portal.kernel.model.AuditedModel
      Returns:
      the user ID of this o auth2 application
    • setUserId

      void setUserId(long userId)
      Sets the user ID of this o auth2 application.
      Specified by:
      setUserId in interface com.liferay.portal.kernel.model.AuditedModel
      Parameters:
      userId - the user ID of this o auth2 application
    • getUserUuid

      String getUserUuid()
      Returns the user uuid of this o auth2 application.
      Specified by:
      getUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Returns:
      the user uuid of this o auth2 application
    • setUserUuid

      void setUserUuid(String userUuid)
      Sets the user uuid of this o auth2 application.
      Specified by:
      setUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Parameters:
      userUuid - the user uuid of this o auth2 application
    • getUserName

      @AutoEscape String getUserName()
      Returns the user name of this o auth2 application.
      Specified by:
      getUserName in interface com.liferay.portal.kernel.model.AuditedModel
      Returns:
      the user name of this o auth2 application
    • setUserName

      void setUserName(String userName)
      Sets the user name of this o auth2 application.
      Specified by:
      setUserName in interface com.liferay.portal.kernel.model.AuditedModel
      Parameters:
      userName - the user name of this o auth2 application
    • getCreateDate

      Date getCreateDate()
      Returns the create date of this o auth2 application.
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the create date of this o auth2 application
    • setCreateDate

      void setCreateDate(Date createDate)
      Sets the create date of this o auth2 application.
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      createDate - the create date of this o auth2 application
    • getModifiedDate

      Date getModifiedDate()
      Returns the modified date of this o auth2 application.
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the modified date of this o auth2 application
    • setModifiedDate

      void setModifiedDate(Date modifiedDate)
      Sets the modified date of this o auth2 application.
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      modifiedDate - the modified date of this o auth2 application
    • getOAuth2ApplicationScopeAliasesId

      long getOAuth2ApplicationScopeAliasesId()
      Returns the o auth2 application scope aliases ID of this o auth2 application.
      Returns:
      the o auth2 application scope aliases ID of this o auth2 application
    • setOAuth2ApplicationScopeAliasesId

      void setOAuth2ApplicationScopeAliasesId(long oAuth2ApplicationScopeAliasesId)
      Sets the o auth2 application scope aliases ID of this o auth2 application.
      Parameters:
      oAuth2ApplicationScopeAliasesId - the o auth2 application scope aliases ID of this o auth2 application
    • getAllowedGrantTypes

      @AutoEscape String getAllowedGrantTypes()
      Returns the allowed grant types of this o auth2 application.
      Returns:
      the allowed grant types of this o auth2 application
    • setAllowedGrantTypes

      void setAllowedGrantTypes(String allowedGrantTypes)
      Sets the allowed grant types of this o auth2 application.
      Parameters:
      allowedGrantTypes - the allowed grant types of this o auth2 application
    • getClientAuthenticationMethod

      @AutoEscape String getClientAuthenticationMethod()
      Returns the client authentication method of this o auth2 application.
      Returns:
      the client authentication method of this o auth2 application
    • setClientAuthenticationMethod

      void setClientAuthenticationMethod(String clientAuthenticationMethod)
      Sets the client authentication method of this o auth2 application.
      Parameters:
      clientAuthenticationMethod - the client authentication method of this o auth2 application
    • getClientCredentialUserId

      long getClientCredentialUserId()
      Returns the client credential user ID of this o auth2 application.
      Returns:
      the client credential user ID of this o auth2 application
    • setClientCredentialUserId

      void setClientCredentialUserId(long clientCredentialUserId)
      Sets the client credential user ID of this o auth2 application.
      Parameters:
      clientCredentialUserId - the client credential user ID of this o auth2 application
    • getClientCredentialUserUuid

      String getClientCredentialUserUuid()
      Returns the client credential user uuid of this o auth2 application.
      Returns:
      the client credential user uuid of this o auth2 application
    • setClientCredentialUserUuid

      void setClientCredentialUserUuid(String clientCredentialUserUuid)
      Sets the client credential user uuid of this o auth2 application.
      Parameters:
      clientCredentialUserUuid - the client credential user uuid of this o auth2 application
    • getClientCredentialUserName

      @AutoEscape String getClientCredentialUserName()
      Returns the client credential user name of this o auth2 application.
      Returns:
      the client credential user name of this o auth2 application
    • setClientCredentialUserName

      void setClientCredentialUserName(String clientCredentialUserName)
      Sets the client credential user name of this o auth2 application.
      Parameters:
      clientCredentialUserName - the client credential user name of this o auth2 application
    • getClientId

      @AutoEscape String getClientId()
      Returns the client ID of this o auth2 application.
      Returns:
      the client ID of this o auth2 application
    • setClientId

      void setClientId(String clientId)
      Sets the client ID of this o auth2 application.
      Parameters:
      clientId - the client ID of this o auth2 application
    • getClientProfile

      int getClientProfile()
      Returns the client profile of this o auth2 application.
      Returns:
      the client profile of this o auth2 application
    • setClientProfile

      void setClientProfile(int clientProfile)
      Sets the client profile of this o auth2 application.
      Parameters:
      clientProfile - the client profile of this o auth2 application
    • getClientSecret

      @AutoEscape String getClientSecret()
      Returns the client secret of this o auth2 application.
      Returns:
      the client secret of this o auth2 application
    • setClientSecret

      void setClientSecret(String clientSecret)
      Sets the client secret of this o auth2 application.
      Parameters:
      clientSecret - the client secret of this o auth2 application
    • getDescription

      @AutoEscape String getDescription()
      Returns the description of this o auth2 application.
      Returns:
      the description of this o auth2 application
    • setDescription

      void setDescription(String description)
      Sets the description of this o auth2 application.
      Parameters:
      description - the description of this o auth2 application
    • getFeatures

      @AutoEscape String getFeatures()
      Returns the features of this o auth2 application.
      Returns:
      the features of this o auth2 application
    • setFeatures

      void setFeatures(String features)
      Sets the features of this o auth2 application.
      Parameters:
      features - the features of this o auth2 application
    • getHomePageURL

      @AutoEscape String getHomePageURL()
      Returns the home page url of this o auth2 application.
      Returns:
      the home page url of this o auth2 application
    • setHomePageURL

      void setHomePageURL(String homePageURL)
      Sets the home page url of this o auth2 application.
      Parameters:
      homePageURL - the home page url of this o auth2 application
    • getIconFileEntryId

      long getIconFileEntryId()
      Returns the icon file entry ID of this o auth2 application.
      Returns:
      the icon file entry ID of this o auth2 application
    • setIconFileEntryId

      void setIconFileEntryId(long iconFileEntryId)
      Sets the icon file entry ID of this o auth2 application.
      Parameters:
      iconFileEntryId - the icon file entry ID of this o auth2 application
    • getJwks

      @AutoEscape String getJwks()
      Returns the jwks of this o auth2 application.
      Returns:
      the jwks of this o auth2 application
    • setJwks

      void setJwks(String jwks)
      Sets the jwks of this o auth2 application.
      Parameters:
      jwks - the jwks of this o auth2 application
    • getName

      @AutoEscape String getName()
      Returns the name of this o auth2 application.
      Returns:
      the name of this o auth2 application
    • setName

      void setName(String name)
      Sets the name of this o auth2 application.
      Parameters:
      name - the name of this o auth2 application
    • getPrivacyPolicyURL

      @AutoEscape String getPrivacyPolicyURL()
      Returns the privacy policy url of this o auth2 application.
      Returns:
      the privacy policy url of this o auth2 application
    • setPrivacyPolicyURL

      void setPrivacyPolicyURL(String privacyPolicyURL)
      Sets the privacy policy url of this o auth2 application.
      Parameters:
      privacyPolicyURL - the privacy policy url of this o auth2 application
    • getRedirectURIs

      @AutoEscape String getRedirectURIs()
      Returns the redirect ur is of this o auth2 application.
      Returns:
      the redirect ur is of this o auth2 application
    • setRedirectURIs

      void setRedirectURIs(String redirectURIs)
      Sets the redirect ur is of this o auth2 application.
      Parameters:
      redirectURIs - the redirect ur is of this o auth2 application
    • getRememberDevice

      boolean getRememberDevice()
      Returns the remember device of this o auth2 application.
      Returns:
      the remember device of this o auth2 application
    • isRememberDevice

      boolean isRememberDevice()
      Returns true if this o auth2 application is remember device.
      Returns:
      true if this o auth2 application is remember device; false otherwise
    • setRememberDevice

      void setRememberDevice(boolean rememberDevice)
      Sets whether this o auth2 application is remember device.
      Parameters:
      rememberDevice - the remember device of this o auth2 application
    • getTrustedApplication

      boolean getTrustedApplication()
      Returns the trusted application of this o auth2 application.
      Returns:
      the trusted application of this o auth2 application
    • isTrustedApplication

      boolean isTrustedApplication()
      Returns true if this o auth2 application is trusted application.
      Returns:
      true if this o auth2 application is trusted application; false otherwise
    • setTrustedApplication

      void setTrustedApplication(boolean trustedApplication)
      Sets whether this o auth2 application is trusted application.
      Parameters:
      trustedApplication - the trusted application of this o auth2 application
    • cloneWithOriginalValues

      OAuth2Application cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<OAuth2Application>
    • toXmlString

      default String toXmlString()