|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface VersionnedContent
CMS Content interface. Ancestor class for all kind of content (document/binary, articles, news, ...)
Field Summary |
---|
Fields inherited from interface org.apache.portals.graffito.model.core.CmsObject |
---|
URI_SEPARATOR |
Method Summary | |
---|---|
java.lang.Object |
clone()
|
java.lang.String |
getVersionNumber()
Gets the version number |
boolean |
isLastVersion()
Check if the current document is the last version |
void |
setLastVersion(boolean isLastVersion)
Makes the current document the last version for the associated uri |
void |
setVersionNumber(java.lang.String versionNumber)
Sets the version number |
Methods inherited from interface org.apache.portals.graffito.model.core.CmsObject |
---|
getCreationDate, getLastModified, getName, getParentFolder, getPath, getProperties, getProperty, getUri, setCreationDate, setLastModified, setName, setParentFolder, setProperties, setProperty, setUri |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Method Detail |
---|
java.lang.String getVersionNumber()
boolean isLastVersion()
void setLastVersion(boolean isLastVersion)
isLastVersion
- void setVersionNumber(java.lang.String versionNumber)
versionNumber
- version number is a string composed of point separated digitjava.lang.Object clone() throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedException
- when it is not possible to clone the object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |