Package org.xwiki.rest.model.jaxb
Class Page
- java.lang.Object
-
- org.xwiki.rest.model.jaxb.LinkCollection
-
- org.xwiki.rest.model.jaxb.PageSummary
-
- org.xwiki.rest.model.jaxb.Page
-
public class Page extends PageSummary
Java class for Page complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Page"> <complexContent> <extension base="{http://www.xwiki.org}PageSummary"> <sequence> <element name="language" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="majorVersion" type="{http://www.w3.org/2001/XMLSchema}int"/> <element name="minorVersion" type="{http://www.w3.org/2001/XMLSchema}int"/> <element name="hidden" type="{http://www.w3.org/2001/XMLSchema}boolean"/> <element name="created" type="{http://www.w3.org/2001/XMLSchema}dateTime"/> <element name="creator" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="creatorName" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="modified" type="{http://www.w3.org/2001/XMLSchema}dateTime"/> <element name="modifier" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="modifierName" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="originalMetadataAuthor" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="originalMetadataAuthorName" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="comment" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="content" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="class" type="{http://www.xwiki.org}Class" minOccurs="0"/> <element name="objects" type="{http://www.xwiki.org}Objects" minOccurs="0"/> <element name="attachments" type="{http://www.xwiki.org}Attachments" minOccurs="0"/> <element name="hierarchy" type="{http://www.xwiki.org}Hierarchy" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected Attachments
attachments
protected Class
clazz
protected String
comment
protected String
content
protected Calendar
created
protected String
creator
protected String
creatorName
protected boolean
hidden
protected Hierarchy
hierarchy
protected String
language
protected int
majorVersion
protected int
minorVersion
protected Calendar
modified
protected String
modifier
protected String
modifierName
protected Objects
objects
protected String
originalMetadataAuthor
protected String
originalMetadataAuthorName
-
Fields inherited from class org.xwiki.rest.model.jaxb.PageSummary
author, authorName, fullName, id, name, parent, parentId, rawTitle, space, syntax, title, translations, version, wiki, xwikiAbsoluteUrl, xwikiRelativeUrl
-
Fields inherited from class org.xwiki.rest.model.jaxb.LinkCollection
links
-
-
Constructor Summary
Constructors Constructor Description Page()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Attachments
getAttachments()
Gets the value of the attachments property.Class
getClazz()
Gets the value of the clazz property.String
getComment()
Gets the value of the comment property.String
getContent()
Gets the value of the content property.Calendar
getCreated()
Gets the value of the created property.String
getCreator()
Gets the value of the creator property.String
getCreatorName()
Gets the value of the creatorName property.Hierarchy
getHierarchy()
Gets the value of the hierarchy property.String
getLanguage()
Gets the value of the language property.int
getMajorVersion()
Gets the value of the majorVersion property.int
getMinorVersion()
Gets the value of the minorVersion property.Calendar
getModified()
Gets the value of the modified property.String
getModifier()
Gets the value of the modifier property.String
getModifierName()
Gets the value of the modifierName property.Objects
getObjects()
Gets the value of the objects property.String
getOriginalMetadataAuthor()
Gets the value of the originalMetadataAuthor property.String
getOriginalMetadataAuthorName()
Gets the value of the originalMetadataAuthorName property.boolean
isHidden()
Gets the value of the hidden property.void
setAttachments(Attachments value)
Sets the value of the attachments property.void
setClazz(Class value)
Sets the value of the clazz property.void
setComment(String value)
Sets the value of the comment property.void
setContent(String value)
Sets the value of the content property.void
setCreated(Calendar value)
Sets the value of the created property.void
setCreator(String value)
Sets the value of the creator property.void
setCreatorName(String value)
Sets the value of the creatorName property.void
setHidden(boolean value)
Sets the value of the hidden property.void
setHierarchy(Hierarchy value)
Sets the value of the hierarchy property.void
setLanguage(String value)
Sets the value of the language property.void
setMajorVersion(int value)
Sets the value of the majorVersion property.void
setMinorVersion(int value)
Sets the value of the minorVersion property.void
setModified(Calendar value)
Sets the value of the modified property.void
setModifier(String value)
Sets the value of the modifier property.void
setModifierName(String value)
Sets the value of the modifierName property.void
setObjects(Objects value)
Sets the value of the objects property.void
setOriginalMetadataAuthor(String value)
Sets the value of the originalMetadataAuthor property.void
setOriginalMetadataAuthorName(String value)
Sets the value of the originalMetadataAuthorName property.Page
withAttachments(Attachments value)
Page
withAuthor(String value)
Page
withAuthorName(String value)
Page
withClazz(Class value)
Page
withComment(String value)
Page
withContent(String value)
Page
withCreated(Calendar value)
Page
withCreator(String value)
Page
withCreatorName(String value)
Page
withFullName(String value)
Page
withHidden(boolean value)
Page
withHierarchy(Hierarchy value)
Page
withId(String value)
Page
withLanguage(String value)
Page
withLinks(Collection<Link> values)
Page
withLinks(Link... values)
Page
withMajorVersion(int value)
Page
withMinorVersion(int value)
Page
withModified(Calendar value)
Page
withModifier(String value)
Page
withModifierName(String value)
Page
withName(String value)
Page
withObjects(Objects value)
Page
withOriginalMetadataAuthor(String value)
Page
withOriginalMetadataAuthorName(String value)
Page
withParent(String value)
Page
withParentId(String value)
Page
withRawTitle(String value)
Page
withSpace(String value)
Page
withSyntax(String value)
Page
withTitle(String value)
Page
withTranslations(Translations value)
Page
withVersion(String value)
Page
withWiki(String value)
Page
withXwikiAbsoluteUrl(String value)
Page
withXwikiRelativeUrl(String value)
-
Methods inherited from class org.xwiki.rest.model.jaxb.PageSummary
getAuthor, getAuthorName, getFullName, getId, getName, getParent, getParentId, getRawTitle, getSpace, getSyntax, getTitle, getTranslations, getVersion, getWiki, getXwikiAbsoluteUrl, getXwikiRelativeUrl, setAuthor, setAuthorName, setFullName, setId, setName, setParent, setParentId, setRawTitle, setSpace, setSyntax, setTitle, setTranslations, setVersion, setWiki, setXwikiAbsoluteUrl, setXwikiRelativeUrl
-
Methods inherited from class org.xwiki.rest.model.jaxb.LinkCollection
getLinks
-
-
-
-
Field Detail
-
language
protected String language
-
majorVersion
protected int majorVersion
-
minorVersion
protected int minorVersion
-
hidden
protected boolean hidden
-
created
protected Calendar created
-
creator
protected String creator
-
creatorName
protected String creatorName
-
modified
protected Calendar modified
-
modifier
protected String modifier
-
modifierName
protected String modifierName
-
originalMetadataAuthor
protected String originalMetadataAuthor
-
originalMetadataAuthorName
protected String originalMetadataAuthorName
-
comment
protected String comment
-
content
protected String content
-
clazz
protected Class clazz
-
objects
protected Objects objects
-
attachments
protected Attachments attachments
-
hierarchy
protected Hierarchy hierarchy
-
-
Method Detail
-
getLanguage
public String getLanguage()
Gets the value of the language property.- Returns:
- possible object is
String
-
setLanguage
public void setLanguage(String value)
Sets the value of the language property.- Parameters:
value
- allowed object isString
-
getMajorVersion
public int getMajorVersion()
Gets the value of the majorVersion property.
-
setMajorVersion
public void setMajorVersion(int value)
Sets the value of the majorVersion property.
-
getMinorVersion
public int getMinorVersion()
Gets the value of the minorVersion property.
-
setMinorVersion
public void setMinorVersion(int value)
Sets the value of the minorVersion property.
-
isHidden
public boolean isHidden()
Gets the value of the hidden property.
-
setHidden
public void setHidden(boolean value)
Sets the value of the hidden property.
-
getCreated
public Calendar getCreated()
Gets the value of the created property.- Returns:
- possible object is
String
-
setCreated
public void setCreated(Calendar value)
Sets the value of the created property.- Parameters:
value
- allowed object isString
-
getCreator
public String getCreator()
Gets the value of the creator property.- Returns:
- possible object is
String
-
setCreator
public void setCreator(String value)
Sets the value of the creator property.- Parameters:
value
- allowed object isString
-
getCreatorName
public String getCreatorName()
Gets the value of the creatorName property.- Returns:
- possible object is
String
-
setCreatorName
public void setCreatorName(String value)
Sets the value of the creatorName property.- Parameters:
value
- allowed object isString
-
getModified
public Calendar getModified()
Gets the value of the modified property.- Returns:
- possible object is
String
-
setModified
public void setModified(Calendar value)
Sets the value of the modified property.- Parameters:
value
- allowed object isString
-
getModifier
public String getModifier()
Gets the value of the modifier property.- Returns:
- possible object is
String
-
setModifier
public void setModifier(String value)
Sets the value of the modifier property.- Parameters:
value
- allowed object isString
-
getModifierName
public String getModifierName()
Gets the value of the modifierName property.- Returns:
- possible object is
String
-
setModifierName
public void setModifierName(String value)
Sets the value of the modifierName property.- Parameters:
value
- allowed object isString
-
getOriginalMetadataAuthor
public String getOriginalMetadataAuthor()
Gets the value of the originalMetadataAuthor property.- Returns:
- possible object is
String
-
setOriginalMetadataAuthor
public void setOriginalMetadataAuthor(String value)
Sets the value of the originalMetadataAuthor property.- Parameters:
value
- allowed object isString
-
getOriginalMetadataAuthorName
public String getOriginalMetadataAuthorName()
Gets the value of the originalMetadataAuthorName property.- Returns:
- possible object is
String
-
setOriginalMetadataAuthorName
public void setOriginalMetadataAuthorName(String value)
Sets the value of the originalMetadataAuthorName property.- Parameters:
value
- allowed object isString
-
getComment
public String getComment()
Gets the value of the comment property.- Returns:
- possible object is
String
-
setComment
public void setComment(String value)
Sets the value of the comment property.- Parameters:
value
- allowed object isString
-
getContent
public String getContent()
Gets the value of the content property.- Returns:
- possible object is
String
-
setContent
public void setContent(String value)
Sets the value of the content property.- Parameters:
value
- allowed object isString
-
getClazz
public Class getClazz()
Gets the value of the clazz property.- Returns:
- possible object is
Class
-
setClazz
public void setClazz(Class value)
Sets the value of the clazz property.- Parameters:
value
- allowed object isClass
-
getObjects
public Objects getObjects()
Gets the value of the objects property.- Returns:
- possible object is
Objects
-
setObjects
public void setObjects(Objects value)
Sets the value of the objects property.- Parameters:
value
- allowed object isObjects
-
getAttachments
public Attachments getAttachments()
Gets the value of the attachments property.- Returns:
- possible object is
Attachments
-
setAttachments
public void setAttachments(Attachments value)
Sets the value of the attachments property.- Parameters:
value
- allowed object isAttachments
-
getHierarchy
public Hierarchy getHierarchy()
Gets the value of the hierarchy property.- Returns:
- possible object is
Hierarchy
-
setHierarchy
public void setHierarchy(Hierarchy value)
Sets the value of the hierarchy property.- Parameters:
value
- allowed object isHierarchy
-
withMajorVersion
public Page withMajorVersion(int value)
-
withMinorVersion
public Page withMinorVersion(int value)
-
withHidden
public Page withHidden(boolean value)
-
withAttachments
public Page withAttachments(Attachments value)
-
withId
public Page withId(String value)
- Overrides:
withId
in classPageSummary
-
withFullName
public Page withFullName(String value)
- Overrides:
withFullName
in classPageSummary
-
withWiki
public Page withWiki(String value)
- Overrides:
withWiki
in classPageSummary
-
withSpace
public Page withSpace(String value)
- Overrides:
withSpace
in classPageSummary
-
withName
public Page withName(String value)
- Overrides:
withName
in classPageSummary
-
withTitle
public Page withTitle(String value)
- Overrides:
withTitle
in classPageSummary
-
withRawTitle
public Page withRawTitle(String value)
- Overrides:
withRawTitle
in classPageSummary
-
withParent
public Page withParent(String value)
- Overrides:
withParent
in classPageSummary
-
withParentId
public Page withParentId(String value)
- Overrides:
withParentId
in classPageSummary
-
withVersion
public Page withVersion(String value)
- Overrides:
withVersion
in classPageSummary
-
withAuthor
public Page withAuthor(String value)
- Overrides:
withAuthor
in classPageSummary
-
withAuthorName
public Page withAuthorName(String value)
- Overrides:
withAuthorName
in classPageSummary
-
withXwikiRelativeUrl
public Page withXwikiRelativeUrl(String value)
- Overrides:
withXwikiRelativeUrl
in classPageSummary
-
withXwikiAbsoluteUrl
public Page withXwikiAbsoluteUrl(String value)
- Overrides:
withXwikiAbsoluteUrl
in classPageSummary
-
withTranslations
public Page withTranslations(Translations value)
- Overrides:
withTranslations
in classPageSummary
-
withSyntax
public Page withSyntax(String value)
- Overrides:
withSyntax
in classPageSummary
-
withLinks
public Page withLinks(Link... values)
- Overrides:
withLinks
in classPageSummary
-
withLinks
public Page withLinks(Collection<Link> values)
- Overrides:
withLinks
in classPageSummary
-
-