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 Attachmentsattachmentsprotected Classclazzprotected Stringcommentprotected Stringcontentprotected Calendarcreatedprotected Stringcreatorprotected StringcreatorNameprotected booleanhiddenprotected Hierarchyhierarchyprotected Stringlanguageprotected intmajorVersionprotected intminorVersionprotected Calendarmodifiedprotected Stringmodifierprotected StringmodifierNameprotected Objectsobjectsprotected StringoriginalMetadataAuthorprotected StringoriginalMetadataAuthorName-
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 AttachmentsgetAttachments()Gets the value of the attachments property.ClassgetClazz()Gets the value of the clazz property.StringgetComment()Gets the value of the comment property.StringgetContent()Gets the value of the content property.CalendargetCreated()Gets the value of the created property.StringgetCreator()Gets the value of the creator property.StringgetCreatorName()Gets the value of the creatorName property.HierarchygetHierarchy()Gets the value of the hierarchy property.StringgetLanguage()Gets the value of the language property.intgetMajorVersion()Gets the value of the majorVersion property.intgetMinorVersion()Gets the value of the minorVersion property.CalendargetModified()Gets the value of the modified property.StringgetModifier()Gets the value of the modifier property.StringgetModifierName()Gets the value of the modifierName property.ObjectsgetObjects()Gets the value of the objects property.StringgetOriginalMetadataAuthor()Gets the value of the originalMetadataAuthor property.StringgetOriginalMetadataAuthorName()Gets the value of the originalMetadataAuthorName property.booleanisHidden()Gets the value of the hidden property.voidsetAttachments(Attachments value)Sets the value of the attachments property.voidsetClazz(Class value)Sets the value of the clazz property.voidsetComment(String value)Sets the value of the comment property.voidsetContent(String value)Sets the value of the content property.voidsetCreated(Calendar value)Sets the value of the created property.voidsetCreator(String value)Sets the value of the creator property.voidsetCreatorName(String value)Sets the value of the creatorName property.voidsetHidden(boolean value)Sets the value of the hidden property.voidsetHierarchy(Hierarchy value)Sets the value of the hierarchy property.voidsetLanguage(String value)Sets the value of the language property.voidsetMajorVersion(int value)Sets the value of the majorVersion property.voidsetMinorVersion(int value)Sets the value of the minorVersion property.voidsetModified(Calendar value)Sets the value of the modified property.voidsetModifier(String value)Sets the value of the modifier property.voidsetModifierName(String value)Sets the value of the modifierName property.voidsetObjects(Objects value)Sets the value of the objects property.voidsetOriginalMetadataAuthor(String value)Sets the value of the originalMetadataAuthor property.voidsetOriginalMetadataAuthorName(String value)Sets the value of the originalMetadataAuthorName property.PagewithAttachments(Attachments value)PagewithAuthor(String value)PagewithAuthorName(String value)PagewithClazz(Class value)PagewithComment(String value)PagewithContent(String value)PagewithCreated(Calendar value)PagewithCreator(String value)PagewithCreatorName(String value)PagewithFullName(String value)PagewithHidden(boolean value)PagewithHierarchy(Hierarchy value)PagewithId(String value)PagewithLanguage(String value)PagewithLinks(Collection<Link> values)PagewithLinks(Link... values)PagewithMajorVersion(int value)PagewithMinorVersion(int value)PagewithModified(Calendar value)PagewithModifier(String value)PagewithModifierName(String value)PagewithName(String value)PagewithObjects(Objects value)PagewithOriginalMetadataAuthor(String value)PagewithOriginalMetadataAuthorName(String value)PagewithParent(String value)PagewithParentId(String value)PagewithRawTitle(String value)PagewithSpace(String value)PagewithSyntax(String value)PagewithTitle(String value)PagewithTranslations(Translations value)PagewithVersion(String value)PagewithWiki(String value)PagewithXwikiAbsoluteUrl(String value)PagewithXwikiRelativeUrl(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:
withIdin classPageSummary
-
withFullName
public Page withFullName(String value)
- Overrides:
withFullNamein classPageSummary
-
withWiki
public Page withWiki(String value)
- Overrides:
withWikiin classPageSummary
-
withSpace
public Page withSpace(String value)
- Overrides:
withSpacein classPageSummary
-
withName
public Page withName(String value)
- Overrides:
withNamein classPageSummary
-
withTitle
public Page withTitle(String value)
- Overrides:
withTitlein classPageSummary
-
withRawTitle
public Page withRawTitle(String value)
- Overrides:
withRawTitlein classPageSummary
-
withParent
public Page withParent(String value)
- Overrides:
withParentin classPageSummary
-
withParentId
public Page withParentId(String value)
- Overrides:
withParentIdin classPageSummary
-
withVersion
public Page withVersion(String value)
- Overrides:
withVersionin classPageSummary
-
withAuthor
public Page withAuthor(String value)
- Overrides:
withAuthorin classPageSummary
-
withAuthorName
public Page withAuthorName(String value)
- Overrides:
withAuthorNamein classPageSummary
-
withXwikiRelativeUrl
public Page withXwikiRelativeUrl(String value)
- Overrides:
withXwikiRelativeUrlin classPageSummary
-
withXwikiAbsoluteUrl
public Page withXwikiAbsoluteUrl(String value)
- Overrides:
withXwikiAbsoluteUrlin classPageSummary
-
withTranslations
public Page withTranslations(Translations value)
- Overrides:
withTranslationsin classPageSummary
-
withSyntax
public Page withSyntax(String value)
- Overrides:
withSyntaxin classPageSummary
-
withLinks
public Page withLinks(Link... values)
- Overrides:
withLinksin classPageSummary
-
withLinks
public Page withLinks(Collection<Link> values)
- Overrides:
withLinksin classPageSummary
-
-