Class PageItem
- 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.PageItem
-
- All Implemented Interfaces:
java.io.Serializable
public class PageItem extends Template
Java class for pageitem complex type. For internal use only
The following schema fragment specifies the expected content contained within this class.
<complexType name="pageitem"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="id" 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="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="1"/> <element name="direction" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="1"/> <element name="magnets" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="1"/> <element name="mirrored" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="1"/> <element name="data" type="{http://comet.priint.com/configuration/entities/common}data" minOccurs="1"/> <element name="preview" type="{http://comet.priint.com/configuration/entities/common}preview" minOccurs="1"/> <element name="type" type="{http://comet.priint.com/configuration/entities/common}type" minOccurs="1"/> <element name="state" type="{http://comet.priint.com/configuration/entities/common}state" minOccurs="1"/> <element name="domain" type="{http://comet.priint.com/configuration/entities/common}domain" minOccurs="1"/> <element name="placeholder" type="{http://comet.priint.com/configuration/entities/common}placeholder" minOccurs="1"/> <element name="leftpos" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="1"/> <element name="toppos" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="1"/> <element name="rightpos" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="1"/> <element name="bottompos" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="1"/> <element name="spread" type="{http://comet.priint.com/configuration/entities/common}spread" minOccurs="1"/> <element name="kind" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="1"/> <element name="format" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="1"/> <element name="record" type="{http://comet.priint.com/configuration/entities/common}record" minOccurs="1"/> <element name="color" type="{http://comet.priint.com/configuration/entities/common}color" minOccurs="1"/> <element name="textflowPrefix1Script" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="1"/> <element name="textflowPrefix1" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="1"/> <element name="textflowPrefixNScript" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="1"/> <element name="textflowPrefixN" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="1"/> <element name="memberships" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="1"/> <element name="buildSupportScript" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="1"/> <element name="hasShapes" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="1"/> <element name="active" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="1"/> </sequence> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPageItem.SpreadThe type Spread.-
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 PageItem()Instantiates a new Page item.PageItem(int id)Instantiates a new Page item.PageItem(CometTemplate template)Instantiates a new Page item.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapplyValuesTo(CometEntity item)Apply values to.Differencediff(CometTemplate template)Diff difference.booleandiscards(PageItem other)Discards boolean.booleanentityEquals(CometEntity item)Entity equals boolean.booleanentityEquals(CometTemplate template)Entity equals boolean.booleanentityEquals(java.lang.Object other)Entity equals boolean.static java.lang.StringescapeQuotes(java.lang.String in)Escape quotes string.java.lang.IntegergetActive()Gets active.java.lang.DoublegetBottompos()Gets bottompos.java.lang.IntegergetBuildSupportScript()Gets build support script.java.lang.IntegergetColor()Gets color.Common.DatagetData()Gets data.java.lang.StringgetDescription()Gets description.Common.DomaingetDomain()Gets domain.java.lang.IntegergetFormat()Gets format.java.lang.IntegergetHasMinSize()Gets has min size.java.lang.IntegergetHasShapes()Gets has shapes.intgetId()Gets id.java.lang.StringgetKind()Gets kind.java.lang.DoublegetLeftpos()Gets leftpos.java.lang.IntegergetMagnets()Gets magnets.java.lang.StringgetMemberships()Gets memberships.java.lang.IntegergetMirrored()Gets mirrored.java.lang.StringgetName()Gets name.Common.PlaceholdergetPlaceholder()Gets placeholder.Common.PreviewgetPreview()Gets preview.java.lang.DoublegetRealHeight()Gets real height.java.lang.DoublegetRealWidth()Gets real width.Common.RecordgetRecord()Gets record.java.lang.DoublegetRightpos()Gets rightpos.PageItem.SpreadgetSpread()Gets spread.Common.StategetState()Gets state.java.lang.StringgetTextflowPrefix1()Gets textflow prefix 1.java.lang.IntegergetTextflowPrefix1Action()Gets textflow prefix 1 action.java.lang.StringgetTextflowPrefixN()Gets textflow prefix n.java.lang.IntegergetTextflowPrefixNAction()Gets textflow prefix n action.java.lang.DoublegetToppos()Gets toppos.Common.TypegetType()Gets type.static java.util.Set<java.lang.String>membershipsToTags(java.lang.String memberships)Memberships to tags set.static java.util.Set<java.lang.String>mergeMemberships(java.util.Set<java.lang.String> fromTags, java.lang.String fromProperty)Merge memberships set.static java.util.List<java.lang.String>readQuoted(java.lang.String in)Read quoted list.booleanreferences(PageItem other)References boolean.static java.util.Set<java.lang.String>removeDomain(java.util.Set<java.lang.String> tags)Remove domain set.static java.util.Set<java.lang.String>removeMemberships(java.util.Set<java.lang.String> tags)Remove memberships set.static java.util.Set<java.lang.String>removeTypes(java.util.Set<java.lang.String> tags)Remove types set.voidsetActive(java.lang.Integer active)Sets active.voidsetBottompos(java.lang.Double bottompos)Sets bottompos.voidsetBuildSupportScript(java.lang.Integer buildSupportScript)Sets build support script.voidsetColor(java.lang.Integer color)Sets color.voidsetData(Common.Data data)Sets data.voidsetDescription(java.lang.String description)Sets description.voidsetDomain(Common.Domain domain)Sets domain.voidsetFormat(java.lang.Integer format)Sets format.voidsetHasMinSize(java.lang.Integer hasMinSize)Sets has min size.voidsetHasShapes(java.lang.Integer hasShapes)Sets has shapes.voidsetId(int id)Sets id.voidsetKind(java.lang.String kind)Sets kind.voidsetLeftpos(java.lang.Double leftpos)Sets leftpos.voidsetMagnets(java.lang.Integer magnets)Sets magnets.voidsetMemberships(java.lang.String memberships)Sets memberships.voidsetMirrored(java.lang.Integer mirrored)Sets mirrored.voidsetName(java.lang.String name)Sets name.voidsetPlaceholder(Common.Placeholder placeholder)Sets placeholder.voidsetPreview(Common.Preview preview)Sets preview.voidsetRealHeight(java.lang.Double realHeight)Sets real height.voidsetRealWidth(java.lang.Double realWidth)Sets real width.voidsetRecord(Common.Record record)Sets record.voidsetRightpos(java.lang.Double rightpos)Sets rightpos.voidsetSpread(PageItem.Spread spread)Sets spread.voidsetState(Common.State state)Sets state.voidsetTextflowPrefix1(java.lang.String textflowPrefix1)Sets textflow prefix 1.voidsetTextflowPrefix1Action(java.lang.Integer textflowPrefix1Action)Sets textflow prefix 1 action.voidsetTextflowPrefixN(java.lang.String textflowPrefixN)Sets textflow prefix n.voidsetTextflowPrefixNAction(java.lang.Integer textflowPrefixNAction)Sets textflow prefix n action.voidsetToppos(java.lang.Double toppos)Sets toppos.voidsetType(Common.Type type)Sets type.static java.lang.StringtagsToDomainName(java.util.Set<java.lang.String> tags)Tags to domain name string.static java.lang.StringtagsToMemberships(CometEntity template)Tags to memberships string.static java.lang.StringtagsToMemberships(java.util.Set<java.lang.String> tags)Tags to memberships string.static java.lang.StringtagsToTypeName(java.util.Set<java.lang.String> tags)-
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
-
PageItem
public PageItem()
Instantiates a new Page item.
-
PageItem
public PageItem(int id)
Instantiates a new Page item.- Parameters:
id- the id
-
PageItem
public PageItem(CometTemplate template)
Instantiates a new Page item.- Parameters:
template- the template
-
-
Method Detail
-
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
-
getDescription
public java.lang.String getDescription()
Gets description.- Returns:
- the description
-
setDescription
public void setDescription(java.lang.String description)
Sets description.- Parameters:
description- the description
-
getMagnets
public java.lang.Integer getMagnets()
Gets magnets.- Returns:
- the magnets
-
setMagnets
public void setMagnets(java.lang.Integer magnets)
Sets magnets.- Parameters:
magnets- the magnets
-
getMirrored
public java.lang.Integer getMirrored()
Gets mirrored.- Returns:
- the mirrored
-
setMirrored
public void setMirrored(java.lang.Integer mirrored)
Sets mirrored.- Parameters:
mirrored- the mirrored
-
getData
public Common.Data getData()
Gets data.- Returns:
- the data
-
setData
public void setData(Common.Data data)
Sets data.- Parameters:
data- the data
-
getPreview
public Common.Preview getPreview()
Gets preview.- Returns:
- the preview
-
setPreview
public void setPreview(Common.Preview preview)
Sets preview.- Parameters:
preview- the preview
-
getType
public Common.Type getType()
Gets type.- Returns:
- the type
-
setType
public void setType(Common.Type type)
Sets type.- Parameters:
type- the type
-
getState
public Common.State getState()
Gets state.- Returns:
- the state
-
setState
public void setState(Common.State state)
Sets state.- Parameters:
state- the state
-
getDomain
public Common.Domain getDomain()
Gets domain.- Returns:
- the domain
-
setDomain
public void setDomain(Common.Domain domain)
Sets domain.- Parameters:
domain- the domain
-
getPlaceholder
public Common.Placeholder getPlaceholder()
Gets placeholder.- Returns:
- the placeholder
-
setPlaceholder
public void setPlaceholder(Common.Placeholder placeholder)
Sets placeholder.- Parameters:
placeholder- the placeholder
-
getLeftpos
public java.lang.Double getLeftpos()
Gets leftpos.- Returns:
- the leftpos
-
setLeftpos
public void setLeftpos(java.lang.Double leftpos)
Sets leftpos.- Parameters:
leftpos- the leftpos
-
getToppos
public java.lang.Double getToppos()
Gets toppos.- Returns:
- the toppos
-
setToppos
public void setToppos(java.lang.Double toppos)
Sets toppos.- Parameters:
toppos- the toppos
-
getRightpos
public java.lang.Double getRightpos()
Gets rightpos.- Returns:
- the rightpos
-
setRightpos
public void setRightpos(java.lang.Double rightpos)
Sets rightpos.- Parameters:
rightpos- the rightpos
-
getBottompos
public java.lang.Double getBottompos()
Gets bottompos.- Returns:
- the bottompos
-
setBottompos
public void setBottompos(java.lang.Double bottompos)
Sets bottompos.- Parameters:
bottompos- the bottompos
-
getSpread
public PageItem.Spread getSpread()
Gets spread.- Returns:
- the spread
-
setSpread
public void setSpread(PageItem.Spread spread)
Sets spread.- Parameters:
spread- the spread
-
getKind
public java.lang.String getKind()
Description copied from class:TemplateGets kind.
-
setKind
public void setKind(java.lang.String kind)
Sets kind.- Parameters:
kind- the kind
-
getFormat
public java.lang.Integer getFormat()
Gets format.- Returns:
- the format
-
setFormat
public void setFormat(java.lang.Integer format)
Sets format.- Parameters:
format- the format
-
getRecord
public Common.Record getRecord()
Gets record.- Returns:
- the record
-
setRecord
public void setRecord(Common.Record record)
Sets record.- Parameters:
record- the record
-
getColor
public java.lang.Integer getColor()
Gets color.- Returns:
- the color
-
setColor
public void setColor(java.lang.Integer color)
Sets color.- Parameters:
color- the color
-
getMemberships
public java.lang.String getMemberships()
Gets memberships.- Returns:
- the memberships
-
setMemberships
public void setMemberships(java.lang.String memberships)
Sets memberships.- Parameters:
memberships- the memberships
-
getBuildSupportScript
public java.lang.Integer getBuildSupportScript()
Gets build support script.- Returns:
- the build support script
-
setBuildSupportScript
public void setBuildSupportScript(java.lang.Integer buildSupportScript)
Sets build support script.- Parameters:
buildSupportScript- the build support script
-
getHasShapes
public java.lang.Integer getHasShapes()
Gets has shapes.- Returns:
- the has shapes
-
setHasShapes
public void setHasShapes(java.lang.Integer hasShapes)
Sets has shapes.- Parameters:
hasShapes- the has shapes
-
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
-
getTextflowPrefix1Action
public java.lang.Integer getTextflowPrefix1Action()
Gets textflow prefix 1 action.- Returns:
- the textflow prefix 1 action
-
setTextflowPrefix1Action
public void setTextflowPrefix1Action(java.lang.Integer textflowPrefix1Action)
Sets textflow prefix 1 action.- Parameters:
textflowPrefix1Action- the textflow prefix 1 action
-
getTextflowPrefix1
public java.lang.String getTextflowPrefix1()
Gets textflow prefix 1.- Returns:
- the textflow prefix 1
-
setTextflowPrefix1
public void setTextflowPrefix1(java.lang.String textflowPrefix1)
Sets textflow prefix 1.- Parameters:
textflowPrefix1- the textflow prefix 1
-
getTextflowPrefixNAction
public java.lang.Integer getTextflowPrefixNAction()
Gets textflow prefix n action.- Returns:
- the textflow prefix n action
-
setTextflowPrefixNAction
public void setTextflowPrefixNAction(java.lang.Integer textflowPrefixNAction)
Sets textflow prefix n action.- Parameters:
textflowPrefixNAction- the textflow prefix n action
-
getTextflowPrefixN
public java.lang.String getTextflowPrefixN()
Gets textflow prefix n.- Returns:
- the textflow prefix n
-
setTextflowPrefixN
public void setTextflowPrefixN(java.lang.String textflowPrefixN)
Sets textflow prefix n.- Parameters:
textflowPrefixN- the textflow prefix n
-
getHasMinSize
public java.lang.Integer getHasMinSize()
Gets has min size.- Returns:
- the has min size
-
setHasMinSize
public void setHasMinSize(java.lang.Integer hasMinSize)
Sets has min size.- Parameters:
hasMinSize- the has min size
-
getRealWidth
public java.lang.Double getRealWidth()
Gets real width.- Returns:
- the real width
-
setRealWidth
public void setRealWidth(java.lang.Double realWidth)
Sets real width.- Parameters:
realWidth- the real width
-
getRealHeight
public java.lang.Double getRealHeight()
Gets real height.- Returns:
- the real height
-
setRealHeight
public void setRealHeight(java.lang.Double realHeight)
Sets real height.- Parameters:
realHeight- the real height
-
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
-
applyValuesTo
public void applyValuesTo(CometEntity item)
Description copied from class:TemplateApply values to.- Overrides:
applyValuesToin classTemplate- Parameters:
item- the item
-
entityEquals
public boolean entityEquals(CometEntity item)
Description copied from class:TemplateEntity equals boolean.- Overrides:
entityEqualsin classTemplate- Parameters:
item- the other- Returns:
- the boolean
-
entityEquals
public boolean entityEquals(java.lang.Object other)
Description copied from class:Comet3EntityEntity equals boolean.- Overrides:
entityEqualsin classTemplate- Parameters:
other- the other- Returns:
- the boolean
-
entityEquals
public boolean entityEquals(CometTemplate template)
Entity equals boolean.- Parameters:
template- the template- Returns:
- the boolean
-
tagsToMemberships
public static java.lang.String tagsToMemberships(java.util.Set<java.lang.String> tags)
Tags to memberships string.- Parameters:
tags- the tags- Returns:
- the string
-
tagsToDomainName
public static java.lang.String tagsToDomainName(java.util.Set<java.lang.String> tags)
Tags to domain name string.- Parameters:
tags- the tags- Returns:
- the string
-
tagsToTypeName
public static java.lang.String tagsToTypeName(java.util.Set<java.lang.String> tags)
-
tagsToMemberships
public static java.lang.String tagsToMemberships(CometEntity template)
Tags to memberships string.- Parameters:
template- the template- Returns:
- the string
-
escapeQuotes
public static java.lang.String escapeQuotes(java.lang.String in)
Escape quotes string.- Parameters:
in- the in- Returns:
- the string
-
membershipsToTags
public static java.util.Set<java.lang.String> membershipsToTags(java.lang.String memberships) throws InvalidArgumentExceptionMemberships to tags set.- Parameters:
memberships- the memberships- Returns:
- the set
- Throws:
InvalidArgumentException- the invalid argument exception
-
readQuoted
public static java.util.List<java.lang.String> readQuoted(java.lang.String in) throws InvalidArgumentExceptionRead quoted list.- Parameters:
in- the in- Returns:
- the list
- Throws:
InvalidArgumentException- the invalid argument exception
-
mergeMemberships
public static java.util.Set<java.lang.String> mergeMemberships(java.util.Set<java.lang.String> fromTags, java.lang.String fromProperty)Merge memberships set.- Parameters:
fromTags- the from tagsfromProperty- the from property- Returns:
- the set
-
removeMemberships
public static java.util.Set<java.lang.String> removeMemberships(java.util.Set<java.lang.String> tags)
Remove memberships set.- Parameters:
tags- the tags- Returns:
- the set
-
removeDomain
public static java.util.Set<java.lang.String> removeDomain(java.util.Set<java.lang.String> tags)
Remove domain set.- Parameters:
tags- the tags- Returns:
- the set
-
removeTypes
public static java.util.Set<java.lang.String> removeTypes(java.util.Set<java.lang.String> tags)
Remove types set.- Parameters:
tags- the tags- Returns:
- the set
-
diff
public Difference diff(CometTemplate template)
Diff difference.- Parameters:
template- the template- Returns:
- the difference
-
references
public final boolean references(PageItem other)
References boolean.- Parameters:
other- the other- Returns:
- the boolean
-
discards
public final boolean discards(PageItem other)
Discards boolean.- Parameters:
other- the other- Returns:
- the boolean
-
-