Class JpaApplication
- 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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JpaApplication()JpaApplication(String id, String identifierType, String identifierValue, boolean deactivated, String customerContextId, String tenantId, Instant lastUpdated, boolean isMarketplace)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)org.modelmapper.ModelMapperfromMe()Class<?>getBusinessDomainType()StringgetCustomerContextId()StringgetId()StringgetIdentifierType()StringgetIdentifierValue()InstantgetLastUpdated()We don't useLastModifiedDatehere because we want to enable manually setting this value (ex: for setting the lastUpdated to a value received in a persistence message).StringgetTenantId()inthashCode()booleanisDeactivated()booleanisMarketplace()voidsetCustomerContextId(String customerContextId)voidsetDeactivated(boolean deactivated)voidsetId(String id)voidsetIdentifierType(String identifierType)voidsetIdentifierValue(String identifierValue)voidsetLastUpdated(Instant lastUpdated)We don't useLastModifiedDatehere because we want to enable manually setting this value (ex: for setting the lastUpdated to a value received in a persistence message).voidsetMarketplace(boolean isMarketplace)voidsetTenantId(String tenantId)org.modelmapper.ModelMappertoMe()StringtoString()
-
-
-
Method Detail
-
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
-
getBusinessDomainType
public Class<?> getBusinessDomainType()
- Specified by:
getBusinessDomainTypein interfacecom.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware
-
getId
public String getId()
- See Also:
Application.getId()
-
getIdentifierType
public String getIdentifierType()
- See Also:
Application.getIdentifierType()
-
getIdentifierValue
public String getIdentifierValue()
- See Also:
Application.getIdentifierValue()
-
isDeactivated
public boolean isDeactivated()
- See Also:
Application.isDeactivated()
-
getCustomerContextId
public String getCustomerContextId()
- See Also:
Application.getCustomerContextId()
-
getTenantId
public String getTenantId()
-
getLastUpdated
public Instant getLastUpdated()
We don't useLastModifiedDatehere 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:
Application.isMarketplace()
-
setId
public void setId(String id)
- See Also:
Application.getId()
-
setIdentifierType
public void setIdentifierType(String identifierType)
- See Also:
Application.getIdentifierType()
-
setIdentifierValue
public void setIdentifierValue(String identifierValue)
- See Also:
Application.getIdentifierValue()
-
setDeactivated
public void setDeactivated(boolean deactivated)
- See Also:
Application.isDeactivated()
-
setCustomerContextId
public void setCustomerContextId(String customerContextId)
- See Also:
Application.getCustomerContextId()
-
setTenantId
public void setTenantId(String tenantId)
-
setLastUpdated
public void setLastUpdated(Instant lastUpdated)
We don't useLastModifiedDatehere 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:
Application.isMarketplace()
-
canEqual
protected boolean canEqual(Object other)
-
-