public static class Content.Builder<BUILDER extends Content.Builder>
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected Attachments |
attachments |
protected ChildOrder |
childOrder |
protected ContentState |
contentState |
protected java.time.Instant |
createdTime |
protected PrincipalKey |
creator |
protected PropertyTree |
data |
protected java.lang.String |
displayName |
protected ExtraDatas |
extraDatas |
protected boolean |
hasChildren |
protected ContentId |
id |
protected boolean |
inheritPermissions |
protected java.util.Locale |
language |
protected java.time.Instant |
modifiedTime |
protected PrincipalKey |
modifier |
protected ContentName |
name |
protected PrincipalKey |
owner |
protected Page |
page |
protected ContentPath |
parentPath |
protected AccessControlList |
permissions |
protected ContentPublishInfo |
publishInfo |
protected Thumbnail |
thumbnail |
protected ContentTypeName |
type |
protected boolean |
valid |
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(Content source) |
protected ContentId id
protected PropertyTree data
protected Page page
protected boolean valid
protected ContentPath parentPath
protected ContentName name
protected ContentTypeName type
protected Attachments attachments
protected ExtraDatas extraDatas
protected java.lang.String displayName
protected PrincipalKey owner
protected java.time.Instant createdTime
protected java.time.Instant modifiedTime
protected ContentPublishInfo publishInfo
protected PrincipalKey creator
protected PrincipalKey modifier
protected Thumbnail thumbnail
protected boolean hasChildren
protected ChildOrder childOrder
protected AccessControlList permissions
protected boolean inheritPermissions
protected java.util.Locale language
protected ContentState contentState
protected Builder()
protected Builder(Content source)
public BUILDER parentPath(ContentPath path)
public BUILDER name(java.lang.String name)
public BUILDER name(ContentName name)
public BUILDER path(java.lang.String path)
public BUILDER path(ContentPath path)
public BUILDER valid(boolean valid)
public BUILDER type(ContentTypeName type)
public BUILDER data(PropertyTree data)
public BUILDER attachments(Attachments attachments)
public BUILDER extraDatas(ExtraDatas extraDatas)
public BUILDER displayName(java.lang.String displayName)
public BUILDER owner(PrincipalKey owner)
public BUILDER creator(PrincipalKey modifier)
public BUILDER modifier(PrincipalKey modifier)
public BUILDER createdTime(java.time.Instant createdTime)
public BUILDER modifiedTime(java.time.Instant modifiedTime)
public BUILDER publishInfo(ContentPublishInfo publishInfo)
public BUILDER hasChildren(boolean hasChildren)
public BUILDER childOrder(ChildOrder childOrder)
public BUILDER permissions(AccessControlList permissions)
public BUILDER inheritPermissions(boolean inheritPermissions)
public BUILDER language(java.util.Locale language)
public BUILDER contentState(ContentState contentState)
public Content build()