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_TYPECODEGenerated model type code constant.static java.lang.StringACCESSTOKENVALIDITYSECONDSGenerated constant - Attribute key ofOAuthClientDetails.accessTokenValiditySecondsattribute defined at extensionoauth2.static java.lang.StringAUTHORITIESGenerated constant - Attribute key ofOAuthClientDetails.authoritiesattribute defined at extensionoauth2.static java.lang.StringAUTHORIZEDGRANTTYPESGenerated constant - Attribute key ofOAuthClientDetails.authorizedGrantTypesattribute defined at extensionoauth2.static java.lang.StringAUTOAPPROVEGenerated constant - Attribute key ofOAuthClientDetails.autoApproveattribute defined at extensionoauth2.static java.lang.StringCLIENTIDGenerated constant - Attribute key ofOAuthClientDetails.clientIdattribute defined at extensionoauth2.static java.lang.StringCLIENTSECRETGenerated constant - Attribute key ofOAuthClientDetails.clientSecretattribute defined at extensionoauth2.static java.lang.StringDISABLEDGenerated constant - Attribute key ofOAuthClientDetails.disabledattribute defined at extensionoauth2.static java.lang.StringOAUTHURLGenerated constant - Attribute key ofOAuthClientDetails.oAuthUrlattribute defined at extensionapiregistryservices.static java.lang.StringREFRESHTOKENVALIDITYSECONDSGenerated constant - Attribute key ofOAuthClientDetails.refreshTokenValiditySecondsattribute defined at extensionoauth2.static java.lang.StringREGISTEREDREDIRECTURIGenerated constant - Attribute key ofOAuthClientDetails.registeredRedirectUriattribute defined at extensionoauth2.static java.lang.StringRESOURCEIDSGenerated constant - Attribute key ofOAuthClientDetails.resourceIdsattribute defined at extensionoauth2.static java.lang.StringSCOPEGenerated 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, 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.IntegergetAccessTokenValiditySeconds()Generated method - Getter of theOAuthClientDetails.accessTokenValiditySecondsattribute defined at extensionoauth2.java.util.Set<java.lang.String>getAuthorities()Generated method - Getter of theOAuthClientDetails.authoritiesattribute defined at extensionoauth2.java.util.Set<java.lang.String>getAuthorizedGrantTypes()Generated method - Getter of theOAuthClientDetails.authorizedGrantTypesattribute defined at extensionoauth2.java.util.Set<java.lang.String>getAutoApprove()Generated method - Getter of theOAuthClientDetails.autoApproveattribute defined at extensionoauth2.java.lang.StringgetClientId()Generated method - Getter of theOAuthClientDetails.clientIdattribute defined at extensionoauth2.java.lang.StringgetClientSecret()Generated method - Getter of theOAuthClientDetails.clientSecretattribute defined at extensionoauth2.java.lang.BooleangetDisabled()Generated method - Getter of theOAuthClientDetails.disabledattribute defined at extensionoauth2.java.lang.StringgetOAuthUrl()Generated method - Getter of theOAuthClientDetails.oAuthUrlattribute defined at extensionapiregistryservices.java.lang.IntegergetRefreshTokenValiditySeconds()Generated method - Getter of theOAuthClientDetails.refreshTokenValiditySecondsattribute defined at extensionoauth2.java.util.Set<java.lang.String>getRegisteredRedirectUri()Generated method - Getter of theOAuthClientDetails.registeredRedirectUriattribute defined at extensionoauth2.java.util.Set<java.lang.String>getResourceIds()Generated method - Getter of theOAuthClientDetails.resourceIdsattribute defined at extensionoauth2.java.util.Set<java.lang.String>getScope()Generated method - Getter of theOAuthClientDetails.scopeattribute defined at extensionoauth2.voidsetAccessTokenValiditySeconds(java.lang.Integer value)Generated method - Setter ofOAuthClientDetails.accessTokenValiditySecondsattribute defined at extensionoauth2.voidsetAuthorities(java.util.Set<java.lang.String> value)Generated method - Setter ofOAuthClientDetails.authoritiesattribute defined at extensionoauth2.voidsetAuthorizedGrantTypes(java.util.Set<java.lang.String> value)Generated method - Setter ofOAuthClientDetails.authorizedGrantTypesattribute defined at extensionoauth2.voidsetAutoApprove(java.util.Set<java.lang.String> value)Generated method - Setter ofOAuthClientDetails.autoApproveattribute defined at extensionoauth2.voidsetClientId(java.lang.String value)Generated method - Initial setter ofOAuthClientDetails.clientIdattribute defined at extensionoauth2.voidsetClientSecret(java.lang.String value)Generated method - Setter ofOAuthClientDetails.clientSecretattribute defined at extensionoauth2.voidsetDisabled(java.lang.Boolean value)Generated method - Setter ofOAuthClientDetails.disabledattribute defined at extensionoauth2.voidsetOAuthUrl(java.lang.String value)Generated method - Setter ofOAuthClientDetails.oAuthUrlattribute defined at extensionapiregistryservices.voidsetRefreshTokenValiditySeconds(java.lang.Integer value)Generated method - Setter ofOAuthClientDetails.refreshTokenValiditySecondsattribute defined at extensionoauth2.voidsetRegisteredRedirectUri(java.util.Set<java.lang.String> value)Generated method - Setter ofOAuthClientDetails.registeredRedirectUriattribute defined at extensionoauth2.voidsetResourceIds(java.util.Set<java.lang.String> value)Generated method - Setter ofOAuthClientDetails.resourceIdsattribute defined at extensionoauth2.voidsetScope(java.util.Set<java.lang.String> value)Generated 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, 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.clientIdattribute defined at extensionoauth2.- See Also:
- Constant Field Values
-
RESOURCEIDS
public static final java.lang.String RESOURCEIDS
Generated constant - Attribute key ofOAuthClientDetails.resourceIdsattribute defined at extensionoauth2.- See Also:
- Constant Field Values
-
CLIENTSECRET
public static final java.lang.String CLIENTSECRET
Generated constant - Attribute key ofOAuthClientDetails.clientSecretattribute defined at extensionoauth2.- See Also:
- Constant Field Values
-
SCOPE
public static final java.lang.String SCOPE
Generated constant - Attribute key ofOAuthClientDetails.scopeattribute defined at extensionoauth2.- See Also:
- Constant Field Values
-
AUTHORIZEDGRANTTYPES
public static final java.lang.String AUTHORIZEDGRANTTYPES
Generated constant - Attribute key ofOAuthClientDetails.authorizedGrantTypesattribute defined at extensionoauth2.- See Also:
- Constant Field Values
-
REGISTEREDREDIRECTURI
public static final java.lang.String REGISTEREDREDIRECTURI
Generated constant - Attribute key ofOAuthClientDetails.registeredRedirectUriattribute defined at extensionoauth2.- See Also:
- Constant Field Values
-
AUTHORITIES
public static final java.lang.String AUTHORITIES
Generated constant - Attribute key ofOAuthClientDetails.authoritiesattribute defined at extensionoauth2.- See Also:
- Constant Field Values
-
ACCESSTOKENVALIDITYSECONDS
public static final java.lang.String ACCESSTOKENVALIDITYSECONDS
Generated constant - Attribute key ofOAuthClientDetails.accessTokenValiditySecondsattribute defined at extensionoauth2.- See Also:
- Constant Field Values
-
REFRESHTOKENVALIDITYSECONDS
public static final java.lang.String REFRESHTOKENVALIDITYSECONDS
Generated constant - Attribute key ofOAuthClientDetails.refreshTokenValiditySecondsattribute defined at extensionoauth2.- See Also:
- Constant Field Values
-
AUTOAPPROVE
public static final java.lang.String AUTOAPPROVE
Generated constant - Attribute key ofOAuthClientDetails.autoApproveattribute defined at extensionoauth2.- See Also:
- Constant Field Values
-
DISABLED
public static final java.lang.String DISABLED
Generated constant - Attribute key ofOAuthClientDetails.disabledattribute defined at extensionoauth2.- See Also:
- Constant Field Values
-
OAUTHURL
public static final java.lang.String OAUTHURL
Generated constant - Attribute key ofOAuthClientDetails.oAuthUrlattribute 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 typeOAuthClientDetailsat 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 typeOAuthClientDetailsat extensionoauth2_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Detail
-
getAccessTokenValiditySeconds
@Accessor(qualifier="accessTokenValiditySeconds", type=GETTER) public java.lang.Integer getAccessTokenValiditySeconds()
Generated method - Getter of theOAuthClientDetails.accessTokenValiditySecondsattribute 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.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 java.util.Set<java.lang.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
@Accessor(qualifier="autoApprove", type=GETTER) public java.util.Set<java.lang.String> 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
@Accessor(qualifier="clientId", type=GETTER) public java.lang.String getClientId()
Generated method - Getter of theOAuthClientDetails.clientIdattribute defined at extensionoauth2.- Returns:
- the clientId - Client Id
-
getClientSecret
@Accessor(qualifier="clientSecret", type=GETTER) public java.lang.String getClientSecret()
Generated method - Getter of theOAuthClientDetails.clientSecretattribute defined at extensionoauth2.- Returns:
- the clientSecret - Client Secret
-
getDisabled
@Accessor(qualifier="disabled", type=GETTER) public java.lang.Boolean getDisabled()
Generated method - Getter of theOAuthClientDetails.disabledattribute defined at extensionoauth2.- Returns:
- the disabled - Client disabled
-
getOAuthUrl
@Accessor(qualifier="oAuthUrl", type=GETTER) public java.lang.String getOAuthUrl()
Generated method - Getter of theOAuthClientDetails.oAuthUrlattribute 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.refreshTokenValiditySecondsattribute 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.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
@Accessor(qualifier="resourceIds", type=GETTER) public java.util.Set<java.lang.String> 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
@Accessor(qualifier="scope", type=GETTER) public java.util.Set<java.lang.String> 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(java.lang.Integer value)
Generated method - Setter ofOAuthClientDetails.accessTokenValiditySecondsattribute 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.authoritiesattribute 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.authorizedGrantTypesattribute 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.autoApproveattribute 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.clientIdattribute 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.clientSecretattribute 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.disabledattribute 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.oAuthUrlattribute 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.refreshTokenValiditySecondsattribute 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.registeredRedirectUriattribute 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.resourceIdsattribute defined at extensionoauth2.- Parameters:
value- the resourceIds - Set of Resource Id's
-
-