Package com.enonic.xp.content
Class ContentVersion
- java.lang.Object
-
- com.enonic.xp.content.ContentVersion
-
- All Implemented Interfaces:
Comparable<ContentVersion>
@PublicApi public final class ContentVersion extends Object implements Comparable<ContentVersion>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classContentVersion.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description intcompareTo(ContentVersion o)Deprecated.static ContentVersion.Buildercreate()booleanequals(Object o)ChildOrdergetChildOrder()StringgetComment()StringgetDisplayName()ContentVersionIdgetId()InstantgetModified()PrincipalKeygetModifier()ContentPathgetPath()AccessControlListgetPermissions()ContentVersionPublishInfogetPublishInfo()InstantgetTimestamp()WorkflowInfogetWorkflowInfo()inthashCode()booleanisInheritPermissions()
-
-
-
Method Detail
-
getModifier
public PrincipalKey getModifier()
-
getDisplayName
public String getDisplayName()
-
getModified
public Instant getModified()
-
getComment
public String getComment()
-
getTimestamp
public Instant getTimestamp()
-
getChildOrder
public ChildOrder getChildOrder()
-
getId
public ContentVersionId getId()
-
getPublishInfo
public ContentVersionPublishInfo getPublishInfo()
-
getWorkflowInfo
public WorkflowInfo getWorkflowInfo()
-
getPath
public ContentPath getPath()
-
getPermissions
public AccessControlList getPermissions()
-
isInheritPermissions
public boolean isInheritPermissions()
-
create
public static ContentVersion.Builder create()
-
compareTo
@Deprecated public int compareTo(ContentVersion o)
Deprecated.- Specified by:
compareToin interfaceComparable<ContentVersion>
-
-