Package de.hybris.platform.persistence
Interface ExtensibleItemRemote
- All Superinterfaces:
EntityProxy,ItemRemote
- All Known Subinterfaces:
AtomicTypeRemote,AttributeDescriptorRemote,CollectionTypeRemote,ComposedTypeRemote,DescriptorRemote,EnumerationValueRemote,GenericItemRemote,HierarchieTypeRemote,LinkRemote,LocalizableItemRemote,MapTypeRemote,MetaInformationRemote,SearchRestrictionRemote,TestItemRemote,TypeManagerManagedRemote,TypeRemote
- All Known Implementing Classes:
AtomicType_HJMPWrapper,AtomicTypeEJB,AttributeDescriptor_HJMPWrapper,AttributeDescriptorEJB,CollectionType_HJMPWrapper,CollectionTypeEJB,ComposedType_HJMPWrapper,ComposedTypeEJB,EnumerationValue_HJMPWrapper,EnumerationValueEJB,ExtensibleItemEJB,GenericBMPBean,GenericItemEJB,GenericLinkBMPBean,HierarchieTypeEJB,LinkEJB,LocalizableItemEJB,MapType_HJMPWrapper,MapTypeEJB,MetaInformation_HJMPWrapper,MetaInformationEJB,SearchRestriction_HJMPWrapper,SearchRestrictionEJB,TestItem_HJMPWrapper,TestItemEJB,TypeEJB,TypeManagerManagedEJB
The remote interface of extensible item beans.
It defines methods for handling this items properties. Further you can access its external key.
Since extensible items may be staged all methods exist in two variants: unstaged and staged. Methods for staged items
have always be provided with the staging method to make sure which properties are visible and which not.
Besides 'normal' properties each item may have internal properties, which are not accessible via jalo layer.
-
Method Summary
Modifier and TypeMethodDescriptionvoidReturns all properties of this item as ( key , value ) mappings.getProperty(String name) The value of one property.All property qualifiers.getPropertyRaw(String name) Same asgetProperty(String)without instantiating property values which have been saved asItemPropertyValue.longremoveProperty(String name) Removes one property.voidsetAllProperties(EJBPropertyContainer propertyContainer) setProperty(String name, Object value) Sets one property.Methods inherited from interface de.hybris.platform.persistence.framework.EntityProxy
getPKMethods inherited from interface de.hybris.platform.persistence.ItemRemote
getComposedType, getCreationTime, getHJMPTS, getModifiedTime, getOwner, getPkString, getTypeKey, hasJNDIName, remove, setComposedType, setCreationTime, setModifiedTime, setOwner, setOwnerRef, wasModifiedSince
-
Method Details
-
copyPropertiesFrom
-
getPropertyTimestamp
long getPropertyTimestamp() -
getTypeInfoMap
TypeInfoMap getTypeInfoMap() -
getAllProperties
Returns all properties of this item as ( key , value ) mappings. -
getPropertyNames
All property qualifiers. -
setAllProperties
- Throws:
ConsistencyCheckException- if the property container contains localized properties, and the called item is not localizable
-
setProperty
Sets one property.- Parameters:
name- the qualifier if this propertyvalue- the new value- Returns:
- the old value if the property was set before
-
getProperty
The value of one property.- Parameters:
name- the qualifier of the property- Returns:
- the value, or
nullif the property was not set
-
getPropertyRaw
Same asgetProperty(String)without instantiating property values which have been saved asItemPropertyValue.- Parameters:
name-
-
removeProperty
Removes one property.- Parameters:
name- the qualifier of the property- Returns:
- the old value, or
nullif the property was not set
-