Package de.hybris.platform.util
Class ManyToManyHandler<T extends Item>
- java.lang.Object
-
- de.hybris.platform.util.ManyToManyHandler<T>
-
public class ManyToManyHandler<T extends Item> extends java.lang.ObjectThe unloclized n-m relation handler.This implementation uses the
LinkOperationHandlerto link and unlink assoziated items.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedManyToManyHandler(java.lang.String relationName, boolean ownerIsSource, boolean enableRestrictions)protectedManyToManyHandler(java.lang.String relationName, boolean ownerIsSource, boolean enableRestrictions, boolean partOf, boolean reOrderable)Deprecated, for removal: This API element is subject to removal in a future version.since 1811
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Collection<T>getValues(SessionContext ctx, Item key)voidsetValues(SessionContext ctx, Item key, java.util.Collection<T> values)
-
-
-
Constructor Detail
-
ManyToManyHandler
protected ManyToManyHandler(java.lang.String relationName, boolean ownerIsSource, boolean enableRestrictions)
-
ManyToManyHandler
@Deprecated(since="1811", forRemoval=true) protected ManyToManyHandler(java.lang.String relationName, boolean ownerIsSource, boolean enableRestrictions, boolean partOf, boolean reOrderable)Deprecated, for removal: This API element is subject to removal in a future version.since 1811- Parameters:
partOf-reOrderable-
-
-
Method Detail
-
getValues
public java.util.Collection<T> getValues(SessionContext ctx, Item key)
-
setValues
public void setValues(SessionContext ctx, Item key, java.util.Collection<T> values)
-
-