Class ConsumedOAuthCredentialModel
- java.lang.Object
-
- de.hybris.platform.servicelayer.model.AbstractItemModel
-
- de.hybris.platform.core.model.ItemModel
-
- de.hybris.platform.apiregistryservices.model.AbstractCredentialModel
-
- de.hybris.platform.apiregistryservices.model.ConsumedOAuthCredentialModel
-
- All Implemented Interfaces:
java.io.Serializable
public class ConsumedOAuthCredentialModel extends AbstractCredentialModel
Generated model class for type ConsumedOAuthCredential first defined at extension apiregistryservices.OAuth credentials for external webservice.
- 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.StringCLIENTIDGenerated constant - Attribute key ofConsumedOAuthCredential.clientIdattribute defined at extensionapiregistryservices.static java.lang.StringCLIENTSECRETGenerated constant - Attribute key ofConsumedOAuthCredential.clientSecretattribute defined at extensionapiregistryservices.static java.lang.StringOAUTHURLGenerated constant - Attribute key ofConsumedOAuthCredential.oAuthUrlattribute defined at extensionapiregistryservices.-
Fields inherited from class de.hybris.platform.apiregistryservices.model.AbstractCredentialModel
ID
-
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 ConsumedOAuthCredentialModel()Generated constructor - Default constructor for generic creation.ConsumedOAuthCredentialModel(ItemModelContext ctx)Generated constructor - Default constructor for creation with existing contextConsumedOAuthCredentialModel(java.lang.String _clientId, java.lang.String _id)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersConsumedOAuthCredentialModel(java.lang.String _clientId, java.lang.String _id, 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.StringgetClientId()Generated method - Getter of theConsumedOAuthCredential.clientIdattribute defined at extensionapiregistryservices.java.lang.StringgetClientSecret()Generated method - Getter of theConsumedOAuthCredential.clientSecretattribute defined at extensionapiregistryservices.java.lang.StringgetOAuthUrl()Generated method - Getter of theConsumedOAuthCredential.oAuthUrlattribute defined at extensionapiregistryservices.voidsetClientId(java.lang.String value)Generated method - Setter ofConsumedOAuthCredential.clientIdattribute defined at extensionapiregistryservices.voidsetClientSecret(java.lang.String value)Generated method - Setter ofConsumedOAuthCredential.clientSecretattribute defined at extensionapiregistryservices.voidsetOAuthUrl(java.lang.String value)Generated method - Setter ofConsumedOAuthCredential.oAuthUrlattribute defined at extensionapiregistryservices.-
Methods inherited from class de.hybris.platform.apiregistryservices.model.AbstractCredentialModel
getId, setId
-
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 ofConsumedOAuthCredential.clientIdattribute defined at extensionapiregistryservices.- See Also:
- Constant Field Values
-
OAUTHURL
public static final java.lang.String OAUTHURL
Generated constant - Attribute key ofConsumedOAuthCredential.oAuthUrlattribute defined at extensionapiregistryservices.- See Also:
- Constant Field Values
-
CLIENTSECRET
public static final java.lang.String CLIENTSECRET
Generated constant - Attribute key ofConsumedOAuthCredential.clientSecretattribute defined at extensionapiregistryservices.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ConsumedOAuthCredentialModel
public ConsumedOAuthCredentialModel()
Generated constructor - Default constructor for generic creation.
-
ConsumedOAuthCredentialModel
public ConsumedOAuthCredentialModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
ConsumedOAuthCredentialModel
@Deprecated(since="4.1.1", forRemoval=true) public ConsumedOAuthCredentialModel(java.lang.String _clientId, java.lang.String _id)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 typeConsumedOAuthCredentialat extensionapiregistryservices_id- initial attribute declared by typeAbstractCredentialat extensionapiregistryservices
-
ConsumedOAuthCredentialModel
@Deprecated(since="4.1.1", forRemoval=true) public ConsumedOAuthCredentialModel(java.lang.String _clientId, java.lang.String _id, 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 typeConsumedOAuthCredentialat extensionapiregistryservices_id- initial attribute declared by typeAbstractCredentialat extensionapiregistryservices_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Detail
-
getClientId
@Accessor(qualifier="clientId", type=GETTER) public java.lang.String getClientId()
Generated method - Getter of theConsumedOAuthCredential.clientIdattribute defined at extensionapiregistryservices.- Returns:
- the clientId - OAuth Client Id
-
getClientSecret
@Accessor(qualifier="clientSecret", type=GETTER) public java.lang.String getClientSecret()
Generated method - Getter of theConsumedOAuthCredential.clientSecretattribute defined at extensionapiregistryservices.- Returns:
- the clientSecret - OAuth Client Secret
-
getOAuthUrl
@Accessor(qualifier="oAuthUrl", type=GETTER) public java.lang.String getOAuthUrl()
Generated method - Getter of theConsumedOAuthCredential.oAuthUrlattribute defined at extensionapiregistryservices.- Returns:
- the oAuthUrl - OAuth URL
-
setClientId
@Accessor(qualifier="clientId", type=SETTER) public void setClientId(java.lang.String value)
Generated method - Setter ofConsumedOAuthCredential.clientIdattribute defined at extensionapiregistryservices.- Parameters:
value- the clientId - OAuth Client Id
-
setClientSecret
@Accessor(qualifier="clientSecret", type=SETTER) public void setClientSecret(java.lang.String value)
Generated method - Setter ofConsumedOAuthCredential.clientSecretattribute defined at extensionapiregistryservices.- Parameters:
value- the clientSecret - OAuth Client Secret
-
-