Class CustomerListModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.core.model.security.PrincipalModel
de.hybris.platform.core.model.security.PrincipalGroupModel
de.hybris.platform.core.model.user.UserGroupModel
de.hybris.platform.commerceservices.model.CustomerListModel
- All Implemented Interfaces:
Serializable
Generated model class for type CustomerList first defined at extension commerceservices.
A CustomerList are visible to certain Employees and represents an implementation specific search query to find customer based on different criteria.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.servicelayer.model.AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofCustomerList.additionalColumnsKeysattribute defined at extensioncommerceservices.static final StringGenerated constant - Attribute key ofCustomerList.implementationTypeattribute defined at extensioncommerceservices.static final StringGenerated constant - Attribute key ofCustomerList.priorityattribute defined at extensioncommerceservices.static final StringGenerated constant - Attribute key ofCustomerList.searchBoxEnabledattribute defined at extensioncommerceservices.Fields inherited from class de.hybris.platform.core.model.user.UserGroupModel
_BACKOFFICESAVEDQUERY2USERGROUPRELATION, _USERGROUPSFORRESTRICTION, DENYWRITEPERMISSIONFORALLLANGUAGES, HMCXML, READABLELANGUAGES, RESTRICTIONS, SAVEDQUERIES, USERDISCOUNTGROUP, USERPRICEGROUP, USERTAXGROUP, WRITEABLELANGUAGESFields inherited from class de.hybris.platform.core.model.security.PrincipalGroupModel
_PRINCIPALGROUPRELATION, LOCNAME, MAXBRUTEFORCELOGINATTEMPTS, MEMBERSFields inherited from class de.hybris.platform.core.model.security.PrincipalModel
_AGRPARTY2PRINCIPALRELATION, _BAPARTY2PRINCIPALRELATION, _BMPARTY2PRINCIPALRELATION, _CATEGORY2PRINCIPALRELATION, _COMMENTWATCHERRELATION, _PMPARTY2PRINCIPALRELATION, _PRODUCTOFFERING2PRINCIPALRELATION, _PRPARTY2PRINCIPALRELATION, _SPIPARTY2PRINCIPALRELATION, _SYNCITEMJOB2PRINCIPAL, _TUAPARTY2PRINCIPALRELATION, _UCPARTY2PRINCIPALRELATION, _WORKFLOWTEMPLATE2PRINCIPALRELATION, ACCESSIBLECATEGORIES, ACCESSIBLEOFFERINGS, AGRPARTY, ALLGROUPS, ALLSEARCHRESTRICTIONS, BACKOFFICELOGINDISABLED, BAPARTY, BMPARTY, DESCRIPTION, DISPLAYNAME, GROUPS, IDENTIFICATIONS, NAME, PMPARTY, PROFILEPICTURE, PRPARTY, READABLECATALOGVERSIONS, SEARCHRESTRICTIONS, SPIPARTY, SUBSCRIPTIONACCESSES, SYNCJOBS, TUAPARTY, UCPARTY, UID, VISIBLETEMPLATES, WATCHEDCOMMENTS, WRITABLECATALOGVERSIONSFields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDFields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY -
Constructor Summary
ConstructorsConstructorDescriptionGenerated constructor - Default constructor for generic creation.CustomerListModel(ItemModel _owner, String _uid) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersCustomerListModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing contextCustomerListModel(String _uid) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parameters -
Method Summary
Modifier and TypeMethodDescriptionGenerated method - Getter of theCustomerList.additionalColumnsKeysattribute defined at extensioncommerceservices.Generated method - Getter of theCustomerList.implementationTypeattribute defined at extensioncommerceservices.Generated method - Getter of theCustomerList.priorityattribute defined at extensioncommerceservices.booleanGenerated method - Getter of theCustomerList.searchBoxEnabledattribute defined at extensioncommerceservices.voidsetAdditionalColumnsKeys(Collection<String> value) Generated method - Setter ofCustomerList.additionalColumnsKeysattribute defined at extensioncommerceservices.voidsetImplementationType(String value) Generated method - Setter ofCustomerList.implementationTypeattribute defined at extensioncommerceservices.voidsetPriority(Integer value) Generated method - Setter ofCustomerList.priorityattribute defined at extensioncommerceservices.voidsetSearchBoxEnabled(boolean value) Generated method - Setter ofCustomerList.searchBoxEnabledattribute defined at extensioncommerceservices.Methods inherited from class de.hybris.platform.core.model.user.UserGroupModel
getDenyWritePermissionForAllLanguages, getHmcXML, getReadableLanguages, getRestrictions, getSavedQueries, getUserDiscountGroup, getUserPriceGroup, getUserTaxGroup, getWriteableLanguages, setDenyWritePermissionForAllLanguages, setHmcXML, setReadableLanguages, setRestrictions, setSavedQueries, setUserDiscountGroup, setUserPriceGroup, setUserTaxGroup, setWriteableLanguagesMethods inherited from class de.hybris.platform.core.model.security.PrincipalGroupModel
getLocname, getLocname, getLocName, getLocName, getMaxBruteForceLoginAttempts, getMembers, setLocname, setLocname, setLocName, setLocName, setMaxBruteForceLoginAttempts, setMembersMethods inherited from class de.hybris.platform.core.model.security.PrincipalModel
getAccessibleCategories, getAccessibleOfferings, getAgrParty, getAllgroups, getAllGroups, getAllsearchrestrictions, getAllSearchRestrictions, getBackOfficeLoginDisabled, getBaParty, getBmParty, getDescription, getDisplayName, getDisplayName, getGroups, getIdentifications, getName, getPmParty, getProfilePicture, getPrParty, getReadableCatalogVersions, getSearchrestrictions, getSearchRestrictions, getSpiParty, getSubscriptionAccesses, getSyncJobs, getTuaParty, getUcParty, getUid, getVisibleTemplates, getWatchedComments, getWritableCatalogVersions, setAgrParty, setBackOfficeLoginDisabled, setBaParty, setBmParty, setDescription, setGroups, setIdentifications, setName, setPmParty, setProfilePicture, setPrParty, setReadableCatalogVersions, setSpiParty, setSubscriptionAccesses, setSyncJobs, setTuaParty, setUcParty, setUid, setVisibleTemplates, setWatchedComments, setWritableCatalogVersionsMethods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwnerMethods inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
equals, getItemModelContext, getItemtype, getPersistenceContext, getPk, getProperty, getProperty, getTenantId, hashCode, readResolve, setProperty, setProperty, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toString, writeReplace
-
Field Details
-
_TYPECODE
Generated model type code constant.- See Also:
-
IMPLEMENTATIONTYPE
Generated constant - Attribute key ofCustomerList.implementationTypeattribute defined at extensioncommerceservices.- See Also:
-
PRIORITY
Generated constant - Attribute key ofCustomerList.priorityattribute defined at extensioncommerceservices.- See Also:
-
ADDITIONALCOLUMNSKEYS
Generated constant - Attribute key ofCustomerList.additionalColumnsKeysattribute defined at extensioncommerceservices.- See Also:
-
SEARCHBOXENABLED
Generated constant - Attribute key ofCustomerList.searchBoxEnabledattribute defined at extensioncommerceservices.- See Also:
-
-
Constructor Details
-
CustomerListModel
public CustomerListModel()Generated constructor - Default constructor for generic creation. -
CustomerListModel
public CustomerListModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
CustomerListModel
Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_uid- initial attribute declared by typePrincipalat extensioncore
-
CustomerListModel
Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_owner- initial attribute declared by typeItemat extensioncore_uid- initial attribute declared by typePrincipalat extensioncore
-
-
Method Details
-
getAdditionalColumnsKeys
@Accessor(qualifier="additionalColumnsKeys", type=GETTER) public Collection<String> getAdditionalColumnsKeys()Generated method - Getter of theCustomerList.additionalColumnsKeysattribute defined at extensioncommerceservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the additionalColumnsKeys - Additional columns keys to add columns dynamically. Header localization will be done via properties and EL syntax can be added in facade layer via spring bean customerListAdditionalColumnsMap.
-
getImplementationType
Generated method - Getter of theCustomerList.implementationTypeattribute defined at extensioncommerceservices.- Returns:
- the implementationType - The implementation type for this customer list
-
getPriority
Generated method - Getter of theCustomerList.priorityattribute defined at extensioncommerceservices.- Returns:
- the priority - Priority for the customer list and zero by default, this will affect the position of the list when getting list of customer lists,higher values are displayed first
-
isSearchBoxEnabled
@Accessor(qualifier="searchBoxEnabled", type=GETTER) public boolean isSearchBoxEnabled()Generated method - Getter of theCustomerList.searchBoxEnabledattribute defined at extensioncommerceservices.- Returns:
- the searchBoxEnabled - Determines if the customer list UI should display a search box or not. False by default
-
setAdditionalColumnsKeys
@Accessor(qualifier="additionalColumnsKeys", type=SETTER) public void setAdditionalColumnsKeys(Collection<String> value) Generated method - Setter ofCustomerList.additionalColumnsKeysattribute defined at extensioncommerceservices.- Parameters:
value- the additionalColumnsKeys - Additional columns keys to add columns dynamically. Header localization will be done via properties and EL syntax can be added in facade layer via spring bean customerListAdditionalColumnsMap.
-
setImplementationType
@Accessor(qualifier="implementationType", type=SETTER) public void setImplementationType(String value) Generated method - Setter ofCustomerList.implementationTypeattribute defined at extensioncommerceservices.- Parameters:
value- the implementationType - The implementation type for this customer list
-
setPriority
Generated method - Setter ofCustomerList.priorityattribute defined at extensioncommerceservices.- Parameters:
value- the priority - Priority for the customer list and zero by default, this will affect the position of the list when getting list of customer lists,higher values are displayed first
-
setSearchBoxEnabled
@Accessor(qualifier="searchBoxEnabled", type=SETTER) public void setSearchBoxEnabled(boolean value) Generated method - Setter ofCustomerList.searchBoxEnabledattribute defined at extensioncommerceservices.- Parameters:
value- the searchBoxEnabled - Determines if the customer list UI should display a search box or not. False by default
-