Class JpaApiKey
java.lang.Object
com.broadleafcommerce.auth.server.provider.jpa.domain.JpaApiKey
- All Implemented Interfaces:
com.broadleafcommerce.data.tracking.core.Identifiable,com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware,com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable,Serializable
@Entity
public class JpaApiKey
extends Object
implements Serializable, com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable, com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware, com.broadleafcommerce.data.tracking.core.Identifiable
Persisted counterpart to
ApiKey
Authentication Service 3.0.0, Release Train 3.0.0- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanorg.modelmapper.ModelMapperfromMe()Class<?>getId()getName()inthashCode()booleanvoidsetAuthorizedClientId(String authorizedClientId) voidsetCreatedAt(Instant createdAt) voidsetDisplaySafeKeyPreview(String displaySafeKeyPreview) voidsetEnabled(boolean enabled) voidsetHashedKey(String hashedKey) voidvoidvoidsetWhitelistedDomains(List<String> whitelistedDomains) org.modelmapper.ModelMappertoMe()toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
postFromMe, postToMe, preFromMe, preToMe
-
Constructor Details
-
JpaApiKey
public JpaApiKey()
-
-
Method Details
-
getBusinessDomainType
- Specified by:
getBusinessDomainTypein interfacecom.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware
-
fromMe
public org.modelmapper.ModelMapper fromMe()- Specified by:
fromMein interfacecom.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
-
toMe
public org.modelmapper.ModelMapper toMe()- Specified by:
toMein interfacecom.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
-
getId
- Specified by:
getIdin interfacecom.broadleafcommerce.data.tracking.core.Identifiable- See Also:
-
getName
- See Also:
-
getHashedKey
- See Also:
-
getDisplaySafeKeyPreview
- See Also:
-
getAuthorizedClientId
- See Also:
-
getCreatedAt
- See Also:
-
isEnabled
public boolean isEnabled() -
getWhitelistedDomains
-
setId
- See Also:
-
setName
- See Also:
-
setHashedKey
- See Also:
-
setDisplaySafeKeyPreview
- See Also:
-
setAuthorizedClientId
- See Also:
-
setCreatedAt
- See Also:
-
setEnabled
public void setEnabled(boolean enabled) -
setWhitelistedDomains
-
toString
-
equals
-
canEqual
-
hashCode
public int hashCode()
-