Interface OAuth2ScopeGrantModel

All Superinterfaces:
com.liferay.portal.kernel.model.BaseModel<OAuth2ScopeGrant>, com.liferay.portal.kernel.model.ClassedModel, Cloneable, Comparable<OAuth2ScopeGrant>, Serializable, com.liferay.portal.kernel.model.ShardedModel
All Known Subinterfaces:
OAuth2ScopeGrant
All Known Implementing Classes:
OAuth2ScopeGrantWrapper

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

This interface and its corresponding implementation com.liferay.oauth2.provider.model.impl.OAuth2ScopeGrantModelImpl 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.OAuth2ScopeGrantImpl.

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
     
    Returns the application name of this o auth2 scope grant.
    Returns the bundle symbolic name of this o auth2 scope grant.
    long
    Returns the company ID of this o auth2 scope grant.
    long
    Returns the o auth2 application scope aliases ID of this o auth2 scope grant.
    long
    Returns the o auth2 scope grant ID of this o auth2 scope grant.
    long
    Returns the primary key of this o auth2 scope grant.
    Returns the scope of this o auth2 scope grant.
    Returns the scope aliases of this o auth2 scope grant.
    void
    setApplicationName(String applicationName)
    Sets the application name of this o auth2 scope grant.
    void
    setBundleSymbolicName(String bundleSymbolicName)
    Sets the bundle symbolic name of this o auth2 scope grant.
    void
    setCompanyId(long companyId)
    Sets the company ID of this o auth2 scope grant.
    void
    setOAuth2ApplicationScopeAliasesId(long oAuth2ApplicationScopeAliasesId)
    Sets the o auth2 application scope aliases ID of this o auth2 scope grant.
    void
    setOAuth2ScopeGrantId(long oAuth2ScopeGrantId)
    Sets the o auth2 scope grant ID of this o auth2 scope grant.
    void
    setPrimaryKey(long primaryKey)
    Sets the primary key of this o auth2 scope grant.
    void
    Sets the scope of this o auth2 scope grant.
    void
    setScopeAliases(String scopeAliases)
    Sets the scope aliases of this o auth2 scope grant.
    default String
     

    Methods inherited from interface com.liferay.portal.kernel.model.BaseModel

    clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel

    Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel

    getModelClass, getModelClassName

    Methods inherited from interface java.lang.Comparable

    compareTo
  • Method Details

    • getPrimaryKey

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

      void setPrimaryKey(long primaryKey)
      Sets the primary key of this o auth2 scope grant.
      Parameters:
      primaryKey - the primary key of this o auth2 scope grant
    • getOAuth2ScopeGrantId

      long getOAuth2ScopeGrantId()
      Returns the o auth2 scope grant ID of this o auth2 scope grant.
      Returns:
      the o auth2 scope grant ID of this o auth2 scope grant
    • setOAuth2ScopeGrantId

      void setOAuth2ScopeGrantId(long oAuth2ScopeGrantId)
      Sets the o auth2 scope grant ID of this o auth2 scope grant.
      Parameters:
      oAuth2ScopeGrantId - the o auth2 scope grant ID of this o auth2 scope grant
    • getCompanyId

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

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

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

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

      @AutoEscape String getApplicationName()
      Returns the application name of this o auth2 scope grant.
      Returns:
      the application name of this o auth2 scope grant
    • setApplicationName

      void setApplicationName(String applicationName)
      Sets the application name of this o auth2 scope grant.
      Parameters:
      applicationName - the application name of this o auth2 scope grant
    • getBundleSymbolicName

      @AutoEscape String getBundleSymbolicName()
      Returns the bundle symbolic name of this o auth2 scope grant.
      Returns:
      the bundle symbolic name of this o auth2 scope grant
    • setBundleSymbolicName

      void setBundleSymbolicName(String bundleSymbolicName)
      Sets the bundle symbolic name of this o auth2 scope grant.
      Parameters:
      bundleSymbolicName - the bundle symbolic name of this o auth2 scope grant
    • getScope

      @AutoEscape String getScope()
      Returns the scope of this o auth2 scope grant.
      Returns:
      the scope of this o auth2 scope grant
    • setScope

      void setScope(String scope)
      Sets the scope of this o auth2 scope grant.
      Parameters:
      scope - the scope of this o auth2 scope grant
    • getScopeAliases

      @AutoEscape String getScopeAliases()
      Returns the scope aliases of this o auth2 scope grant.
      Returns:
      the scope aliases of this o auth2 scope grant
    • setScopeAliases

      void setScopeAliases(String scopeAliases)
      Sets the scope aliases of this o auth2 scope grant.
      Parameters:
      scopeAliases - the scope aliases of this o auth2 scope grant
    • cloneWithOriginalValues

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

      default String toXmlString()