public abstract class GeneratedBundleTemplate extends GenericItem
BundleTemplate.GenericItem.GenericItemImplLocalizableItem.LocalizableItemImplExtensibleItem.ExtensibleItemImplItem.AttributeFilter, Item.AttributeMode, Item.CachedGetter, Item.CachedSetter, Item.ItemAttributeMap, Item.ItemConstraint, Item.ItemImpl, Item.JaloCachedComputationException| Modifier and Type | Field and Description |
|---|---|
static String |
BUNDLESELECTIONCRITERIA
Qualifier of the
BundleTemplate.bundleSelectionCriteria attribute |
static String |
CATALOGVERSION
Qualifier of the
BundleTemplate.catalogVersion attribute |
static String |
CHANGEPRODUCTPRICEBUNDLERULES
Qualifier of the
BundleTemplate.changeProductPriceBundleRules attribute |
protected static OneToManyHandler<ChangeProductPriceBundleRule> |
CHANGEPRODUCTPRICEBUNDLERULESHANDLER
OneToManyHandler for handling 1:n CHANGEPRODUCTPRICEBUNDLERULES's relation attributes from 'many' side. |
static String |
CHILDTEMPLATES
Qualifier of the
BundleTemplate.childTemplates attribute |
protected static OneToManyHandler<BundleTemplate> |
CHILDTEMPLATESHANDLER
OneToManyHandler for handling 1:n CHILDTEMPLATES's relation attributes from 'many' side. |
protected static Map<String,Item.AttributeMode> |
DEFAULT_INITIAL_ATTRIBUTES |
static String |
DEPENDENTBUNDLETEMPLATES
Qualifier of the
BundleTemplate.dependentBundleTemplates attribute |
static String |
DESCRIPTION
Qualifier of the
BundleTemplate.description attribute |
static String |
DISABLEPRODUCTBUNDLERULES
Qualifier of the
BundleTemplate.disableProductBundleRules attribute |
protected static OneToManyHandler<DisableProductBundleRule> |
DISABLEPRODUCTBUNDLERULESHANDLER
OneToManyHandler for handling 1:n DISABLEPRODUCTBUNDLERULES's relation attributes from 'many' side. |
static String |
ID
Qualifier of the
BundleTemplate.id attribute |
static String |
NAME
Qualifier of the
BundleTemplate.name attribute |
static String |
PARENTTEMPLATE
Qualifier of the
BundleTemplate.parentTemplate attribute |
protected static BidirectionalOneToManyHandler<GeneratedBundleTemplate> |
PARENTTEMPLATEHANDLER
BidirectionalOneToManyHandler for handling 1:n PARENTTEMPLATE's relation attributes from 'one' side. |
static String |
PARENTTEMPLATEPOS
Qualifier of the
BundleTemplate.parentTemplatePOS attribute |
static String |
PRODUCTS
Qualifier of the
BundleTemplate.products attribute |
protected static String |
PRODUCTSBUNDLETEMPLATESRELATION_MARKMODIFIED
Relation disable markmodifed parameter constants for ProductsBundleTemplatesRelation from ((configurablebundleservices))
|
protected static String |
PRODUCTSBUNDLETEMPLATESRELATION_SRC_ORDERED
Relation ordering override parameter constants for ProductsBundleTemplatesRelation from ((configurablebundleservices))
|
protected static String |
PRODUCTSBUNDLETEMPLATESRELATION_TGT_ORDERED |
static String |
REQUIREDBUNDLETEMPLATES
Qualifier of the
BundleTemplate.requiredBundleTemplates attribute |
protected static String |
REQUIREDBUNDLETEMPLATESDEPENDENTBUNDLETEMPLATESRELATION_MARKMODIFIED
Relation disable markmodifed parameter constants for RequiredBundleTemplatesDependentBundleTemplatesRelation from ((configurablebundleservices))
|
protected static String |
REQUIREDBUNDLETEMPLATESDEPENDENTBUNDLETEMPLATESRELATION_SRC_ORDERED
Relation ordering override parameter constants for RequiredBundleTemplatesDependentBundleTemplatesRelation from ((configurablebundleservices))
|
protected static String |
REQUIREDBUNDLETEMPLATESDEPENDENTBUNDLETEMPLATESRELATION_TGT_ORDERED |
static String |
STATUS
Qualifier of the
BundleTemplate.status attribute |
protected static BidirectionalOneToManyHandler<GeneratedBundleTemplate> |
STATUSHANDLER
BidirectionalOneToManyHandler for handling 1:n STATUS's relation attributes from 'one' side. |
static String |
VERSION
Qualifier of the
BundleTemplate.version attribute |
LANGUAGE_FALLBACK_ENABLED_CREATION_TIME_INTERNAL, _MODIFIED_TIME_INTERNAL, accessorLog, CREATION_TIME, DISABLE_ATTRIBUTE_CHECK, DISABLE_ITEMCHECK_BEFORE_REMOVABLE, EVEN, FEATURE_ACCESSMAP_QUALIFIER, INITIAL_CREATION_FLAG, isJaloOnly, MODIFIED_TIME, NEGATIVE, NOT_FOUND, OWNER, PK, POSITIVE, SAVE_FROM_SERVICE_LAYER, staticTransientObjects, TYPEimpl, tenant| Constructor and Description |
|---|
GeneratedBundleTemplate() |
| Modifier and Type | Method and Description |
|---|---|
void |
addToChangeProductPriceBundleRules(ChangeProductPriceBundleRule value)
Generated method - Adds
value to changeProductPriceBundleRules. |
void |
addToChangeProductPriceBundleRules(SessionContext ctx,
ChangeProductPriceBundleRule value)
Generated method - Adds
value to changeProductPriceBundleRules. |
void |
addToChildTemplates(BundleTemplate value)
Generated method - Adds
value to childTemplates. |
void |
addToChildTemplates(SessionContext ctx,
BundleTemplate value)
Generated method - Adds
value to childTemplates. |
void |
addToDependentBundleTemplates(BundleTemplate value)
Generated method - Adds
value to dependentBundleTemplates. |
void |
addToDependentBundleTemplates(SessionContext ctx,
BundleTemplate value)
Generated method - Adds
value to dependentBundleTemplates. |
void |
addToDisableProductBundleRules(DisableProductBundleRule value)
Generated method - Adds
value to disableProductBundleRules. |
void |
addToDisableProductBundleRules(SessionContext ctx,
DisableProductBundleRule value)
Generated method - Adds
value to disableProductBundleRules. |
void |
addToProducts(Product value)
Generated method - Adds
value to products. |
void |
addToProducts(SessionContext ctx,
Product value)
Generated method - Adds
value to products. |
void |
addToRequiredBundleTemplates(BundleTemplate value)
Generated method - Adds
value to requiredBundleTemplates. |
void |
addToRequiredBundleTemplates(SessionContext ctx,
BundleTemplate value)
Generated method - Adds
value to requiredBundleTemplates. |
protected Item |
createItem(SessionContext ctx,
ComposedType type,
Item.ItemAttributeMap allAttributes)
Has to be implemented for each concrete subtype of item.
|
Map<Language,String> |
getAllDescription()
Generated method - Getter of the
BundleTemplate.description attribute. |
Map<Language,String> |
getAllDescription(SessionContext ctx)
Generated method - Getter of the
BundleTemplate.description attribute. |
Map<Language,String> |
getAllName()
Generated method - Getter of the
BundleTemplate.name attribute. |
Map<Language,String> |
getAllName(SessionContext ctx)
Generated method - Getter of the
BundleTemplate.name attribute. |
BundleSelectionCriteria |
getBundleSelectionCriteria()
Generated method - Getter of the
BundleTemplate.bundleSelectionCriteria attribute. |
BundleSelectionCriteria |
getBundleSelectionCriteria(SessionContext ctx)
Generated method - Getter of the
BundleTemplate.bundleSelectionCriteria attribute. |
CatalogVersion |
getCatalogVersion()
Generated method - Getter of the
BundleTemplate.catalogVersion attribute. |
CatalogVersion |
getCatalogVersion(SessionContext ctx)
Generated method - Getter of the
BundleTemplate.catalogVersion attribute. |
Collection<ChangeProductPriceBundleRule> |
getChangeProductPriceBundleRules()
Generated method - Getter of the
BundleTemplate.changeProductPriceBundleRules attribute. |
Collection<ChangeProductPriceBundleRule> |
getChangeProductPriceBundleRules(SessionContext ctx)
Generated method - Getter of the
BundleTemplate.changeProductPriceBundleRules attribute. |
List<BundleTemplate> |
getChildTemplates()
Generated method - Getter of the
BundleTemplate.childTemplates attribute. |
List<BundleTemplate> |
getChildTemplates(SessionContext ctx)
Generated method - Getter of the
BundleTemplate.childTemplates attribute. |
protected Map<String,Item.AttributeMode> |
getDefaultAttributeModes() |
Collection<BundleTemplate> |
getDependentBundleTemplates()
Generated method - Getter of the
BundleTemplate.dependentBundleTemplates attribute. |
Collection<BundleTemplate> |
getDependentBundleTemplates(SessionContext ctx)
Generated method - Getter of the
BundleTemplate.dependentBundleTemplates attribute. |
long |
getDependentBundleTemplatesCount() |
long |
getDependentBundleTemplatesCount(SessionContext ctx) |
String |
getDescription()
Generated method - Getter of the
BundleTemplate.description attribute. |
String |
getDescription(SessionContext ctx)
Generated method - Getter of the
BundleTemplate.description attribute. |
Collection<DisableProductBundleRule> |
getDisableProductBundleRules()
Generated method - Getter of the
BundleTemplate.disableProductBundleRules attribute. |
Collection<DisableProductBundleRule> |
getDisableProductBundleRules(SessionContext ctx)
Generated method - Getter of the
BundleTemplate.disableProductBundleRules attribute. |
String |
getId()
Generated method - Getter of the
BundleTemplate.id attribute. |
String |
getId(SessionContext ctx)
Generated method - Getter of the
BundleTemplate.id attribute. |
String |
getName()
Generated method - Getter of the
BundleTemplate.name attribute. |
String |
getName(SessionContext ctx)
Generated method - Getter of the
BundleTemplate.name attribute. |
BundleTemplate |
getParentTemplate()
Generated method - Getter of the
BundleTemplate.parentTemplate attribute. |
BundleTemplate |
getParentTemplate(SessionContext ctx)
Generated method - Getter of the
BundleTemplate.parentTemplate attribute. |
List<Product> |
getProducts()
Generated method - Getter of the
BundleTemplate.products attribute. |
List<Product> |
getProducts(SessionContext ctx)
Generated method - Getter of the
BundleTemplate.products attribute. |
long |
getProductsCount() |
long |
getProductsCount(SessionContext ctx) |
Collection<BundleTemplate> |
getRequiredBundleTemplates()
Generated method - Getter of the
BundleTemplate.requiredBundleTemplates attribute. |
Collection<BundleTemplate> |
getRequiredBundleTemplates(SessionContext ctx)
Generated method - Getter of the
BundleTemplate.requiredBundleTemplates attribute. |
long |
getRequiredBundleTemplatesCount() |
long |
getRequiredBundleTemplatesCount(SessionContext ctx) |
BundleTemplateStatus |
getStatus()
Generated method - Getter of the
BundleTemplate.status attribute. |
BundleTemplateStatus |
getStatus(SessionContext ctx)
Generated method - Getter of the
BundleTemplate.status attribute. |
String |
getVersion()
Generated method - Getter of the
BundleTemplate.version attribute. |
String |
getVersion(SessionContext ctx)
Generated method - Getter of the
BundleTemplate.version attribute. |
void |
removeFromChangeProductPriceBundleRules(ChangeProductPriceBundleRule value)
Generated method - Removes
value from changeProductPriceBundleRules. |
void |
removeFromChangeProductPriceBundleRules(SessionContext ctx,
ChangeProductPriceBundleRule value)
Generated method - Removes
value from changeProductPriceBundleRules. |
void |
removeFromChildTemplates(BundleTemplate value)
Generated method - Removes
value from childTemplates. |
void |
removeFromChildTemplates(SessionContext ctx,
BundleTemplate value)
Generated method - Removes
value from childTemplates. |
void |
removeFromDependentBundleTemplates(BundleTemplate value)
Generated method - Removes
value from dependentBundleTemplates. |
void |
removeFromDependentBundleTemplates(SessionContext ctx,
BundleTemplate value)
Generated method - Removes
value from dependentBundleTemplates. |
void |
removeFromDisableProductBundleRules(DisableProductBundleRule value)
Generated method - Removes
value from disableProductBundleRules. |
void |
removeFromDisableProductBundleRules(SessionContext ctx,
DisableProductBundleRule value)
Generated method - Removes
value from disableProductBundleRules. |
void |
removeFromProducts(Product value)
Generated method - Removes
value from products. |
void |
removeFromProducts(SessionContext ctx,
Product value)
Generated method - Removes
value from products. |
void |
removeFromRequiredBundleTemplates(BundleTemplate value)
Generated method - Removes
value from requiredBundleTemplates. |
void |
removeFromRequiredBundleTemplates(SessionContext ctx,
BundleTemplate value)
Generated method - Removes
value from requiredBundleTemplates. |
void |
setAllDescription(Map<Language,String> value)
Generated method - Setter of the
BundleTemplate.description attribute. |
void |
setAllDescription(SessionContext ctx,
Map<Language,String> value)
Generated method - Setter of the
BundleTemplate.description attribute. |
void |
setAllName(Map<Language,String> value)
Generated method - Setter of the
BundleTemplate.name attribute. |
void |
setAllName(SessionContext ctx,
Map<Language,String> value)
Generated method - Setter of the
BundleTemplate.name attribute. |
void |
setBundleSelectionCriteria(BundleSelectionCriteria value)
Generated method - Setter of the
BundleTemplate.bundleSelectionCriteria attribute. |
void |
setBundleSelectionCriteria(SessionContext ctx,
BundleSelectionCriteria value)
Generated method - Setter of the
BundleTemplate.bundleSelectionCriteria attribute. |
void |
setCatalogVersion(CatalogVersion value)
Generated method - Setter of the
BundleTemplate.catalogVersion attribute. |
void |
setCatalogVersion(SessionContext ctx,
CatalogVersion value)
Generated method - Setter of the
BundleTemplate.catalogVersion attribute. |
void |
setChangeProductPriceBundleRules(Collection<ChangeProductPriceBundleRule> value)
Generated method - Setter of the
BundleTemplate.changeProductPriceBundleRules attribute. |
void |
setChangeProductPriceBundleRules(SessionContext ctx,
Collection<ChangeProductPriceBundleRule> value)
Generated method - Setter of the
BundleTemplate.changeProductPriceBundleRules attribute. |
void |
setChildTemplates(List<BundleTemplate> value)
Generated method - Setter of the
BundleTemplate.childTemplates attribute. |
void |
setChildTemplates(SessionContext ctx,
List<BundleTemplate> value)
Generated method - Setter of the
BundleTemplate.childTemplates attribute. |
void |
setDependentBundleTemplates(Collection<BundleTemplate> value)
Generated method - Setter of the
BundleTemplate.dependentBundleTemplates attribute. |
void |
setDependentBundleTemplates(SessionContext ctx,
Collection<BundleTemplate> value)
Generated method - Setter of the
BundleTemplate.dependentBundleTemplates attribute. |
void |
setDescription(SessionContext ctx,
String value)
Generated method - Setter of the
BundleTemplate.description attribute. |
void |
setDescription(String value)
Generated method - Setter of the
BundleTemplate.description attribute. |
void |
setDisableProductBundleRules(Collection<DisableProductBundleRule> value)
Generated method - Setter of the
BundleTemplate.disableProductBundleRules attribute. |
void |
setDisableProductBundleRules(SessionContext ctx,
Collection<DisableProductBundleRule> value)
Generated method - Setter of the
BundleTemplate.disableProductBundleRules attribute. |
protected void |
setId(SessionContext ctx,
String value)
Generated method - Setter of the
BundleTemplate.id attribute. |
protected void |
setId(String value)
Generated method - Setter of the
BundleTemplate.id attribute. |
void |
setName(SessionContext ctx,
String value)
Generated method - Setter of the
BundleTemplate.name attribute. |
void |
setName(String value)
Generated method - Setter of the
BundleTemplate.name attribute. |
protected void |
setParentTemplate(BundleTemplate value)
Generated method - Setter of the
BundleTemplate.parentTemplate attribute. |
protected void |
setParentTemplate(SessionContext ctx,
BundleTemplate value)
Generated method - Setter of the
BundleTemplate.parentTemplate attribute. |
void |
setProducts(List<Product> value)
Generated method - Setter of the
BundleTemplate.products attribute. |
void |
setProducts(SessionContext ctx,
List<Product> value)
Generated method - Setter of the
BundleTemplate.products attribute. |
void |
setRequiredBundleTemplates(Collection<BundleTemplate> value)
Generated method - Setter of the
BundleTemplate.requiredBundleTemplates attribute. |
void |
setRequiredBundleTemplates(SessionContext ctx,
Collection<BundleTemplate> value)
Generated method - Setter of the
BundleTemplate.requiredBundleTemplates attribute. |
void |
setStatus(BundleTemplateStatus value)
Generated method - Setter of the
BundleTemplate.status attribute. |
void |
setStatus(SessionContext ctx,
BundleTemplateStatus value)
Generated method - Setter of the
BundleTemplate.status attribute. |
void |
setVersion(SessionContext ctx,
String value)
Generated method - Setter of the
BundleTemplate.version attribute. |
void |
setVersion(String value)
Generated method - Setter of the
BundleTemplate.version attribute. |
getInitialProperties, getNonInitialAttributesgetAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllValuesSessionContext, getLocalizedProperty, getLocalizedProperty, getLocalizedPropertyInternal, getLocalizedPropertyNames, getLocalizedPropertyNames, hasLanguage, isEmptyValue, isFallbackEnabled, removeLocalizedProperty, removeLocalizedProperty, setAllLocalizedProperties, setAllLocalizedProperties, setLocalizedProperty, setLocalizedPropertycreateNonClassAccessor, getAllProperties, getAllProperties, getProperty, getProperty, getPropertyNames, getPropertyNames, removeProperty, removeProperty, setAllProperties, setAllProperties, setProperty, setPropertyaddLinkedItems, 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, readResolve, refreshRemote, 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, writeReplacegetImplementation, setTenantpublic static final String ID
BundleTemplate.id attributepublic static final String VERSION
BundleTemplate.version attributepublic static final String CATALOGVERSION
BundleTemplate.catalogVersion attributepublic static final String NAME
BundleTemplate.name attributepublic static final String DESCRIPTION
BundleTemplate.description attributepublic static final String BUNDLESELECTIONCRITERIA
BundleTemplate.bundleSelectionCriteria attributepublic static final String PARENTTEMPLATEPOS
BundleTemplate.parentTemplatePOS attributepublic static final String PARENTTEMPLATE
BundleTemplate.parentTemplate attributepublic static final String CHILDTEMPLATES
BundleTemplate.childTemplates attributepublic static final String PRODUCTS
BundleTemplate.products attributeprotected static String PRODUCTSBUNDLETEMPLATESRELATION_SRC_ORDERED
protected static String PRODUCTSBUNDLETEMPLATESRELATION_TGT_ORDERED
protected static String PRODUCTSBUNDLETEMPLATESRELATION_MARKMODIFIED
public static final String CHANGEPRODUCTPRICEBUNDLERULES
BundleTemplate.changeProductPriceBundleRules attributepublic static final String DISABLEPRODUCTBUNDLERULES
BundleTemplate.disableProductBundleRules attributepublic static final String REQUIREDBUNDLETEMPLATES
BundleTemplate.requiredBundleTemplates attributeprotected static String REQUIREDBUNDLETEMPLATESDEPENDENTBUNDLETEMPLATESRELATION_SRC_ORDERED
protected static String REQUIREDBUNDLETEMPLATESDEPENDENTBUNDLETEMPLATESRELATION_TGT_ORDERED
protected static String REQUIREDBUNDLETEMPLATESDEPENDENTBUNDLETEMPLATESRELATION_MARKMODIFIED
public static final String DEPENDENTBUNDLETEMPLATES
BundleTemplate.dependentBundleTemplates attributepublic static final String STATUS
BundleTemplate.status attributeprotected static final BidirectionalOneToManyHandler<GeneratedBundleTemplate> PARENTTEMPLATEHANDLER
BidirectionalOneToManyHandler for handling 1:n PARENTTEMPLATE's relation attributes from 'one' side.protected static final OneToManyHandler<BundleTemplate> CHILDTEMPLATESHANDLER
OneToManyHandler for handling 1:n CHILDTEMPLATES's relation attributes from 'many' side.protected static final OneToManyHandler<ChangeProductPriceBundleRule> CHANGEPRODUCTPRICEBUNDLERULESHANDLER
OneToManyHandler for handling 1:n CHANGEPRODUCTPRICEBUNDLERULES's relation attributes from 'many' side.protected static final OneToManyHandler<DisableProductBundleRule> DISABLEPRODUCTBUNDLERULESHANDLER
OneToManyHandler for handling 1:n DISABLEPRODUCTBUNDLERULES's relation attributes from 'many' side.protected static final BidirectionalOneToManyHandler<GeneratedBundleTemplate> STATUSHANDLER
BidirectionalOneToManyHandler for handling 1:n STATUS's relation attributes from 'one' side.protected static final Map<String,Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
protected Map<String,Item.AttributeMode> getDefaultAttributeModes()
getDefaultAttributeModes in class Itempublic BundleSelectionCriteria getBundleSelectionCriteria(SessionContext ctx)
BundleTemplate.bundleSelectionCriteria attribute.public BundleSelectionCriteria getBundleSelectionCriteria()
BundleTemplate.bundleSelectionCriteria attribute.public void setBundleSelectionCriteria(SessionContext ctx, BundleSelectionCriteria value)
BundleTemplate.bundleSelectionCriteria attribute.value - the bundleSelectionCriteria - Criteria how many of the bundle's assigned products must/can be selected'public void setBundleSelectionCriteria(BundleSelectionCriteria value)
BundleTemplate.bundleSelectionCriteria attribute.value - the bundleSelectionCriteria - Criteria how many of the bundle's assigned products must/can be selected'public CatalogVersion getCatalogVersion(SessionContext ctx)
BundleTemplate.catalogVersion attribute.public CatalogVersion getCatalogVersion()
BundleTemplate.catalogVersion attribute.public void setCatalogVersion(SessionContext ctx, CatalogVersion value)
BundleTemplate.catalogVersion attribute.value - the catalogVersion - Catalog Versionpublic void setCatalogVersion(CatalogVersion value)
BundleTemplate.catalogVersion attribute.value - the catalogVersion - Catalog Versionpublic Collection<ChangeProductPriceBundleRule> getChangeProductPriceBundleRules(SessionContext ctx)
BundleTemplate.changeProductPriceBundleRules attribute.public Collection<ChangeProductPriceBundleRule> getChangeProductPriceBundleRules()
BundleTemplate.changeProductPriceBundleRules attribute.public void setChangeProductPriceBundleRules(SessionContext ctx, Collection<ChangeProductPriceBundleRule> value)
BundleTemplate.changeProductPriceBundleRules attribute.value - the changeProductPriceBundleRulespublic void setChangeProductPriceBundleRules(Collection<ChangeProductPriceBundleRule> value)
BundleTemplate.changeProductPriceBundleRules attribute.value - the changeProductPriceBundleRulespublic void addToChangeProductPriceBundleRules(SessionContext ctx, ChangeProductPriceBundleRule value)
value to changeProductPriceBundleRules.value - the item to add to changeProductPriceBundleRulespublic void addToChangeProductPriceBundleRules(ChangeProductPriceBundleRule value)
value to changeProductPriceBundleRules.value - the item to add to changeProductPriceBundleRulespublic void removeFromChangeProductPriceBundleRules(SessionContext ctx, ChangeProductPriceBundleRule value)
value from changeProductPriceBundleRules.value - the item to remove from changeProductPriceBundleRulespublic void removeFromChangeProductPriceBundleRules(ChangeProductPriceBundleRule value)
value from changeProductPriceBundleRules.value - the item to remove from changeProductPriceBundleRulespublic List<BundleTemplate> getChildTemplates(SessionContext ctx)
BundleTemplate.childTemplates attribute.public List<BundleTemplate> getChildTemplates()
BundleTemplate.childTemplates attribute.public void setChildTemplates(SessionContext ctx, List<BundleTemplate> value)
BundleTemplate.childTemplates attribute.value - the childTemplatespublic void setChildTemplates(List<BundleTemplate> value)
BundleTemplate.childTemplates attribute.value - the childTemplatespublic void addToChildTemplates(SessionContext ctx, BundleTemplate value)
value to childTemplates.value - the item to add to childTemplatespublic void addToChildTemplates(BundleTemplate value)
value to childTemplates.value - the item to add to childTemplatespublic void removeFromChildTemplates(SessionContext ctx, BundleTemplate value)
value from childTemplates.value - the item to remove from childTemplatespublic void removeFromChildTemplates(BundleTemplate value)
value from childTemplates.value - the item to remove from childTemplatesprotected Item createItem(SessionContext ctx, ComposedType type, Item.ItemAttributeMap allAttributes) throws JaloBusinessException
ItemComposedType.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; }
createItem in class GenericItemctx - 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 )JaloBusinessException - indicates an error during creation - any changes will be rollbackedpublic Collection<BundleTemplate> getDependentBundleTemplates(SessionContext ctx)
BundleTemplate.dependentBundleTemplates attribute.public Collection<BundleTemplate> getDependentBundleTemplates()
BundleTemplate.dependentBundleTemplates attribute.public long getDependentBundleTemplatesCount(SessionContext ctx)
public long getDependentBundleTemplatesCount()
public void setDependentBundleTemplates(SessionContext ctx, Collection<BundleTemplate> value)
BundleTemplate.dependentBundleTemplates attribute.value - the dependentBundleTemplatespublic void setDependentBundleTemplates(Collection<BundleTemplate> value)
BundleTemplate.dependentBundleTemplates attribute.value - the dependentBundleTemplatespublic void addToDependentBundleTemplates(SessionContext ctx, BundleTemplate value)
value to dependentBundleTemplates.value - the item to add to dependentBundleTemplatespublic void addToDependentBundleTemplates(BundleTemplate value)
value to dependentBundleTemplates.value - the item to add to dependentBundleTemplatespublic void removeFromDependentBundleTemplates(SessionContext ctx, BundleTemplate value)
value from dependentBundleTemplates.value - the item to remove from dependentBundleTemplatespublic void removeFromDependentBundleTemplates(BundleTemplate value)
value from dependentBundleTemplates.value - the item to remove from dependentBundleTemplatespublic String getDescription(SessionContext ctx)
BundleTemplate.description attribute.public String getDescription()
BundleTemplate.description attribute.public Map<Language,String> getAllDescription(SessionContext ctx)
BundleTemplate.description attribute.public Map<Language,String> getAllDescription()
BundleTemplate.description attribute.public void setDescription(SessionContext ctx, String value)
BundleTemplate.description attribute.value - the description - Description of the bundle templatepublic void setDescription(String value)
BundleTemplate.description attribute.value - the description - Description of the bundle templatepublic void setAllDescription(SessionContext ctx, Map<Language,String> value)
BundleTemplate.description attribute.value - the description - Description of the bundle templatepublic void setAllDescription(Map<Language,String> value)
BundleTemplate.description attribute.value - the description - Description of the bundle templatepublic Collection<DisableProductBundleRule> getDisableProductBundleRules(SessionContext ctx)
BundleTemplate.disableProductBundleRules attribute.public Collection<DisableProductBundleRule> getDisableProductBundleRules()
BundleTemplate.disableProductBundleRules attribute.public void setDisableProductBundleRules(SessionContext ctx, Collection<DisableProductBundleRule> value)
BundleTemplate.disableProductBundleRules attribute.value - the disableProductBundleRulespublic void setDisableProductBundleRules(Collection<DisableProductBundleRule> value)
BundleTemplate.disableProductBundleRules attribute.value - the disableProductBundleRulespublic void addToDisableProductBundleRules(SessionContext ctx, DisableProductBundleRule value)
value to disableProductBundleRules.value - the item to add to disableProductBundleRulespublic void addToDisableProductBundleRules(DisableProductBundleRule value)
value to disableProductBundleRules.value - the item to add to disableProductBundleRulespublic void removeFromDisableProductBundleRules(SessionContext ctx, DisableProductBundleRule value)
value from disableProductBundleRules.value - the item to remove from disableProductBundleRulespublic void removeFromDisableProductBundleRules(DisableProductBundleRule value)
value from disableProductBundleRules.value - the item to remove from disableProductBundleRulespublic String getId(SessionContext ctx)
BundleTemplate.id attribute.public String getId()
BundleTemplate.id attribute.protected void setId(SessionContext ctx, String value)
BundleTemplate.id attribute.value - the id - Identifierprotected void setId(String value)
BundleTemplate.id attribute.value - the id - Identifierpublic String getName(SessionContext ctx)
BundleTemplate.name attribute.public String getName()
BundleTemplate.name attribute.public Map<Language,String> getAllName(SessionContext ctx)
BundleTemplate.name attribute.public Map<Language,String> getAllName()
BundleTemplate.name attribute.public void setName(SessionContext ctx, String value)
BundleTemplate.name attribute.value - the name - Name of the bundle templatepublic void setName(String value)
BundleTemplate.name attribute.value - the name - Name of the bundle templatepublic void setAllName(SessionContext ctx, Map<Language,String> value)
BundleTemplate.name attribute.value - the name - Name of the bundle templatepublic void setAllName(Map<Language,String> value)
BundleTemplate.name attribute.value - the name - Name of the bundle templatepublic BundleTemplate getParentTemplate(SessionContext ctx)
BundleTemplate.parentTemplate attribute.public BundleTemplate getParentTemplate()
BundleTemplate.parentTemplate attribute.protected void setParentTemplate(SessionContext ctx, BundleTemplate value)
BundleTemplate.parentTemplate attribute.value - the parentTemplateprotected void setParentTemplate(BundleTemplate value)
BundleTemplate.parentTemplate attribute.value - the parentTemplatepublic List<Product> getProducts(SessionContext ctx)
BundleTemplate.products attribute.public List<Product> getProducts()
BundleTemplate.products attribute.public long getProductsCount(SessionContext ctx)
public long getProductsCount()
public void setProducts(SessionContext ctx, List<Product> value)
BundleTemplate.products attribute.value - the productspublic void setProducts(List<Product> value)
BundleTemplate.products attribute.value - the productspublic void addToProducts(SessionContext ctx, Product value)
value to products.value - the item to add to productspublic void addToProducts(Product value)
value to products.value - the item to add to productspublic void removeFromProducts(SessionContext ctx, Product value)
value from products.value - the item to remove from productspublic void removeFromProducts(Product value)
value from products.value - the item to remove from productspublic Collection<BundleTemplate> getRequiredBundleTemplates(SessionContext ctx)
BundleTemplate.requiredBundleTemplates attribute.public Collection<BundleTemplate> getRequiredBundleTemplates()
BundleTemplate.requiredBundleTemplates attribute.public long getRequiredBundleTemplatesCount(SessionContext ctx)
public long getRequiredBundleTemplatesCount()
public void setRequiredBundleTemplates(SessionContext ctx, Collection<BundleTemplate> value)
BundleTemplate.requiredBundleTemplates attribute.value - the requiredBundleTemplatespublic void setRequiredBundleTemplates(Collection<BundleTemplate> value)
BundleTemplate.requiredBundleTemplates attribute.value - the requiredBundleTemplatespublic void addToRequiredBundleTemplates(SessionContext ctx, BundleTemplate value)
value to requiredBundleTemplates.value - the item to add to requiredBundleTemplatespublic void addToRequiredBundleTemplates(BundleTemplate value)
value to requiredBundleTemplates.value - the item to add to requiredBundleTemplatespublic void removeFromRequiredBundleTemplates(SessionContext ctx, BundleTemplate value)
value from requiredBundleTemplates.value - the item to remove from requiredBundleTemplatespublic void removeFromRequiredBundleTemplates(BundleTemplate value)
value from requiredBundleTemplates.value - the item to remove from requiredBundleTemplatespublic BundleTemplateStatus getStatus(SessionContext ctx)
BundleTemplate.status attribute.public BundleTemplateStatus getStatus()
BundleTemplate.status attribute.public void setStatus(SessionContext ctx, BundleTemplateStatus value)
BundleTemplate.status attribute.value - the statuspublic void setStatus(BundleTemplateStatus value)
BundleTemplate.status attribute.value - the statuspublic String getVersion(SessionContext ctx)
BundleTemplate.version attribute.public String getVersion()
BundleTemplate.version attribute.public void setVersion(SessionContext ctx, String value)
BundleTemplate.version attribute.value - the version - The version of the bundle template. Each clone of a BundleTemplate needs to have a different version.public void setVersion(String value)
BundleTemplate.version attribute.value - the version - The version of the bundle template. Each clone of a BundleTemplate needs to have a different version.Copyright © 2017 SAP SE. All Rights Reserved.