Class GeneratedYFormData
- 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.xyformsservices.jalo.GeneratedYFormData
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable
- Direct Known Subclasses:
YFormData
public abstract class GeneratedYFormData extends GenericItem
Generated class for typeYFormData.- 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.StringAPPLICATIONIDQualifier of theYFormData.applicationIdattributestatic java.lang.StringCONTENTQualifier of theYFormData.contentattributeprotected static java.util.Map<java.lang.String,Item.AttributeMode>DEFAULT_INITIAL_ATTRIBUTESstatic java.lang.StringFORMDEFINITIONQualifier of theYFormData.formDefinitionattributeprotected static BidirectionalOneToManyHandler<GeneratedYFormData>FORMDEFINITIONHANDLERBidirectionalOneToManyHandlerfor handling 1:n FORMDEFINITION's relation attributes from 'one' side.static java.lang.StringFORMIDQualifier of theYFormData.formIdattributestatic java.lang.StringHISTORYQualifier of theYFormData.historyattributeprotected static OneToManyHandler<YFormDataHistory>HISTORYHANDLEROneToManyHandlerfor handling 1:n HISTORY's relation attributes from 'many' side.static java.lang.StringIDQualifier of theYFormData.idattributestatic java.lang.StringREFIDQualifier of theYFormData.refIdattributestatic java.lang.StringSYSTEMQualifier of theYFormData.systemattributestatic java.lang.StringTYPEQualifier of theYFormData.typeattribute-
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 GeneratedYFormData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddToHistory(SessionContext ctx, YFormDataHistory value)Generated method - Addsvalueto history.voidaddToHistory(YFormDataHistory value)Generated method - Addsvalueto history.protected ItemcreateItem(SessionContext ctx, ComposedType type, Item.ItemAttributeMap allAttributes)Has to be implemented for each concrete subtype of item.java.lang.StringgetApplicationId()Generated method - Getter of theYFormData.applicationIdattribute.java.lang.StringgetApplicationId(SessionContext ctx)Generated method - Getter of theYFormData.applicationIdattribute.java.lang.StringgetContent()Generated method - Getter of theYFormData.contentattribute.java.lang.StringgetContent(SessionContext ctx)Generated method - Getter of theYFormData.contentattribute.protected java.util.Map<java.lang.String,Item.AttributeMode>getDefaultAttributeModes()YFormDefinitiongetFormDefinition()Generated method - Getter of theYFormData.formDefinitionattribute.YFormDefinitiongetFormDefinition(SessionContext ctx)Generated method - Getter of theYFormData.formDefinitionattribute.java.lang.StringgetFormId()Generated method - Getter of theYFormData.formIdattribute.java.lang.StringgetFormId(SessionContext ctx)Generated method - Getter of theYFormData.formIdattribute.java.util.List<YFormDataHistory>getHistory()Generated method - Getter of theYFormData.historyattribute.java.util.List<YFormDataHistory>getHistory(SessionContext ctx)Generated method - Getter of theYFormData.historyattribute.java.lang.StringgetId()Generated method - Getter of theYFormData.idattribute.java.lang.StringgetId(SessionContext ctx)Generated method - Getter of theYFormData.idattribute.java.lang.StringgetRefId()Generated method - Getter of theYFormData.refIdattribute.java.lang.StringgetRefId(SessionContext ctx)Generated method - Getter of theYFormData.refIdattribute.EnumerationValuegetType()Generated method - Getter of theYFormData.typeattribute.EnumerationValuegetType(SessionContext ctx)Generated method - Getter of theYFormData.typeattribute.java.lang.BooleanisSystem()Generated method - Getter of theYFormData.systemattribute.java.lang.BooleanisSystem(SessionContext ctx)Generated method - Getter of theYFormData.systemattribute.booleanisSystemAsPrimitive()Generated method - Getter of theYFormData.systemattribute.booleanisSystemAsPrimitive(SessionContext ctx)Generated method - Getter of theYFormData.systemattribute.voidremoveFromHistory(SessionContext ctx, YFormDataHistory value)Generated method - Removesvaluefrom history.voidremoveFromHistory(YFormDataHistory value)Generated method - Removesvaluefrom history.voidsetApplicationId(SessionContext ctx, java.lang.String value)Generated method - Setter of theYFormData.applicationIdattribute.voidsetApplicationId(java.lang.String value)Generated method - Setter of theYFormData.applicationIdattribute.voidsetContent(SessionContext ctx, java.lang.String value)Generated method - Setter of theYFormData.contentattribute.voidsetContent(java.lang.String value)Generated method - Setter of theYFormData.contentattribute.voidsetFormDefinition(SessionContext ctx, YFormDefinition value)Generated method - Setter of theYFormData.formDefinitionattribute.voidsetFormDefinition(YFormDefinition value)Generated method - Setter of theYFormData.formDefinitionattribute.voidsetFormId(SessionContext ctx, java.lang.String value)Generated method - Setter of theYFormData.formIdattribute.voidsetFormId(java.lang.String value)Generated method - Setter of theYFormData.formIdattribute.voidsetHistory(SessionContext ctx, java.util.List<YFormDataHistory> value)Generated method - Setter of theYFormData.historyattribute.voidsetHistory(java.util.List<YFormDataHistory> value)Generated method - Setter of theYFormData.historyattribute.voidsetId(SessionContext ctx, java.lang.String value)Generated method - Setter of theYFormData.idattribute.voidsetId(java.lang.String value)Generated method - Setter of theYFormData.idattribute.voidsetRefId(SessionContext ctx, java.lang.String value)Generated method - Setter of theYFormData.refIdattribute.voidsetRefId(java.lang.String value)Generated method - Setter of theYFormData.refIdattribute.voidsetSystem(boolean value)Generated method - Setter of theYFormData.systemattribute.voidsetSystem(SessionContext ctx, boolean value)Generated method - Setter of theYFormData.systemattribute.voidsetSystem(SessionContext ctx, java.lang.Boolean value)Generated method - Setter of theYFormData.systemattribute.voidsetSystem(java.lang.Boolean value)Generated method - Setter of theYFormData.systemattribute.voidsetType(EnumerationValue value)Generated method - Setter of theYFormData.typeattribute.voidsetType(SessionContext ctx, EnumerationValue value)Generated method - Setter of theYFormData.typeattribute.-
Methods inherited from class de.hybris.platform.jalo.GenericItem
getImplementation, getInitialProperties, getNonInitialAttributes, getRelatedItems, 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, 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, writeReplace
-
Methods inherited from class de.hybris.platform.util.BridgeAbstraction
setTenant
-
-
-
-
Field Detail
-
ID
public static final java.lang.String ID
Qualifier of theYFormData.idattribute- See Also:
- Constant Field Values
-
APPLICATIONID
public static final java.lang.String APPLICATIONID
Qualifier of theYFormData.applicationIdattribute- See Also:
- Constant Field Values
-
FORMID
public static final java.lang.String FORMID
Qualifier of theYFormData.formIdattribute- See Also:
- Constant Field Values
-
REFID
public static final java.lang.String REFID
Qualifier of theYFormData.refIdattribute- See Also:
- Constant Field Values
-
SYSTEM
public static final java.lang.String SYSTEM
Qualifier of theYFormData.systemattribute- See Also:
- Constant Field Values
-
TYPE
public static final java.lang.String TYPE
Qualifier of theYFormData.typeattribute- See Also:
- Constant Field Values
-
CONTENT
public static final java.lang.String CONTENT
Qualifier of theYFormData.contentattribute- See Also:
- Constant Field Values
-
FORMDEFINITION
public static final java.lang.String FORMDEFINITION
Qualifier of theYFormData.formDefinitionattribute- See Also:
- Constant Field Values
-
HISTORY
public static final java.lang.String HISTORY
Qualifier of theYFormData.historyattribute- See Also:
- Constant Field Values
-
FORMDEFINITIONHANDLER
protected static final BidirectionalOneToManyHandler<GeneratedYFormData> FORMDEFINITIONHANDLER
BidirectionalOneToManyHandlerfor handling 1:n FORMDEFINITION's relation attributes from 'one' side.
-
HISTORYHANDLER
protected static final OneToManyHandler<YFormDataHistory> HISTORYHANDLER
OneToManyHandlerfor handling 1:n HISTORY's relation attributes from 'many' 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 classItem
-
getApplicationId
public java.lang.String getApplicationId(SessionContext ctx)
Generated method - Getter of theYFormData.applicationIdattribute.- Returns:
- the applicationId
-
getApplicationId
public java.lang.String getApplicationId()
Generated method - Getter of theYFormData.applicationIdattribute.- Returns:
- the applicationId
-
setApplicationId
public void setApplicationId(SessionContext ctx, java.lang.String value)
Generated method - Setter of theYFormData.applicationIdattribute.- Parameters:
value- the applicationId
-
setApplicationId
public void setApplicationId(java.lang.String value)
Generated method - Setter of theYFormData.applicationIdattribute.- Parameters:
value- the applicationId
-
getContent
public java.lang.String getContent(SessionContext ctx)
Generated method - Getter of theYFormData.contentattribute.- Returns:
- the content
-
getContent
public java.lang.String getContent()
Generated method - Getter of theYFormData.contentattribute.- Returns:
- the content
-
setContent
public void setContent(SessionContext ctx, java.lang.String value)
Generated method - Setter of theYFormData.contentattribute.- Parameters:
value- the content
-
setContent
public void setContent(java.lang.String value)
Generated method - Setter of theYFormData.contentattribute.- Parameters:
value- the content
-
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
-
getFormDefinition
public YFormDefinition getFormDefinition(SessionContext ctx)
Generated method - Getter of theYFormData.formDefinitionattribute.- Returns:
- the formDefinition
-
getFormDefinition
public YFormDefinition getFormDefinition()
Generated method - Getter of theYFormData.formDefinitionattribute.- Returns:
- the formDefinition
-
setFormDefinition
public void setFormDefinition(SessionContext ctx, YFormDefinition value)
Generated method - Setter of theYFormData.formDefinitionattribute.- Parameters:
value- the formDefinition
-
setFormDefinition
public void setFormDefinition(YFormDefinition value)
Generated method - Setter of theYFormData.formDefinitionattribute.- Parameters:
value- the formDefinition
-
getFormId
public java.lang.String getFormId(SessionContext ctx)
Generated method - Getter of theYFormData.formIdattribute.- Returns:
- the formId
-
getFormId
public java.lang.String getFormId()
Generated method - Getter of theYFormData.formIdattribute.- Returns:
- the formId
-
setFormId
public void setFormId(SessionContext ctx, java.lang.String value)
Generated method - Setter of theYFormData.formIdattribute.- Parameters:
value- the formId
-
setFormId
public void setFormId(java.lang.String value)
Generated method - Setter of theYFormData.formIdattribute.- Parameters:
value- the formId
-
getHistory
public java.util.List<YFormDataHistory> getHistory(SessionContext ctx)
Generated method - Getter of theYFormData.historyattribute.- Returns:
- the history
-
getHistory
public java.util.List<YFormDataHistory> getHistory()
Generated method - Getter of theYFormData.historyattribute.- Returns:
- the history
-
setHistory
public void setHistory(SessionContext ctx, java.util.List<YFormDataHistory> value)
Generated method - Setter of theYFormData.historyattribute.- Parameters:
value- the history
-
setHistory
public void setHistory(java.util.List<YFormDataHistory> value)
Generated method - Setter of theYFormData.historyattribute.- Parameters:
value- the history
-
addToHistory
public void addToHistory(SessionContext ctx, YFormDataHistory value)
Generated method - Addsvalueto history.- Parameters:
value- the item to add to history
-
addToHistory
public void addToHistory(YFormDataHistory value)
Generated method - Addsvalueto history.- Parameters:
value- the item to add to history
-
removeFromHistory
public void removeFromHistory(SessionContext ctx, YFormDataHistory value)
Generated method - Removesvaluefrom history.- Parameters:
value- the item to remove from history
-
removeFromHistory
public void removeFromHistory(YFormDataHistory value)
Generated method - Removesvaluefrom history.- Parameters:
value- the item to remove from history
-
getId
public java.lang.String getId(SessionContext ctx)
Generated method - Getter of theYFormData.idattribute.- Returns:
- the id
-
getId
public java.lang.String getId()
Generated method - Getter of theYFormData.idattribute.- Returns:
- the id
-
setId
public void setId(SessionContext ctx, java.lang.String value)
Generated method - Setter of theYFormData.idattribute.- Parameters:
value- the id
-
setId
public void setId(java.lang.String value)
Generated method - Setter of theYFormData.idattribute.- Parameters:
value- the id
-
getRefId
public java.lang.String getRefId(SessionContext ctx)
Generated method - Getter of theYFormData.refIdattribute.- Returns:
- the refId
-
getRefId
public java.lang.String getRefId()
Generated method - Getter of theYFormData.refIdattribute.- Returns:
- the refId
-
setRefId
public void setRefId(SessionContext ctx, java.lang.String value)
Generated method - Setter of theYFormData.refIdattribute.- Parameters:
value- the refId
-
setRefId
public void setRefId(java.lang.String value)
Generated method - Setter of theYFormData.refIdattribute.- Parameters:
value- the refId
-
isSystem
public java.lang.Boolean isSystem(SessionContext ctx)
Generated method - Getter of theYFormData.systemattribute.- Returns:
- the system
-
isSystem
public java.lang.Boolean isSystem()
Generated method - Getter of theYFormData.systemattribute.- Returns:
- the system
-
isSystemAsPrimitive
public boolean isSystemAsPrimitive(SessionContext ctx)
Generated method - Getter of theYFormData.systemattribute.- Returns:
- the system
-
isSystemAsPrimitive
public boolean isSystemAsPrimitive()
Generated method - Getter of theYFormData.systemattribute.- Returns:
- the system
-
setSystem
public void setSystem(SessionContext ctx, java.lang.Boolean value)
Generated method - Setter of theYFormData.systemattribute.- Parameters:
value- the system
-
setSystem
public void setSystem(java.lang.Boolean value)
Generated method - Setter of theYFormData.systemattribute.- Parameters:
value- the system
-
setSystem
public void setSystem(SessionContext ctx, boolean value)
Generated method - Setter of theYFormData.systemattribute.- Parameters:
value- the system
-
setSystem
public void setSystem(boolean value)
Generated method - Setter of theYFormData.systemattribute.- Parameters:
value- the system
-
getType
public EnumerationValue getType(SessionContext ctx)
Generated method - Getter of theYFormData.typeattribute.- Returns:
- the type
-
getType
public EnumerationValue getType()
Generated method - Getter of theYFormData.typeattribute.- Returns:
- the type
-
setType
public void setType(SessionContext ctx, EnumerationValue value)
Generated method - Setter of theYFormData.typeattribute.- Parameters:
value- the type
-
setType
public void setType(EnumerationValue value)
Generated method - Setter of theYFormData.typeattribute.- Parameters:
value- the type
-
-