Class Planning
- java.lang.Object
-
- com.priint.pubserver.plugin.entitydata.Planning
-
- All Implemented Interfaces:
GetContext,GetIdentifier,GetSequence,EntityData,PersistentData,java.io.Serializable
@Entity public class Planning extends java.lang.Object implements java.io.Serializable, GetContext, GetIdentifier, GetSequence, EntityData, PersistentData
Data object related to entity type PlanningA planning is a container to collect planning data in publication manager.
- Since:
- 4.0.5
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPlanning.properties
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringENTITY_IDENTIFIER
-
Constructor Summary
Constructors Constructor Description Planning()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetBucketId()java.util.List<BucketPlanningReference>getBucketList()ConnectorEntitygetConnectorEntity()java.util.List<ContentMetaData>getContentMetaData()ContextgetContext()java.util.List<CordPlanningReference>getCordList()java.lang.StringgetCreatedBy()java.util.DategetCreatedOn()intgetDeleted()java.lang.StringgetDocumentId()java.lang.StringgetDpTemplateId()EntityPlanninggetEntity()java.lang.StringgetEntityBucketId()java.lang.StringgetEntityIdentifier()Identifier of an entity in the entity model where the current object refers to.java.lang.StringgetEntityModelId()EntityPlanninggetEntityPlanning()java.lang.StringgetEntityPlanningId()intgetId()java.lang.StringgetIdentifier()Method to provide the identifierintgetImport_id()java.util.List<KeyValuePlanningReference>getKeyValueList()Gets key value list.java.lang.StringgetLabel()java.util.List<Planning>getListPlanning()Gets list children plannings.java.util.List<MediaAssetPlanningReference>getMediaAssetList()Gets media asset list.java.util.List<MetaDataPlanningReference>getMetaData()Gets meta data.java.lang.StringgetOrigin()java.lang.StringgetPageId()intgetPageNumber()java.lang.StringgetPageTemplateElementId()java.lang.StringgetPageTemplateId()PlanninggetParentPlanning()java.lang.StringgetParentPlanningId()java.util.List<PricePlanningReference>getPriceList()Gets price list.intgetPrintPlaceholderId()java.lang.StringgetPrintPlaceholderUID()intgetPrintTemplateId()intgetSequence()Sequence of the planning (scope: Document)intgetSnippetId()java.lang.StringgetSnippetPlanningId()java.lang.StringgetSourcePlanningIdentifier()intgetTableCmdChanged()java.util.List<TableDataPlanningReference>getTableDataList()Gets table data list.java.lang.StringgetTableSetupId()java.lang.StringgetTableTemplate()java.util.List<TextPlanningReference>getTextList()Gets text list.java.lang.StringgetTimestamp()java.lang.StringgetUpdatedBy()java.util.DategetUpdatedOn()booleangetUsePrintPageTemplate()java.lang.StringgetVersion()java.lang.FloatgetxPosBottomRight()java.lang.FloatgetxPosTopLeft()java.lang.FloatgetyPosBottomRight()java.lang.FloatgetyPosTopLeft()booleanisTemporary()Indicates if planning is temporarybooleanisUsePrintPageTemplate()voidsetBucketId(java.lang.String bucketId)voidsetBucketList(java.util.List<BucketPlanningReference> bucketList)voidsetConnectorEntity(ConnectorEntity connectorEntity)voidsetContentMetaData(java.util.List<ContentMetaData> contentMetaData)voidsetContext(Context context)set the context of entity data objectvoidsetCordList(java.util.List<CordPlanningReference> cordList)voidsetCreatedBy(java.lang.String createdBy)voidsetCreatedOn(java.util.Date createdOn)voidsetDeleted(int deleted)voidsetDocumentId(java.lang.String documentId)voidsetDpTemplateId(java.lang.String dpTemplateId)voidsetEntity(EntityPlanning entityPlanning)Sets the planning entity object associated with the current planning or null if not setvoidsetEntityBucketId(java.lang.String entityBucketId)voidsetEntityIdentifier(java.lang.String entityIdentifier)Identifier of an entity in the entity model where the current object refers to.voidsetEntityModelId(java.lang.String entityModelId)voidsetEntityPlanning(EntityPlanning entityPlanning)voidsetEntityPlanningId(java.lang.String entityPlanningId)voidsetIdentifier(java.lang.String identifier)voidsetImport_id(int import_id)voidsetKeyValueList(java.util.List<KeyValuePlanningReference> keyValueList)voidsetLabel(java.lang.String label)voidsetListPlanning(java.util.List<Planning> listPlanning)voidsetMediaAssetList(java.util.List<MediaAssetPlanningReference> mediaAssetList)voidsetMetaData(java.util.List<MetaDataPlanningReference> metaData)voidsetOrigin(java.lang.String origin)voidsetPageId(java.lang.String pageId)voidsetPageNumber(int pageNumber)voidsetPageTemplateElementId(java.lang.String pageTemplateElementId)voidsetPageTemplateId(java.lang.String pageTemplateId)voidsetParentPlanning(Planning parentPlanning)voidsetParentPlanningId(java.lang.String parentPlanningId)voidsetPriceList(java.util.List<PricePlanningReference> priceList)voidsetPrintPlaceholderId(int printPlaceholderId)voidsetPrintPlaceholderUID(java.lang.String printPlaceholderUID)voidsetPrintTemplateId(int printTemplateId)voidsetSequence(int sequence)voidsetSnippetId(int snippetId)voidsetSnippetPlanningId(java.lang.String snippetPlanningId)voidsetSourcePlanningIdentifier(java.lang.String identifier)voidsetTableCmdChanged(int tableCmdChanged)voidsetTableDataList(java.util.List<TableDataPlanningReference> tableDataList)voidsetTableSetupId(java.lang.String tableSetupId)voidsetTableTemplate(java.lang.String tableTemplate)voidsetTemporary(boolean temporary)Sets planning as temporaryvoidsetTextList(java.util.List<TextPlanningReference> textList)voidsetTimestamp(java.lang.String timestamp)voidsetUpdatedBy(java.lang.String updatedBy)voidsetUpdatedOn(java.util.Date updatedOn)voidsetUsePrintPageTemplate(boolean usePrintPageTemplate)voidsetVersion(java.lang.String version)voidsetxPosBottomRight(java.lang.Float xPosBottomRight)voidsetxPosTopLeft(java.lang.Float xPosTopLeft)voidsetyPosBottomRight(java.lang.Float yPosBottomRight)voidsetyPosTopLeft(java.lang.Float yPosTopLeft)java.lang.StringtoString()
-
-
-
Field Detail
-
ENTITY_IDENTIFIER
public static final java.lang.String ENTITY_IDENTIFIER
- See Also:
- Constant Field Values
-
-
Method Detail
-
setIdentifier
public void setIdentifier(java.lang.String identifier)
- Specified by:
setIdentifierin interfaceEntityData- Parameters:
identifier- data object id as string
-
getEntityIdentifier
public java.lang.String getEntityIdentifier()
Description copied from interface:EntityDataIdentifier of an entity in the entity model where the current object refers to.- Specified by:
getEntityIdentifierin interfaceEntityData- Returns:
- entity identifier as string
-
setEntityIdentifier
public void setEntityIdentifier(java.lang.String entityIdentifier)
Description copied from interface:EntityDataIdentifier of an entity in the entity model where the current object refers to.- Specified by:
setEntityIdentifierin interfaceEntityData
-
setContext
public void setContext(Context context)
Description copied from interface:EntityDataset the context of entity data object- Specified by:
setContextin interfaceEntityData
-
getSequence
public int getSequence()
Sequence of the planning (scope: Document)- Specified by:
getSequencein interfaceGetSequence- Returns:
- ordered position within a list sequenceable objects
-
getIdentifier
public java.lang.String getIdentifier()
Description copied from interface:PersistentDataMethod to provide the identifier- Specified by:
getIdentifierin interfaceEntityData- Specified by:
getIdentifierin interfaceGetIdentifier- Specified by:
getIdentifierin interfacePersistentData- Returns:
- string identifier
-
getContext
public Context getContext()
- Specified by:
getContextin interfaceEntityData- Specified by:
getContextin interfaceGetContext- Returns:
- context
-
getEntity
public EntityPlanning getEntity()
- Returns:
- the planning entity object associated with the current planning or null if not set
- Since:
- 4.0.5
- See Also:
getEntityPlanningId()
-
setEntity
public void setEntity(EntityPlanning entityPlanning)
Sets the planning entity object associated with the current planning or null if not set- Parameters:
entityPlanning- the planning entity- Since:
- 4.0.0
- See Also:
setEntityBucketId(String)
-
getOrigin
public java.lang.String getOrigin()
- Returns:
- Origin of data entity object, e.g. name of the source system. This property is filled by the connector. Might return
null.
-
setOrigin
public void setOrigin(java.lang.String origin)
- Parameters:
origin-getOrigin()
-
getEntityPlanningId
public java.lang.String getEntityPlanningId()
-
setEntityPlanningId
public void setEntityPlanningId(java.lang.String entityPlanningId)
-
getMetaData
public java.util.List<MetaDataPlanningReference> getMetaData()
Gets meta data.- Returns:
- the meta data.
List is LAZY loaded.
-
setMetaData
public void setMetaData(java.util.List<MetaDataPlanningReference> metaData)
-
getPriceList
public java.util.List<PricePlanningReference> getPriceList()
Gets price list.- Returns:
- the price list.
List is LAZY loaded.
-
setPriceList
public void setPriceList(java.util.List<PricePlanningReference> priceList)
-
getTableDataList
public java.util.List<TableDataPlanningReference> getTableDataList()
Gets table data list.- Returns:
- the table data list.
List is LAZY loaded.
-
setTableDataList
public void setTableDataList(java.util.List<TableDataPlanningReference> tableDataList)
-
getKeyValueList
public java.util.List<KeyValuePlanningReference> getKeyValueList()
Gets key value list.- Returns:
- the key value list.
List is LAZY loaded.
-
setKeyValueList
public void setKeyValueList(java.util.List<KeyValuePlanningReference> keyValueList)
-
getTextList
public java.util.List<TextPlanningReference> getTextList()
Gets text list.- Returns:
- the text list.
List is LAZY loaded.
-
setTextList
public void setTextList(java.util.List<TextPlanningReference> textList)
-
getMediaAssetList
public java.util.List<MediaAssetPlanningReference> getMediaAssetList()
Gets media asset list.- Returns:
- the media asset list.
List is LAZY loaded.
-
setMediaAssetList
public void setMediaAssetList(java.util.List<MediaAssetPlanningReference> mediaAssetList)
-
getCordList
public java.util.List<CordPlanningReference> getCordList()
- Returns:
- Cord Planning Reference.
List is LAZY loaded.
-
setCordList
public void setCordList(java.util.List<CordPlanningReference> cordList)
-
getBucketList
public java.util.List<BucketPlanningReference> getBucketList()
- Returns:
- Bucket Planning Reference list
-
setBucketList
public void setBucketList(java.util.List<BucketPlanningReference> bucketList)
-
getParentPlanning
public Planning getParentPlanning()
-
setParentPlanning
public void setParentPlanning(Planning parentPlanning)
-
getListPlanning
public java.util.List<Planning> getListPlanning()
Gets list children plannings.- Returns:
- the list of children plannings. List is lazy loaded.
-
setListPlanning
public void setListPlanning(java.util.List<Planning> listPlanning)
-
getBucketId
public java.lang.String getBucketId()
-
setBucketId
public void setBucketId(java.lang.String bucketId)
-
getxPosBottomRight
public java.lang.Float getxPosBottomRight()
-
setxPosBottomRight
public void setxPosBottomRight(java.lang.Float xPosBottomRight)
-
getyPosBottomRight
public java.lang.Float getyPosBottomRight()
-
setyPosBottomRight
public void setyPosBottomRight(java.lang.Float yPosBottomRight)
-
getxPosTopLeft
public java.lang.Float getxPosTopLeft()
-
setxPosTopLeft
public void setxPosTopLeft(java.lang.Float xPosTopLeft)
-
getyPosTopLeft
public java.lang.Float getyPosTopLeft()
-
setyPosTopLeft
public void setyPosTopLeft(java.lang.Float yPosTopLeft)
-
isUsePrintPageTemplate
public boolean isUsePrintPageTemplate()
-
getUsePrintPageTemplate
public boolean getUsePrintPageTemplate()
-
setUsePrintPageTemplate
public void setUsePrintPageTemplate(boolean usePrintPageTemplate)
-
getDpTemplateId
public java.lang.String getDpTemplateId()
-
setDpTemplateId
public void setDpTemplateId(java.lang.String dpTemplateId)
-
getPrintTemplateId
public int getPrintTemplateId()
-
setPrintTemplateId
public void setPrintTemplateId(int printTemplateId)
-
getPageId
public java.lang.String getPageId()
-
setPageId
public void setPageId(java.lang.String pageId)
-
getPageTemplateId
public java.lang.String getPageTemplateId()
-
setPageTemplateId
public void setPageTemplateId(java.lang.String pageTemplateId)
-
getPageNumber
public int getPageNumber()
-
setPageNumber
public void setPageNumber(int pageNumber)
-
getPageTemplateElementId
public java.lang.String getPageTemplateElementId()
-
setPageTemplateElementId
public void setPageTemplateElementId(java.lang.String pageTemplateElementId)
-
getDocumentId
public java.lang.String getDocumentId()
-
setDocumentId
public void setDocumentId(java.lang.String documentId)
-
getImport_id
public int getImport_id()
-
setImport_id
public void setImport_id(int import_id)
-
getDeleted
public int getDeleted()
-
setDeleted
public void setDeleted(int deleted)
-
getCreatedBy
public java.lang.String getCreatedBy()
-
setCreatedBy
public void setCreatedBy(java.lang.String createdBy)
-
getCreatedOn
public java.util.Date getCreatedOn()
-
setCreatedOn
public void setCreatedOn(java.util.Date createdOn)
-
getUpdatedBy
public java.lang.String getUpdatedBy()
-
setUpdatedBy
public void setUpdatedBy(java.lang.String updatedBy)
-
getUpdatedOn
public java.util.Date getUpdatedOn()
-
setUpdatedOn
public void setUpdatedOn(java.util.Date updatedOn)
-
getConnectorEntity
public ConnectorEntity getConnectorEntity()
-
setConnectorEntity
public void setConnectorEntity(ConnectorEntity connectorEntity)
-
getEntityPlanning
public EntityPlanning getEntityPlanning()
- Returns:
- Entity Planning. Field is null for following methods:
EntityManagerRemote.getEntitySubPlanningsOfPlanning(String, String, String, String, String, Context, String, String)EntityManagerRemote.getEntityPlanningsOfDocument(String, String, String, String, Context, String)EntityManagerRemote.getEntityPlanningsByIdentifier(String, String, String, String, Context, String)EntityManagerRemote.getEntityPlanningsOfPage(String, String, String, String, int, Context, String)
-
setEntityPlanning
public void setEntityPlanning(EntityPlanning entityPlanning)
-
setSequence
public void setSequence(int sequence)
-
getLabel
public java.lang.String getLabel()
-
setLabel
public void setLabel(java.lang.String label)
-
getVersion
public java.lang.String getVersion()
-
setVersion
public void setVersion(java.lang.String version)
-
getTimestamp
public java.lang.String getTimestamp()
-
setTimestamp
public void setTimestamp(java.lang.String timestamp)
-
getParentPlanningId
public java.lang.String getParentPlanningId()
- Returns:
- parent planning id. Field is null for the following methods:
EntityManagerRemote.getEntitySubPlanningsOfPlanning(String, String, String, String, String, Context, String, String)EntityManagerRemote.getEntityPlanningsOfDocument(String, String, String, String, Context, String)EntityManagerRemote.getEntityPlanningsByIdentifier(String, String, String, String, Context, String)EntityManagerRemote.getEntityPlanningsOfPage(String, String, String, String, int, Context, String)
-
setParentPlanningId
public void setParentPlanningId(java.lang.String parentPlanningId)
-
getEntityModelId
public java.lang.String getEntityModelId()
-
setEntityModelId
public void setEntityModelId(java.lang.String entityModelId)
-
getEntityBucketId
public java.lang.String getEntityBucketId()
-
setEntityBucketId
public void setEntityBucketId(java.lang.String entityBucketId)
-
getContentMetaData
public java.util.List<ContentMetaData> getContentMetaData()
- Returns:
- List of ContentMetaData related to Planning.
List is not loaded by Entity Manager in its standard methods. Use specific Entity Manager methods for loading.
-
setContentMetaData
public void setContentMetaData(java.util.List<ContentMetaData> contentMetaData)
- Parameters:
contentMetaData-getContentMetaData()
-
getTableTemplate
public java.lang.String getTableTemplate()
- Returns:
- the tableTemplate
-
setTableTemplate
public void setTableTemplate(java.lang.String tableTemplate)
- Parameters:
tableTemplate- the tableTemplate to set
-
getTableSetupId
public java.lang.String getTableSetupId()
- Returns:
- the tableSetupId
-
setTableSetupId
public void setTableSetupId(java.lang.String tableSetupId)
- Parameters:
tableSetupId- the tableSetupId to set
-
getTableCmdChanged
public int getTableCmdChanged()
- Returns:
- the tableCmdChanged
-
setTableCmdChanged
public void setTableCmdChanged(int tableCmdChanged)
- Parameters:
tableCmdChanged- the tableCmdChanged to set
-
getPrintPlaceholderId
public int getPrintPlaceholderId()
- Returns:
- the printPlaceholderId
-
setPrintPlaceholderId
public void setPrintPlaceholderId(int printPlaceholderId)
- Parameters:
printPlaceholderId- the printPlaceholderId to set
-
getPrintPlaceholderUID
public java.lang.String getPrintPlaceholderUID()
- Returns:
- the printPlaceholderUID
-
setPrintPlaceholderUID
public void setPrintPlaceholderUID(java.lang.String printPlaceholderUID)
- Parameters:
printPlaceholderUID- the printPlaceholderUID to set
-
getSnippetId
public int getSnippetId()
- Returns:
- the snippetId
-
setSnippetId
public void setSnippetId(int snippetId)
- Parameters:
snippetId- the snippetId to set
-
getSourcePlanningIdentifier
public java.lang.String getSourcePlanningIdentifier()
- Returns:
- the sourcePlanningIdentifier
-
setSourcePlanningIdentifier
public void setSourcePlanningIdentifier(java.lang.String identifier)
- Parameters:
identifier- the sourcePlanningIdentifier to set
-
getId
public int getId()
-
isTemporary
public boolean isTemporary()
Indicates if planning is temporary
-
setTemporary
public void setTemporary(boolean temporary)
Sets planning as temporary- Parameters:
temporary- flag to set
-
getSnippetPlanningId
public java.lang.String getSnippetPlanningId()
-
setSnippetPlanningId
public void setSnippetPlanningId(java.lang.String snippetPlanningId)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-