给 Domain 注入附件相关的属性和方法
| Modifiers | Name | Description |
|---|---|---|
Map<String, List<Attachment>> |
attachmentCache |
|
List<String> |
loadedCollections |
|
Map<String, Object> |
oldValues |
| Type | Name and description |
|---|---|
List<Attachment> |
attachments(Object tags = null)获取附件列表 |
void |
beforeDeleteForAttachment()删除 bean 前,自动删除相关附件 |
static List<Map> |
getListMapping(String namespace = null)获得列表字段映射 |
static Boolean |
hasListMapping(String namespace = null)是否定义了列表字段映射 |
Boolean |
isCollectionLoaded(String propertyName)判断集合类型的属性是否已加载 |
List<Attachment> |
officebodies(Object tags = null)获取正文列表 |
获取附件列表
删除 bean 前,自动删除相关附件
获得列表字段映射
是否定义了列表字段映射
判断集合类型的属性是否已加载
propertyName - 属性名称获取正文列表