Package com.im.df.api.dml
Class DFDeleteDescription
- java.lang.Object
-
- com.im.df.api.dml.DFDeleteDescription
-
public final class DFDeleteDescription extends java.lang.Object
- Author:
- svata
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DFDeleteDescription.Type
-
Field Summary
Fields Modifier and Type Field Description static DFDeleteDescription
DELETE_ALL_RELATED
All related rows in the other Entity will be deleted.static DFDeleteDescription
DELETE_NONE
Do not delete any rows in the related entity.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addDeleteRelated(DFRelationship.Direction rel, DFDeleteDescription disposition)
int
addRows(java.util.Set<java.lang.Object> rows)
static DFDeleteDescription
create(DFEntity en, java.util.Set<java.lang.Object> idsToDelete)
java.util.Map<DFRelationship.Direction,DFDeleteDescription>
getAllRelations()
DFRelationship.Direction
getControllingRelation()
java.util.Map<DFRelationship.Direction,DFDeleteDescription>
getDeleteRelated()
java.util.Set<DFDeleteDescription>
getDeletionSet()
com.im.commons.progress.DFLock
getLock()
java.util.Set<DFRelationship.Direction>
getRequiredRelations()
java.util.Set<java.lang.Object>
getRowIDs()
DFEntity
getTargetEntity()
DFDeleteDescription.Type
getType()
void
join(DFDeleteDescription disposition)
void
setLock(com.im.commons.progress.DFLock lock)
-
-
-
Field Detail
-
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.
-
-
Method Detail
-
getControllingRelation
public DFRelationship.Direction getControllingRelation()
-
getDeleteRelated
public java.util.Map<DFRelationship.Direction,DFDeleteDescription> getDeleteRelated()
-
getRowIDs
public java.util.Set<java.lang.Object> getRowIDs()
-
getTargetEntity
public DFEntity getTargetEntity()
-
getType
public DFDeleteDescription.Type getType()
-
addRows
public int addRows(java.util.Set<java.lang.Object> rows)
-
getLock
public com.im.commons.progress.DFLock getLock()
-
setLock
public void setLock(com.im.commons.progress.DFLock lock)
-
getDeletionSet
public java.util.Set<DFDeleteDescription> getDeletionSet()
-
getAllRelations
public java.util.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, java.util.Set<java.lang.Object> idsToDelete)
-
getRequiredRelations
public java.util.Set<DFRelationship.Direction> getRequiredRelations()
-
-