@Beta public class Content extends Object implements Renderable
Modifier and Type | Class and Description |
---|---|
static class |
Content.Builder<BUILDER extends Content.Builder,C extends Content> |
Modifier | Constructor and Description |
---|---|
protected |
Content(Content.Builder builder) |
protected Content(Content.Builder builder)
public static Content.Builder newContent(ContentTypeName type)
public static Content.Builder newContent()
public static Content.Builder newContent(Content source)
public ContentPath getParentPath()
public ContentPath getPath()
public boolean isRoot()
public ContentTypeName getType()
public ContentName getName()
public boolean isValid()
public String getDisplayName()
public Instant getCreatedTime()
public Instant getModifiedTime()
public PrincipalKey getCreator()
public PrincipalKey getModifier()
public PrincipalKey getOwner()
public PropertyTree getData()
public Attachments getAttachments()
public boolean hasExtraData(String name)
public boolean hasExtraData(MixinName name)
public PropertyTree getExtraData(String name)
public PropertyTree getExtraData(MixinName name)
public boolean hasExtraData()
public ExtraDatas getAllExtraData()
public ContentId getId()
public boolean hasChildren()
public boolean isSite()
public boolean isPageTemplate()
public boolean hasPage()
public Page getPage()
public boolean hasThumbnail()
public Thumbnail getThumbnail()
public ChildOrder getChildOrder()
public AccessControlList getPermissions()
public boolean inheritsPermissions()
public Locale getLanguage()
public ContentState getContentState()