com.im.df.api.dml
Class DFDeleteDescription
java.lang.Object
com.im.df.api.dml.DFDeleteDescription
public final class DFDeleteDescription
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DELETE_ALL_RELATED
public static final DFDeleteDescription DELETE_ALL_RELATED
- All related rows in the other Entity will be deleted.
DELETE_NONE
public static final DFDeleteDescription DELETE_NONE
- Do not delete any rows in the related entity.
getControllingRelation
public DFRelationship.Direction getControllingRelation()
getDeleteRelated
public Map<DFRelationship.Direction,DFDeleteDescription> getDeleteRelated()
getRowIDs
public Set<Object> getRowIDs()
getTargetEntity
public DFEntity getTargetEntity()
getType
public DFDeleteDescription.Type getType()
addRows
public int addRows(Set<Object> rows)
getLock
public DFLock getLock()
setLock
public void setLock(DFLock lock)
getDeletionSet
public Set<DFDeleteDescription> getDeletionSet()
getAllRelations
public Map<DFRelationship.Direction,DFDeleteDescription> getAllRelations()
join
public void join(DFDeleteDescription disposition)
addDeleteRelated
public void addDeleteRelated(DFRelationship.Direction rel,
DFDeleteDescription disposition)
create
public static DFDeleteDescription create(DFEntity en,
Set<Object> idsToDelete)
getRequiredRelations
public Set<DFRelationship.Direction> getRequiredRelations()