Class GeneratedProductListComponent
- java.lang.Object
-
- de.hybris.platform.util.BridgeAbstraction
-
- de.hybris.platform.jalo.Item
-
- de.hybris.platform.jalo.ExtensibleItem
-
- de.hybris.platform.jalo.c2l.LocalizableItem
-
- de.hybris.platform.jalo.GenericItem
-
- de.hybris.platform.cms2.jalo.contents.GeneratedCMSItem
-
- de.hybris.platform.cms2.jalo.contents.CMSItem
-
- de.hybris.platform.cms2.jalo.contents.components.GeneratedAbstractCMSComponent
-
- de.hybris.platform.cms2.jalo.contents.components.AbstractCMSComponent
-
- de.hybris.platform.cms2.jalo.contents.components.GeneratedSimpleCMSComponent
-
- de.hybris.platform.cms2.jalo.contents.components.SimpleCMSComponent
-
- de.hybris.platform.cms2lib.components.GeneratedProductListComponent
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable
- Direct Known Subclasses:
ProductListComponent
public abstract class GeneratedProductListComponent extends SimpleCMSComponent
Generated class for typeProductListComponent.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.jalo.GenericItem
GenericItem.GenericItemImpl
-
Nested classes/interfaces inherited from class de.hybris.platform.jalo.c2l.LocalizableItem
LocalizableItem.LocalizableItemImpl
-
Nested classes/interfaces inherited from class de.hybris.platform.jalo.ExtensibleItem
ExtensibleItem.ExtensibleItemImpl
-
Nested classes/interfaces inherited from class de.hybris.platform.jalo.Item
Item.AttributeFilter, Item.AttributeMode, Item.CachedGetter, Item.CachedSetter, Item.ItemAttributeMap, Item.ItemConstraint, Item.ItemImpl, Item.JaloCachedComputationException
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCATEGORYQualifier of theProductListComponent.categoryattributestatic java.lang.StringCATEGORYCODEQualifier of theProductListComponent.categoryCodeattributeprotected static BidirectionalOneToManyHandler<GeneratedProductListComponent>CATEGORYHANDLERBidirectionalOneToManyHandlerfor handling 1:n CATEGORY's relation attributes from 'one' side.protected static java.util.Map<java.lang.String,Item.AttributeMode>DEFAULT_INITIAL_ATTRIBUTESstatic java.lang.StringHEADLINEQualifier of theProductListComponent.headlineattributestatic java.lang.StringLAYOUTQualifier of theProductListComponent.layoutattributestatic java.lang.StringPAGINATIONQualifier of theProductListComponent.paginationattributestatic java.lang.StringPRODUCTCODESQualifier of theProductListComponent.productCodesattributestatic java.lang.StringPRODUCTSQualifier of theProductListComponent.productsattributeprotected static java.lang.StringPRODUCTSFORPRODUCTLISTCOMPONENT_MARKMODIFIEDRelation disable markmodifed parameter constants for ProductsForProductListComponent from ((cms2lib))protected static java.lang.StringPRODUCTSFORPRODUCTLISTCOMPONENT_SRC_ORDEREDRelation ordering override parameter constants for ProductsForProductListComponent from ((cms2lib))protected static java.lang.StringPRODUCTSFORPRODUCTLISTCOMPONENT_TGT_ORDEREDstatic java.lang.StringPRODUCTSFROMCONTEXTQualifier of theProductListComponent.productsFromContextattributestatic java.lang.StringSEARCHQUERYQualifier of theProductListComponent.searchQueryattribute-
Fields inherited from class de.hybris.platform.cms2.jalo.contents.components.GeneratedSimpleCMSComponent
CONTAINERS, ELEMENTSFORCONTAINER_MARKMODIFIED, ELEMENTSFORCONTAINER_SRC_ORDERED, ELEMENTSFORCONTAINER_TGT_ORDERED
-
Fields inherited from class de.hybris.platform.cms2.jalo.contents.components.GeneratedAbstractCMSComponent
CONTAINER, ELEMENTSFORSLOT_MARKMODIFIED, ELEMENTSFORSLOT_SRC_ORDERED, ELEMENTSFORSLOT_TGT_ORDERED, ONLYONERESTRICTIONMUSTAPPLY, RESTRICTED, RESTRICTIONS, RESTRICTIONSFORCOMPONENTS_MARKMODIFIED, RESTRICTIONSFORCOMPONENTS_SRC_ORDERED, RESTRICTIONSFORCOMPONENTS_TGT_ORDERED, SLOTS, TYPE, TYPECODE, VISIBLE
-
Fields inherited from class de.hybris.platform.cms2.jalo.contents.GeneratedCMSItem
CATALOGVERSION, NAME, UID
-
Fields inherited from class de.hybris.platform.jalo.c2l.LocalizableItem
LANGUAGE_FALLBACK_ENABLED
-
Fields inherited from class de.hybris.platform.jalo.Item
_CREATION_TIME_INTERNAL, _MODIFIED_TIME_INTERNAL, accessorLog, CREATION_TIME, DISABLE_ATTRIBUTE_CHECK, DISABLE_ITEMCHECK_BEFORE_REMOVABLE, EVEN, FEATURE_ACCESSMAP_QUALIFIER, HJMPTS, INITIAL_CREATION_FLAG, isJaloOnly, MODIFIED_TIME, NEGATIVE, NOT_FOUND, OWNER, PK, POSITIVE, SAVE_FROM_SERVICE_LAYER, staticTransientObjects
-
Fields inherited from class de.hybris.platform.util.BridgeAbstraction
impl, tenant
-
-
Constructor Summary
Constructors Constructor Description GeneratedProductListComponent()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidaddToProducts(Product value)Generated method - Addsvalueto products.voidaddToProducts(SessionContext ctx, Product value)Generated method - Addsvalueto products.protected ItemcreateItem(SessionContext ctx, ComposedType type, Item.ItemAttributeMap allAttributes)Has to be implemented for each concrete subtype of item.java.util.Map<Language,java.lang.String>getAllHeadline()Generated method - Getter of theProductListComponent.headlineattribute.java.util.Map<Language,java.lang.String>getAllHeadline(SessionContext ctx)Generated method - Getter of theProductListComponent.headlineattribute.java.util.Map<Language,java.lang.String>getAllSearchQuery()Generated method - Getter of theProductListComponent.searchQueryattribute.java.util.Map<Language,java.lang.String>getAllSearchQuery(SessionContext ctx)Generated method - Getter of theProductListComponent.searchQueryattribute.CategorygetCategory()Generated method - Getter of theProductListComponent.categoryattribute.CategorygetCategory(SessionContext ctx)Generated method - Getter of theProductListComponent.categoryattribute.java.lang.StringgetCategoryCode()Generated method - Getter of theProductListComponent.categoryCodeattribute.abstract java.lang.StringgetCategoryCode(SessionContext ctx)Generated method - Getter of theProductListComponent.categoryCodeattribute.protected java.util.Map<java.lang.String,Item.AttributeMode>getDefaultAttributeModes()java.lang.StringgetHeadline()Generated method - Getter of theProductListComponent.headlineattribute.java.lang.StringgetHeadline(SessionContext ctx)Generated method - Getter of theProductListComponent.headlineattribute.EnumerationValuegetLayout()Generated method - Getter of theProductListComponent.layoutattribute.EnumerationValuegetLayout(SessionContext ctx)Generated method - Getter of theProductListComponent.layoutattribute.java.util.List<java.lang.String>getProductCodes()Generated method - Getter of theProductListComponent.productCodesattribute.abstract java.util.List<java.lang.String>getProductCodes(SessionContext ctx)Generated method - Getter of theProductListComponent.productCodesattribute.java.util.List<Product>getProducts()Generated method - Getter of theProductListComponent.productsattribute.java.util.List<Product>getProducts(SessionContext ctx)Generated method - Getter of theProductListComponent.productsattribute.longgetProductsCount()longgetProductsCount(SessionContext ctx)java.lang.StringgetSearchQuery()Generated method - Getter of theProductListComponent.searchQueryattribute.java.lang.StringgetSearchQuery(SessionContext ctx)Generated method - Getter of theProductListComponent.searchQueryattribute.booleanisMarkModifiedDisabled(Item referencedItem)java.lang.BooleanisPagination()Generated method - Getter of theProductListComponent.paginationattribute.java.lang.BooleanisPagination(SessionContext ctx)Generated method - Getter of theProductListComponent.paginationattribute.booleanisPaginationAsPrimitive()Generated method - Getter of theProductListComponent.paginationattribute.booleanisPaginationAsPrimitive(SessionContext ctx)Generated method - Getter of theProductListComponent.paginationattribute.java.lang.BooleanisProductsFromContext()Generated method - Getter of theProductListComponent.productsFromContextattribute.java.lang.BooleanisProductsFromContext(SessionContext ctx)Generated method - Getter of theProductListComponent.productsFromContextattribute.booleanisProductsFromContextAsPrimitive()Generated method - Getter of theProductListComponent.productsFromContextattribute.booleanisProductsFromContextAsPrimitive(SessionContext ctx)Generated method - Getter of theProductListComponent.productsFromContextattribute.voidremoveFromProducts(Product value)Generated method - Removesvaluefrom products.voidremoveFromProducts(SessionContext ctx, Product value)Generated method - Removesvaluefrom products.voidsetAllHeadline(SessionContext ctx, java.util.Map<Language,java.lang.String> value)Generated method - Setter of theProductListComponent.headlineattribute.voidsetAllHeadline(java.util.Map<Language,java.lang.String> value)Generated method - Setter of theProductListComponent.headlineattribute.voidsetAllSearchQuery(SessionContext ctx, java.util.Map<Language,java.lang.String> value)Generated method - Setter of theProductListComponent.searchQueryattribute.voidsetAllSearchQuery(java.util.Map<Language,java.lang.String> value)Generated method - Setter of theProductListComponent.searchQueryattribute.voidsetCategory(Category value)Generated method - Setter of theProductListComponent.categoryattribute.voidsetCategory(SessionContext ctx, Category value)Generated method - Setter of theProductListComponent.categoryattribute.voidsetHeadline(SessionContext ctx, java.lang.String value)Generated method - Setter of theProductListComponent.headlineattribute.voidsetHeadline(java.lang.String value)Generated method - Setter of theProductListComponent.headlineattribute.voidsetLayout(EnumerationValue value)Generated method - Setter of theProductListComponent.layoutattribute.voidsetLayout(SessionContext ctx, EnumerationValue value)Generated method - Setter of theProductListComponent.layoutattribute.voidsetPagination(boolean value)Generated method - Setter of theProductListComponent.paginationattribute.voidsetPagination(SessionContext ctx, boolean value)Generated method - Setter of theProductListComponent.paginationattribute.voidsetPagination(SessionContext ctx, java.lang.Boolean value)Generated method - Setter of theProductListComponent.paginationattribute.voidsetPagination(java.lang.Boolean value)Generated method - Setter of theProductListComponent.paginationattribute.voidsetProducts(SessionContext ctx, java.util.List<Product> value)Generated method - Setter of theProductListComponent.productsattribute.voidsetProducts(java.util.List<Product> value)Generated method - Setter of theProductListComponent.productsattribute.voidsetProductsFromContext(boolean value)Generated method - Setter of theProductListComponent.productsFromContextattribute.voidsetProductsFromContext(SessionContext ctx, boolean value)Generated method - Setter of theProductListComponent.productsFromContextattribute.voidsetProductsFromContext(SessionContext ctx, java.lang.Boolean value)Generated method - Setter of theProductListComponent.productsFromContextattribute.voidsetProductsFromContext(java.lang.Boolean value)Generated method - Setter of theProductListComponent.productsFromContextattribute.voidsetSearchQuery(SessionContext ctx, java.lang.String value)Generated method - Setter of theProductListComponent.searchQueryattribute.voidsetSearchQuery(java.lang.String value)Generated method - Setter of theProductListComponent.searchQueryattribute.-
Methods inherited from class de.hybris.platform.cms2.jalo.contents.components.SimpleCMSComponent
isContainer
-
Methods inherited from class de.hybris.platform.cms2.jalo.contents.components.GeneratedSimpleCMSComponent
addToContainers, addToContainers, getContainers, getContainers, getContainersCount, getContainersCount, removeFromContainers, removeFromContainers, setContainers, setContainers
-
Methods inherited from class de.hybris.platform.cms2.jalo.contents.components.AbstractCMSComponent
getAllType, getType, getTypeCode, isRestricted, isVisible
-
Methods inherited from class de.hybris.platform.cms2.jalo.contents.components.GeneratedAbstractCMSComponent
addToRestrictions, addToRestrictions, addToSlots, addToSlots, getAllType, getRestrictions, getRestrictions, getRestrictionsCount, getRestrictionsCount, getSlots, getSlots, getSlotsCount, getSlotsCount, getType, getTypeCode, isContainer, isContainerAsPrimitive, isContainerAsPrimitive, isOnlyOneRestrictionMustApply, isOnlyOneRestrictionMustApply, isOnlyOneRestrictionMustApplyAsPrimitive, isOnlyOneRestrictionMustApplyAsPrimitive, isRestricted, isRestrictedAsPrimitive, isRestrictedAsPrimitive, isVisible, isVisibleAsPrimitive, isVisibleAsPrimitive, removeFromRestrictions, removeFromRestrictions, removeFromSlots, removeFromSlots, setOnlyOneRestrictionMustApply, setOnlyOneRestrictionMustApply, setOnlyOneRestrictionMustApply, setOnlyOneRestrictionMustApply, setRestrictions, setRestrictions, setSlots, setSlots, setVisible, setVisible, setVisible, setVisible
-
Methods inherited from class de.hybris.platform.cms2.jalo.contents.GeneratedCMSItem
getCatalogVersion, getCatalogVersion, getName, getUid, getUid, setCatalogVersion, setCatalogVersion, setName, setName, setUid, setUid
-
Methods inherited from class de.hybris.platform.jalo.GenericItem
getImplementation, getInitialProperties, getNonInitialAttributes, getRelatedItems, setRelatedItems
-
Methods inherited from class de.hybris.platform.jalo.c2l.LocalizableItem
getAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllValuesSessionContext, getLocalizedProperty, getLocalizedProperty, getLocalizedPropertyInternal, getLocalizedPropertyNames, getLocalizedPropertyNames, hasLanguage, isEmptyValue, isFallbackEnabled, removeLocalizedProperty, removeLocalizedProperty, setAllLocalizedProperties, setAllLocalizedProperties, setLocalizedProperty, setLocalizedProperty
-
Methods inherited from class de.hybris.platform.jalo.ExtensibleItem
createNonClassAccessor, getAllProperties, getAllProperties, getProperty, getProperty, getPropertyNames, getPropertyNames, removeProperty, removeProperty, setAllProperties, setAllProperties, setProperty, setProperty
-
Methods inherited from class de.hybris.platform.jalo.Item
addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addNegativePermission, addPermission, addPositivePermission, assureExtensionsLoaded, changeTypeAfterCreation, checkConstraint, checkItemPermission, checkMandatoryAttribute, checkMandatoryAttribute, checkPermission, checkPermission, checkRemovable, clearPermission, compareTo, ctx, doAfterRemove, doBeforeRemove, equals, getAccessorFor, getAllAttributes, getAllAttributes, getAllAttributes, getAllAttributes, getAllAttributesInternal, getAllLinkedItems, getAndCheckCacheBoundItem, getAttribute, getAttribute, getCacheBoundItem, getComposedType, getComposedTypePK, getCreationTime, getCurrentlyRemovingCount, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItemsCount, getLinkedItemsCount, getLinkedItemsCount, getModificationTime, getNegativePermissions, getOwner, getPermissionMap, getPermissions, getPersistenceVersion, getPK, getPositivePermissions, getRestrictedPrincipals, getSession, getSyncObject, getTenant, getTransientObject, getTransientObjectMap, hashCode, hasRegisteredClassAccessorFor, internal_registerClassAccessorFor, internal_registerNonClassAccessorFor, invalidateLocalCaches, isAlive, isCacheBound, isCurrentlyRemoving, isCurrentlyRemoving, isEmptyRelationValue, isInCreate, isInstanceOf, isItemCheckBeforeRemoveableDisabled, isRelationLocalizationFallbackEnabled, newInstance, notifyExtensionsAfterItemCreation, notifyExtensionsBeforeItemCreation, notifyItemRemoval, notifyManagerAboutItemRemoval, readResolve, registerAccessFor, registerAccessFor, registerJaloInvalidationListeners, remove, remove, removeItemCollection, removeItemCollection, removeLinkedItems, removeLinkedItems, removeLinkedItems, removeLinkedItems, removeLinks, removePartOfItems, removePartOfItems, setAllAttributes, setAllAttributes, setAllAttributesInternal, setAllLinkedItems, setAllLinkedItems, setAllLinkedItems, setAllLinkedItems, setAttribute, setAttribute, setAttributeFromString, setAttributeFromString, setCacheBound, setComposedType, setCreationTime, setImplementation, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setModificationTime, setNonInitialAttributes, setOwner, setPermissionsByMap, setTransientObject, setUseTA, toString, useTA, writeReplace
-
Methods inherited from class de.hybris.platform.util.BridgeAbstraction
setTenant
-
-
-
-
Field Detail
-
HEADLINE
public static final java.lang.String HEADLINE
Qualifier of theProductListComponent.headlineattribute- See Also:
- Constant Field Values
-
CATEGORYCODE
public static final java.lang.String CATEGORYCODE
Qualifier of theProductListComponent.categoryCodeattribute- See Also:
- Constant Field Values
-
PRODUCTSFROMCONTEXT
public static final java.lang.String PRODUCTSFROMCONTEXT
Qualifier of theProductListComponent.productsFromContextattribute- See Also:
- Constant Field Values
-
SEARCHQUERY
public static final java.lang.String SEARCHQUERY
Qualifier of theProductListComponent.searchQueryattribute- See Also:
- Constant Field Values
-
PAGINATION
public static final java.lang.String PAGINATION
Qualifier of theProductListComponent.paginationattribute- See Also:
- Constant Field Values
-
LAYOUT
public static final java.lang.String LAYOUT
Qualifier of theProductListComponent.layoutattribute- See Also:
- Constant Field Values
-
PRODUCTCODES
public static final java.lang.String PRODUCTCODES
Qualifier of theProductListComponent.productCodesattribute- See Also:
- Constant Field Values
-
PRODUCTS
public static final java.lang.String PRODUCTS
Qualifier of theProductListComponent.productsattribute- See Also:
- Constant Field Values
-
PRODUCTSFORPRODUCTLISTCOMPONENT_SRC_ORDERED
protected static java.lang.String PRODUCTSFORPRODUCTLISTCOMPONENT_SRC_ORDERED
Relation ordering override parameter constants for ProductsForProductListComponent from ((cms2lib))
-
PRODUCTSFORPRODUCTLISTCOMPONENT_TGT_ORDERED
protected static java.lang.String PRODUCTSFORPRODUCTLISTCOMPONENT_TGT_ORDERED
-
PRODUCTSFORPRODUCTLISTCOMPONENT_MARKMODIFIED
protected static java.lang.String PRODUCTSFORPRODUCTLISTCOMPONENT_MARKMODIFIED
Relation disable markmodifed parameter constants for ProductsForProductListComponent from ((cms2lib))
-
CATEGORY
public static final java.lang.String CATEGORY
Qualifier of theProductListComponent.categoryattribute- See Also:
- Constant Field Values
-
CATEGORYHANDLER
protected static final BidirectionalOneToManyHandler<GeneratedProductListComponent> CATEGORYHANDLER
BidirectionalOneToManyHandlerfor handling 1:n CATEGORY's relation attributes from 'one' side.
-
DEFAULT_INITIAL_ATTRIBUTES
protected static final java.util.Map<java.lang.String,Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
-
-
Method Detail
-
getDefaultAttributeModes
protected java.util.Map<java.lang.String,Item.AttributeMode> getDefaultAttributeModes()
- Overrides:
getDefaultAttributeModesin classGeneratedSimpleCMSComponent
-
getCategory
public Category getCategory(SessionContext ctx)
Generated method - Getter of theProductListComponent.categoryattribute.- Returns:
- the category
-
getCategory
public Category getCategory()
Generated method - Getter of theProductListComponent.categoryattribute.- Returns:
- the category
-
setCategory
public void setCategory(SessionContext ctx, Category value)
Generated method - Setter of theProductListComponent.categoryattribute.- Parameters:
value- the category
-
setCategory
public void setCategory(Category value)
Generated method - Setter of theProductListComponent.categoryattribute.- Parameters:
value- the category
-
getCategoryCode
public abstract java.lang.String getCategoryCode(SessionContext ctx)
Generated method - Getter of theProductListComponent.categoryCodeattribute.- Returns:
- the categoryCode
-
getCategoryCode
public java.lang.String getCategoryCode()
Generated method - Getter of theProductListComponent.categoryCodeattribute.- Returns:
- the categoryCode
-
createItem
protected Item createItem(SessionContext ctx, ComposedType type, Item.ItemAttributeMap allAttributes) throws JaloBusinessException
Description copied from class:ItemHas to be implemented for each concrete subtype of item. This method is responsible for creating a new item instance ( by calling managers, ejb homes, etc. ) duringComposedType.newInstance(Map).In case this method uses any of the attribute values during creation it is required to override
Item.getNonInitialAttributes(SessionContext, ItemAttributeMap)too.
Sn example:public static final String MY_ATTRIBUTE = "someAttribute"; ... protected Item createItem(SessionContext ctx, ComposedType type, Map allAttributes ) throws JaloBusinessException { MyManager man = ... return man.createMyItem( (String)allAttributes.get(MY_ATTRIBUTE) ); // here MY_ATTRIBUTE is used for creation, so it must not be set again } protected Map getNonInitialAttributes( SessionContext ctx, Map allAttributes ) { // let superclass remove its own initial attributes Map ret = super.getNonInitialAttributes( ctx, allAttributes ); // remove MY_ATTRIBUTE from all attributes since if has already been set ret.remove(MY_ATTRIBUTE); return ret; }- Overrides:
createItemin classAbstractCMSComponent- Parameters:
ctx- the current session context which this item is created withintype- the actual item type ( since subtypes may not provide a own jalo class this may be different from the type which this method was implemented for )- Returns:
- the new item instance
- Throws:
JaloBusinessException- indicates an error during creation - any changes will be rollbacked
-
getHeadline
public java.lang.String getHeadline(SessionContext ctx)
Generated method - Getter of theProductListComponent.headlineattribute.- Returns:
- the headline
-
getHeadline
public java.lang.String getHeadline()
Generated method - Getter of theProductListComponent.headlineattribute.- Returns:
- the headline
-
getAllHeadline
public java.util.Map<Language,java.lang.String> getAllHeadline(SessionContext ctx)
Generated method - Getter of theProductListComponent.headlineattribute.- Returns:
- the localized headline
-
getAllHeadline
public java.util.Map<Language,java.lang.String> getAllHeadline()
Generated method - Getter of theProductListComponent.headlineattribute.- Returns:
- the localized headline
-
setHeadline
public void setHeadline(SessionContext ctx, java.lang.String value)
Generated method - Setter of theProductListComponent.headlineattribute.- Parameters:
value- the headline
-
setHeadline
public void setHeadline(java.lang.String value)
Generated method - Setter of theProductListComponent.headlineattribute.- Parameters:
value- the headline
-
setAllHeadline
public void setAllHeadline(SessionContext ctx, java.util.Map<Language,java.lang.String> value)
Generated method - Setter of theProductListComponent.headlineattribute.- Parameters:
value- the headline
-
setAllHeadline
public void setAllHeadline(java.util.Map<Language,java.lang.String> value)
Generated method - Setter of theProductListComponent.headlineattribute.- Parameters:
value- the headline
-
isMarkModifiedDisabled
public boolean isMarkModifiedDisabled(Item referencedItem)
- Overrides:
isMarkModifiedDisabledin classGeneratedSimpleCMSComponent
-
getLayout
public EnumerationValue getLayout(SessionContext ctx)
Generated method - Getter of theProductListComponent.layoutattribute.- Returns:
- the layout
-
getLayout
public EnumerationValue getLayout()
Generated method - Getter of theProductListComponent.layoutattribute.- Returns:
- the layout
-
setLayout
public void setLayout(SessionContext ctx, EnumerationValue value)
Generated method - Setter of theProductListComponent.layoutattribute.- Parameters:
value- the layout
-
setLayout
public void setLayout(EnumerationValue value)
Generated method - Setter of theProductListComponent.layoutattribute.- Parameters:
value- the layout
-
isPagination
public java.lang.Boolean isPagination(SessionContext ctx)
Generated method - Getter of theProductListComponent.paginationattribute.- Returns:
- the pagination
-
isPagination
public java.lang.Boolean isPagination()
Generated method - Getter of theProductListComponent.paginationattribute.- Returns:
- the pagination
-
isPaginationAsPrimitive
public boolean isPaginationAsPrimitive(SessionContext ctx)
Generated method - Getter of theProductListComponent.paginationattribute.- Returns:
- the pagination
-
isPaginationAsPrimitive
public boolean isPaginationAsPrimitive()
Generated method - Getter of theProductListComponent.paginationattribute.- Returns:
- the pagination
-
setPagination
public void setPagination(SessionContext ctx, java.lang.Boolean value)
Generated method - Setter of theProductListComponent.paginationattribute.- Parameters:
value- the pagination
-
setPagination
public void setPagination(java.lang.Boolean value)
Generated method - Setter of theProductListComponent.paginationattribute.- Parameters:
value- the pagination
-
setPagination
public void setPagination(SessionContext ctx, boolean value)
Generated method - Setter of theProductListComponent.paginationattribute.- Parameters:
value- the pagination
-
setPagination
public void setPagination(boolean value)
Generated method - Setter of theProductListComponent.paginationattribute.- Parameters:
value- the pagination
-
getProductCodes
public abstract java.util.List<java.lang.String> getProductCodes(SessionContext ctx)
Generated method - Getter of theProductListComponent.productCodesattribute.- Returns:
- the productCodes
-
getProductCodes
public java.util.List<java.lang.String> getProductCodes()
Generated method - Getter of theProductListComponent.productCodesattribute.- Returns:
- the productCodes
-
getProducts
public java.util.List<Product> getProducts(SessionContext ctx)
Generated method - Getter of theProductListComponent.productsattribute.- Returns:
- the products
-
getProducts
public java.util.List<Product> getProducts()
Generated method - Getter of theProductListComponent.productsattribute.- Returns:
- the products
-
getProductsCount
public long getProductsCount(SessionContext ctx)
-
getProductsCount
public long getProductsCount()
-
setProducts
public void setProducts(SessionContext ctx, java.util.List<Product> value)
Generated method - Setter of theProductListComponent.productsattribute.- Parameters:
value- the products
-
setProducts
public void setProducts(java.util.List<Product> value)
Generated method - Setter of theProductListComponent.productsattribute.- Parameters:
value- the products
-
addToProducts
public void addToProducts(SessionContext ctx, Product value)
Generated method - Addsvalueto products.- Parameters:
value- the item to add to products
-
addToProducts
public void addToProducts(Product value)
Generated method - Addsvalueto products.- Parameters:
value- the item to add to products
-
removeFromProducts
public void removeFromProducts(SessionContext ctx, Product value)
Generated method - Removesvaluefrom products.- Parameters:
value- the item to remove from products
-
removeFromProducts
public void removeFromProducts(Product value)
Generated method - Removesvaluefrom products.- Parameters:
value- the item to remove from products
-
isProductsFromContext
public java.lang.Boolean isProductsFromContext(SessionContext ctx)
Generated method - Getter of theProductListComponent.productsFromContextattribute.- Returns:
- the productsFromContext
-
isProductsFromContext
public java.lang.Boolean isProductsFromContext()
Generated method - Getter of theProductListComponent.productsFromContextattribute.- Returns:
- the productsFromContext
-
isProductsFromContextAsPrimitive
public boolean isProductsFromContextAsPrimitive(SessionContext ctx)
Generated method - Getter of theProductListComponent.productsFromContextattribute.- Returns:
- the productsFromContext
-
isProductsFromContextAsPrimitive
public boolean isProductsFromContextAsPrimitive()
Generated method - Getter of theProductListComponent.productsFromContextattribute.- Returns:
- the productsFromContext
-
setProductsFromContext
public void setProductsFromContext(SessionContext ctx, java.lang.Boolean value)
Generated method - Setter of theProductListComponent.productsFromContextattribute.- Parameters:
value- the productsFromContext
-
setProductsFromContext
public void setProductsFromContext(java.lang.Boolean value)
Generated method - Setter of theProductListComponent.productsFromContextattribute.- Parameters:
value- the productsFromContext
-
setProductsFromContext
public void setProductsFromContext(SessionContext ctx, boolean value)
Generated method - Setter of theProductListComponent.productsFromContextattribute.- Parameters:
value- the productsFromContext
-
setProductsFromContext
public void setProductsFromContext(boolean value)
Generated method - Setter of theProductListComponent.productsFromContextattribute.- Parameters:
value- the productsFromContext
-
getSearchQuery
public java.lang.String getSearchQuery(SessionContext ctx)
Generated method - Getter of theProductListComponent.searchQueryattribute.- Returns:
- the searchQuery
-
getSearchQuery
public java.lang.String getSearchQuery()
Generated method - Getter of theProductListComponent.searchQueryattribute.- Returns:
- the searchQuery
-
getAllSearchQuery
public java.util.Map<Language,java.lang.String> getAllSearchQuery(SessionContext ctx)
Generated method - Getter of theProductListComponent.searchQueryattribute.- Returns:
- the localized searchQuery
-
getAllSearchQuery
public java.util.Map<Language,java.lang.String> getAllSearchQuery()
Generated method - Getter of theProductListComponent.searchQueryattribute.- Returns:
- the localized searchQuery
-
setSearchQuery
public void setSearchQuery(SessionContext ctx, java.lang.String value)
Generated method - Setter of theProductListComponent.searchQueryattribute.- Parameters:
value- the searchQuery
-
setSearchQuery
public void setSearchQuery(java.lang.String value)
Generated method - Setter of theProductListComponent.searchQueryattribute.- Parameters:
value- the searchQuery
-
setAllSearchQuery
public void setAllSearchQuery(SessionContext ctx, java.util.Map<Language,java.lang.String> value)
Generated method - Setter of theProductListComponent.searchQueryattribute.- Parameters:
value- the searchQuery
-
setAllSearchQuery
public void setAllSearchQuery(java.util.Map<Language,java.lang.String> value)
Generated method - Setter of theProductListComponent.searchQueryattribute.- Parameters:
value- the searchQuery
-
-