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:
Serializable
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:
-
Nested Class Summary
Nested ClassesNested 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
ConstructorsConstructorDescriptionPageItem()Instantiates a new Page item.PageItem(int id) Instantiates a new Page item.PageItem(CometTemplate template) Instantiates a new Page item. -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyValuesTo(CometEntity item) Apply values to.diff(CometTemplate template) Diff difference.final booleanDiscards boolean.booleanentityEquals(CometEntity item) Entity equals boolean.booleanentityEquals(CometTemplate template) Entity equals boolean.booleanentityEquals(Object other) Entity equals boolean.static StringescapeQuotes(String in) Escape quotes string.Gets active.Gets bottompos.Gets build support script.getColor()Gets color.getData()Gets data.Gets description.Gets domain.Gets format.Gets has min size.Gets has shapes.intgetId()Gets id.getKind()Gets kind.Gets leftpos.Gets magnets.Gets memberships.Gets mirrored.getName()Gets name.Gets placeholder.Gets preview.Gets real height.Gets real width.Gets record.Gets rightpos.Gets spread.getState()Gets state.Gets textflow prefix 1.Gets textflow prefix 1 action.Gets textflow prefix n.Gets textflow prefix n action.Gets toppos.getType()Gets type.membershipsToTags(String memberships) Memberships to tags set.mergeMemberships(Set<String> fromTags, String fromProperty) Merge memberships set.readQuoted(String in) Read quoted list.final booleanreferences(PageItem other) References boolean.removeDomain(Set<String> tags) Remove domain set.removeMemberships(Set<String> tags) Remove memberships set.removeTypes(Set<String> tags) Remove types set.voidSets active.voidsetBottompos(Double bottompos) Sets bottompos.voidsetBuildSupportScript(Integer buildSupportScript) Sets build support script.voidSets color.voidsetData(Common.Data data) Sets data.voidsetDescription(String description) Sets description.voidsetDomain(Common.Domain domain) Sets domain.voidSets format.voidsetHasMinSize(Integer hasMinSize) Sets has min size.voidsetHasShapes(Integer hasShapes) Sets has shapes.voidsetId(int id) Sets id.voidSets kind.voidsetLeftpos(Double leftpos) Sets leftpos.voidsetMagnets(Integer magnets) Sets magnets.voidsetMemberships(String memberships) Sets memberships.voidsetMirrored(Integer mirrored) Sets mirrored.voidSets name.voidsetPlaceholder(Common.Placeholder placeholder) Sets placeholder.voidsetPreview(Common.Preview preview) Sets preview.voidsetRealHeight(Double realHeight) Sets real height.voidsetRealWidth(Double realWidth) Sets real width.voidsetRecord(Common.Record record) Sets record.voidsetRightpos(Double rightpos) Sets rightpos.voidsetSpread(PageItem.Spread spread) Sets spread.voidsetState(Common.State state) Sets state.voidsetTextflowPrefix1(String textflowPrefix1) Sets textflow prefix 1.voidsetTextflowPrefix1Action(Integer textflowPrefix1Action) Sets textflow prefix 1 action.voidsetTextflowPrefixN(String textflowPrefixN) Sets textflow prefix n.voidsetTextflowPrefixNAction(Integer textflowPrefixNAction) Sets textflow prefix n action.voidSets toppos.voidsetType(Common.Type type) Sets type.static StringtagsToDomainName(Set<String> tags) Tags to domain name string.static StringtagsToMemberships(CometEntity template) Tags to memberships string.static StringtagsToMemberships(Set<String> tags) Tags to memberships string.static StringtagsToTypeName(Set<String> tags) Methods 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
-
PageItem
public PageItem()Instantiates a new Page item. -
PageItem
public PageItem(int id) Instantiates a new Page item.- Parameters:
id- the id
-
PageItem
Instantiates a new Page item.- Parameters:
template- the template
-
-
Method Details
-
getName
Gets name.- Returns:
- the name
-
setName
Sets name.- Parameters:
name- the name
-
getDescription
Gets description.- Returns:
- the description
-
setDescription
Sets description.- Parameters:
description- the description
-
getMagnets
Gets magnets.- Returns:
- the magnets
-
setMagnets
Sets magnets.- Parameters:
magnets- the magnets
-
getMirrored
Gets mirrored.- Returns:
- the mirrored
-
setMirrored
Sets mirrored.- Parameters:
mirrored- the mirrored
-
getData
Gets data.- Returns:
- the data
-
setData
Sets data.- Parameters:
data- the data
-
getPreview
Gets preview.- Returns:
- the preview
-
setPreview
Sets preview.- Parameters:
preview- the preview
-
getType
Gets type.- Returns:
- the type
-
setType
Sets type.- Parameters:
type- the type
-
getState
Gets state.- Returns:
- the state
-
setState
Sets state.- Parameters:
state- the state
-
getDomain
Gets domain.- Returns:
- the domain
-
setDomain
Sets domain.- Parameters:
domain- the domain
-
getPlaceholder
Gets placeholder.- Returns:
- the placeholder
-
setPlaceholder
Sets placeholder.- Parameters:
placeholder- the placeholder
-
getLeftpos
Gets leftpos.- Returns:
- the leftpos
-
setLeftpos
Sets leftpos.- Parameters:
leftpos- the leftpos
-
getToppos
Gets toppos.- Returns:
- the toppos
-
setToppos
Sets toppos.- Parameters:
toppos- the toppos
-
getRightpos
Gets rightpos.- Returns:
- the rightpos
-
setRightpos
Sets rightpos.- Parameters:
rightpos- the rightpos
-
getBottompos
Gets bottompos.- Returns:
- the bottompos
-
setBottompos
Sets bottompos.- Parameters:
bottompos- the bottompos
-
getSpread
Gets spread.- Returns:
- the spread
-
setSpread
Sets spread.- Parameters:
spread- the spread
-
getKind
Description copied from class:TemplateGets kind. -
setKind
Sets kind.- Parameters:
kind- the kind
-
getFormat
Gets format.- Returns:
- the format
-
setFormat
Sets format.- Parameters:
format- the format
-
getRecord
Gets record.- Returns:
- the record
-
setRecord
Sets record.- Parameters:
record- the record
-
getColor
Gets color.- Returns:
- the color
-
setColor
Sets color.- Parameters:
color- the color
-
getMemberships
Gets memberships.- Returns:
- the memberships
-
setMemberships
Sets memberships.- Parameters:
memberships- the memberships
-
getBuildSupportScript
Gets build support script.- Returns:
- the build support script
-
setBuildSupportScript
Sets build support script.- Parameters:
buildSupportScript- the build support script
-
getHasShapes
Gets has shapes.- Returns:
- the has shapes
-
setHasShapes
Sets has shapes.- Parameters:
hasShapes- the has shapes
-
getActive
Gets active.- Returns:
- the active
-
setActive
Sets active.- Parameters:
active- the active
-
getTextflowPrefix1Action
Gets textflow prefix 1 action.- Returns:
- the textflow prefix 1 action
-
setTextflowPrefix1Action
Sets textflow prefix 1 action.- Parameters:
textflowPrefix1Action- the textflow prefix 1 action
-
getTextflowPrefix1
Gets textflow prefix 1.- Returns:
- the textflow prefix 1
-
setTextflowPrefix1
Sets textflow prefix 1.- Parameters:
textflowPrefix1- the textflow prefix 1
-
getTextflowPrefixNAction
Gets textflow prefix n action.- Returns:
- the textflow prefix n action
-
setTextflowPrefixNAction
Sets textflow prefix n action.- Parameters:
textflowPrefixNAction- the textflow prefix n action
-
getTextflowPrefixN
Gets textflow prefix n.- Returns:
- the textflow prefix n
-
setTextflowPrefixN
Sets textflow prefix n.- Parameters:
textflowPrefixN- the textflow prefix n
-
getHasMinSize
Gets has min size.- Returns:
- the has min size
-
setHasMinSize
Sets has min size.- Parameters:
hasMinSize- the has min size
-
getRealWidth
Gets real width.- Returns:
- the real width
-
setRealWidth
Sets real width.- Parameters:
realWidth- the real width
-
getRealHeight
Gets real height.- Returns:
- the real height
-
setRealHeight
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
Description copied from class:TemplateApply values to.- Overrides:
applyValuesToin classTemplate- Parameters:
item- the item
-
entityEquals
Description copied from class:TemplateEntity equals boolean.- Overrides:
entityEqualsin classTemplate- Parameters:
item- the other- Returns:
- the boolean
-
entityEquals
Description copied from class:Comet3EntityEntity equals boolean.- Overrides:
entityEqualsin classTemplate- Parameters:
other- the other- Returns:
- the boolean
-
entityEquals
Entity equals boolean.- Parameters:
template- the template- Returns:
- the boolean
-
tagsToMemberships
Tags to memberships string.- Parameters:
tags- the tags- Returns:
- the string
-
tagsToDomainName
Tags to domain name string.- Parameters:
tags- the tags- Returns:
- the string
-
tagsToTypeName
-
tagsToMemberships
Tags to memberships string.- Parameters:
template- the template- Returns:
- the string
-
escapeQuotes
Escape quotes string.- Parameters:
in- the in- Returns:
- the string
-
membershipsToTags
Memberships to tags set.- Parameters:
memberships- the memberships- Returns:
- the set
- Throws:
InvalidArgumentException- the invalid argument exception
-
readQuoted
Read quoted list.- Parameters:
in- the in- Returns:
- the list
- Throws:
InvalidArgumentException- the invalid argument exception
-
mergeMemberships
Merge memberships set.- Parameters:
fromTags- the from tagsfromProperty- the from property- Returns:
- the set
-
removeMemberships
Remove memberships set.- Parameters:
tags- the tags- Returns:
- the set
-
removeDomain
Remove domain set.- Parameters:
tags- the tags- Returns:
- the set
-
removeTypes
Remove types set.- Parameters:
tags- the tags- Returns:
- the set
-
diff
Diff difference.- Parameters:
template- the template- Returns:
- the difference
-
references
References boolean.- Parameters:
other- the other- Returns:
- the boolean
-
discards
Discards boolean.- Parameters:
other- the other- Returns:
- the boolean
-