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:
Serializable
- Direct Known Subclasses:
IntegrationClientCredentialsDetailsModel,OpenIDClientDetailsModel
Generated model class for type OAuthClientDetails first defined at extension oauth2.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofOAuthClientDetails.accessTokenValiditySecondsattribute defined at extensionoauth2.static final StringGenerated constant - Attribute key ofOAuthClientDetails.authoritiesattribute defined at extensionoauth2.static final StringGenerated constant - Attribute key ofOAuthClientDetails.authorizedGrantTypesattribute defined at extensionoauth2.static final StringGenerated constant - Attribute key ofOAuthClientDetails.autoApproveattribute defined at extensionoauth2.static final StringGenerated constant - Attribute key ofOAuthClientDetails.clientIdattribute defined at extensionoauth2.static final StringGenerated constant - Attribute key ofOAuthClientDetails.clientSecretattribute defined at extensionoauth2.static final StringGenerated constant - Attribute key ofOAuthClientDetails.disabledattribute defined at extensionoauth2.static final StringGenerated constant - Attribute key ofOAuthClientDetails.oAuthUrlattribute defined at extensionapiregistryservices.static final StringGenerated constant - Attribute key ofOAuthClientDetails.refreshTokenValiditySecondsattribute defined at extensionoauth2.static final StringGenerated constant - Attribute key ofOAuthClientDetails.registeredRedirectUriattribute defined at extensionoauth2.static final StringGenerated constant - Attribute key ofOAuthClientDetails.resourceIdsattribute defined at extensionoauth2.static final StringGenerated constant - Attribute key ofOAuthClientDetails.scopeattribute defined at extensionoauth2.Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDFields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY -
Constructor Summary
ConstructorsConstructorDescriptionGenerated constructor - Default constructor for generic creation.Generated constructor - Default constructor for creation with existing contextOAuthClientDetailsModel(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(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
Modifier and TypeMethodDescriptionGenerated method - Getter of theOAuthClientDetails.accessTokenValiditySecondsattribute defined at extensionoauth2.Generated method - Getter of theOAuthClientDetails.authoritiesattribute defined at extensionoauth2.Generated method - Getter of theOAuthClientDetails.authorizedGrantTypesattribute defined at extensionoauth2.Generated method - Getter of theOAuthClientDetails.autoApproveattribute defined at extensionoauth2.Generated method - Getter of theOAuthClientDetails.clientIdattribute defined at extensionoauth2.Generated method - Getter of theOAuthClientDetails.clientSecretattribute defined at extensionoauth2.Generated method - Getter of theOAuthClientDetails.disabledattribute defined at extensionoauth2.Generated method - Getter of theOAuthClientDetails.oAuthUrlattribute defined at extensionapiregistryservices.Generated method - Getter of theOAuthClientDetails.refreshTokenValiditySecondsattribute defined at extensionoauth2.Generated method - Getter of theOAuthClientDetails.registeredRedirectUriattribute defined at extensionoauth2.Generated method - Getter of theOAuthClientDetails.resourceIdsattribute defined at extensionoauth2.getScope()Generated method - Getter of theOAuthClientDetails.scopeattribute defined at extensionoauth2.voidGenerated method - Setter ofOAuthClientDetails.accessTokenValiditySecondsattribute defined at extensionoauth2.voidsetAuthorities(Set<String> value) Generated method - Setter ofOAuthClientDetails.authoritiesattribute defined at extensionoauth2.voidsetAuthorizedGrantTypes(Set<String> value) Generated method - Setter ofOAuthClientDetails.authorizedGrantTypesattribute defined at extensionoauth2.voidsetAutoApprove(Set<String> value) Generated method - Setter ofOAuthClientDetails.autoApproveattribute defined at extensionoauth2.voidsetClientId(String value) Generated method - Initial setter ofOAuthClientDetails.clientIdattribute defined at extensionoauth2.voidsetClientSecret(String value) Generated method - Setter ofOAuthClientDetails.clientSecretattribute defined at extensionoauth2.voidsetDisabled(Boolean value) Generated method - Setter ofOAuthClientDetails.disabledattribute defined at extensionoauth2.voidsetOAuthUrl(String value) Generated method - Setter ofOAuthClientDetails.oAuthUrlattribute defined at extensionapiregistryservices.voidGenerated method - Setter ofOAuthClientDetails.refreshTokenValiditySecondsattribute defined at extensionoauth2.voidsetRegisteredRedirectUri(Set<String> value) Generated method - Setter ofOAuthClientDetails.registeredRedirectUriattribute defined at extensionoauth2.voidsetResourceIds(Set<String> value) Generated method - Setter ofOAuthClientDetails.resourceIdsattribute defined at extensionoauth2.voidGenerated method - Setter ofOAuthClientDetails.scopeattribute defined at extensionoauth2.Methods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwnerMethods 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 Details
-
_TYPECODE
Generated model type code constant.- See Also:
-
CLIENTID
Generated constant - Attribute key ofOAuthClientDetails.clientIdattribute defined at extensionoauth2.- See Also:
-
RESOURCEIDS
Generated constant - Attribute key ofOAuthClientDetails.resourceIdsattribute defined at extensionoauth2.- See Also:
-
CLIENTSECRET
Generated constant - Attribute key ofOAuthClientDetails.clientSecretattribute defined at extensionoauth2.- See Also:
-
SCOPE
Generated constant - Attribute key ofOAuthClientDetails.scopeattribute defined at extensionoauth2.- See Also:
-
AUTHORIZEDGRANTTYPES
Generated constant - Attribute key ofOAuthClientDetails.authorizedGrantTypesattribute defined at extensionoauth2.- See Also:
-
REGISTEREDREDIRECTURI
Generated constant - Attribute key ofOAuthClientDetails.registeredRedirectUriattribute defined at extensionoauth2.- See Also:
-
AUTHORITIES
Generated constant - Attribute key ofOAuthClientDetails.authoritiesattribute defined at extensionoauth2.- See Also:
-
ACCESSTOKENVALIDITYSECONDS
Generated constant - Attribute key ofOAuthClientDetails.accessTokenValiditySecondsattribute defined at extensionoauth2.- See Also:
-
REFRESHTOKENVALIDITYSECONDS
Generated constant - Attribute key ofOAuthClientDetails.refreshTokenValiditySecondsattribute defined at extensionoauth2.- See Also:
-
AUTOAPPROVE
Generated constant - Attribute key ofOAuthClientDetails.autoApproveattribute defined at extensionoauth2.- See Also:
-
DISABLED
Generated constant - Attribute key ofOAuthClientDetails.disabledattribute defined at extensionoauth2.- See Also:
-
OAUTHURL
Generated constant - Attribute key ofOAuthClientDetails.oAuthUrlattribute defined at extensionapiregistryservices.- See Also:
-
-
Constructor Details
-
OAuthClientDetailsModel
public OAuthClientDetailsModel()Generated constructor - Default constructor for generic creation. -
OAuthClientDetailsModel
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
OAuthClientDetailsModel
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 typeOAuthClientDetailsat extensionoauth2
-
OAuthClientDetailsModel
@Deprecated(since="4.1.1", forRemoval=true) public OAuthClientDetailsModel(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 typeOAuthClientDetailsat extensionoauth2_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Details
-
getAccessTokenValiditySeconds
@Accessor(qualifier="accessTokenValiditySeconds", type=GETTER) public Integer getAccessTokenValiditySeconds()Generated method - Getter of theOAuthClientDetails.accessTokenValiditySecondsattribute defined at extensionoauth2.- Returns:
- the accessTokenValiditySeconds - Set of authorities granted to client
-
getAuthorities
Generated method - Getter of theOAuthClientDetails.authoritiesattribute 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 Set<String> getAuthorizedGrantTypes()Generated method - Getter of theOAuthClientDetails.authorizedGrantTypesattribute defined at extensionoauth2. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the authorizedGrantTypes - Set of grant types for client
-
getAutoApprove
Generated method - Getter of theOAuthClientDetails.autoApproveattribute 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
Generated method - Getter of theOAuthClientDetails.clientIdattribute defined at extensionoauth2.- Returns:
- the clientId - Client Id
-
getClientSecret
Generated method - Getter of theOAuthClientDetails.clientSecretattribute defined at extensionoauth2.- Returns:
- the clientSecret - Client Secret
-
getDisabled
Generated method - Getter of theOAuthClientDetails.disabledattribute defined at extensionoauth2.- Returns:
- the disabled - Client disabled
-
getOAuthUrl
Generated method - Getter of theOAuthClientDetails.oAuthUrlattribute defined at extensionapiregistryservices.- Returns:
- the oAuthUrl - URL for accessing oauth
-
getRefreshTokenValiditySeconds
@Accessor(qualifier="refreshTokenValiditySeconds", type=GETTER) public Integer getRefreshTokenValiditySeconds()Generated method - Getter of theOAuthClientDetails.refreshTokenValiditySecondsattribute defined at extensionoauth2.- Returns:
- the refreshTokenValiditySeconds - Set of authorities granted to client
-
getRegisteredRedirectUri
@Accessor(qualifier="registeredRedirectUri", type=GETTER) public Set<String> getRegisteredRedirectUri()Generated method - Getter of theOAuthClientDetails.registeredRedirectUriattribute defined at extensionoauth2. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the registeredRedirectUri - Set of redirect Uri for client
-
getResourceIds
Generated method - Getter of theOAuthClientDetails.resourceIdsattribute defined at extensionoauth2. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the resourceIds - Set of Resource Id's
-
getScope
Generated method - Getter of theOAuthClientDetails.scopeattribute 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(Integer value) Generated method - Setter ofOAuthClientDetails.accessTokenValiditySecondsattribute defined at extensionoauth2.- Parameters:
value- the accessTokenValiditySeconds - Set of authorities granted to client
-
setAuthorities
Generated method - Setter ofOAuthClientDetails.authoritiesattribute defined at extensionoauth2.- Parameters:
value- the authorities - Set of authorities granted to client
-
setAuthorizedGrantTypes
@Accessor(qualifier="authorizedGrantTypes", type=SETTER) public void setAuthorizedGrantTypes(Set<String> value) Generated method - Setter ofOAuthClientDetails.authorizedGrantTypesattribute defined at extensionoauth2.- Parameters:
value- the authorizedGrantTypes - Set of grant types for client
-
setAutoApprove
Generated method - Setter ofOAuthClientDetails.autoApproveattribute defined at extensionoauth2.- Parameters:
value- the autoApprove - Set of auto approve scopes of client
-
setClientId
Generated method - Initial setter ofOAuthClientDetails.clientIdattribute defined at extensionoauth2. Can only be used at creation of model - before first save.- Parameters:
value- the clientId - Client Id
-
setClientSecret
Generated method - Setter ofOAuthClientDetails.clientSecretattribute defined at extensionoauth2.- Parameters:
value- the clientSecret - Client Secret
-
setDisabled
Generated method - Setter ofOAuthClientDetails.disabledattribute defined at extensionoauth2.- Parameters:
value- the disabled - Client disabled
-
setOAuthUrl
Generated method - Setter ofOAuthClientDetails.oAuthUrlattribute defined at extensionapiregistryservices.- Parameters:
value- the oAuthUrl - URL for accessing oauth
-
setRefreshTokenValiditySeconds
@Accessor(qualifier="refreshTokenValiditySeconds", type=SETTER) public void setRefreshTokenValiditySeconds(Integer value) Generated method - Setter ofOAuthClientDetails.refreshTokenValiditySecondsattribute defined at extensionoauth2.- Parameters:
value- the refreshTokenValiditySeconds - Set of authorities granted to client
-
setRegisteredRedirectUri
@Accessor(qualifier="registeredRedirectUri", type=SETTER) public void setRegisteredRedirectUri(Set<String> value) Generated method - Setter ofOAuthClientDetails.registeredRedirectUriattribute defined at extensionoauth2.- Parameters:
value- the registeredRedirectUri - Set of redirect Uri for client
-
setResourceIds
Generated method - Setter ofOAuthClientDetails.resourceIdsattribute defined at extensionoauth2.- Parameters:
value- the resourceIds - Set of Resource Id's
-
setScope
Generated method - Setter ofOAuthClientDetails.scopeattribute defined at extensionoauth2.- Parameters:
value- the scope - Set of client scopes
-