Class OAuth2ScopeGrantWrapper

java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<OAuth2ScopeGrant>
com.liferay.oauth2.provider.model.OAuth2ScopeGrantWrapper
All Implemented Interfaces:
OAuth2ScopeGrant, OAuth2ScopeGrantModel, com.liferay.portal.kernel.model.BaseModel<OAuth2ScopeGrant>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.ModelWrapper<OAuth2ScopeGrant>, com.liferay.portal.kernel.model.PersistedModel, com.liferay.portal.kernel.model.ShardedModel, Serializable, Cloneable, Comparable<OAuth2ScopeGrant>

public class OAuth2ScopeGrantWrapper extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<OAuth2ScopeGrant> implements com.liferay.portal.kernel.model.ModelWrapper<OAuth2ScopeGrant>, OAuth2ScopeGrant

This class is a wrapper for OAuth2ScopeGrant.

See Also:
Generated:
  • Field Summary

    Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper

    model

    Fields inherited from interface com.liferay.oauth2.provider.model.OAuth2ScopeGrant

    O_AUTH2_SCOPE_GRANT_ID_ACCESSOR
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • 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
     
    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
     
    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.
    void
    setScopeAliasesList(List<String> scopeAliasesList)
     
     
    wrap(OAuth2ScopeGrant oAuth2ScopeGrant)
     

    Methods inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper

    clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModel

    Methods inherited from class java.lang.Object

    finalize, getClass, notify, notifyAll, wait, wait, wait

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

    clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, 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

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

    getWrappedModel
  • Constructor Details

    • OAuth2ScopeGrantWrapper

      public OAuth2ScopeGrantWrapper(OAuth2ScopeGrant oAuth2ScopeGrant)
  • Method Details

    • getModelAttributes

      public Map<String,Object> getModelAttributes()
      Specified by:
      getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<OAuth2ScopeGrant>
    • setModelAttributes

      public void setModelAttributes(Map<String,Object> attributes)
      Specified by:
      setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<OAuth2ScopeGrant>
    • cloneWithOriginalValues

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

      public String getApplicationName()
      Returns the application name of this o auth2 scope grant.
      Specified by:
      getApplicationName in interface OAuth2ScopeGrantModel
      Returns:
      the application name of this o auth2 scope grant
    • getBundleSymbolicName

      public String getBundleSymbolicName()
      Returns the bundle symbolic name of this o auth2 scope grant.
      Specified by:
      getBundleSymbolicName in interface OAuth2ScopeGrantModel
      Returns:
      the bundle symbolic name of this o auth2 scope grant
    • getCompanyId

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

      public long getOAuth2ApplicationScopeAliasesId()
      Returns the o auth2 application scope aliases ID of this o auth2 scope grant.
      Specified by:
      getOAuth2ApplicationScopeAliasesId in interface OAuth2ScopeGrantModel
      Returns:
      the o auth2 application scope aliases ID of this o auth2 scope grant
    • getOAuth2ScopeGrantId

      public long getOAuth2ScopeGrantId()
      Returns the o auth2 scope grant ID of this o auth2 scope grant.
      Specified by:
      getOAuth2ScopeGrantId in interface OAuth2ScopeGrantModel
      Returns:
      the o auth2 scope grant ID of this o auth2 scope grant
    • getPrimaryKey

      public long getPrimaryKey()
      Returns the primary key of this o auth2 scope grant.
      Specified by:
      getPrimaryKey in interface OAuth2ScopeGrantModel
      Returns:
      the primary key of this o auth2 scope grant
    • getScope

      public String getScope()
      Returns the scope of this o auth2 scope grant.
      Specified by:
      getScope in interface OAuth2ScopeGrantModel
      Returns:
      the scope of this o auth2 scope grant
    • getScopeAliases

      public String getScopeAliases()
      Returns the scope aliases of this o auth2 scope grant.
      Specified by:
      getScopeAliases in interface OAuth2ScopeGrantModel
      Returns:
      the scope aliases of this o auth2 scope grant
    • getScopeAliasesList

      public List<String> getScopeAliasesList()
      Specified by:
      getScopeAliasesList in interface OAuth2ScopeGrant
    • persist

      public void persist()
      Specified by:
      persist in interface com.liferay.portal.kernel.model.PersistedModel
    • setApplicationName

      public void setApplicationName(String applicationName)
      Sets the application name of this o auth2 scope grant.
      Specified by:
      setApplicationName in interface OAuth2ScopeGrantModel
      Parameters:
      applicationName - the application name of this o auth2 scope grant
    • setBundleSymbolicName

      public void setBundleSymbolicName(String bundleSymbolicName)
      Sets the bundle symbolic name of this o auth2 scope grant.
      Specified by:
      setBundleSymbolicName in interface OAuth2ScopeGrantModel
      Parameters:
      bundleSymbolicName - the bundle symbolic name of this o auth2 scope grant
    • setCompanyId

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

      public void setOAuth2ApplicationScopeAliasesId(long oAuth2ApplicationScopeAliasesId)
      Sets the o auth2 application scope aliases ID of this o auth2 scope grant.
      Specified by:
      setOAuth2ApplicationScopeAliasesId in interface OAuth2ScopeGrantModel
      Parameters:
      oAuth2ApplicationScopeAliasesId - the o auth2 application scope aliases ID of this o auth2 scope grant
    • setOAuth2ScopeGrantId

      public void setOAuth2ScopeGrantId(long oAuth2ScopeGrantId)
      Sets the o auth2 scope grant ID of this o auth2 scope grant.
      Specified by:
      setOAuth2ScopeGrantId in interface OAuth2ScopeGrantModel
      Parameters:
      oAuth2ScopeGrantId - the o auth2 scope grant ID of this o auth2 scope grant
    • setPrimaryKey

      public void setPrimaryKey(long primaryKey)
      Sets the primary key of this o auth2 scope grant.
      Specified by:
      setPrimaryKey in interface OAuth2ScopeGrantModel
      Parameters:
      primaryKey - the primary key of this o auth2 scope grant
    • setScope

      public void setScope(String scope)
      Sets the scope of this o auth2 scope grant.
      Specified by:
      setScope in interface OAuth2ScopeGrantModel
      Parameters:
      scope - the scope of this o auth2 scope grant
    • setScopeAliases

      public void setScopeAliases(String scopeAliases)
      Sets the scope aliases of this o auth2 scope grant.
      Specified by:
      setScopeAliases in interface OAuth2ScopeGrantModel
      Parameters:
      scopeAliases - the scope aliases of this o auth2 scope grant
    • setScopeAliasesList

      public void setScopeAliasesList(List<String> scopeAliasesList)
      Specified by:
      setScopeAliasesList in interface OAuth2ScopeGrant
    • toXmlString

      public String toXmlString()
      Specified by:
      toXmlString in interface OAuth2ScopeGrantModel
    • wrap

      protected OAuth2ScopeGrantWrapper wrap(OAuth2ScopeGrant oAuth2ScopeGrant)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<OAuth2ScopeGrant>