@KSObject public class TreeEntryProp extends EntryProp
构造器和说明 |
---|
TreeEntryProp()
反序列化要求有没有参数的构造函数
|
TreeEntryProp(java.lang.String name,
kd.bos.dataentity.metadata.dynamicobject.DynamicObjectType dynamicItemPropertyType) |
限定符和类型 | 方法和说明 |
---|---|
static boolean |
canDeleteTreeEntryRows(kd.bos.dataentity.entity.DynamicObjectCollection entryRows,
int[] rows)
是否允许删除树形单据体的行:有子行,不允许删除
|
static int |
getEntryNextRowCount(kd.bos.dataentity.entity.DynamicObjectCollection entryRows,
int row) |
static int[] |
getEntryNextRows(kd.bos.dataentity.entity.DynamicObjectCollection entryRows,
int row,
boolean includeSelf) |
static int |
getTreeEntryInsertPosition(kd.bos.dataentity.entity.DynamicObjectCollection entryRows,
int row)
树形单据体,插入行:插入到指定行的下级,并排在子行的最后
之前是找最后一个下级,问题是如果下级还有下级呢。。
|
getCompareProp, getDefaultRows, getItem, getKeyFieldId, getValidators, getValueComparator, isDbIgnore, isEntryMustInput, setDefaultRows, setEntryMustInput, setItem, setKeyFieldId
clone, createHashCode, getDTValueFast, getDynamicCollectionItemPropertyType, getItemType, isEmpty, setItemType
findTrueProperty, getAlias, getDefaultValue, getDisplayName, getDTValue, getIsReadOnly, getName, getOrdinal, getParent, getPropertyType, getReadOnly, getValue, getValueFast, hasDefaultValue, resetDTValue, setAlias, setDefaultValue, setDisplayName, setDTValue, setDTValueFast, setName, setOrdinal, setValue, setValueFast, toString
public TreeEntryProp()
public TreeEntryProp(java.lang.String name, kd.bos.dataentity.metadata.dynamicobject.DynamicObjectType dynamicItemPropertyType)
public static int getTreeEntryInsertPosition(kd.bos.dataentity.entity.DynamicObjectCollection entryRows, int row)
entryRows
- 树形单据体行数据集合row
- 指定行位置public static int getEntryNextRowCount(kd.bos.dataentity.entity.DynamicObjectCollection entryRows, int row)
public static int[] getEntryNextRows(kd.bos.dataentity.entity.DynamicObjectCollection entryRows, int row, boolean includeSelf)
public static boolean canDeleteTreeEntryRows(kd.bos.dataentity.entity.DynamicObjectCollection entryRows, int[] rows)
entryRows
- 树形单据体行数据集合row
- 指定行位置