C
- as concrete Content implementation type.public interface Content<CA extends AbstractContentAttribute,CF extends AbstractContentFacet> extends Cloneable, Attributes<Content<CA,CF>,String>, FlowState, Identifiable<Long>, Displayable, Localizable
Modifier and Type | Method and Description |
---|---|
Content |
clone() |
Map<String,CA> |
getAttributes() |
Integer |
getBitmask() |
String |
getDisplayName()
Display Name
|
Collection<CF> |
getFacets() |
Long |
getId() |
Date |
getLaunchDate()
For Search, ordering etc.
|
String |
getMetaData()
JSON Object String, that can store many content level properties in one string.
|
String |
getName() |
String |
getPagePath()
A page path that will be applied as a Prefix.
If null then the page name itself will be the path from the root context. |
Status |
getStatus() |
Date |
getStatusDate()
The Date when the
#status was updated, or would be changed (incase of a scheduled change) |
boolean |
isBitOn(int mask)
Convenience method
|
void |
setAttributes(Map<String,CA> attributes) |
void |
setBitmask(Integer bitmask) |
void |
setCreated(Date created) |
void |
setDisplayName(String displayName)
Display Name
|
void |
setFacets(Collection<CF> facets) |
void |
setLaunchDate(Date launchDate)
For Search, ordering etc.
|
void |
setMetaData(String metaData)
JSON Object String, that can store many content level properties in one string.
|
void |
setName(String name) |
void |
setPagePath(String pagePath)
A page path that will be applied as a Prefix.
If null then the page name itself will be the path from the root context. |
void |
setStatus(Status status) |
void |
setStatusDate(Date statusDate)
The Date when the
#status was updated, or would be changed (incase of a scheduled change) |
void |
setUpdated(Date updated)
Last Date when this was updated
|
getAttributeValue, setAttribute
getCreated, getFlowStatus, getUpdated
setId
getLocale, setLocale
Long getId()
getId
in interface Identifiable<Long>
Integer getBitmask()
AbstractContent.BIT_MASKS
void setBitmask(Integer bitmask)
AbstractContent.BIT_MASKS
void setDisplayName(String displayName)
getName()
will return #name
String getDisplayName()
getDisplayName
in interface Displayable
String getName()
void setName(String name)
Collection<CF> getFacets()
void setFacets(Collection<CF> facets)
Status getStatus()
void setStatus(Status status)
Date getStatusDate()
#status
was updated, or would be changed (incase of a scheduled change)getStatusDate
in interface FlowState
void setStatusDate(Date statusDate)
#status
was updated, or would be changed (incase of a scheduled change)String getPagePath()
void setPagePath(String pagePath)
boolean isBitOn(int mask)
mask
- void setUpdated(Date updated)
void setCreated(Date created)
Date getLaunchDate()
#created
, #updated
, #statusDate
are auto controlled by the system. This allows manual control of intended date of launch.void setLaunchDate(Date launchDate)
#created
, #updated
, #statusDate
are auto controlled by the system. This allows manual control of intended date of launch.String getMetaData()
void setMetaData(String metaData)
Content clone() throws CloneNotSupportedException
CloneNotSupportedException
Copyright © 2018. All rights reserved.