| Modifier and Type | Class and Description |
|---|---|
static class |
BaseRelation.Builder |
protected static class |
BaseRelation.Remove |
protected static class |
BaseRelation.ReusableLinks |
protected static class |
BaseRelation.Shift |
protected static class |
BaseRelation.Touch |
| Constructor and Description |
|---|
OrderedRelation(de.hybris.platform.persistence.links.jdbc.dml.relation.RelationId relationId,
Iterable<de.hybris.platform.persistence.links.jdbc.dml.relation.ExistingLinkToChild> existingLinks,
boolean markAsModified) |
| Modifier and Type | Method and Description |
|---|---|
protected Iterable<RelationModification> |
addNewLink(long childPK,
int position) |
static BaseRelation.Builder |
builder(de.hybris.platform.persistence.links.jdbc.dml.relation.RelationId id) |
protected Iterable<RelationModification> |
clear() |
Iterable<de.hybris.platform.persistence.links.jdbc.dml.relation.ExistingLinkToChild> |
getExistingLinks() |
long |
getLanguagePK() |
Iterable<RelationModification> |
getModificationsForInsertion(Iterable<Long> childPKsToInsert,
int position) |
Iterable<RelationModification> |
getModificationsForRemoval(Iterable<Long> childPKsToRemove) |
Iterable<RelationModification> |
getModificationsForSetting(Iterable<Long> childPKsToSet) |
long |
getParentPK() |
de.hybris.platform.persistence.links.jdbc.dml.relation.RelationId |
getRelationId() |
protected int |
getReversePosition() |
protected boolean |
isMarkAsModified() |
protected Iterable<RelationModification> |
noModifications() |
protected Iterable<RelationModification> |
removeExistingLink(de.hybris.platform.persistence.links.jdbc.dml.relation.ExistingLinkToChild link) |
protected Iterable<RelationModification> |
shiftExistingLink(de.hybris.platform.persistence.links.jdbc.dml.relation.ExistingLinkToChild link,
int newPosition) |
protected Iterable<RelationModification> |
touchParent() |
public OrderedRelation(de.hybris.platform.persistence.links.jdbc.dml.relation.RelationId relationId,
Iterable<de.hybris.platform.persistence.links.jdbc.dml.relation.ExistingLinkToChild> existingLinks,
boolean markAsModified)
public Iterable<RelationModification> getModificationsForInsertion(Iterable<Long> childPKsToInsert, int position)
public Iterable<RelationModification> getModificationsForSetting(Iterable<Long> childPKsToSet)
public static BaseRelation.Builder builder(de.hybris.platform.persistence.links.jdbc.dml.relation.RelationId id)
public long getLanguagePK()
getLanguagePK in interface Relationpublic Iterable<RelationModification> getModificationsForRemoval(Iterable<Long> childPKsToRemove)
getModificationsForRemoval in interface Relationpublic Iterable<de.hybris.platform.persistence.links.jdbc.dml.relation.ExistingLinkToChild> getExistingLinks()
public de.hybris.platform.persistence.links.jdbc.dml.relation.RelationId getRelationId()
public long getParentPK()
protected boolean isMarkAsModified()
protected int getReversePosition()
protected Iterable<RelationModification> noModifications()
protected Iterable<RelationModification> touchParent()
protected Iterable<RelationModification> removeExistingLink(de.hybris.platform.persistence.links.jdbc.dml.relation.ExistingLinkToChild link)
protected Iterable<RelationModification> addNewLink(long childPK, int position)
protected Iterable<RelationModification> shiftExistingLink(de.hybris.platform.persistence.links.jdbc.dml.relation.ExistingLinkToChild link, int newPosition)
protected Iterable<RelationModification> clear()
Copyright © 2017 SAP SE. All Rights Reserved.