public class BidirectionalOneToManyHandler<T extends ExtensibleItem> extends OneToManyHandler<T>
foreignKeyAttr, handlerMode| Constructor and Description |
|---|
BidirectionalOneToManyHandler(String targetItemType,
boolean partOf,
String foreignKeyAttr,
String orderNumberAttr,
boolean reorderable,
boolean asc,
int typeOfCollection) |
BidirectionalOneToManyHandler(String targetItemType,
boolean partOf,
String foreignKeyAttr,
String orderNumberAttr,
boolean reorderable,
boolean asc,
int typeOfCollection,
String conditionQuery) |
| Modifier and Type | Method and Description |
|---|---|
void |
addValue(SessionContext ctx,
Item key,
T toLink) |
protected void |
setForeignKeyValue(SessionContext ctx,
Item key,
T toLink)
sets a foreign key property
OneToManyHandler.foreignKeyAttr for source item T |
void |
setValues(SessionContext ctx,
Item key,
Collection<T> values) |
getConditionQuery, getForeignKeyAttr, getNextOrderNumber, getOrderNumberAttr, getValues, isPartOf, isReOrderable, newInstance, notifyKeyRemoval, removeValue, searchForLinkedItems, setPosAttributeValue, setValuesInternal, useLegacyModepublic BidirectionalOneToManyHandler(String targetItemType, boolean partOf, String foreignKeyAttr, String orderNumberAttr, boolean reorderable, boolean asc, int typeOfCollection)
public void addValue(SessionContext ctx, Item key, T toLink)
addValue in class OneToManyHandler<T extends ExtensibleItem>protected void setForeignKeyValue(SessionContext ctx, Item key, T toLink) throws JaloSecurityException, JaloBusinessException
OneToManyHandlerOneToManyHandler.foreignKeyAttr for source item TsetForeignKeyValue in class OneToManyHandler<T extends ExtensibleItem>JaloSecurityExceptionJaloBusinessExceptionpublic void setValues(SessionContext ctx, Item key, Collection<T> values)
setValues in class OneToManyHandler<T extends ExtensibleItem>Copyright © 2017 SAP SE. All Rights Reserved.