Class Application
- java.lang.Object
-
- com.broadleafcommerce.auth.tenant.domain.Application
-
public class Application extends Object
Projection domain representing a subset of information provided byApplication
. This domain is used to help with the creation of a whitelist of valid redirect uris that the OAuth system will accept.In addition, we store the
customerContextId
to handle persistence events received from Customer service. We require this value to retrieve the correctAuthorizationServer
to assign a newly created customer.- Author:
- Jeff Fischer
- See Also:
AuthorizedClientService.findApplicationClient(String, String)
,AuthorizedClient.getServerId()
,AuthorizedClient.getApplicationId()
-
-
Constructor Summary
Constructors Constructor Description Application()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
String
getCustomerContextId()
String
getId()
String
getIdentifierType()
String
getIdentifierValue()
Instant
getLastUpdated()
Indicates when this record was last updated.String
getTenantId()
int
hashCode()
boolean
isDeactivated()
boolean
isMarketplace()
void
setCustomerContextId(String customerContextId)
void
setDeactivated(boolean deactivated)
void
setId(String id)
void
setIdentifierType(String identifierType)
void
setIdentifierValue(String identifierValue)
void
setLastUpdated(Instant lastUpdated)
Indicates when this record was last updated.void
setMarketplace(boolean isMarketplace)
void
setTenantId(String tenantId)
String
toString()
-
-
-
Method Detail
-
getId
public String 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()
- See Also:
Application.getTenantId()
-
isMarketplace
public boolean isMarketplace()
- See Also:
Application.isMarketplace()
-
getLastUpdated
public Instant getLastUpdated()
Indicates when this record was last updated.
-
setId
public void setId(String id)
-
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)
- See Also:
Application.getTenantId()
-
setMarketplace
public void setMarketplace(boolean isMarketplace)
- See Also:
Application.isMarketplace()
-
setLastUpdated
public void setLastUpdated(Instant lastUpdated)
Indicates when this record was last updated.
-
canEqual
protected boolean canEqual(Object other)
-
-