Class SiteResolutionType
java.lang.Object
org.broadleafcommerce.common.site.service.type.SiteResolutionType
- All Implemented Interfaces:
Serializable,BroadleafEnumerationType
An extendible enumeration of order status types.
- DOMAIN - Resolve a site based on the whole domain (e.g. request.getServerName())
- DOMAIN_PREFIX - Resolve a site based on the first word in the domain.
For example, if the URL you wanted to resolve was http://mysite.mycompany.com.
The #getSiteIdentifierValue() should be set as follows:
to use DOMAIN resolution, set to "mysite.mycompany.com" to use DOMAIN_PREFIX resolution, set to "mysite"
- Author:
- jfischer
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic SiteResolutionTypegetInstance(String type) getType()inthashCode()protected void
-
Field Details
-
DOMAIN
-
DOMAIN_PREFIX
-
-
Constructor Details
-
SiteResolutionType
public SiteResolutionType() -
SiteResolutionType
-
-
Method Details
-
getInstance
-
getType
- Specified by:
getTypein interfaceBroadleafEnumerationType
-
setType
-
getFriendlyType
- Specified by:
getFriendlyTypein interfaceBroadleafEnumerationType
-
hashCode
public int hashCode() -
equals
-