Class CometPageTemplate
- java.lang.Object
-
- com.priint.pubserver.tagging.TaggingObject
-
- com.priint.pubserver.comet.entity.CometEntity
-
- com.priint.pubserver.comet.entity.pagetemplate.CometPageTemplate
-
- All Implemented Interfaces:
java.io.Serializable
@CometTypeConstraints(referenceBinding=TIGHT) public class CometPageTemplate extends CometEntity
Java class for the Page Template configuration type
.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCometPageTemplate.BBoxThe Class BBox.static classCometPageTemplate.IdThe Class Id.static classCometPageTemplate.TemplateThe Class Template.-
Nested classes/interfaces inherited from class com.priint.pubserver.comet.entity.CometEntity
CometEntity.Category
-
Nested classes/interfaces inherited from class com.priint.pubserver.tagging.TaggingObject
TaggingObject.LinkedSetWrapper<T>
-
-
Field Summary
-
Fields inherited from class com.priint.pubserver.comet.entity.CometEntity
id, TAG_DOMAIN_QUALIFIER, TAG_GROUP_QUALIFIER, TAG_TYPE_QUALIFIER
-
Fields inherited from class com.priint.pubserver.tagging.TaggingObject
tagsSet
-
-
Constructor Summary
Constructors Constructor Description CometPageTemplate()Instantiates a new comet page template.CometPageTemplate(int id)Instantiates a new comet page template.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcheckMinimalConstraints()Check minimal constraints.java.lang.BooleangetActive()Gets the active.java.lang.BooleangetAutoOpposite()Gets the auto opposite.java.lang.BooleangetAutoSuccessor()Gets the auto successor.java.lang.IntegergetBarrier()Gets the barrier.java.lang.StringgetDocumentName()Gets the document name.java.lang.IntegergetDomainId()Gets the domain id.java.lang.StringgetLabel()Gets the label.java.lang.DoublegetMarginBottom()Gets the margin bottom.java.lang.DoublegetMarginLeft()Gets the margin left.java.lang.DoublegetMarginRight()Gets the margin right.java.lang.DoublegetMarginTop()Gets the margin top.java.lang.StringgetMasterpages()Gets the masterpages.CometPageTemplategetOpposite()Gets the opposite.java.lang.IntegergetOppositeId()Gets the opposite id.java.lang.IntegergetOwnerId()Gets the owner id.java.lang.DoublegetPageHeight()Gets the page height.java.lang.IntegergetPageNum()Gets the page num.java.lang.IntegergetPageType()Gets the page type.java.lang.DoublegetPageWidth()Gets the page width.java.lang.StringgetRepositoryFilename()Gets the repository filename.java.lang.StringgetRepositoryPath()Gets the repository path.java.lang.StringgetStringId()Gets the string id.CometPageTemplategetSuccessor()Gets the successor.java.lang.IntegergetSuccessorId()Gets the successor id.java.util.List<CometPageTemplate.Template>getTemplates()Gets the templates.voidsetActive(java.lang.Boolean active)Sets the active.voidsetAutoOpposite(java.lang.Boolean autoOpposite)Sets the auto opposite.voidsetAutoSuccessor(java.lang.Boolean autoSuccessor)Sets the auto successor.voidsetBarrier(java.lang.Integer barrier)Sets the barrier.voidsetDocumentName(java.lang.String documentName)Sets the document name.voidsetDomainId(java.lang.Integer domainId)Sets the domain id.voidsetLabel(java.lang.String label)Sets the label.voidsetMarginBottom(java.lang.Double marginBottom)Sets the margin bottom.voidsetMarginLeft(java.lang.Double marginLeft)Sets the margin left.voidsetMarginRight(java.lang.Double marginRight)Sets the margin right.voidsetMarginTop(java.lang.Double marginTop)Sets the margin top.voidsetMasterpages(java.lang.String masterpages)Sets the masterpages.voidsetOpposite(CometPageTemplate opposite)Sets the opposite.voidsetOppositeId(java.lang.Integer opposite)Sets the opposite id.voidsetOwnerId(java.lang.Integer ownerId)Sets the owner id.voidsetPageHeight(java.lang.Double pageHeight)Sets the page height.voidsetPageNum(java.lang.Integer pageNum)Sets the page num.voidsetPageType(java.lang.Integer pageType)Sets the page type.voidsetPageWidth(java.lang.Double pageWidth)Sets the page width.voidsetStringId(java.lang.String stringId)Sets the string id.voidsetSuccessor(CometPageTemplate successor)Sets the successor.voidsetSuccessorId(java.lang.Integer successor)Sets the successor id.voidsetTemplates(java.util.List<CometPageTemplate.Template> templates)Sets the templates.-
Methods inherited from class com.priint.pubserver.comet.entity.CometEntity
entityEquals, equals, getEntityDescription, getEntityLabel, getId, getReferenceConstraints, hashCode, initDefaultValues, initDefaultValues, setId
-
Methods inherited from class com.priint.pubserver.tagging.TaggingObject
addToTags, getTags, getTagValue, inTags, isA, removeFromTags, searchListByTags, setTags, setTags
-
-
-
-
Method Detail
-
checkMinimalConstraints
public void checkMinimalConstraints() throws CometExceptionCheck minimal constraints.- Overrides:
checkMinimalConstraintsin classCometEntity- Throws:
CometException- the comet exception
-
getActive
public java.lang.Boolean getActive()
Gets the active.- Returns:
- the active
-
getAutoOpposite
public java.lang.Boolean getAutoOpposite()
Gets the auto opposite.- Returns:
- the auto opposite
-
getAutoSuccessor
public java.lang.Boolean getAutoSuccessor()
Gets the auto successor.- Returns:
- the auto successor
-
getBarrier
public java.lang.Integer getBarrier()
Gets the barrier.- Returns:
- the barrier
-
getDocumentName
public java.lang.String getDocumentName()
Gets the document name.- Returns:
- the document name
-
getDomainId
public java.lang.Integer getDomainId()
Gets the domain id.- Returns:
- the domain id
-
getLabel
public java.lang.String getLabel()
Gets the label.- Returns:
- the label
-
getMarginBottom
public java.lang.Double getMarginBottom()
Gets the margin bottom.- Returns:
- the margin bottom
-
getMarginLeft
public java.lang.Double getMarginLeft()
Gets the margin left.- Returns:
- the margin left
-
getMarginRight
public java.lang.Double getMarginRight()
Gets the margin right.- Returns:
- the margin right
-
getMarginTop
public java.lang.Double getMarginTop()
Gets the margin top.- Returns:
- the margin top
-
getMasterpages
public java.lang.String getMasterpages()
Gets the masterpages.- Returns:
- the masterpages
-
getOpposite
public CometPageTemplate getOpposite()
Gets the opposite.- Returns:
- the opposite
-
getOppositeId
public java.lang.Integer getOppositeId()
Gets the opposite id.- Returns:
- the opposite id
-
getOwnerId
public java.lang.Integer getOwnerId()
Gets the owner id.- Returns:
- the owner id
-
getPageHeight
public java.lang.Double getPageHeight()
Gets the page height.- Returns:
- the page height
-
getPageNum
public java.lang.Integer getPageNum()
Gets the page num.- Returns:
- the page num
-
getPageType
public java.lang.Integer getPageType()
Gets the page type.- Returns:
- the page type
-
getPageWidth
public java.lang.Double getPageWidth()
Gets the page width.- Returns:
- the page width
-
getRepositoryFilename
public java.lang.String getRepositoryFilename() throws CometExceptionGets the repository filename.- Overrides:
getRepositoryFilenamein classCometEntity- Returns:
- the repository filename
- Throws:
CometException- the comet exception
-
getRepositoryPath
public java.lang.String getRepositoryPath() throws CometExceptionGets the repository path.- Overrides:
getRepositoryPathin classCometEntity- Returns:
- the repository path
- Throws:
CometException- the comet exception
-
getStringId
public java.lang.String getStringId()
Gets the string id.- Returns:
- the string id
-
getSuccessor
public CometPageTemplate getSuccessor()
Gets the successor.- Returns:
- the successor
-
getSuccessorId
public java.lang.Integer getSuccessorId()
Gets the successor id.- Returns:
- the successor id
-
getTemplates
public java.util.List<CometPageTemplate.Template> getTemplates()
Gets the templates.- Returns:
- the templates
-
setActive
public void setActive(java.lang.Boolean active)
Sets the active.- Parameters:
active- the new active
-
setAutoOpposite
public void setAutoOpposite(java.lang.Boolean autoOpposite)
Sets the auto opposite.- Parameters:
autoOpposite- the new auto opposite
-
setAutoSuccessor
public void setAutoSuccessor(java.lang.Boolean autoSuccessor)
Sets the auto successor.- Parameters:
autoSuccessor- the new auto successor
-
setBarrier
public void setBarrier(java.lang.Integer barrier)
Sets the barrier.- Parameters:
barrier- the new barrier
-
setDocumentName
public void setDocumentName(java.lang.String documentName)
Sets the document name.- Parameters:
documentName- the new document name
-
setDomainId
public void setDomainId(java.lang.Integer domainId)
Sets the domain id.- Parameters:
domainId- the new domain id
-
setLabel
public void setLabel(java.lang.String label)
Sets the label.- Parameters:
label- the new label
-
setMarginBottom
public void setMarginBottom(java.lang.Double marginBottom)
Sets the margin bottom.- Parameters:
marginBottom- the new margin bottom
-
setMarginLeft
public void setMarginLeft(java.lang.Double marginLeft)
Sets the margin left.- Parameters:
marginLeft- the new margin left
-
setMarginRight
public void setMarginRight(java.lang.Double marginRight)
Sets the margin right.- Parameters:
marginRight- the new margin right
-
setMarginTop
public void setMarginTop(java.lang.Double marginTop)
Sets the margin top.- Parameters:
marginTop- the new margin top
-
setMasterpages
public void setMasterpages(java.lang.String masterpages)
Sets the masterpages.- Parameters:
masterpages- the new masterpages
-
setOpposite
public void setOpposite(CometPageTemplate opposite)
Sets the opposite.- Parameters:
opposite- the new opposite
-
setOppositeId
public void setOppositeId(java.lang.Integer opposite)
Sets the opposite id.- Parameters:
opposite- the new opposite id
-
setOwnerId
public void setOwnerId(java.lang.Integer ownerId)
Sets the owner id.- Parameters:
ownerId- the new owner id
-
setPageHeight
public void setPageHeight(java.lang.Double pageHeight)
Sets the page height.- Parameters:
pageHeight- the new page height
-
setPageNum
public void setPageNum(java.lang.Integer pageNum)
Sets the page num.- Parameters:
pageNum- the new page num
-
setPageType
public void setPageType(java.lang.Integer pageType)
Sets the page type.- Parameters:
pageType- the new page type
-
setPageWidth
public void setPageWidth(java.lang.Double pageWidth)
Sets the page width.- Parameters:
pageWidth- the new page width
-
setStringId
public void setStringId(java.lang.String stringId)
Sets the string id.- Parameters:
stringId- the new string id
-
setSuccessor
public void setSuccessor(CometPageTemplate successor)
Sets the successor.- Parameters:
successor- the new successor
-
setSuccessorId
public void setSuccessorId(java.lang.Integer successor)
Sets the successor id.- Parameters:
successor- the new successor id
-
setTemplates
public void setTemplates(java.util.List<CometPageTemplate.Template> templates)
Sets the templates.- Parameters:
templates- the new templates
-
-