Class PageTemplate
- java.lang.Object
-
- com.priint.pubserver.tagging.TaggingObject
-
- com.priint.pubserver.comet.bridge.Comet3Entity
-
- com.priint.pubserver.comet3.entity.Template
-
- com.priint.pubserver.comet3.entity.PageTemplate
-
- All Implemented Interfaces:
java.io.Serializable
public class PageTemplate extends Template
Java Interface for pagetemplate complex type. For internal use only
The following schema fragments specify the expected content contained within this class.
<complexType name="bbox"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="Left" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="1"/> <element name="Top" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="1"/> <element name="Right" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="1"/> <element name="Bottom" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="1"/> </sequence> </restriction> </complexContent> </complexType> <complexType name="template"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="UID" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="1"/> * <element name="Name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="1"/> <element name="Active" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="1"/> <element name="Sequ" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="1"/> <element name="ColorIndex" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="1"/> <element name="Type" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="1"/> <element name="AutoLink" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="1"/> <element name="VerticalJust" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="1"/> <element name="MinimumVJ" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="1"/> <element name="StylesVJ" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="1"/> <element name="MinimumVJEnabled" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="1"/> <element name="StylesVJEnabled" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="1"/> <element name="HasMoreObjects" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="1"/> <element name="HasMoreFrames" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="1"/> <element name="BuildDirection" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="1"/> <element name="MinDistX" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="1"/> <element name="MinDistY" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="1"/> <element name="JustificationEnabled" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="1"/> <element name="JustificationX" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="1"/> <element name="JustificationY" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="1"/> <element name="JustificationScript" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="1"/> <element name="BBox" type="{http://comet.priint.com/configuration/entities/pagetemplate}bbox" minOccurs="1"/> </sequence> </restriction> </complexContent> </complexType> <complexType name="templates"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="template" type="{http://comet.priint.com/configuration/entities/pagetemplate}template" minOccurs="0" maxOccurs="unbounded"/> </sequence> </restriction> </complexContent> </complexType> <complexType name="pagetemplate"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="ID" type="{http://comet.priint.com/configuration/entities/pagetemplate}id" minOccurs="1"/> <element name="OwnerID" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="1"/> <element name="Active" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="1"/> <element name="Name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="1"/> <element name="DocName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="1"/> <element name="PageWidth" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="1"/> <element name="PageHeight" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="1"/> <element name="PageNum" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="1"/> <element name="MarginLeft" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="1"/> <element name="MarginTop" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="1"/> <element name="MarginRight" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="1"/> <element name="MarginBottom" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="1"/> <element name="PageType" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="1"/> <element name="Barrier" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="1"/> <element name="StringID" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="1"/> <element name="Oposite" type="{http://comet.priint.com/configuration/entities/pagetemplate}id" minOccurs="1"/> <element name="Successor" type="{http://comet.priint.com/configuration/entities/pagetemplate}id" minOccurs="1"/> <element name="Masterpages" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="1"/> <element name="AutoOposite" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="1"/> <element name="AutoSuccessor" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="1"/> <element name="templates" type="{http://comet.priint.com/configuration/entities/pagetemplate}templates" minOccurs="1"/> </sequence> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPageTemplate.BBoxThe type B box.static classPageTemplate.IdThe type Id.static classPageTemplate.TemplateThe type Template.static classPageTemplate.TemplatesThe type Templates.-
Nested classes/interfaces inherited from class com.priint.pubserver.tagging.TaggingObject
TaggingObject.LinkedSetWrapper<T>
-
-
Field Summary
-
Fields inherited from class com.priint.pubserver.comet.bridge.Comet3Entity
id, timestamp
-
Fields inherited from class com.priint.pubserver.tagging.TaggingObject
tagsSet
-
-
Constructor Summary
Constructors Constructor Description PageTemplate()Instantiates a new Page template.PageTemplate(CometPageTemplate item)Instantiates a new Page template.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapplyValuesTo(CometEntity other)Apply values to.Differencediff(CometPageTemplate template)booleanentityEquals(CometEntity other)Entity equals boolean.java.lang.IntegergetActive()Gets active.java.lang.IntegergetAutoOpposite()Gets auto opposite.java.lang.IntegergetAutoSuccessor()Gets auto successor.java.lang.IntegergetBarrier()Gets barrier.java.lang.StringgetDocName()Gets doc name.intgetId()Gets id.PageTemplate.IdgetID()Gets id.java.lang.StringgetKind()Gets kind.java.lang.DoublegetMarginBottom()Gets margin bottom.java.lang.DoublegetMarginLeft()Gets margin left.java.lang.DoublegetMarginRight()Gets margin right.java.lang.DoublegetMarginTop()Gets margin top.java.lang.StringgetMasterpages()Gets masterpages.java.lang.StringgetName()Gets name.PageTemplate.IdgetOpposite()Gets opposite.java.lang.IntegergetOwnerId()Gets owner id.java.lang.DoublegetPageHeight()Gets page height.java.lang.IntegergetPageNum()Gets page num.java.lang.IntegergetPageType()Gets page type.java.lang.DoublegetPageWidth()Gets page width.java.lang.StringgetStringId()Gets string id.PageTemplate.IdgetSuccessor()Gets successor.PageTemplate.TemplatesgetTemplates()Gets templates.voidsetActive(java.lang.Integer active)Sets active.voidsetAutoOpposite(java.lang.Integer autoOpposite)Sets auto opposite.voidsetAutoSuccessor(java.lang.Integer autoSuccessor)Sets auto successor.voidsetBarrier(java.lang.Integer barrier)Sets barrier.voidsetDocName(java.lang.String docName)Sets doc name.voidsetId(int id)Sets id.voidsetID(PageTemplate.Id iD)Sets id.voidsetMarginBottom(java.lang.Double marginBottom)Sets margin bottom.voidsetMarginLeft(java.lang.Double marginLeft)Sets margin left.voidsetMarginRight(java.lang.Double marginRight)Sets margin right.voidsetMarginTop(java.lang.Double marginTop)Sets margin top.voidsetMasterpages(java.lang.String masterpages)Sets masterpages.voidsetName(java.lang.String name)Sets name.voidsetOpposite(PageTemplate.Id opposite)Sets opposite.voidsetOwnerId(java.lang.Integer ownerId)Sets owner id.voidsetPageHeight(java.lang.Double pageHeight)Sets page height.voidsetPageNum(java.lang.Integer pageNum)Sets page num.voidsetPageType(java.lang.Integer pageType)Sets page type.voidsetPageWidth(java.lang.Double pageWidth)Sets page width.voidsetStringId(java.lang.String stringId)Sets string id.voidsetSuccessor(PageTemplate.Id successor)Sets successor.voidsetTemplates(PageTemplate.Templates templates)Sets templates.-
Methods inherited from class com.priint.pubserver.comet3.entity.Template
entityEquals
-
Methods inherited from class com.priint.pubserver.comet.bridge.Comet3Entity
entityEquals, getLastModificationTimestamp, info, postprocess, setLastModificationTimestamp
-
Methods inherited from class com.priint.pubserver.tagging.TaggingObject
addToTags, getTags, getTagValue, inTags, isA, removeFromTags, searchListByTags, setTags, setTags
-
-
-
-
Constructor Detail
-
PageTemplate
public PageTemplate()
Instantiates a new Page template.
-
PageTemplate
public PageTemplate(CometPageTemplate item)
Instantiates a new Page template.- Parameters:
item- the item
-
-
Method Detail
-
getId
public int getId()
Description copied from class:Comet3EntityGets id.- Overrides:
getIdin classComet3Entity- Returns:
- the id
-
setId
public void setId(int id)
Description copied from class:Comet3EntitySets id.- Overrides:
setIdin classComet3Entity- Parameters:
id- the id
-
getID
public PageTemplate.Id getID()
Gets id.- Returns:
- the id
-
setID
public void setID(PageTemplate.Id iD)
Sets id.- Parameters:
iD- the d
-
getOwnerId
public java.lang.Integer getOwnerId()
Gets owner id.- Returns:
- the owner id
-
setOwnerId
public void setOwnerId(java.lang.Integer ownerId)
Sets owner id.- Parameters:
ownerId- the owner id
-
getActive
public java.lang.Integer getActive()
Gets active.- Returns:
- the active
-
setActive
public void setActive(java.lang.Integer active)
Sets active.- Parameters:
active- the active
-
getDocName
public java.lang.String getDocName()
Gets doc name.- Returns:
- the doc name
-
setDocName
public void setDocName(java.lang.String docName)
Sets doc name.- Parameters:
docName- the doc name
-
getName
public java.lang.String getName()
Gets name.- Returns:
- the name
-
setName
public void setName(java.lang.String name)
Sets name.- Parameters:
name- the name
-
getPageHeight
public java.lang.Double getPageHeight()
Gets page height.- Returns:
- the page height
-
setPageHeight
public void setPageHeight(java.lang.Double pageHeight)
Sets page height.- Parameters:
pageHeight- the page height
-
getPageWidth
public java.lang.Double getPageWidth()
Gets page width.- Returns:
- the page width
-
setPageWidth
public void setPageWidth(java.lang.Double pageWidth)
Sets page width.- Parameters:
pageWidth- the page width
-
getPageNum
public java.lang.Integer getPageNum()
Gets page num.- Returns:
- the page num
-
setPageNum
public void setPageNum(java.lang.Integer pageNum)
Sets page num.- Parameters:
pageNum- the page num
-
getMarginLeft
public java.lang.Double getMarginLeft()
Gets margin left.- Returns:
- the margin left
-
setMarginLeft
public void setMarginLeft(java.lang.Double marginLeft)
Sets margin left.- Parameters:
marginLeft- the margin left
-
getMarginTop
public java.lang.Double getMarginTop()
Gets margin top.- Returns:
- the margin top
-
setMarginTop
public void setMarginTop(java.lang.Double marginTop)
Sets margin top.- Parameters:
marginTop- the margin top
-
getMarginRight
public java.lang.Double getMarginRight()
Gets margin right.- Returns:
- the margin right
-
setMarginRight
public void setMarginRight(java.lang.Double marginRight)
Sets margin right.- Parameters:
marginRight- the margin right
-
getMarginBottom
public java.lang.Double getMarginBottom()
Gets margin bottom.- Returns:
- the margin bottom
-
setMarginBottom
public void setMarginBottom(java.lang.Double marginBottom)
Sets margin bottom.- Parameters:
marginBottom- the margin bottom
-
getPageType
public java.lang.Integer getPageType()
Gets page type.- Returns:
- the page type
-
setPageType
public void setPageType(java.lang.Integer pageType)
Sets page type.- Parameters:
pageType- the page type
-
getBarrier
public java.lang.Integer getBarrier()
Gets barrier.- Returns:
- the barrier
-
setBarrier
public void setBarrier(java.lang.Integer barrier)
Sets barrier.- Parameters:
barrier- the barrier
-
getStringId
public java.lang.String getStringId()
Gets string id.- Returns:
- the string id
-
setStringId
public void setStringId(java.lang.String stringId)
Sets string id.- Parameters:
stringId- the string id
-
getOpposite
public PageTemplate.Id getOpposite()
Gets opposite.- Returns:
- the opposite
-
setOpposite
public void setOpposite(PageTemplate.Id opposite)
Sets opposite.- Parameters:
opposite- the opposite
-
getSuccessor
public PageTemplate.Id getSuccessor()
Gets successor.- Returns:
- the successor
-
setSuccessor
public void setSuccessor(PageTemplate.Id successor)
Sets successor.- Parameters:
successor- the successor
-
getMasterpages
public java.lang.String getMasterpages()
Gets masterpages.- Returns:
- the masterpages
-
setMasterpages
public void setMasterpages(java.lang.String masterpages)
Sets masterpages.- Parameters:
masterpages- the masterpages
-
getAutoOpposite
public java.lang.Integer getAutoOpposite()
Gets auto opposite.- Returns:
- the auto opposite
-
setAutoOpposite
public void setAutoOpposite(java.lang.Integer autoOpposite)
Sets auto opposite.- Parameters:
autoOpposite- the auto opposite
-
getAutoSuccessor
public java.lang.Integer getAutoSuccessor()
Gets auto successor.- Returns:
- the auto successor
-
setAutoSuccessor
public void setAutoSuccessor(java.lang.Integer autoSuccessor)
Sets auto successor.- Parameters:
autoSuccessor- the auto successor
-
getTemplates
public PageTemplate.Templates getTemplates()
Gets templates.- Returns:
- the templates
-
setTemplates
public void setTemplates(PageTemplate.Templates templates)
Sets templates.- Parameters:
templates- the templates
-
getKind
public java.lang.String getKind()
Description copied from class:TemplateGets kind.
-
applyValuesTo
public void applyValuesTo(CometEntity other)
Description copied from class:TemplateApply values to.- Overrides:
applyValuesToin classTemplate- Parameters:
other- the item
-
entityEquals
public boolean entityEquals(CometEntity other)
Description copied from class:TemplateEntity equals boolean.- Overrides:
entityEqualsin classTemplate- Parameters:
other- the other- Returns:
- the boolean
-
diff
public Difference diff(CometPageTemplate template)
-
-