java.lang.Object
com.broadleafcommerce.auth.tenant.provider.jpa.domain.JpaApplication
All Implemented Interfaces:
com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware, com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable, Serializable

@Entity public class JpaApplication extends Object implements Serializable, com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable, com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware
An entity holding information about an application registered via the tenant service
Author:
Jeff Fischer
See Also:
  • Constructor Details

    • JpaApplication

      public JpaApplication()
    • JpaApplication

      public JpaApplication(String id, String identifierType, String identifierValue, boolean deactivated, String customerContextId, String tenantId, Instant lastUpdated, boolean isMarketplace)
  • Method Details

    • 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
    • getBusinessDomainType

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

      public String getId()
      See Also:
    • getIdentifierType

      public String getIdentifierType()
      See Also:
    • getIdentifierValue

      public String getIdentifierValue()
      See Also:
    • isDeactivated

      public boolean isDeactivated()
      See Also:
    • getCustomerContextId

      public String getCustomerContextId()
      See Also:
    • getTenantId

      public String getTenantId()
    • getLastUpdated

      public Instant getLastUpdated()
      We don't use LastModifiedDate here because we want to enable manually setting this value (ex: for setting the lastUpdated to a value received in a persistence message).
      See Also:
      • Application.lastUpdated
    • isMarketplace

      public boolean isMarketplace()
      See Also:
    • setId

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

      public void setIdentifierType(String identifierType)
      See Also:
    • setIdentifierValue

      public void setIdentifierValue(String identifierValue)
      See Also:
    • setDeactivated

      public void setDeactivated(boolean deactivated)
      See Also:
    • setCustomerContextId

      public void setCustomerContextId(String customerContextId)
      See Also:
    • setTenantId

      public void setTenantId(String tenantId)
    • setLastUpdated

      public void setLastUpdated(Instant lastUpdated)
      We don't use LastModifiedDate here because we want to enable manually setting this value (ex: for setting the lastUpdated to a value received in a persistence message).
      See Also:
      • Application.lastUpdated
    • setMarketplace

      public void setMarketplace(boolean isMarketplace)
      See Also:
    • 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