Class LocalizableItemEJBImpl
- java.lang.Object
-
- de.hybris.platform.core.BridgeImplementation
-
- de.hybris.platform.persistence.ItemEJBImpl
-
- de.hybris.platform.persistence.ExtensibleItemEJBImpl
-
- de.hybris.platform.persistence.c2l.LocalizableItemEJBImpl
-
- All Implemented Interfaces:
LocalizableItem.LocalizableItemImpl
,ExtensibleItem.ExtensibleItemImpl
,Item.ItemImpl
,BridgeInterface
,ExposesPermissionFacade
,java.io.Serializable
- Direct Known Subclasses:
EnumerationValueEJBImpl
,GenericItemEJBImpl
,SearchRestrictionEJBImpl
,TestItemEJBImpl
,TypeManagerManagedEJBImpl
public abstract class LocalizableItemEJBImpl extends ExtensibleItemEJBImpl implements LocalizableItem.LocalizableItemImpl
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
LocalizableItemEJBImpl(Tenant tenant, LocalizableItemRemote remoteObject)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
checkLanguage(SessionContext ctx, java.lang.String fieldName)
java.util.Map<java.lang.String,java.lang.Object>
getAllLocalizedProperties(SessionContext ctx)
java.util.Map<Language,?>
getAllLocalizedProperties(SessionContext ctx, java.lang.String name, java.util.Set<Language> languages)
protected PK
getLangPK(SessionContext ctx)
java.lang.Object
getLocalizedProperty(SessionContext ctx, java.lang.String name)
java.util.Set<java.lang.String>
getLocalizedPropertyNames(SessionContext ctx)
java.lang.Object
removeLocalizedProperty(SessionContext ctx, java.lang.String name)
java.util.Map<Language,?>
setAllLocalizableProperties(SessionContext ctx, java.lang.String name, java.util.Map<Language,?> props)
java.lang.Object
setLocalizedProperty(SessionContext ctx, java.lang.String name, java.lang.Object value)
-
Methods inherited from class de.hybris.platform.persistence.ExtensibleItemEJBImpl
commit, getAllProperties, getProperty, getPropertyNames, removeProperty, rollback, setAllProperties, setProperty
-
Methods inherited from class de.hybris.platform.persistence.ItemEJBImpl
addPermission, checkItemPermission, clearPermission, getCache, getComposedType, getCreationTime, getHJMPTS, getJaloObjectClass, getModificationTime, getOwner, getPermissionFacade, getPermissionMap, getPK, getPrincipalPermissions, getRemote, getRestrictedPrincipals, getSession, getTypeKey, invalidateLocalCaches, isHandlingOwnerAsReferenceSupported, remove, removeInternal, setComposedType, setCreationTime, setModificationTime, setOwner, setPermissionMap, setRemote, unwrap, unwrapToRef, wrap
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.hybris.platform.util.BridgeInterface
getJaloObjectClass
-
Methods inherited from interface de.hybris.platform.util.ExposesPermissionFacade
getPermissionFacade
-
Methods inherited from interface de.hybris.platform.jalo.ExtensibleItem.ExtensibleItemImpl
getAllProperties, getProperty, getPropertyNames, removeProperty, setAllProperties, setProperty
-
Methods inherited from interface de.hybris.platform.jalo.Item.ItemImpl
addPermission, checkItemPermission, clearPermission, getComposedType, getCreationTime, getHJMPTS, getModificationTime, getOwner, getPermissionMap, getPK, getPrincipalPermissions, getRestrictedPrincipals, getTypeKey, invalidateLocalCaches, isLocalCachingSupported, remove, setComposedType, setCreationTime, setModificationTime, setOwner, setPermissionMap
-
-
-
-
Constructor Detail
-
LocalizableItemEJBImpl
protected LocalizableItemEJBImpl(Tenant tenant, LocalizableItemRemote remoteObject)
-
-
Method Detail
-
checkLanguage
protected void checkLanguage(SessionContext ctx, java.lang.String fieldName) throws JaloSystemException
- Throws:
JaloSystemException
- if no language was set for the given context
-
getLangPK
protected PK getLangPK(SessionContext ctx)
-
getAllLocalizedProperties
public java.util.Map<java.lang.String,java.lang.Object> getAllLocalizedProperties(SessionContext ctx)
- Specified by:
getAllLocalizedProperties
in interfaceLocalizableItem.LocalizableItemImpl
-
getLocalizedPropertyNames
public java.util.Set<java.lang.String> getLocalizedPropertyNames(SessionContext ctx)
- Specified by:
getLocalizedPropertyNames
in interfaceLocalizableItem.LocalizableItemImpl
-
getAllLocalizedProperties
public java.util.Map<Language,?> getAllLocalizedProperties(SessionContext ctx, java.lang.String name, java.util.Set<Language> languages)
- Specified by:
getAllLocalizedProperties
in interfaceLocalizableItem.LocalizableItemImpl
-
setAllLocalizableProperties
public java.util.Map<Language,?> setAllLocalizableProperties(SessionContext ctx, java.lang.String name, java.util.Map<Language,?> props)
- Specified by:
setAllLocalizableProperties
in interfaceLocalizableItem.LocalizableItemImpl
-
getLocalizedProperty
public java.lang.Object getLocalizedProperty(SessionContext ctx, java.lang.String name)
- Specified by:
getLocalizedProperty
in interfaceLocalizableItem.LocalizableItemImpl
-
setLocalizedProperty
public java.lang.Object setLocalizedProperty(SessionContext ctx, java.lang.String name, java.lang.Object value)
- Specified by:
setLocalizedProperty
in interfaceLocalizableItem.LocalizableItemImpl
-
removeLocalizedProperty
public java.lang.Object removeLocalizedProperty(SessionContext ctx, java.lang.String name)
- Specified by:
removeLocalizedProperty
in interfaceLocalizableItem.LocalizableItemImpl
-
-