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 protectedLocalizableItemEJBImpl(Tenant tenant, LocalizableItemRemote remoteObject)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcheckLanguage(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 PKgetLangPK(SessionContext ctx)java.lang.ObjectgetLocalizedProperty(SessionContext ctx, java.lang.String name)java.util.Set<java.lang.String>getLocalizedPropertyNames(SessionContext ctx)java.lang.ObjectremoveLocalizedProperty(SessionContext ctx, java.lang.String name)java.util.Map<Language,?>setAllLocalizableProperties(SessionContext ctx, java.lang.String name, java.util.Map<Language,?> props)java.lang.ObjectsetLocalizedProperty(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:
getAllLocalizedPropertiesin interfaceLocalizableItem.LocalizableItemImpl
-
getLocalizedPropertyNames
public java.util.Set<java.lang.String> getLocalizedPropertyNames(SessionContext ctx)
- Specified by:
getLocalizedPropertyNamesin interfaceLocalizableItem.LocalizableItemImpl
-
getAllLocalizedProperties
public java.util.Map<Language,?> getAllLocalizedProperties(SessionContext ctx, java.lang.String name, java.util.Set<Language> languages)
- Specified by:
getAllLocalizedPropertiesin interfaceLocalizableItem.LocalizableItemImpl
-
setAllLocalizableProperties
public java.util.Map<Language,?> setAllLocalizableProperties(SessionContext ctx, java.lang.String name, java.util.Map<Language,?> props)
- Specified by:
setAllLocalizablePropertiesin interfaceLocalizableItem.LocalizableItemImpl
-
getLocalizedProperty
public java.lang.Object getLocalizedProperty(SessionContext ctx, java.lang.String name)
- Specified by:
getLocalizedPropertyin interfaceLocalizableItem.LocalizableItemImpl
-
setLocalizedProperty
public java.lang.Object setLocalizedProperty(SessionContext ctx, java.lang.String name, java.lang.Object value)
- Specified by:
setLocalizedPropertyin interfaceLocalizableItem.LocalizableItemImpl
-
removeLocalizedProperty
public java.lang.Object removeLocalizedProperty(SessionContext ctx, java.lang.String name)
- Specified by:
removeLocalizedPropertyin interfaceLocalizableItem.LocalizableItemImpl
-
-