public abstract class GeneratedCxVariation extends GenericItem
CxVariation.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 java.lang.String |
ACTIONS
Qualifier of the
CxVariation.actions attribute |
protected static OneToManyHandler<CxAbstractAction> |
ACTIONSHANDLER
OneToManyHandler for handling 1:n ACTIONS's relation attributes from 'many' side. |
static java.lang.String |
CATALOGVERSION
Qualifier of the
CxVariation.catalogVersion attribute |
static java.lang.String |
CODE
Qualifier of the
CxVariation.code attribute |
static java.lang.String |
CUSTOMIZATION
Qualifier of the
CxVariation.customization attribute |
protected static BidirectionalOneToManyHandler<GeneratedCxVariation> |
CUSTOMIZATIONHANDLER
BidirectionalOneToManyHandler for handling 1:n CUSTOMIZATION's relation attributes from 'one' side. |
static java.lang.String |
CUSTOMIZATIONPOS
Qualifier of the
CxVariation.customizationPOS attribute |
protected static java.util.Map<java.lang.String,Item.AttributeMode> |
DEFAULT_INITIAL_ATTRIBUTES |
static java.lang.String |
ENABLED
Qualifier of the
CxVariation.enabled attribute |
static java.lang.String |
NAME
Qualifier of the
CxVariation.name attribute |
static java.lang.String |
STATUS
Qualifier of the
CxVariation.status attribute |
static java.lang.String |
TRIGGERS
Qualifier of the
CxVariation.triggers attribute |
protected static OneToManyHandler<CxAbstractTrigger> |
TRIGGERSHANDLER
OneToManyHandler for handling 1:n TRIGGERS's relation attributes from 'many' side. |
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 |
|---|
GeneratedCxVariation() |
| Modifier and Type | Method and Description |
|---|---|
void |
addToActions(CxAbstractAction value)
Generated method - Adds
value to actions. |
void |
addToActions(SessionContext ctx,
CxAbstractAction value)
Generated method - Adds
value to actions. |
void |
addToTriggers(CxAbstractTrigger value)
Generated method - Adds
value to triggers. |
void |
addToTriggers(SessionContext ctx,
CxAbstractTrigger value)
Generated method - Adds
value to triggers. |
protected Item |
createItem(SessionContext ctx,
ComposedType type,
Item.ItemAttributeMap allAttributes)
Has to be implemented for each concrete subtype of item.
|
java.util.List<CxAbstractAction> |
getActions()
Generated method - Getter of the
CxVariation.actions attribute. |
java.util.List<CxAbstractAction> |
getActions(SessionContext ctx)
Generated method - Getter of the
CxVariation.actions attribute. |
CatalogVersion |
getCatalogVersion()
Generated method - Getter of the
CxVariation.catalogVersion attribute. |
CatalogVersion |
getCatalogVersion(SessionContext ctx)
Generated method - Getter of the
CxVariation.catalogVersion attribute. |
java.lang.String |
getCode()
Generated method - Getter of the
CxVariation.code attribute. |
java.lang.String |
getCode(SessionContext ctx)
Generated method - Getter of the
CxVariation.code attribute. |
CxCustomization |
getCustomization()
Generated method - Getter of the
CxVariation.customization attribute. |
CxCustomization |
getCustomization(SessionContext ctx)
Generated method - Getter of the
CxVariation.customization attribute. |
protected java.util.Map<java.lang.String,Item.AttributeMode> |
getDefaultAttributeModes() |
java.lang.String |
getName()
Generated method - Getter of the
CxVariation.name attribute. |
java.lang.String |
getName(SessionContext ctx)
Generated method - Getter of the
CxVariation.name attribute. |
EnumerationValue |
getStatus()
Generated method - Getter of the
CxVariation.status attribute. |
EnumerationValue |
getStatus(SessionContext ctx)
Generated method - Getter of the
CxVariation.status attribute. |
java.util.Collection<CxAbstractTrigger> |
getTriggers()
Generated method - Getter of the
CxVariation.triggers attribute. |
java.util.Collection<CxAbstractTrigger> |
getTriggers(SessionContext ctx)
Generated method - Getter of the
CxVariation.triggers attribute. |
java.lang.Boolean |
isEnabled()
Generated method - Getter of the
CxVariation.enabled attribute. |
java.lang.Boolean |
isEnabled(SessionContext ctx)
Generated method - Getter of the
CxVariation.enabled attribute. |
boolean |
isEnabledAsPrimitive()
Generated method - Getter of the
CxVariation.enabled attribute. |
boolean |
isEnabledAsPrimitive(SessionContext ctx)
Generated method - Getter of the
CxVariation.enabled attribute. |
void |
removeFromActions(CxAbstractAction value)
Generated method - Removes
value from actions. |
void |
removeFromActions(SessionContext ctx,
CxAbstractAction value)
Generated method - Removes
value from actions. |
void |
removeFromTriggers(CxAbstractTrigger value)
Generated method - Removes
value from triggers. |
void |
removeFromTriggers(SessionContext ctx,
CxAbstractTrigger value)
Generated method - Removes
value from triggers. |
void |
setActions(java.util.List<CxAbstractAction> value)
Generated method - Setter of the
CxVariation.actions attribute. |
void |
setActions(SessionContext ctx,
java.util.List<CxAbstractAction> value)
Generated method - Setter of the
CxVariation.actions attribute. |
void |
setCatalogVersion(CatalogVersion value)
Generated method - Setter of the
CxVariation.catalogVersion attribute. |
void |
setCatalogVersion(SessionContext ctx,
CatalogVersion value)
Generated method - Setter of the
CxVariation.catalogVersion attribute. |
protected void |
setCode(SessionContext ctx,
java.lang.String value)
Generated method - Setter of the
CxVariation.code attribute. |
protected void |
setCode(java.lang.String value)
Generated method - Setter of the
CxVariation.code attribute. |
void |
setCustomization(CxCustomization value)
Generated method - Setter of the
CxVariation.customization attribute. |
void |
setCustomization(SessionContext ctx,
CxCustomization value)
Generated method - Setter of the
CxVariation.customization attribute. |
void |
setEnabled(boolean value)
Generated method - Setter of the
CxVariation.enabled attribute. |
void |
setEnabled(java.lang.Boolean value)
Generated method - Setter of the
CxVariation.enabled attribute. |
void |
setEnabled(SessionContext ctx,
boolean value)
Generated method - Setter of the
CxVariation.enabled attribute. |
void |
setEnabled(SessionContext ctx,
java.lang.Boolean value)
Generated method - Setter of the
CxVariation.enabled attribute. |
void |
setName(SessionContext ctx,
java.lang.String value)
Generated method - Setter of the
CxVariation.name attribute. |
void |
setName(java.lang.String value)
Generated method - Setter of the
CxVariation.name attribute. |
void |
setStatus(EnumerationValue value)
Generated method - Setter of the
CxVariation.status attribute. |
void |
setStatus(SessionContext ctx,
EnumerationValue value)
Generated method - Setter of the
CxVariation.status attribute. |
void |
setTriggers(java.util.Collection<CxAbstractTrigger> value)
Generated method - Setter of the
CxVariation.triggers attribute. |
void |
setTriggers(SessionContext ctx,
java.util.Collection<CxAbstractTrigger> value)
Generated method - Setter of the
CxVariation.triggers attribute. |
getInitialProperties, getNonInitialAttributesgetAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllValuesSessionContext, getLocalizedProperty, getLocalizedProperty, getLocalizedPropertyInternal, getLocalizedPropertyNames, getLocalizedPropertyNames, hasLanguage, isEmptyValue, isFallbackEnabled, removeLocalizedProperty, removeLocalizedProperty, setAllLocalizedProperties, setAllLocalizedProperties, setLocalizedProperty, setLocalizedPropertycreateNonClassAccessor, getAllProperties, getAllProperties, getImplementation, 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, 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, toString, useTA, writeReplacesetTenantpublic static final java.lang.String CODE
CxVariation.code attributepublic static final java.lang.String CATALOGVERSION
CxVariation.catalogVersion attributepublic static final java.lang.String NAME
CxVariation.name attributepublic static final java.lang.String ENABLED
CxVariation.enabled attributepublic static final java.lang.String STATUS
CxVariation.status attributepublic static final java.lang.String CUSTOMIZATIONPOS
CxVariation.customizationPOS attributepublic static final java.lang.String CUSTOMIZATION
CxVariation.customization attributepublic static final java.lang.String ACTIONS
CxVariation.actions attributepublic static final java.lang.String TRIGGERS
CxVariation.triggers attributeprotected static final BidirectionalOneToManyHandler<GeneratedCxVariation> CUSTOMIZATIONHANDLER
BidirectionalOneToManyHandler for handling 1:n CUSTOMIZATION's relation attributes from 'one' side.protected static final OneToManyHandler<CxAbstractAction> ACTIONSHANDLER
OneToManyHandler for handling 1:n ACTIONS's relation attributes from 'many' side.protected static final OneToManyHandler<CxAbstractTrigger> TRIGGERSHANDLER
OneToManyHandler for handling 1:n TRIGGERS's relation attributes from 'many' side.protected static final java.util.Map<java.lang.String,Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
protected java.util.Map<java.lang.String,Item.AttributeMode> getDefaultAttributeModes()
getDefaultAttributeModes in class Itempublic java.util.List<CxAbstractAction> getActions(SessionContext ctx)
CxVariation.actions attribute.public java.util.List<CxAbstractAction> getActions()
CxVariation.actions attribute.public void setActions(SessionContext ctx, java.util.List<CxAbstractAction> value)
CxVariation.actions attribute.value - the actionspublic void setActions(java.util.List<CxAbstractAction> value)
CxVariation.actions attribute.value - the actionspublic void addToActions(SessionContext ctx, CxAbstractAction value)
value to actions.value - the item to add to actionspublic void addToActions(CxAbstractAction value)
value to actions.value - the item to add to actionspublic void removeFromActions(SessionContext ctx, CxAbstractAction value)
value from actions.value - the item to remove from actionspublic void removeFromActions(CxAbstractAction value)
value from actions.value - the item to remove from actionspublic CatalogVersion getCatalogVersion(SessionContext ctx)
CxVariation.catalogVersion attribute.public CatalogVersion getCatalogVersion()
CxVariation.catalogVersion attribute.public void setCatalogVersion(SessionContext ctx, CatalogVersion value)
CxVariation.catalogVersion attribute.value - the catalogVersionpublic void setCatalogVersion(CatalogVersion value)
CxVariation.catalogVersion attribute.value - the catalogVersionpublic java.lang.String getCode(SessionContext ctx)
CxVariation.code attribute.public java.lang.String getCode()
CxVariation.code attribute.protected void setCode(SessionContext ctx, java.lang.String value)
CxVariation.code attribute.value - the code - Unique identifierprotected void setCode(java.lang.String value)
CxVariation.code attribute.value - the code - Unique identifierprotected 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 CxCustomization getCustomization(SessionContext ctx)
CxVariation.customization attribute.public CxCustomization getCustomization()
CxVariation.customization attribute.public void setCustomization(SessionContext ctx, CxCustomization value)
CxVariation.customization attribute.value - the customizationpublic void setCustomization(CxCustomization value)
CxVariation.customization attribute.value - the customizationpublic java.lang.Boolean isEnabled(SessionContext ctx)
CxVariation.enabled attribute.public java.lang.Boolean isEnabled()
CxVariation.enabled attribute.public boolean isEnabledAsPrimitive(SessionContext ctx)
CxVariation.enabled attribute.public boolean isEnabledAsPrimitive()
CxVariation.enabled attribute.public void setEnabled(SessionContext ctx, java.lang.Boolean value)
CxVariation.enabled attribute.value - the enabled - Defines if the variation is enabled or notpublic void setEnabled(java.lang.Boolean value)
CxVariation.enabled attribute.value - the enabled - Defines if the variation is enabled or notpublic void setEnabled(SessionContext ctx, boolean value)
CxVariation.enabled attribute.value - the enabled - Defines if the variation is enabled or notpublic void setEnabled(boolean value)
CxVariation.enabled attribute.value - the enabled - Defines if the variation is enabled or notpublic java.lang.String getName(SessionContext ctx)
CxVariation.name attribute.public java.lang.String getName()
CxVariation.name attribute.public void setName(SessionContext ctx, java.lang.String value)
CxVariation.name attribute.value - the name - Name of variationpublic void setName(java.lang.String value)
CxVariation.name attribute.value - the name - Name of variationpublic EnumerationValue getStatus(SessionContext ctx)
CxVariation.status attribute.public EnumerationValue getStatus()
CxVariation.status attribute.public void setStatus(SessionContext ctx, EnumerationValue value)
CxVariation.status attribute.value - the status - Contains current status of itempublic void setStatus(EnumerationValue value)
CxVariation.status attribute.value - the status - Contains current status of itempublic java.util.Collection<CxAbstractTrigger> getTriggers(SessionContext ctx)
CxVariation.triggers attribute.public java.util.Collection<CxAbstractTrigger> getTriggers()
CxVariation.triggers attribute.public void setTriggers(SessionContext ctx, java.util.Collection<CxAbstractTrigger> value)
CxVariation.triggers attribute.value - the triggerspublic void setTriggers(java.util.Collection<CxAbstractTrigger> value)
CxVariation.triggers attribute.value - the triggerspublic void addToTriggers(SessionContext ctx, CxAbstractTrigger value)
value to triggers.value - the item to add to triggerspublic void addToTriggers(CxAbstractTrigger value)
value to triggers.value - the item to add to triggerspublic void removeFromTriggers(SessionContext ctx, CxAbstractTrigger value)
value from triggers.value - the item to remove from triggerspublic void removeFromTriggers(CxAbstractTrigger value)
value from triggers.value - the item to remove from triggersCopyright © 2018 SAP SE. All Rights Reserved.