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 Details

    • JpaApiKey

      public JpaApiKey()
  • Method Details

    • getBusinessDomainType

      public Class<?> getBusinessDomainType()
      Specified by:
      getBusinessDomainType in interface com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware
    • fromMe

      public org.modelmapper.ModelMapper fromMe()
      Specified by:
      fromMe in interface com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
    • toMe

      public org.modelmapper.ModelMapper toMe()
      Specified by:
      toMe in interface com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
    • getId

      public String getId()
      Specified by:
      getId in interface com.broadleafcommerce.data.tracking.core.Identifiable
      See Also:
    • getName

      public String getName()
      See Also:
    • getHashedKey

      public String getHashedKey()
      See Also:
    • getDisplaySafeKeyPreview

      public String getDisplaySafeKeyPreview()
      See Also:
    • getAuthorizedClientId

      public String getAuthorizedClientId()
      See Also:
    • getCreatedAt

      @Nullable public Instant getCreatedAt()
      See Also:
    • isEnabled

      public boolean isEnabled()
    • getWhitelistedDomains

      public List<String> getWhitelistedDomains()
    • setId

      public void setId(String id)
      See Also:
    • setName

      public void setName(String name)
      See Also:
    • setHashedKey

      public void setHashedKey(String hashedKey)
      See Also:
    • setDisplaySafeKeyPreview

      public void setDisplaySafeKeyPreview(String displaySafeKeyPreview)
      See Also:
    • setAuthorizedClientId

      public void setAuthorizedClientId(String authorizedClientId)
      See Also:
    • setCreatedAt

      public void setCreatedAt(@Nullable Instant createdAt)
      See Also:
    • setEnabled

      public void setEnabled(boolean enabled)
    • setWhitelistedDomains

      public void setWhitelistedDomains(List<String> whitelistedDomains)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object