com.elasticpath.domain.customer
Interface CustomerGroup

All Superinterfaces:
Entity, EpDomain, Persistence, java.io.Serializable
All Known Implementing Classes:
CustomerGroupImpl

public interface CustomerGroup
extends Entity

CustomerGroup represents a customer group.


Field Summary
static java.lang.String DEFAULT_GROUP_NAME
          The default customer group name.
 
Method Summary
 java.util.Set getCustomerRoles()
          Gets the CustomerRoles associated with customers in this CustomerGroup.
 java.lang.String getName()
          Gets the name of this CustomerGroup.
 void setCustomerRoles(java.util.Set customerRoles)
          Sets the CustomerRoles associated with customers in this CustomerGroup.
 void setName(java.lang.String name)
          Sets the name for this CustomerGroup.
 
Methods inherited from interface com.elasticpath.domain.Entity
getGuid, setGuid
 
Methods inherited from interface com.elasticpath.domain.Persistence
executeBeforePersistAction, getUidPk, isPersistent, setDefaultValues, setUidPk
 
Methods inherited from interface com.elasticpath.domain.EpDomain
getElasticPath, setElasticPath
 

Field Detail

DEFAULT_GROUP_NAME

static final java.lang.String DEFAULT_GROUP_NAME
The default customer group name. Every customer is by default in this group.

See Also:
Constant Field Values
Method Detail

getCustomerRoles

java.util.Set getCustomerRoles()
Gets the CustomerRoles associated with customers in this CustomerGroup.

Returns:
the set of customerRoles.

getName

java.lang.String getName()
Gets the name of this CustomerGroup.

Returns:
the name of the customer group.

setCustomerRoles

void setCustomerRoles(java.util.Set customerRoles)
Sets the CustomerRoles associated with customers in this CustomerGroup.

Parameters:
customerRoles - the new set of customerRoles.

setName

void setName(java.lang.String name)
Sets the name for this CustomerGroup.

Parameters:
name - the new user identifier.