Class Planning
java.lang.Object
com.priint.pubserver.plugin.entitydata.Planning
- All Implemented Interfaces:
GetContext,GetIdentifier,GetSequence,EntityData,PersistentData,Serializable
@Entity
public class Planning
extends Object
implements Serializable, GetContext, GetIdentifier, GetSequence, EntityData, PersistentData
Data object related to entity type Planning
A planning is a container to collect planning data in publication manager.
- Since:
- 4.0.5
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintIdentifier of an entity in the entity model where the current object refers to.intgetId()Method to provide the identifierintGets key value list.getLabel()Gets list children plannings.Gets media asset list.Gets meta data.intGets price list.intintintSequence of the planning (scope: Document)intintGets table data list.Gets text list.booleanbooleanIndicates if planning is temporarybooleanvoidsetBucketId(String bucketId) voidsetBucketList(List<BucketPlanningReference> bucketList) voidsetConnectorEntity(ConnectorEntity connectorEntity) voidsetContentMetaData(List<ContentMetaData> contentMetaData) voidsetContext(Context context) set the context of entity data objectvoidsetCordList(List<CordPlanningReference> cordList) voidsetCreatedBy(String createdBy) voidsetCreatedOn(Date createdOn) voidsetDeleted(int deleted) voidsetDocumentId(String documentId) voidsetDpTemplateId(String dpTemplateId) voidsetEntity(EntityPlanning entityPlanning) Sets the planning entity object associated with the current planning or null if not setvoidsetEntityBucketId(String entityBucketId) voidsetEntityIdentifier(String entityIdentifier) Identifier of an entity in the entity model where the current object refers to.voidsetEntityModelId(String entityModelId) voidsetEntityPlanning(EntityPlanning entityPlanning) voidsetEntityPlanningId(String entityPlanningId) voidsetIdentifier(String identifier) voidsetImport_id(int import_id) voidsetKeyValueList(List<KeyValuePlanningReference> keyValueList) voidvoidsetListPlanning(List<Planning> listPlanning) voidsetMediaAssetList(List<MediaAssetPlanningReference> mediaAssetList) voidsetMetaData(List<MetaDataPlanningReference> metaData) voidvoidvoidsetPageNumber(int pageNumber) voidsetPageTemplateElementId(String pageTemplateElementId) voidsetPageTemplateId(String pageTemplateId) voidsetParentPlanning(Planning parentPlanning) voidsetParentPlanningId(String parentPlanningId) voidsetPriceList(List<PricePlanningReference> priceList) voidsetPrintPlaceholderId(int printPlaceholderId) voidsetPrintPlaceholderUID(String printPlaceholderUID) voidsetPrintTemplateId(int printTemplateId) voidsetSequence(int sequence) voidsetSnippetId(int snippetId) voidsetSnippetPlanningId(String snippetPlanningId) voidsetSourcePlanningIdentifier(String identifier) voidsetTableCmdChanged(int tableCmdChanged) voidsetTableDataList(List<TableDataPlanningReference> tableDataList) voidsetTableSetupId(String tableSetupId) voidsetTableTemplate(String tableTemplate) voidsetTemporary(boolean temporary) Sets planning as temporaryvoidsetTextList(List<TextPlanningReference> textList) voidsetTimestamp(String timestamp) voidsetUpdatedBy(String updatedBy) voidsetUpdatedOn(Date updatedOn) voidsetUsePrintPageTemplate(boolean usePrintPageTemplate) voidsetVersion(String version) voidsetxPosBottomRight(Float xPosBottomRight) voidsetxPosTopLeft(Float xPosTopLeft) voidsetyPosBottomRight(Float yPosBottomRight) voidsetyPosTopLeft(Float yPosTopLeft) toString()
-
Field Details
-
ENTITY_IDENTIFIER
- See Also:
-
-
Constructor Details
-
Planning
public Planning()
-
-
Method Details
-
setIdentifier
- Specified by:
setIdentifierin interfaceEntityData- Parameters:
identifier- data object id as 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
Description copied from interface:EntityDataIdentifier of an entity in the entity model where the current object refers to.- Specified by:
setEntityIdentifierin interfaceEntityData
-
setContext
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
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
- Specified by:
getContextin interfaceEntityData- Specified by:
getContextin interfaceGetContext- Returns:
- context
-
getEntity
- Returns:
- the planning entity object associated with the current planning or null if not set
- Since:
- 4.0.5
- See Also:
-
setEntity
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:
-
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
- Parameters:
origin-getOrigin()
-
getEntityPlanningId
-
setEntityPlanningId
-
getMetaData
Gets meta data.- Returns:
- the meta data.
List is LAZY loaded.
-
setMetaData
-
getPriceList
Gets price list.- Returns:
- the price list.
List is LAZY loaded.
-
setPriceList
-
getTableDataList
Gets table data list.- Returns:
- the table data list.
List is LAZY loaded.
-
setTableDataList
-
getKeyValueList
Gets key value list.- Returns:
- the key value list.
List is LAZY loaded.
-
setKeyValueList
-
getTextList
Gets text list.- Returns:
- the text list.
List is LAZY loaded.
-
setTextList
-
getMediaAssetList
Gets media asset list.- Returns:
- the media asset list.
List is LAZY loaded.
-
setMediaAssetList
-
getCordList
- Returns:
- Cord Planning Reference.
List is LAZY loaded.
-
setCordList
-
getBucketList
- Returns:
- Bucket Planning Reference list
-
setBucketList
-
getParentPlanning
-
setParentPlanning
-
getListPlanning
Gets list children plannings.- Returns:
- the list of children plannings. List is lazy loaded.
-
setListPlanning
-
getBucketId
-
setBucketId
-
getxPosBottomRight
-
setxPosBottomRight
-
getyPosBottomRight
-
setyPosBottomRight
-
getxPosTopLeft
-
setxPosTopLeft
-
getyPosTopLeft
-
setyPosTopLeft
-
isUsePrintPageTemplate
public boolean isUsePrintPageTemplate() -
getUsePrintPageTemplate
public boolean getUsePrintPageTemplate() -
setUsePrintPageTemplate
public void setUsePrintPageTemplate(boolean usePrintPageTemplate) -
getDpTemplateId
-
setDpTemplateId
-
getPrintTemplateId
public int getPrintTemplateId() -
setPrintTemplateId
public void setPrintTemplateId(int printTemplateId) -
getPageId
-
setPageId
-
getPageTemplateId
-
setPageTemplateId
-
getPageNumber
public int getPageNumber() -
setPageNumber
public void setPageNumber(int pageNumber) -
getPageTemplateElementId
-
setPageTemplateElementId
-
getDocumentId
-
setDocumentId
-
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
-
setCreatedBy
-
getCreatedOn
-
setCreatedOn
-
getUpdatedBy
-
setUpdatedBy
-
getUpdatedOn
-
setUpdatedOn
-
getConnectorEntity
-
setConnectorEntity
-
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
-
setSequence
public void setSequence(int sequence) -
getLabel
-
setLabel
-
getVersion
-
setVersion
-
getTimestamp
-
setTimestamp
-
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
-
getEntityModelId
-
setEntityModelId
-
getEntityBucketId
-
setEntityBucketId
-
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
- Parameters:
contentMetaData-getContentMetaData()
-
getTableTemplate
- Returns:
- the tableTemplate
-
setTableTemplate
- Parameters:
tableTemplate- the tableTemplate to set
-
getTableSetupId
- Returns:
- the tableSetupId
-
setTableSetupId
- 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
- Returns:
- the printPlaceholderUID
-
setPrintPlaceholderUID
- 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
- Returns:
- the sourcePlanningIdentifier
-
setSourcePlanningIdentifier
- 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
-
setSnippetPlanningId
-
toString
-