Class OAuth2ApplicationWrapper

java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<OAuth2Application>
com.liferay.oauth2.provider.model.OAuth2ApplicationWrapper
All Implemented Interfaces:
OAuth2Application, OAuth2ApplicationModel, com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<OAuth2Application>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.ExternalReferenceCodeModel, com.liferay.portal.kernel.model.ModelWrapper<OAuth2Application>, com.liferay.portal.kernel.model.PersistedModel, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.StagedAuditedModel, com.liferay.portal.kernel.model.StagedModel, Serializable, Cloneable, Comparable<OAuth2Application>

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

This class is a wrapper for OAuth2Application.

See Also:
Generated:
  • Constructor Details

    • OAuth2ApplicationWrapper

      public OAuth2ApplicationWrapper(OAuth2Application oAuth2Application)
  • Method Details

    • getModelAttributes

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

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

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

      public String getAllowedGrantTypes()
      Returns the allowed grant types of this o auth2 application.
      Specified by:
      getAllowedGrantTypes in interface OAuth2ApplicationModel
      Returns:
      the allowed grant types of this o auth2 application
    • getAllowedGrantTypesList

      public List<GrantType> getAllowedGrantTypesList()
      Specified by:
      getAllowedGrantTypesList in interface OAuth2Application
    • getClientAuthenticationMethod

      public String getClientAuthenticationMethod()
      Returns the client authentication method of this o auth2 application.
      Specified by:
      getClientAuthenticationMethod in interface OAuth2ApplicationModel
      Returns:
      the client authentication method of this o auth2 application
    • getClientCredentialUserId

      public long getClientCredentialUserId()
      Returns the client credential user ID of this o auth2 application.
      Specified by:
      getClientCredentialUserId in interface OAuth2ApplicationModel
      Returns:
      the client credential user ID of this o auth2 application
    • getClientCredentialUserName

      public String getClientCredentialUserName()
      Returns the client credential user name of this o auth2 application.
      Specified by:
      getClientCredentialUserName in interface OAuth2ApplicationModel
      Returns:
      the client credential user name of this o auth2 application
    • getClientCredentialUserUuid

      public String getClientCredentialUserUuid()
      Returns the client credential user uuid of this o auth2 application.
      Specified by:
      getClientCredentialUserUuid in interface OAuth2ApplicationModel
      Returns:
      the client credential user uuid of this o auth2 application
    • getClientId

      public String getClientId()
      Returns the client ID of this o auth2 application.
      Specified by:
      getClientId in interface OAuth2ApplicationModel
      Returns:
      the client ID of this o auth2 application
    • getClientProfile

      public int getClientProfile()
      Returns the client profile of this o auth2 application.
      Specified by:
      getClientProfile in interface OAuth2ApplicationModel
      Returns:
      the client profile of this o auth2 application
    • getClientSecret

      public String getClientSecret()
      Returns the client secret of this o auth2 application.
      Specified by:
      getClientSecret in interface OAuth2ApplicationModel
      Returns:
      the client secret of this o auth2 application
    • getCompanyId

      public 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 OAuth2ApplicationModel
      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
    • getCreateDate

      public 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 OAuth2ApplicationModel
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the create date of this o auth2 application
    • getDescription

      public String getDescription()
      Returns the description of this o auth2 application.
      Specified by:
      getDescription in interface OAuth2ApplicationModel
      Returns:
      the description of this o auth2 application
    • getExternalReferenceCode

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

      public String getFeatures()
      Returns the features of this o auth2 application.
      Specified by:
      getFeatures in interface OAuth2ApplicationModel
      Returns:
      the features of this o auth2 application
    • getFeaturesList

      public List<String> getFeaturesList()
      Specified by:
      getFeaturesList in interface OAuth2Application
    • getHomePageURL

      public String getHomePageURL()
      Returns the home page url of this o auth2 application.
      Specified by:
      getHomePageURL in interface OAuth2ApplicationModel
      Returns:
      the home page url of this o auth2 application
    • getIconFileEntryId

      public long getIconFileEntryId()
      Returns the icon file entry ID of this o auth2 application.
      Specified by:
      getIconFileEntryId in interface OAuth2ApplicationModel
      Returns:
      the icon file entry ID of this o auth2 application
    • getJwks

      public String getJwks()
      Returns the jwks of this o auth2 application.
      Specified by:
      getJwks in interface OAuth2ApplicationModel
      Returns:
      the jwks of this o auth2 application
    • getModifiedDate

      public 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 OAuth2ApplicationModel
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the modified date of this o auth2 application
    • getName

      public String getName()
      Returns the name of this o auth2 application.
      Specified by:
      getName in interface OAuth2ApplicationModel
      Returns:
      the name of this o auth2 application
    • getOAuth2ApplicationId

      public long getOAuth2ApplicationId()
      Returns the o auth2 application ID of this o auth2 application.
      Specified by:
      getOAuth2ApplicationId in interface OAuth2ApplicationModel
      Returns:
      the o auth2 application ID of this o auth2 application
    • getOAuth2ApplicationScopeAliasesId

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

      public long getPrimaryKey()
      Returns the primary key of this o auth2 application.
      Specified by:
      getPrimaryKey in interface OAuth2ApplicationModel
      Returns:
      the primary key of this o auth2 application
    • getPrivacyPolicyURL

      public String getPrivacyPolicyURL()
      Returns the privacy policy url of this o auth2 application.
      Specified by:
      getPrivacyPolicyURL in interface OAuth2ApplicationModel
      Returns:
      the privacy policy url of this o auth2 application
    • getRedirectURIs

      public String getRedirectURIs()
      Returns the redirect ur is of this o auth2 application.
      Specified by:
      getRedirectURIs in interface OAuth2ApplicationModel
      Returns:
      the redirect ur is of this o auth2 application
    • getRedirectURIsList

      public List<String> getRedirectURIsList()
      Specified by:
      getRedirectURIsList in interface OAuth2Application
    • getRememberDevice

      public boolean getRememberDevice()
      Returns the remember device of this o auth2 application.
      Specified by:
      getRememberDevice in interface OAuth2ApplicationModel
      Returns:
      the remember device of this o auth2 application
    • getTrustedApplication

      public boolean getTrustedApplication()
      Returns the trusted application of this o auth2 application.
      Specified by:
      getTrustedApplication in interface OAuth2ApplicationModel
      Returns:
      the trusted application of this o auth2 application
    • getUserId

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

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

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

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

      public boolean isRememberDevice()
      Returns true if this o auth2 application is remember device.
      Specified by:
      isRememberDevice in interface OAuth2ApplicationModel
      Returns:
      true if this o auth2 application is remember device; false otherwise
    • isTrustedApplication

      public boolean isTrustedApplication()
      Returns true if this o auth2 application is trusted application.
      Specified by:
      isTrustedApplication in interface OAuth2ApplicationModel
      Returns:
      true if this o auth2 application is trusted application; false otherwise
    • persist

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

      public void setAllowedGrantTypes(String allowedGrantTypes)
      Sets the allowed grant types of this o auth2 application.
      Specified by:
      setAllowedGrantTypes in interface OAuth2ApplicationModel
      Parameters:
      allowedGrantTypes - the allowed grant types of this o auth2 application
    • setAllowedGrantTypesList

      public void setAllowedGrantTypesList(List<GrantType> allowedGrantTypesList)
      Specified by:
      setAllowedGrantTypesList in interface OAuth2Application
    • setClientAuthenticationMethod

      public void setClientAuthenticationMethod(String clientAuthenticationMethod)
      Sets the client authentication method of this o auth2 application.
      Specified by:
      setClientAuthenticationMethod in interface OAuth2ApplicationModel
      Parameters:
      clientAuthenticationMethod - the client authentication method of this o auth2 application
    • setClientCredentialUserId

      public void setClientCredentialUserId(long clientCredentialUserId)
      Sets the client credential user ID of this o auth2 application.
      Specified by:
      setClientCredentialUserId in interface OAuth2ApplicationModel
      Parameters:
      clientCredentialUserId - the client credential user ID of this o auth2 application
    • setClientCredentialUserName

      public void setClientCredentialUserName(String clientCredentialUserName)
      Sets the client credential user name of this o auth2 application.
      Specified by:
      setClientCredentialUserName in interface OAuth2ApplicationModel
      Parameters:
      clientCredentialUserName - the client credential user name of this o auth2 application
    • setClientCredentialUserUuid

      public void setClientCredentialUserUuid(String clientCredentialUserUuid)
      Sets the client credential user uuid of this o auth2 application.
      Specified by:
      setClientCredentialUserUuid in interface OAuth2ApplicationModel
      Parameters:
      clientCredentialUserUuid - the client credential user uuid of this o auth2 application
    • setClientId

      public void setClientId(String clientId)
      Sets the client ID of this o auth2 application.
      Specified by:
      setClientId in interface OAuth2ApplicationModel
      Parameters:
      clientId - the client ID of this o auth2 application
    • setClientProfile

      public void setClientProfile(int clientProfile)
      Sets the client profile of this o auth2 application.
      Specified by:
      setClientProfile in interface OAuth2ApplicationModel
      Parameters:
      clientProfile - the client profile of this o auth2 application
    • setClientSecret

      public void setClientSecret(String clientSecret)
      Sets the client secret of this o auth2 application.
      Specified by:
      setClientSecret in interface OAuth2ApplicationModel
      Parameters:
      clientSecret - the client secret of this o auth2 application
    • setCompanyId

      public 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 OAuth2ApplicationModel
      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
    • setCreateDate

      public 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 OAuth2ApplicationModel
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      createDate - the create date of this o auth2 application
    • setDescription

      public void setDescription(String description)
      Sets the description of this o auth2 application.
      Specified by:
      setDescription in interface OAuth2ApplicationModel
      Parameters:
      description - the description of this o auth2 application
    • setExternalReferenceCode

      public 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
      Specified by:
      setExternalReferenceCode in interface OAuth2ApplicationModel
      Parameters:
      externalReferenceCode - the external reference code of this o auth2 application
    • setFeatures

      public void setFeatures(String features)
      Sets the features of this o auth2 application.
      Specified by:
      setFeatures in interface OAuth2ApplicationModel
      Parameters:
      features - the features of this o auth2 application
    • setFeaturesList

      public void setFeaturesList(List<String> featuresList)
      Specified by:
      setFeaturesList in interface OAuth2Application
    • setHomePageURL

      public void setHomePageURL(String homePageURL)
      Sets the home page url of this o auth2 application.
      Specified by:
      setHomePageURL in interface OAuth2ApplicationModel
      Parameters:
      homePageURL - the home page url of this o auth2 application
    • setIconFileEntryId

      public void setIconFileEntryId(long iconFileEntryId)
      Sets the icon file entry ID of this o auth2 application.
      Specified by:
      setIconFileEntryId in interface OAuth2ApplicationModel
      Parameters:
      iconFileEntryId - the icon file entry ID of this o auth2 application
    • setJwks

      public void setJwks(String jwks)
      Sets the jwks of this o auth2 application.
      Specified by:
      setJwks in interface OAuth2ApplicationModel
      Parameters:
      jwks - the jwks of this o auth2 application
    • setModifiedDate

      public 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 OAuth2ApplicationModel
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      modifiedDate - the modified date of this o auth2 application
    • setName

      public void setName(String name)
      Sets the name of this o auth2 application.
      Specified by:
      setName in interface OAuth2ApplicationModel
      Parameters:
      name - the name of this o auth2 application
    • setOAuth2ApplicationId

      public void setOAuth2ApplicationId(long oAuth2ApplicationId)
      Sets the o auth2 application ID of this o auth2 application.
      Specified by:
      setOAuth2ApplicationId in interface OAuth2ApplicationModel
      Parameters:
      oAuth2ApplicationId - the o auth2 application ID of this o auth2 application
    • setOAuth2ApplicationScopeAliasesId

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

      public void setPrimaryKey(long primaryKey)
      Sets the primary key of this o auth2 application.
      Specified by:
      setPrimaryKey in interface OAuth2ApplicationModel
      Parameters:
      primaryKey - the primary key of this o auth2 application
    • setPrivacyPolicyURL

      public void setPrivacyPolicyURL(String privacyPolicyURL)
      Sets the privacy policy url of this o auth2 application.
      Specified by:
      setPrivacyPolicyURL in interface OAuth2ApplicationModel
      Parameters:
      privacyPolicyURL - the privacy policy url of this o auth2 application
    • setRedirectURIs

      public void setRedirectURIs(String redirectURIs)
      Sets the redirect ur is of this o auth2 application.
      Specified by:
      setRedirectURIs in interface OAuth2ApplicationModel
      Parameters:
      redirectURIs - the redirect ur is of this o auth2 application
    • setRedirectURIsList

      public void setRedirectURIsList(List<String> redirectURIsList)
      Specified by:
      setRedirectURIsList in interface OAuth2Application
    • setRememberDevice

      public void setRememberDevice(boolean rememberDevice)
      Sets whether this o auth2 application is remember device.
      Specified by:
      setRememberDevice in interface OAuth2ApplicationModel
      Parameters:
      rememberDevice - the remember device of this o auth2 application
    • setTrustedApplication

      public void setTrustedApplication(boolean trustedApplication)
      Sets whether this o auth2 application is trusted application.
      Specified by:
      setTrustedApplication in interface OAuth2ApplicationModel
      Parameters:
      trustedApplication - the trusted application of this o auth2 application
    • setUserId

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

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

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

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

      public String toXmlString()
      Specified by:
      toXmlString in interface OAuth2ApplicationModel
    • getStagedModelType

      public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
      Specified by:
      getStagedModelType in interface com.liferay.portal.kernel.model.StagedModel
    • wrap

      protected OAuth2ApplicationWrapper wrap(OAuth2Application oAuth2Application)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<OAuth2Application>