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
public interface ExtensibleItemRemote extends ItemRemote
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
copyPropertiesFrom(ExtensibleItemRemote ext)
java.util.Map<java.lang.String,java.lang.Object>
getAllProperties()
Returns all properties of this item as ( key , value ) mappings.java.lang.Object
getProperty(java.lang.String name)
The value of one property.java.util.Set<java.lang.String>
getPropertyNames()
All property qualifiers.java.lang.Object
getPropertyRaw(java.lang.String name)
Same asgetProperty(String)
without instantiating property values which have been saved asItemPropertyValue
.long
getPropertyTimestamp()
TypeInfoMap
getTypeInfoMap()
java.lang.Object
removeProperty(java.lang.String name)
Removes one property.void
setAllProperties(EJBPropertyContainer propertyContainer)
java.lang.Object
setProperty(java.lang.String name, java.lang.Object value)
Sets one property.-
Methods inherited from interface de.hybris.platform.persistence.framework.EntityProxy
getPK
-
Methods inherited from interface de.hybris.platform.persistence.ItemRemote
getComposedType, getCreationTime, getHJMPTS, getModifiedTime, getOwner, getPkString, getTypeKey, hasJNDIName, remove, setComposedType, setCreationTime, setModifiedTime, setOwner, setOwnerRef, wasModifiedSince
-
-
-
-
Method Detail
-
copyPropertiesFrom
void copyPropertiesFrom(ExtensibleItemRemote ext)
-
getPropertyTimestamp
long getPropertyTimestamp()
-
getTypeInfoMap
TypeInfoMap getTypeInfoMap()
-
getAllProperties
java.util.Map<java.lang.String,java.lang.Object> getAllProperties()
Returns all properties of this item as ( key , value ) mappings.
-
getPropertyNames
java.util.Set<java.lang.String> getPropertyNames()
All property qualifiers.
-
setAllProperties
void setAllProperties(EJBPropertyContainer propertyContainer) throws ConsistencyCheckException
- Throws:
ConsistencyCheckException
- if the property container contains localized properties, and the called item is not localizable
-
setProperty
java.lang.Object setProperty(java.lang.String name, java.lang.Object value)
Sets one property.- Parameters:
name
- the qualifier if this propertyvalue
- the new value- Returns:
- the old value if the property was set before
-
getProperty
java.lang.Object getProperty(java.lang.String name)
The value of one property.- Parameters:
name
- the qualifier of the property- Returns:
- the value, or
null
if the property was not set
-
getPropertyRaw
java.lang.Object getPropertyRaw(java.lang.String name)
Same asgetProperty(String)
without instantiating property values which have been saved asItemPropertyValue
.- Parameters:
name
-
-
removeProperty
java.lang.Object removeProperty(java.lang.String name)
Removes one property.- Parameters:
name
- the qualifier of the property- Returns:
- the old value, or
null
if the property was not set
-
-