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:
Serializable
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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThe type B box.static classThe type Id.static classThe type Template.static classThe 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, timestampFields inherited from class com.priint.pubserver.tagging.TaggingObject
tagsSet -
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new Page template.Instantiates a new Page template. -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyValuesTo(CometEntity other) Apply values to.diff(CometPageTemplate template) booleanentityEquals(CometEntity other) Entity equals boolean.Gets active.Gets auto opposite.Gets auto successor.Gets barrier.Gets doc name.intgetId()Gets id.getID()Gets id.getKind()Gets kind.Gets margin bottom.Gets margin left.Gets margin right.Gets margin top.Gets masterpages.getName()Gets name.Gets opposite.Gets owner id.Gets page height.Gets page num.Gets page type.Gets page width.Gets string id.Gets successor.Gets templates.voidSets active.voidsetAutoOpposite(Integer autoOpposite) Sets auto opposite.voidsetAutoSuccessor(Integer autoSuccessor) Sets auto successor.voidsetBarrier(Integer barrier) Sets barrier.voidsetDocName(String docName) Sets doc name.voidsetId(int id) Sets id.voidsetID(PageTemplate.Id iD) Sets id.voidsetMarginBottom(Double marginBottom) Sets margin bottom.voidsetMarginLeft(Double marginLeft) Sets margin left.voidsetMarginRight(Double marginRight) Sets margin right.voidsetMarginTop(Double marginTop) Sets margin top.voidsetMasterpages(String masterpages) Sets masterpages.voidSets name.voidsetOpposite(PageTemplate.Id opposite) Sets opposite.voidsetOwnerId(Integer ownerId) Sets owner id.voidsetPageHeight(Double pageHeight) Sets page height.voidsetPageNum(Integer pageNum) Sets page num.voidsetPageType(Integer pageType) Sets page type.voidsetPageWidth(Double pageWidth) Sets page width.voidsetStringId(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
entityEqualsMethods inherited from class com.priint.pubserver.comet.bridge.Comet3Entity
entityEquals, getLastModificationTimestamp, info, postprocess, setLastModificationTimestampMethods inherited from class com.priint.pubserver.tagging.TaggingObject
addToTags, getTags, getTagValue, inTags, isA, removeFromTags, searchListByTags, setTags, setTags
-
Constructor Details
-
PageTemplate
public PageTemplate()Instantiates a new Page template. -
PageTemplate
Instantiates a new Page template.- Parameters:
item- the item
-
-
Method Details
-
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
Gets id.- Returns:
- the id
-
setID
Sets id.- Parameters:
iD- the d
-
getOwnerId
Gets owner id.- Returns:
- the owner id
-
setOwnerId
Sets owner id.- Parameters:
ownerId- the owner id
-
getActive
Gets active.- Returns:
- the active
-
setActive
Sets active.- Parameters:
active- the active
-
getDocName
Gets doc name.- Returns:
- the doc name
-
setDocName
Sets doc name.- Parameters:
docName- the doc name
-
getName
Gets name.- Returns:
- the name
-
setName
Sets name.- Parameters:
name- the name
-
getPageHeight
Gets page height.- Returns:
- the page height
-
setPageHeight
Sets page height.- Parameters:
pageHeight- the page height
-
getPageWidth
Gets page width.- Returns:
- the page width
-
setPageWidth
Sets page width.- Parameters:
pageWidth- the page width
-
getPageNum
Gets page num.- Returns:
- the page num
-
setPageNum
Sets page num.- Parameters:
pageNum- the page num
-
getMarginLeft
Gets margin left.- Returns:
- the margin left
-
setMarginLeft
Sets margin left.- Parameters:
marginLeft- the margin left
-
getMarginTop
Gets margin top.- Returns:
- the margin top
-
setMarginTop
Sets margin top.- Parameters:
marginTop- the margin top
-
getMarginRight
Gets margin right.- Returns:
- the margin right
-
setMarginRight
Sets margin right.- Parameters:
marginRight- the margin right
-
getMarginBottom
Gets margin bottom.- Returns:
- the margin bottom
-
setMarginBottom
Sets margin bottom.- Parameters:
marginBottom- the margin bottom
-
getPageType
Gets page type.- Returns:
- the page type
-
setPageType
Sets page type.- Parameters:
pageType- the page type
-
getBarrier
Gets barrier.- Returns:
- the barrier
-
setBarrier
Sets barrier.- Parameters:
barrier- the barrier
-
getStringId
Gets string id.- Returns:
- the string id
-
setStringId
Sets string id.- Parameters:
stringId- the string id
-
getOpposite
Gets opposite.- Returns:
- the opposite
-
setOpposite
Sets opposite.- Parameters:
opposite- the opposite
-
getSuccessor
Gets successor.- Returns:
- the successor
-
setSuccessor
Sets successor.- Parameters:
successor- the successor
-
getMasterpages
Gets masterpages.- Returns:
- the masterpages
-
setMasterpages
Sets masterpages.- Parameters:
masterpages- the masterpages
-
getAutoOpposite
Gets auto opposite.- Returns:
- the auto opposite
-
setAutoOpposite
Sets auto opposite.- Parameters:
autoOpposite- the auto opposite
-
getAutoSuccessor
Gets auto successor.- Returns:
- the auto successor
-
setAutoSuccessor
Sets auto successor.- Parameters:
autoSuccessor- the auto successor
-
getTemplates
Gets templates.- Returns:
- the templates
-
setTemplates
Sets templates.- Parameters:
templates- the templates
-
getKind
Description copied from class:TemplateGets kind. -
applyValuesTo
Description copied from class:TemplateApply values to.- Overrides:
applyValuesToin classTemplate- Parameters:
other- the item
-
entityEquals
Description copied from class:TemplateEntity equals boolean.- Overrides:
entityEqualsin classTemplate- Parameters:
other- the other- Returns:
- the boolean
-
diff
-