Class GeneratedCxCustomization
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.personalizationservices.jalo.GeneratedCxCustomization
- All Implemented Interfaces:
Serializable,Comparable
- Direct Known Subclasses:
CxCustomization
Generated class for type
CxCustomization.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.jalo.GenericItem
GenericItem.GenericItemImplNested classes/interfaces inherited from class de.hybris.platform.jalo.c2l.LocalizableItem
LocalizableItem.LocalizableItemImplNested classes/interfaces inherited from class de.hybris.platform.jalo.ExtensibleItem
ExtensibleItem.ExtensibleItemImplNested 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
FieldsModifier and TypeFieldDescriptionstatic final StringQualifier of theCxCustomization.catalogVersionattributestatic final StringQualifier of theCxCustomization.codeattributeprotected static final Map<String,Item.AttributeMode> static final StringQualifier of theCxCustomization.descriptionattributestatic final StringQualifier of theCxCustomization.enabledEndDateattributestatic final StringQualifier of theCxCustomization.enabledStartDateattributestatic final StringQualifier of theCxCustomization.groupattributeprotected static final BidirectionalOneToManyHandler<GeneratedCxCustomization>BidirectionalOneToManyHandlerfor handling 1:n GROUP's relation attributes from 'one' side.static final StringQualifier of theCxCustomization.groupPOSattributestatic final StringQualifier of theCxCustomization.longDescriptionattributestatic final StringQualifier of theCxCustomization.nameattributestatic final StringQualifier of theCxCustomization.statusattributestatic final StringQualifier of theCxCustomization.variationsattributeprotected static final OneToManyHandler<CxVariation>OneToManyHandlerfor handling 1:n VARIATIONS's relation attributes from 'many' side.Fields inherited from class de.hybris.platform.jalo.c2l.LocalizableItem
LANGUAGE_FALLBACK_ENABLEDFields 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, TYPEFields inherited from class de.hybris.platform.util.BridgeAbstraction
impl, tenant -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddToVariations(SessionContext ctx, CxVariation value) Generated method - Addsvalueto variations.voidaddToVariations(CxVariation value) Generated method - Addsvalueto variations.protected ItemcreateItem(SessionContext ctx, ComposedType type, Item.ItemAttributeMap allAttributes) Has to be implemented for each concrete subtype of item.Generated method - Getter of theCxCustomization.catalogVersionattribute.Generated method - Getter of theCxCustomization.catalogVersionattribute.getCode()Generated method - Getter of theCxCustomization.codeattribute.getCode(SessionContext ctx) Generated method - Getter of theCxCustomization.codeattribute.protected Map<String,Item.AttributeMode> Generated method - Getter of theCxCustomization.descriptionattribute.Generated method - Getter of theCxCustomization.descriptionattribute.Generated method - Getter of theCxCustomization.enabledEndDateattribute.Generated method - Getter of theCxCustomization.enabledEndDateattribute.Generated method - Getter of theCxCustomization.enabledStartDateattribute.Generated method - Getter of theCxCustomization.enabledStartDateattribute.getGroup()Generated method - Getter of theCxCustomization.groupattribute.getGroup(SessionContext ctx) Generated method - Getter of theCxCustomization.groupattribute.Generated method - Getter of theCxCustomization.longDescriptionattribute.Generated method - Getter of theCxCustomization.longDescriptionattribute.getName()Generated method - Getter of theCxCustomization.nameattribute.getName(SessionContext ctx) Generated method - Getter of theCxCustomization.nameattribute.Generated method - Getter of theCxCustomization.statusattribute.getStatus(SessionContext ctx) Generated method - Getter of theCxCustomization.statusattribute.Generated method - Getter of theCxCustomization.variationsattribute.Generated method - Getter of theCxCustomization.variationsattribute.voidremoveFromVariations(SessionContext ctx, CxVariation value) Generated method - Removesvaluefrom variations.voidremoveFromVariations(CxVariation value) Generated method - Removesvaluefrom variations.voidsetCatalogVersion(CatalogVersion value) Generated method - Setter of theCxCustomization.catalogVersionattribute.voidsetCatalogVersion(SessionContext ctx, CatalogVersion value) Generated method - Setter of theCxCustomization.catalogVersionattribute.protected voidsetCode(SessionContext ctx, String value) Generated method - Setter of theCxCustomization.codeattribute.protected voidGenerated method - Setter of theCxCustomization.codeattribute.voidsetDescription(SessionContext ctx, String value) Generated method - Setter of theCxCustomization.descriptionattribute.voidsetDescription(String value) Generated method - Setter of theCxCustomization.descriptionattribute.voidsetEnabledEndDate(SessionContext ctx, Date value) Generated method - Setter of theCxCustomization.enabledEndDateattribute.voidsetEnabledEndDate(Date value) Generated method - Setter of theCxCustomization.enabledEndDateattribute.voidsetEnabledStartDate(SessionContext ctx, Date value) Generated method - Setter of theCxCustomization.enabledStartDateattribute.voidsetEnabledStartDate(Date value) Generated method - Setter of theCxCustomization.enabledStartDateattribute.voidsetGroup(SessionContext ctx, CxCustomizationsGroup value) Generated method - Setter of theCxCustomization.groupattribute.voidsetGroup(CxCustomizationsGroup value) Generated method - Setter of theCxCustomization.groupattribute.voidsetLongDescription(SessionContext ctx, String value) Generated method - Setter of theCxCustomization.longDescriptionattribute.voidsetLongDescription(String value) Generated method - Setter of theCxCustomization.longDescriptionattribute.voidsetName(SessionContext ctx, String value) Generated method - Setter of theCxCustomization.nameattribute.voidGenerated method - Setter of theCxCustomization.nameattribute.voidsetStatus(EnumerationValue value) Generated method - Setter of theCxCustomization.statusattribute.voidsetStatus(SessionContext ctx, EnumerationValue value) Generated method - Setter of theCxCustomization.statusattribute.voidsetVariations(SessionContext ctx, List<CxVariation> value) Generated method - Setter of theCxCustomization.variationsattribute.voidsetVariations(List<CxVariation> value) Generated method - Setter of theCxCustomization.variationsattribute.Methods inherited from class de.hybris.platform.jalo.GenericItem
getImplementation, getInitialProperties, getNonInitialAttributes, getRelatedItems, getRelatedItems, setRelatedItemsMethods 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, setLocalizedPropertyMethods inherited from class de.hybris.platform.jalo.ExtensibleItem
createNonClassAccessor, getAllProperties, getAllProperties, getProperty, getProperty, getPropertyNames, getPropertyNames, removeProperty, removeProperty, setAllProperties, setAllProperties, setProperty, setPropertyMethods 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, getPartOfRemovedSessionMarker, 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, isMarkModifiedDisabled, 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, suppressRelation, toString, useTA, writeReplaceMethods inherited from class de.hybris.platform.util.BridgeAbstraction
setTenant
-
Field Details
-
CODE
Qualifier of theCxCustomization.codeattribute- See Also:
-
CATALOGVERSION
Qualifier of theCxCustomization.catalogVersionattribute- See Also:
-
NAME
Qualifier of theCxCustomization.nameattribute- See Also:
-
DESCRIPTION
Qualifier of theCxCustomization.descriptionattribute- See Also:
-
LONGDESCRIPTION
Qualifier of theCxCustomization.longDescriptionattribute- See Also:
-
STATUS
Qualifier of theCxCustomization.statusattribute- See Also:
-
ENABLEDSTARTDATE
Qualifier of theCxCustomization.enabledStartDateattribute- See Also:
-
ENABLEDENDDATE
Qualifier of theCxCustomization.enabledEndDateattribute- See Also:
-
VARIATIONS
Qualifier of theCxCustomization.variationsattribute- See Also:
-
GROUPPOS
Qualifier of theCxCustomization.groupPOSattribute- See Also:
-
GROUP
Qualifier of theCxCustomization.groupattribute- See Also:
-
VARIATIONSHANDLER
OneToManyHandlerfor handling 1:n VARIATIONS's relation attributes from 'many' side. -
GROUPHANDLER
BidirectionalOneToManyHandlerfor handling 1:n GROUP's relation attributes from 'one' side. -
DEFAULT_INITIAL_ATTRIBUTES
-
-
Constructor Details
-
GeneratedCxCustomization
public GeneratedCxCustomization()
-
-
Method Details
-
getDefaultAttributeModes
- Overrides:
getDefaultAttributeModesin classItem
-
getCatalogVersion
Generated method - Getter of theCxCustomization.catalogVersionattribute.- Returns:
- the catalogVersion
-
getCatalogVersion
Generated method - Getter of theCxCustomization.catalogVersionattribute.- Returns:
- the catalogVersion
-
setCatalogVersion
Generated method - Setter of theCxCustomization.catalogVersionattribute.- Parameters:
value- the catalogVersion
-
setCatalogVersion
Generated method - Setter of theCxCustomization.catalogVersionattribute.- Parameters:
value- the catalogVersion
-
getCode
Generated method - Getter of theCxCustomization.codeattribute.- Returns:
- the code - Unique identifier
-
getCode
Generated method - Getter of theCxCustomization.codeattribute.- Returns:
- the code - Unique identifier
-
setCode
Generated method - Setter of theCxCustomization.codeattribute.- Parameters:
value- the code - Unique identifier
-
setCode
Generated method - Setter of theCxCustomization.codeattribute.- Parameters:
value- the code - Unique identifier
-
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 classGenericItem- 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
-
getDescription
Generated method - Getter of theCxCustomization.descriptionattribute.- Returns:
- the description - Description of customization
-
getDescription
Generated method - Getter of theCxCustomization.descriptionattribute.- Returns:
- the description - Description of customization
-
setDescription
Generated method - Setter of theCxCustomization.descriptionattribute.- Parameters:
value- the description - Description of customization
-
setDescription
Generated method - Setter of theCxCustomization.descriptionattribute.- Parameters:
value- the description - Description of customization
-
getEnabledEndDate
Generated method - Getter of theCxCustomization.enabledEndDateattribute.- Returns:
- the enabledEndDate - Date and time till which customization will be active
-
getEnabledEndDate
Generated method - Getter of theCxCustomization.enabledEndDateattribute.- Returns:
- the enabledEndDate - Date and time till which customization will be active
-
setEnabledEndDate
Generated method - Setter of theCxCustomization.enabledEndDateattribute.- Parameters:
value- the enabledEndDate - Date and time till which customization will be active
-
setEnabledEndDate
Generated method - Setter of theCxCustomization.enabledEndDateattribute.- Parameters:
value- the enabledEndDate - Date and time till which customization will be active
-
getEnabledStartDate
Generated method - Getter of theCxCustomization.enabledStartDateattribute.- Returns:
- the enabledStartDate - Date and time from which customization will be active
-
getEnabledStartDate
Generated method - Getter of theCxCustomization.enabledStartDateattribute.- Returns:
- the enabledStartDate - Date and time from which customization will be active
-
setEnabledStartDate
Generated method - Setter of theCxCustomization.enabledStartDateattribute.- Parameters:
value- the enabledStartDate - Date and time from which customization will be active
-
setEnabledStartDate
Generated method - Setter of theCxCustomization.enabledStartDateattribute.- Parameters:
value- the enabledStartDate - Date and time from which customization will be active
-
getGroup
Generated method - Getter of theCxCustomization.groupattribute.- Returns:
- the group
-
getGroup
Generated method - Getter of theCxCustomization.groupattribute.- Returns:
- the group
-
setGroup
Generated method - Setter of theCxCustomization.groupattribute.- Parameters:
value- the group
-
setGroup
Generated method - Setter of theCxCustomization.groupattribute.- Parameters:
value- the group
-
getLongDescription
Generated method - Getter of theCxCustomization.longDescriptionattribute.- Returns:
- the longDescription - Long description of customization
-
getLongDescription
Generated method - Getter of theCxCustomization.longDescriptionattribute.- Returns:
- the longDescription - Long description of customization
-
setLongDescription
Generated method - Setter of theCxCustomization.longDescriptionattribute.- Parameters:
value- the longDescription - Long description of customization
-
setLongDescription
Generated method - Setter of theCxCustomization.longDescriptionattribute.- Parameters:
value- the longDescription - Long description of customization
-
getName
Generated method - Getter of theCxCustomization.nameattribute.- Returns:
- the name - Name of customization
-
getName
Generated method - Getter of theCxCustomization.nameattribute.- Returns:
- the name - Name of customization
-
setName
Generated method - Setter of theCxCustomization.nameattribute.- Parameters:
value- the name - Name of customization
-
setName
Generated method - Setter of theCxCustomization.nameattribute.- Parameters:
value- the name - Name of customization
-
getStatus
Generated method - Getter of theCxCustomization.statusattribute.- Returns:
- the status - Contains current status of item
-
getStatus
Generated method - Getter of theCxCustomization.statusattribute.- Returns:
- the status - Contains current status of item
-
setStatus
Generated method - Setter of theCxCustomization.statusattribute.- Parameters:
value- the status - Contains current status of item
-
setStatus
Generated method - Setter of theCxCustomization.statusattribute.- Parameters:
value- the status - Contains current status of item
-
getVariations
Generated method - Getter of theCxCustomization.variationsattribute.- Returns:
- the variations
-
getVariations
Generated method - Getter of theCxCustomization.variationsattribute.- Returns:
- the variations
-
setVariations
Generated method - Setter of theCxCustomization.variationsattribute.- Parameters:
value- the variations
-
setVariations
Generated method - Setter of theCxCustomization.variationsattribute.- Parameters:
value- the variations
-
addToVariations
Generated method - Addsvalueto variations.- Parameters:
value- the item to add to variations
-
addToVariations
Generated method - Addsvalueto variations.- Parameters:
value- the item to add to variations
-
removeFromVariations
Generated method - Removesvaluefrom variations.- Parameters:
value- the item to remove from variations
-
removeFromVariations
Generated method - Removesvaluefrom variations.- Parameters:
value- the item to remove from variations
-