自定义文件夹
| Type | Name and description |
|---|---|
static Object |
belongsTo |
Set<Folder> |
children子文件夹 |
static Object |
constraints |
Date |
dateCreated时间戳 |
String |
fullName全名 |
String |
fullSequence全序号 |
static Object |
hasMany |
Date |
lastUpdated |
static Object |
mapping |
String |
name名称 |
String |
ownerUser所属用户登录信息:如用户名、工号等唯一标识 |
Folder |
parent上级文件夹 |
Integer |
sequence序号 |
TaskType |
taskType任务类型 |
Set<FolderTask> |
tasks关联任务 |
| Type | Name and description |
|---|---|
Object |
beforeInsert() |
Object |
beforeUpdate() |
Object |
beforeValidate() |
static List<Folder> |
listParents(String username, TaskType taskType, Folder folder)列出所有可选择的上级文件夹 |
String |
toString() |
void |
updateFullProperties()更新 fullName、fullSequence 等属性 |
| Methods inherited from class | Name |
|---|---|
class Object |
Object#wait(long, int), Object#wait(long), Object#wait(), Object#equals(Object), Object#toString(), Object#hashCode(), Object#getClass(), Object#notify(), Object#notifyAll() |
子文件夹
时间戳
全名
全序号
名称
所属用户登录信息:如用户名、工号等唯一标识
上级文件夹
序号
任务类型
关联任务
列出所有可选择的上级文件夹
username - 用户名folder - 文件夹(不包含该文件夹及其下级)更新 fullName、fullSequence 等属性