Class OAuthClientDetailsModel

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    OpenIDClientDetailsModel

    public class OAuthClientDetailsModel
    extends ItemModel
    Generated model class for type OAuthClientDetails first defined at extension oauth2.
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

        de.hybris.platform.servicelayer.model.AbstractItemModel.NewModelContextFactory
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String _TYPECODE
      Generated model type code constant.
      static java.lang.String ACCESSTOKENVALIDITYSECONDS
      Generated constant - Attribute key of OAuthClientDetails.accessTokenValiditySeconds attribute defined at extension oauth2.
      static java.lang.String AUTHORITIES
      Generated constant - Attribute key of OAuthClientDetails.authorities attribute defined at extension oauth2.
      static java.lang.String AUTHORIZEDGRANTTYPES
      Generated constant - Attribute key of OAuthClientDetails.authorizedGrantTypes attribute defined at extension oauth2.
      static java.lang.String AUTOAPPROVE
      Generated constant - Attribute key of OAuthClientDetails.autoApprove attribute defined at extension oauth2.
      static java.lang.String CLIENTID
      Generated constant - Attribute key of OAuthClientDetails.clientId attribute defined at extension oauth2.
      static java.lang.String CLIENTSECRET
      Generated constant - Attribute key of OAuthClientDetails.clientSecret attribute defined at extension oauth2.
      static java.lang.String DISABLED
      Generated constant - Attribute key of OAuthClientDetails.disabled attribute defined at extension oauth2.
      static java.lang.String OAUTHURL
      Generated constant - Attribute key of OAuthClientDetails.oAuthUrl attribute defined at extension apiregistryservices.
      static java.lang.String REFRESHTOKENVALIDITYSECONDS
      Generated constant - Attribute key of OAuthClientDetails.refreshTokenValiditySeconds attribute defined at extension oauth2.
      static java.lang.String REGISTEREDREDIRECTURI
      Generated constant - Attribute key of OAuthClientDetails.registeredRedirectUri attribute defined at extension oauth2.
      static java.lang.String RESOURCEIDS
      Generated constant - Attribute key of OAuthClientDetails.resourceIds attribute defined at extension oauth2.
      static java.lang.String SCOPE
      Generated constant - Attribute key of OAuthClientDetails.scope attribute defined at extension oauth2.
      • Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

        LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
    • Constructor Summary

      Constructors 
      Constructor Description
      OAuthClientDetailsModel()
      Generated constructor - Default constructor for generic creation.
      OAuthClientDetailsModel​(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
      Generated constructor - Default constructor for creation with existing context
      OAuthClientDetailsModel​(java.lang.String _clientId)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 4.1.1 Please use the default constructor without parameters
      OAuthClientDetailsModel​(java.lang.String _clientId, ItemModel _owner)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 4.1.1 Please use the default constructor without parameters
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Integer getAccessTokenValiditySeconds()
      Generated method - Getter of the OAuthClientDetails.accessTokenValiditySeconds attribute defined at extension oauth2.
      java.util.Set<java.lang.String> getAuthorities()
      Generated method - Getter of the OAuthClientDetails.authorities attribute defined at extension oauth2.
      java.util.Set<java.lang.String> getAuthorizedGrantTypes()
      Generated method - Getter of the OAuthClientDetails.authorizedGrantTypes attribute defined at extension oauth2.
      java.util.Set<java.lang.String> getAutoApprove()
      Generated method - Getter of the OAuthClientDetails.autoApprove attribute defined at extension oauth2.
      java.lang.String getClientId()
      Generated method - Getter of the OAuthClientDetails.clientId attribute defined at extension oauth2.
      java.lang.String getClientSecret()
      Generated method - Getter of the OAuthClientDetails.clientSecret attribute defined at extension oauth2.
      java.lang.Boolean getDisabled()
      Generated method - Getter of the OAuthClientDetails.disabled attribute defined at extension oauth2.
      java.lang.String getOAuthUrl()
      Generated method - Getter of the OAuthClientDetails.oAuthUrl attribute defined at extension apiregistryservices.
      java.lang.Integer getRefreshTokenValiditySeconds()
      Generated method - Getter of the OAuthClientDetails.refreshTokenValiditySeconds attribute defined at extension oauth2.
      java.util.Set<java.lang.String> getRegisteredRedirectUri()
      Generated method - Getter of the OAuthClientDetails.registeredRedirectUri attribute defined at extension oauth2.
      java.util.Set<java.lang.String> getResourceIds()
      Generated method - Getter of the OAuthClientDetails.resourceIds attribute defined at extension oauth2.
      java.util.Set<java.lang.String> getScope()
      Generated method - Getter of the OAuthClientDetails.scope attribute defined at extension oauth2.
      void setAccessTokenValiditySeconds​(java.lang.Integer value)
      Generated method - Setter of OAuthClientDetails.accessTokenValiditySeconds attribute defined at extension oauth2.
      void setAuthorities​(java.util.Set<java.lang.String> value)
      Generated method - Setter of OAuthClientDetails.authorities attribute defined at extension oauth2.
      void setAuthorizedGrantTypes​(java.util.Set<java.lang.String> value)
      Generated method - Setter of OAuthClientDetails.authorizedGrantTypes attribute defined at extension oauth2.
      void setAutoApprove​(java.util.Set<java.lang.String> value)
      Generated method - Setter of OAuthClientDetails.autoApprove attribute defined at extension oauth2.
      void setClientId​(java.lang.String value)
      Generated method - Initial setter of OAuthClientDetails.clientId attribute defined at extension oauth2.
      void setClientSecret​(java.lang.String value)
      Generated method - Setter of OAuthClientDetails.clientSecret attribute defined at extension oauth2.
      void setDisabled​(java.lang.Boolean value)
      Generated method - Setter of OAuthClientDetails.disabled attribute defined at extension oauth2.
      void setOAuthUrl​(java.lang.String value)
      Generated method - Setter of OAuthClientDetails.oAuthUrl attribute defined at extension apiregistryservices.
      void setRefreshTokenValiditySeconds​(java.lang.Integer value)
      Generated method - Setter of OAuthClientDetails.refreshTokenValiditySeconds attribute defined at extension oauth2.
      void setRegisteredRedirectUri​(java.util.Set<java.lang.String> value)
      Generated method - Setter of OAuthClientDetails.registeredRedirectUri attribute defined at extension oauth2.
      void setResourceIds​(java.util.Set<java.lang.String> value)
      Generated method - Setter of OAuthClientDetails.resourceIds attribute defined at extension oauth2.
      void setScope​(java.util.Set<java.lang.String> value)
      Generated method - Setter of OAuthClientDetails.scope attribute defined at extension oauth2.
      • Methods inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

        equals, getItemModelContext, getItemtype, getPersistenceContext, getPk, getProperty, getProperty, getTenantId, hashCode, readResolve, setProperty, setProperty, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toString, writeReplace
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • _TYPECODE

        public static final java.lang.String _TYPECODE
        Generated model type code constant.
        See Also:
        Constant Field Values
      • CLIENTID

        public static final java.lang.String CLIENTID
        Generated constant - Attribute key of OAuthClientDetails.clientId attribute defined at extension oauth2.
        See Also:
        Constant Field Values
      • RESOURCEIDS

        public static final java.lang.String RESOURCEIDS
        Generated constant - Attribute key of OAuthClientDetails.resourceIds attribute defined at extension oauth2.
        See Also:
        Constant Field Values
      • CLIENTSECRET

        public static final java.lang.String CLIENTSECRET
        Generated constant - Attribute key of OAuthClientDetails.clientSecret attribute defined at extension oauth2.
        See Also:
        Constant Field Values
      • SCOPE

        public static final java.lang.String SCOPE
        Generated constant - Attribute key of OAuthClientDetails.scope attribute defined at extension oauth2.
        See Also:
        Constant Field Values
      • AUTHORIZEDGRANTTYPES

        public static final java.lang.String AUTHORIZEDGRANTTYPES
        Generated constant - Attribute key of OAuthClientDetails.authorizedGrantTypes attribute defined at extension oauth2.
        See Also:
        Constant Field Values
      • REGISTEREDREDIRECTURI

        public static final java.lang.String REGISTEREDREDIRECTURI
        Generated constant - Attribute key of OAuthClientDetails.registeredRedirectUri attribute defined at extension oauth2.
        See Also:
        Constant Field Values
      • AUTHORITIES

        public static final java.lang.String AUTHORITIES
        Generated constant - Attribute key of OAuthClientDetails.authorities attribute defined at extension oauth2.
        See Also:
        Constant Field Values
      • ACCESSTOKENVALIDITYSECONDS

        public static final java.lang.String ACCESSTOKENVALIDITYSECONDS
        Generated constant - Attribute key of OAuthClientDetails.accessTokenValiditySeconds attribute defined at extension oauth2.
        See Also:
        Constant Field Values
      • REFRESHTOKENVALIDITYSECONDS

        public static final java.lang.String REFRESHTOKENVALIDITYSECONDS
        Generated constant - Attribute key of OAuthClientDetails.refreshTokenValiditySeconds attribute defined at extension oauth2.
        See Also:
        Constant Field Values
      • AUTOAPPROVE

        public static final java.lang.String AUTOAPPROVE
        Generated constant - Attribute key of OAuthClientDetails.autoApprove attribute defined at extension oauth2.
        See Also:
        Constant Field Values
      • DISABLED

        public static final java.lang.String DISABLED
        Generated constant - Attribute key of OAuthClientDetails.disabled attribute defined at extension oauth2.
        See Also:
        Constant Field Values
      • OAUTHURL

        public static final java.lang.String OAUTHURL
        Generated constant - Attribute key of OAuthClientDetails.oAuthUrl attribute defined at extension apiregistryservices.
        See Also:
        Constant Field Values
    • Constructor Detail

      • OAuthClientDetailsModel

        public OAuthClientDetailsModel()
        Generated constructor - Default constructor for generic creation.
      • OAuthClientDetailsModel

        public OAuthClientDetailsModel​(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
        Generated constructor - Default constructor for creation with existing context
        Parameters:
        ctx - the model context to be injected, must not be null
      • OAuthClientDetailsModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public OAuthClientDetailsModel​(java.lang.String _clientId)
        Deprecated, for removal: This API element is subject to removal in a future version.
        since 4.1.1 Please use the default constructor without parameters
        Generated constructor - Constructor with all mandatory attributes.
        Parameters:
        _clientId - initial attribute declared by type OAuthClientDetails at extension oauth2
      • OAuthClientDetailsModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public OAuthClientDetailsModel​(java.lang.String _clientId,
                                       ItemModel _owner)
        Deprecated, for removal: This API element is subject to removal in a future version.
        since 4.1.1 Please use the default constructor without parameters
        Generated constructor - for all mandatory and initial attributes.
        Parameters:
        _clientId - initial attribute declared by type OAuthClientDetails at extension oauth2
        _owner - initial attribute declared by type Item at extension core
    • Method Detail

      • getAccessTokenValiditySeconds

        @Accessor(qualifier="accessTokenValiditySeconds",
                  type=GETTER)
        public java.lang.Integer getAccessTokenValiditySeconds()
        Generated method - Getter of the OAuthClientDetails.accessTokenValiditySeconds attribute defined at extension oauth2.
        Returns:
        the accessTokenValiditySeconds - Set of authorities granted to client
      • getAuthorities

        @Accessor(qualifier="authorities",
                  type=GETTER)
        public java.util.Set<java.lang.String> getAuthorities()
        Generated method - Getter of the OAuthClientDetails.authorities attribute defined at extension oauth2. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the authorities - Set of authorities granted to client
      • getAuthorizedGrantTypes

        @Accessor(qualifier="authorizedGrantTypes",
                  type=GETTER)
        public java.util.Set<java.lang.String> getAuthorizedGrantTypes()
        Generated method - Getter of the OAuthClientDetails.authorizedGrantTypes attribute defined at extension oauth2. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the authorizedGrantTypes - Set of grant types for client
      • getAutoApprove

        @Accessor(qualifier="autoApprove",
                  type=GETTER)
        public java.util.Set<java.lang.String> getAutoApprove()
        Generated method - Getter of the OAuthClientDetails.autoApprove attribute defined at extension oauth2. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the autoApprove - Set of auto approve scopes of client
      • getClientId

        @Accessor(qualifier="clientId",
                  type=GETTER)
        public java.lang.String getClientId()
        Generated method - Getter of the OAuthClientDetails.clientId attribute defined at extension oauth2.
        Returns:
        the clientId - Client Id
      • getClientSecret

        @Accessor(qualifier="clientSecret",
                  type=GETTER)
        public java.lang.String getClientSecret()
        Generated method - Getter of the OAuthClientDetails.clientSecret attribute defined at extension oauth2.
        Returns:
        the clientSecret - Client Secret
      • getDisabled

        @Accessor(qualifier="disabled",
                  type=GETTER)
        public java.lang.Boolean getDisabled()
        Generated method - Getter of the OAuthClientDetails.disabled attribute defined at extension oauth2.
        Returns:
        the disabled - Client disabled
      • getOAuthUrl

        @Accessor(qualifier="oAuthUrl",
                  type=GETTER)
        public java.lang.String getOAuthUrl()
        Generated method - Getter of the OAuthClientDetails.oAuthUrl attribute defined at extension apiregistryservices.
        Returns:
        the oAuthUrl - URL for accessing oauth
      • getRefreshTokenValiditySeconds

        @Accessor(qualifier="refreshTokenValiditySeconds",
                  type=GETTER)
        public java.lang.Integer getRefreshTokenValiditySeconds()
        Generated method - Getter of the OAuthClientDetails.refreshTokenValiditySeconds attribute defined at extension oauth2.
        Returns:
        the refreshTokenValiditySeconds - Set of authorities granted to client
      • getRegisteredRedirectUri

        @Accessor(qualifier="registeredRedirectUri",
                  type=GETTER)
        public java.util.Set<java.lang.String> getRegisteredRedirectUri()
        Generated method - Getter of the OAuthClientDetails.registeredRedirectUri attribute defined at extension oauth2. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the registeredRedirectUri - Set of redirect Uri for client
      • getResourceIds

        @Accessor(qualifier="resourceIds",
                  type=GETTER)
        public java.util.Set<java.lang.String> getResourceIds()
        Generated method - Getter of the OAuthClientDetails.resourceIds attribute defined at extension oauth2. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the resourceIds - Set of Resource Id's
      • getScope

        @Accessor(qualifier="scope",
                  type=GETTER)
        public java.util.Set<java.lang.String> getScope()
        Generated method - Getter of the OAuthClientDetails.scope attribute defined at extension oauth2. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the scope - Set of client scopes
      • setAccessTokenValiditySeconds

        @Accessor(qualifier="accessTokenValiditySeconds",
                  type=SETTER)
        public void setAccessTokenValiditySeconds​(java.lang.Integer value)
        Generated method - Setter of OAuthClientDetails.accessTokenValiditySeconds attribute defined at extension oauth2.
        Parameters:
        value - the accessTokenValiditySeconds - Set of authorities granted to client
      • setAuthorities

        @Accessor(qualifier="authorities",
                  type=SETTER)
        public void setAuthorities​(java.util.Set<java.lang.String> value)
        Generated method - Setter of OAuthClientDetails.authorities attribute defined at extension oauth2.
        Parameters:
        value - the authorities - Set of authorities granted to client
      • setAuthorizedGrantTypes

        @Accessor(qualifier="authorizedGrantTypes",
                  type=SETTER)
        public void setAuthorizedGrantTypes​(java.util.Set<java.lang.String> value)
        Generated method - Setter of OAuthClientDetails.authorizedGrantTypes attribute defined at extension oauth2.
        Parameters:
        value - the authorizedGrantTypes - Set of grant types for client
      • setAutoApprove

        @Accessor(qualifier="autoApprove",
                  type=SETTER)
        public void setAutoApprove​(java.util.Set<java.lang.String> value)
        Generated method - Setter of OAuthClientDetails.autoApprove attribute defined at extension oauth2.
        Parameters:
        value - the autoApprove - Set of auto approve scopes of client
      • setClientId

        @Accessor(qualifier="clientId",
                  type=SETTER)
        public void setClientId​(java.lang.String value)
        Generated method - Initial setter of OAuthClientDetails.clientId attribute defined at extension oauth2. Can only be used at creation of model - before first save.
        Parameters:
        value - the clientId - Client Id
      • setClientSecret

        @Accessor(qualifier="clientSecret",
                  type=SETTER)
        public void setClientSecret​(java.lang.String value)
        Generated method - Setter of OAuthClientDetails.clientSecret attribute defined at extension oauth2.
        Parameters:
        value - the clientSecret - Client Secret
      • setDisabled

        @Accessor(qualifier="disabled",
                  type=SETTER)
        public void setDisabled​(java.lang.Boolean value)
        Generated method - Setter of OAuthClientDetails.disabled attribute defined at extension oauth2.
        Parameters:
        value - the disabled - Client disabled
      • setOAuthUrl

        @Accessor(qualifier="oAuthUrl",
                  type=SETTER)
        public void setOAuthUrl​(java.lang.String value)
        Generated method - Setter of OAuthClientDetails.oAuthUrl attribute defined at extension apiregistryservices.
        Parameters:
        value - the oAuthUrl - URL for accessing oauth
      • setRefreshTokenValiditySeconds

        @Accessor(qualifier="refreshTokenValiditySeconds",
                  type=SETTER)
        public void setRefreshTokenValiditySeconds​(java.lang.Integer value)
        Generated method - Setter of OAuthClientDetails.refreshTokenValiditySeconds attribute defined at extension oauth2.
        Parameters:
        value - the refreshTokenValiditySeconds - Set of authorities granted to client
      • setRegisteredRedirectUri

        @Accessor(qualifier="registeredRedirectUri",
                  type=SETTER)
        public void setRegisteredRedirectUri​(java.util.Set<java.lang.String> value)
        Generated method - Setter of OAuthClientDetails.registeredRedirectUri attribute defined at extension oauth2.
        Parameters:
        value - the registeredRedirectUri - Set of redirect Uri for client
      • setResourceIds

        @Accessor(qualifier="resourceIds",
                  type=SETTER)
        public void setResourceIds​(java.util.Set<java.lang.String> value)
        Generated method - Setter of OAuthClientDetails.resourceIds attribute defined at extension oauth2.
        Parameters:
        value - the resourceIds - Set of Resource Id's
      • setScope

        @Accessor(qualifier="scope",
                  type=SETTER)
        public void setScope​(java.util.Set<java.lang.String> value)
        Generated method - Setter of OAuthClientDetails.scope attribute defined at extension oauth2.
        Parameters:
        value - the scope - Set of client scopes