Class OAuthClientDetailsModel
- java.lang.Object
-
- de.hybris.platform.servicelayer.model.AbstractItemModel
-
- de.hybris.platform.core.model.ItemModel
-
- de.hybris.platform.webservicescommons.model.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
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 ofOAuthClientDetails.accessTokenValiditySeconds
attribute defined at extensionoauth2
.static java.lang.String
AUTHORITIES
Generated constant - Attribute key ofOAuthClientDetails.authorities
attribute defined at extensionoauth2
.static java.lang.String
AUTHORIZEDGRANTTYPES
Generated constant - Attribute key ofOAuthClientDetails.authorizedGrantTypes
attribute defined at extensionoauth2
.static java.lang.String
AUTOAPPROVE
Generated constant - Attribute key ofOAuthClientDetails.autoApprove
attribute defined at extensionoauth2
.static java.lang.String
CLIENTID
Generated constant - Attribute key ofOAuthClientDetails.clientId
attribute defined at extensionoauth2
.static java.lang.String
CLIENTSECRET
Generated constant - Attribute key ofOAuthClientDetails.clientSecret
attribute defined at extensionoauth2
.static java.lang.String
DISABLED
Generated constant - Attribute key ofOAuthClientDetails.disabled
attribute defined at extensionoauth2
.static java.lang.String
OAUTHURL
Generated constant - Attribute key ofOAuthClientDetails.oAuthUrl
attribute defined at extensionapiregistryservices
.static java.lang.String
REFRESHTOKENVALIDITYSECONDS
Generated constant - Attribute key ofOAuthClientDetails.refreshTokenValiditySeconds
attribute defined at extensionoauth2
.static java.lang.String
REGISTEREDREDIRECTURI
Generated constant - Attribute key ofOAuthClientDetails.registeredRedirectUri
attribute defined at extensionoauth2
.static java.lang.String
RESOURCEIDS
Generated constant - Attribute key ofOAuthClientDetails.resourceIds
attribute defined at extensionoauth2
.static java.lang.String
SCOPE
Generated constant - Attribute key ofOAuthClientDetails.scope
attribute defined at extensionoauth2
.-
Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED
-
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(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing contextOAuthClientDetailsModel(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 parametersOAuthClientDetailsModel(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 theOAuthClientDetails.accessTokenValiditySeconds
attribute defined at extensionoauth2
.java.util.Set<java.lang.String>
getAuthorities()
Generated method - Getter of theOAuthClientDetails.authorities
attribute defined at extensionoauth2
.java.util.Set<java.lang.String>
getAuthorizedGrantTypes()
Generated method - Getter of theOAuthClientDetails.authorizedGrantTypes
attribute defined at extensionoauth2
.java.util.Set<java.lang.String>
getAutoApprove()
Generated method - Getter of theOAuthClientDetails.autoApprove
attribute defined at extensionoauth2
.java.lang.String
getClientId()
Generated method - Getter of theOAuthClientDetails.clientId
attribute defined at extensionoauth2
.java.lang.String
getClientSecret()
Generated method - Getter of theOAuthClientDetails.clientSecret
attribute defined at extensionoauth2
.java.lang.Boolean
getDisabled()
Generated method - Getter of theOAuthClientDetails.disabled
attribute defined at extensionoauth2
.java.lang.String
getOAuthUrl()
Generated method - Getter of theOAuthClientDetails.oAuthUrl
attribute defined at extensionapiregistryservices
.java.lang.Integer
getRefreshTokenValiditySeconds()
Generated method - Getter of theOAuthClientDetails.refreshTokenValiditySeconds
attribute defined at extensionoauth2
.java.util.Set<java.lang.String>
getRegisteredRedirectUri()
Generated method - Getter of theOAuthClientDetails.registeredRedirectUri
attribute defined at extensionoauth2
.java.util.Set<java.lang.String>
getResourceIds()
Generated method - Getter of theOAuthClientDetails.resourceIds
attribute defined at extensionoauth2
.java.util.Set<java.lang.String>
getScope()
Generated method - Getter of theOAuthClientDetails.scope
attribute defined at extensionoauth2
.void
setAccessTokenValiditySeconds(java.lang.Integer value)
Generated method - Setter ofOAuthClientDetails.accessTokenValiditySeconds
attribute defined at extensionoauth2
.void
setAuthorities(java.util.Set<java.lang.String> value)
Generated method - Setter ofOAuthClientDetails.authorities
attribute defined at extensionoauth2
.void
setAuthorizedGrantTypes(java.util.Set<java.lang.String> value)
Generated method - Setter ofOAuthClientDetails.authorizedGrantTypes
attribute defined at extensionoauth2
.void
setAutoApprove(java.util.Set<java.lang.String> value)
Generated method - Setter ofOAuthClientDetails.autoApprove
attribute defined at extensionoauth2
.void
setClientId(java.lang.String value)
Generated method - Initial setter ofOAuthClientDetails.clientId
attribute defined at extensionoauth2
.void
setClientSecret(java.lang.String value)
Generated method - Setter ofOAuthClientDetails.clientSecret
attribute defined at extensionoauth2
.void
setDisabled(java.lang.Boolean value)
Generated method - Setter ofOAuthClientDetails.disabled
attribute defined at extensionoauth2
.void
setOAuthUrl(java.lang.String value)
Generated method - Setter ofOAuthClientDetails.oAuthUrl
attribute defined at extensionapiregistryservices
.void
setRefreshTokenValiditySeconds(java.lang.Integer value)
Generated method - Setter ofOAuthClientDetails.refreshTokenValiditySeconds
attribute defined at extensionoauth2
.void
setRegisteredRedirectUri(java.util.Set<java.lang.String> value)
Generated method - Setter ofOAuthClientDetails.registeredRedirectUri
attribute defined at extensionoauth2
.void
setResourceIds(java.util.Set<java.lang.String> value)
Generated method - Setter ofOAuthClientDetails.resourceIds
attribute defined at extensionoauth2
.void
setScope(java.util.Set<java.lang.String> value)
Generated method - Setter ofOAuthClientDetails.scope
attribute defined at extensionoauth2
.-
Methods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwner
-
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
-
-
-
-
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 ofOAuthClientDetails.clientId
attribute defined at extensionoauth2
.- See Also:
- Constant Field Values
-
RESOURCEIDS
public static final java.lang.String RESOURCEIDS
Generated constant - Attribute key ofOAuthClientDetails.resourceIds
attribute defined at extensionoauth2
.- See Also:
- Constant Field Values
-
CLIENTSECRET
public static final java.lang.String CLIENTSECRET
Generated constant - Attribute key ofOAuthClientDetails.clientSecret
attribute defined at extensionoauth2
.- See Also:
- Constant Field Values
-
SCOPE
public static final java.lang.String SCOPE
Generated constant - Attribute key ofOAuthClientDetails.scope
attribute defined at extensionoauth2
.- See Also:
- Constant Field Values
-
AUTHORIZEDGRANTTYPES
public static final java.lang.String AUTHORIZEDGRANTTYPES
Generated constant - Attribute key ofOAuthClientDetails.authorizedGrantTypes
attribute defined at extensionoauth2
.- See Also:
- Constant Field Values
-
REGISTEREDREDIRECTURI
public static final java.lang.String REGISTEREDREDIRECTURI
Generated constant - Attribute key ofOAuthClientDetails.registeredRedirectUri
attribute defined at extensionoauth2
.- See Also:
- Constant Field Values
-
AUTHORITIES
public static final java.lang.String AUTHORITIES
Generated constant - Attribute key ofOAuthClientDetails.authorities
attribute defined at extensionoauth2
.- See Also:
- Constant Field Values
-
ACCESSTOKENVALIDITYSECONDS
public static final java.lang.String ACCESSTOKENVALIDITYSECONDS
Generated constant - Attribute key ofOAuthClientDetails.accessTokenValiditySeconds
attribute defined at extensionoauth2
.- See Also:
- Constant Field Values
-
REFRESHTOKENVALIDITYSECONDS
public static final java.lang.String REFRESHTOKENVALIDITYSECONDS
Generated constant - Attribute key ofOAuthClientDetails.refreshTokenValiditySeconds
attribute defined at extensionoauth2
.- See Also:
- Constant Field Values
-
AUTOAPPROVE
public static final java.lang.String AUTOAPPROVE
Generated constant - Attribute key ofOAuthClientDetails.autoApprove
attribute defined at extensionoauth2
.- See Also:
- Constant Field Values
-
DISABLED
public static final java.lang.String DISABLED
Generated constant - Attribute key ofOAuthClientDetails.disabled
attribute defined at extensionoauth2
.- See Also:
- Constant Field Values
-
OAUTHURL
public static final java.lang.String OAUTHURL
Generated constant - Attribute key ofOAuthClientDetails.oAuthUrl
attribute defined at extensionapiregistryservices
.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
OAuthClientDetailsModel
public OAuthClientDetailsModel()
Generated constructor - Default constructor for generic creation.
-
OAuthClientDetailsModel
public OAuthClientDetailsModel(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 parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_clientId
- initial attribute declared by typeOAuthClientDetails
at extensionoauth2
-
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 parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_clientId
- initial attribute declared by typeOAuthClientDetails
at extensionoauth2
_owner
- initial attribute declared by typeItem
at extensioncore
-
-
Method Detail
-
getAccessTokenValiditySeconds
@Accessor(qualifier="accessTokenValiditySeconds", type=GETTER) public java.lang.Integer getAccessTokenValiditySeconds()
Generated method - Getter of theOAuthClientDetails.accessTokenValiditySeconds
attribute defined at extensionoauth2
.- 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 theOAuthClientDetails.authorities
attribute defined at extensionoauth2
. 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 theOAuthClientDetails.authorizedGrantTypes
attribute defined at extensionoauth2
. 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 theOAuthClientDetails.autoApprove
attribute defined at extensionoauth2
. 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 theOAuthClientDetails.clientId
attribute defined at extensionoauth2
.- Returns:
- the clientId - Client Id
-
getClientSecret
@Accessor(qualifier="clientSecret", type=GETTER) public java.lang.String getClientSecret()
Generated method - Getter of theOAuthClientDetails.clientSecret
attribute defined at extensionoauth2
.- Returns:
- the clientSecret - Client Secret
-
getDisabled
@Accessor(qualifier="disabled", type=GETTER) public java.lang.Boolean getDisabled()
Generated method - Getter of theOAuthClientDetails.disabled
attribute defined at extensionoauth2
.- Returns:
- the disabled - Client disabled
-
getOAuthUrl
@Accessor(qualifier="oAuthUrl", type=GETTER) public java.lang.String getOAuthUrl()
Generated method - Getter of theOAuthClientDetails.oAuthUrl
attribute defined at extensionapiregistryservices
.- Returns:
- the oAuthUrl - URL for accessing oauth
-
getRefreshTokenValiditySeconds
@Accessor(qualifier="refreshTokenValiditySeconds", type=GETTER) public java.lang.Integer getRefreshTokenValiditySeconds()
Generated method - Getter of theOAuthClientDetails.refreshTokenValiditySeconds
attribute defined at extensionoauth2
.- 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 theOAuthClientDetails.registeredRedirectUri
attribute defined at extensionoauth2
. 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 theOAuthClientDetails.resourceIds
attribute defined at extensionoauth2
. 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 theOAuthClientDetails.scope
attribute defined at extensionoauth2
. 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 ofOAuthClientDetails.accessTokenValiditySeconds
attribute defined at extensionoauth2
.- 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 ofOAuthClientDetails.authorities
attribute defined at extensionoauth2
.- 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 ofOAuthClientDetails.authorizedGrantTypes
attribute defined at extensionoauth2
.- 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 ofOAuthClientDetails.autoApprove
attribute defined at extensionoauth2
.- 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 ofOAuthClientDetails.clientId
attribute defined at extensionoauth2
. 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 ofOAuthClientDetails.clientSecret
attribute defined at extensionoauth2
.- Parameters:
value
- the clientSecret - Client Secret
-
setDisabled
@Accessor(qualifier="disabled", type=SETTER) public void setDisabled(java.lang.Boolean value)
Generated method - Setter ofOAuthClientDetails.disabled
attribute defined at extensionoauth2
.- Parameters:
value
- the disabled - Client disabled
-
setOAuthUrl
@Accessor(qualifier="oAuthUrl", type=SETTER) public void setOAuthUrl(java.lang.String value)
Generated method - Setter ofOAuthClientDetails.oAuthUrl
attribute defined at extensionapiregistryservices
.- Parameters:
value
- the oAuthUrl - URL for accessing oauth
-
setRefreshTokenValiditySeconds
@Accessor(qualifier="refreshTokenValiditySeconds", type=SETTER) public void setRefreshTokenValiditySeconds(java.lang.Integer value)
Generated method - Setter ofOAuthClientDetails.refreshTokenValiditySeconds
attribute defined at extensionoauth2
.- 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 ofOAuthClientDetails.registeredRedirectUri
attribute defined at extensionoauth2
.- 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 ofOAuthClientDetails.resourceIds
attribute defined at extensionoauth2
.- Parameters:
value
- the resourceIds - Set of Resource Id's
-
-