Class CometPageTemplate

All Implemented Interfaces:
Serializable

@CometTypeConstraints(referenceBinding=TIGHT) public class CometPageTemplate extends CometEntity

Java class for the Page Template configuration type

.
See Also:
  • Constructor Details

    • CometPageTemplate

      public CometPageTemplate()
      Instantiates a new comet page template.
    • CometPageTemplate

      public CometPageTemplate(int id)
      Instantiates a new comet page template.
      Parameters:
      id - the id
  • Method Details

    • checkMinimalConstraints

      public void checkMinimalConstraints() throws CometException
      Check minimal constraints.
      Overrides:
      checkMinimalConstraints in class CometEntity
      Throws:
      CometException - the comet exception
    • getActive

      public Boolean getActive()
      Gets the active.
      Returns:
      the active
    • getAutoOpposite

      public Boolean getAutoOpposite()
      Gets the auto opposite.
      Returns:
      the auto opposite
    • getAutoSuccessor

      public Boolean getAutoSuccessor()
      Gets the auto successor.
      Returns:
      the auto successor
    • getBarrier

      public Integer getBarrier()
      Gets the barrier.
      Returns:
      the barrier
    • getDocumentName

      public String getDocumentName()
      Gets the document name.
      Returns:
      the document name
    • getDomainId

      public Integer getDomainId()
      Gets the domain id.
      Returns:
      the domain id
    • getLabel

      public String getLabel()
      Gets the label.
      Returns:
      the label
    • getMarginBottom

      public Double getMarginBottom()
      Gets the margin bottom.
      Returns:
      the margin bottom
    • getMarginLeft

      public Double getMarginLeft()
      Gets the margin left.
      Returns:
      the margin left
    • getMarginRight

      public Double getMarginRight()
      Gets the margin right.
      Returns:
      the margin right
    • getMarginTop

      public Double getMarginTop()
      Gets the margin top.
      Returns:
      the margin top
    • getMasterpages

      public String getMasterpages()
      Gets the masterpages.
      Returns:
      the masterpages
    • getOpposite

      public CometPageTemplate getOpposite()
      Gets the opposite.
      Returns:
      the opposite
    • getOppositeId

      public Integer getOppositeId()
      Gets the opposite id.
      Returns:
      the opposite id
    • getOwnerId

      public Integer getOwnerId()
      Gets the owner id.
      Returns:
      the owner id
    • getPageHeight

      public Double getPageHeight()
      Gets the page height.
      Returns:
      the page height
    • getPageNum

      public Integer getPageNum()
      Gets the page num.
      Returns:
      the page num
    • getPageType

      public Integer getPageType()
      Gets the page type.
      Returns:
      the page type
    • getPageWidth

      public Double getPageWidth()
      Gets the page width.
      Returns:
      the page width
    • getRepositoryFilename

      public String getRepositoryFilename() throws CometException
      Gets the repository filename.
      Overrides:
      getRepositoryFilename in class CometEntity
      Returns:
      the repository filename
      Throws:
      CometException - the comet exception
    • getRepositoryPath

      public String getRepositoryPath() throws CometException
      Gets the repository path.
      Overrides:
      getRepositoryPath in class CometEntity
      Returns:
      the repository path
      Throws:
      CometException - the comet exception
    • getStringId

      public String getStringId()
      Gets the string id.
      Returns:
      the string id
    • getSuccessor

      public CometPageTemplate getSuccessor()
      Gets the successor.
      Returns:
      the successor
    • getSuccessorId

      public Integer getSuccessorId()
      Gets the successor id.
      Returns:
      the successor id
    • getTemplates

      public List<CometPageTemplate.Template> getTemplates()
      Gets the templates.
      Returns:
      the templates
    • setActive

      public void setActive(Boolean active)
      Sets the active.
      Parameters:
      active - the new active
    • setAutoOpposite

      public void setAutoOpposite(Boolean autoOpposite)
      Sets the auto opposite.
      Parameters:
      autoOpposite - the new auto opposite
    • setAutoSuccessor

      public void setAutoSuccessor(Boolean autoSuccessor)
      Sets the auto successor.
      Parameters:
      autoSuccessor - the new auto successor
    • setBarrier

      public void setBarrier(Integer barrier)
      Sets the barrier.
      Parameters:
      barrier - the new barrier
    • setDocumentName

      public void setDocumentName(String documentName)
      Sets the document name.
      Parameters:
      documentName - the new document name
    • setDomainId

      public void setDomainId(Integer domainId)
      Sets the domain id.
      Parameters:
      domainId - the new domain id
    • setLabel

      public void setLabel(String label)
      Sets the label.
      Parameters:
      label - the new label
    • setMarginBottom

      public void setMarginBottom(Double marginBottom)
      Sets the margin bottom.
      Parameters:
      marginBottom - the new margin bottom
    • setMarginLeft

      public void setMarginLeft(Double marginLeft)
      Sets the margin left.
      Parameters:
      marginLeft - the new margin left
    • setMarginRight

      public void setMarginRight(Double marginRight)
      Sets the margin right.
      Parameters:
      marginRight - the new margin right
    • setMarginTop

      public void setMarginTop(Double marginTop)
      Sets the margin top.
      Parameters:
      marginTop - the new margin top
    • setMasterpages

      public void setMasterpages(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(Integer opposite)
      Sets the opposite id.
      Parameters:
      opposite - the new opposite id
    • setOwnerId

      public void setOwnerId(Integer ownerId)
      Sets the owner id.
      Parameters:
      ownerId - the new owner id
    • setPageHeight

      public void setPageHeight(Double pageHeight)
      Sets the page height.
      Parameters:
      pageHeight - the new page height
    • setPageNum

      public void setPageNum(Integer pageNum)
      Sets the page num.
      Parameters:
      pageNum - the new page num
    • setPageType

      public void setPageType(Integer pageType)
      Sets the page type.
      Parameters:
      pageType - the new page type
    • setPageWidth

      public void setPageWidth(Double pageWidth)
      Sets the page width.
      Parameters:
      pageWidth - the new page width
    • setStringId

      public void setStringId(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(Integer successor)
      Sets the successor id.
      Parameters:
      successor - the new successor id
    • setTemplates

      public void setTemplates(List<CometPageTemplate.Template> templates)
      Sets the templates.
      Parameters:
      templates - the new templates