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:
  • Field Details

  • Constructor Details

    • Planning

      public Planning()
  • Method Details

    • setIdentifier

      public void setIdentifier(String identifier)
      Specified by:
      setIdentifier in interface EntityData
      Parameters:
      identifier - data object id as string
    • getEntityIdentifier

      public String getEntityIdentifier()
      Description copied from interface: EntityData
      Identifier of an entity in the entity model where the current object refers to.
      Specified by:
      getEntityIdentifier in interface EntityData
      Returns:
      entity identifier as string
    • setEntityIdentifier

      public void setEntityIdentifier(String entityIdentifier)
      Description copied from interface: EntityData
      Identifier of an entity in the entity model where the current object refers to.
      Specified by:
      setEntityIdentifier in interface EntityData
    • setContext

      public void setContext(Context context)
      Description copied from interface: EntityData
      set the context of entity data object
      Specified by:
      setContext in interface EntityData
    • getSequence

      public int getSequence()
      Sequence of the planning (scope: Document)
      Specified by:
      getSequence in interface GetSequence
      Returns:
      ordered position within a list sequenceable objects
    • getIdentifier

      public String getIdentifier()
      Description copied from interface: PersistentData
      Method to provide the identifier
      Specified by:
      getIdentifier in interface EntityData
      Specified by:
      getIdentifier in interface GetIdentifier
      Specified by:
      getIdentifier in interface PersistentData
      Returns:
      string identifier
    • getContext

      public Context getContext()
      Specified by:
      getContext in interface EntityData
      Specified by:
      getContext in interface GetContext
      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:
    • 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:
    • getOrigin

      public 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(String origin)
      Parameters:
      origin - getOrigin()
    • getEntityPlanningId

      public String getEntityPlanningId()
    • setEntityPlanningId

      public void setEntityPlanningId(String entityPlanningId)
    • getMetaData

      public List<MetaDataPlanningReference> getMetaData()
      Gets meta data.
      Returns:
      the meta data.

      List is LAZY loaded.

    • setMetaData

      public void setMetaData(List<MetaDataPlanningReference> metaData)
    • getPriceList

      public List<PricePlanningReference> getPriceList()
      Gets price list.
      Returns:
      the price list.

      List is LAZY loaded.

    • setPriceList

      public void setPriceList(List<PricePlanningReference> priceList)
    • getTableDataList

      public List<TableDataPlanningReference> getTableDataList()
      Gets table data list.
      Returns:
      the table data list.

      List is LAZY loaded.

    • setTableDataList

      public void setTableDataList(List<TableDataPlanningReference> tableDataList)
    • getKeyValueList

      public List<KeyValuePlanningReference> getKeyValueList()
      Gets key value list.
      Returns:
      the key value list.

      List is LAZY loaded.

    • setKeyValueList

      public void setKeyValueList(List<KeyValuePlanningReference> keyValueList)
    • getTextList

      public List<TextPlanningReference> getTextList()
      Gets text list.
      Returns:
      the text list.

      List is LAZY loaded.

    • setTextList

      public void setTextList(List<TextPlanningReference> textList)
    • getMediaAssetList

      public List<MediaAssetPlanningReference> getMediaAssetList()
      Gets media asset list.
      Returns:
      the media asset list.

      List is LAZY loaded.

    • setMediaAssetList

      public void setMediaAssetList(List<MediaAssetPlanningReference> mediaAssetList)
    • getCordList

      public List<CordPlanningReference> getCordList()
      Returns:
      Cord Planning Reference.

      List is LAZY loaded.

    • setCordList

      public void setCordList(List<CordPlanningReference> cordList)
    • getBucketList

      public List<BucketPlanningReference> getBucketList()
      Returns:
      Bucket Planning Reference list
    • setBucketList

      public void setBucketList(List<BucketPlanningReference> bucketList)
    • getParentPlanning

      public Planning getParentPlanning()
    • setParentPlanning

      public void setParentPlanning(Planning parentPlanning)
    • getListPlanning

      public List<Planning> getListPlanning()
      Gets list children plannings.
      Returns:
      the list of children plannings. List is lazy loaded.
    • setListPlanning

      public void setListPlanning(List<Planning> listPlanning)
    • getBucketId

      public String getBucketId()
    • setBucketId

      public void setBucketId(String bucketId)
    • getxPosBottomRight

      public Float getxPosBottomRight()
    • setxPosBottomRight

      public void setxPosBottomRight(Float xPosBottomRight)
    • getyPosBottomRight

      public Float getyPosBottomRight()
    • setyPosBottomRight

      public void setyPosBottomRight(Float yPosBottomRight)
    • getxPosTopLeft

      public Float getxPosTopLeft()
    • setxPosTopLeft

      public void setxPosTopLeft(Float xPosTopLeft)
    • getyPosTopLeft

      public Float getyPosTopLeft()
    • setyPosTopLeft

      public void setyPosTopLeft(Float yPosTopLeft)
    • isUsePrintPageTemplate

      public boolean isUsePrintPageTemplate()
    • getUsePrintPageTemplate

      public boolean getUsePrintPageTemplate()
    • setUsePrintPageTemplate

      public void setUsePrintPageTemplate(boolean usePrintPageTemplate)
    • getDpTemplateId

      public String getDpTemplateId()
    • setDpTemplateId

      public void setDpTemplateId(String dpTemplateId)
    • getPrintTemplateId

      public int getPrintTemplateId()
    • setPrintTemplateId

      public void setPrintTemplateId(int printTemplateId)
    • getPageId

      public String getPageId()
    • setPageId

      public void setPageId(String pageId)
    • getPageTemplateId

      public String getPageTemplateId()
    • setPageTemplateId

      public void setPageTemplateId(String pageTemplateId)
    • getPageNumber

      public int getPageNumber()
    • setPageNumber

      public void setPageNumber(int pageNumber)
    • getPageTemplateElementId

      public String getPageTemplateElementId()
    • setPageTemplateElementId

      public void setPageTemplateElementId(String pageTemplateElementId)
    • getDocumentId

      public String getDocumentId()
    • setDocumentId

      public void setDocumentId(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 String getCreatedBy()
    • setCreatedBy

      public void setCreatedBy(String createdBy)
    • getCreatedOn

      public Date getCreatedOn()
    • setCreatedOn

      public void setCreatedOn(Date createdOn)
    • getUpdatedBy

      public String getUpdatedBy()
    • setUpdatedBy

      public void setUpdatedBy(String updatedBy)
    • getUpdatedOn

      public Date getUpdatedOn()
    • setUpdatedOn

      public void setUpdatedOn(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 String getLabel()
    • setLabel

      public void setLabel(String label)
    • getVersion

      public String getVersion()
    • setVersion

      public void setVersion(String version)
    • getTimestamp

      public String getTimestamp()
    • setTimestamp

      public void setTimestamp(String timestamp)
    • getParentPlanningId

      public 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(String parentPlanningId)
    • getEntityModelId

      public String getEntityModelId()
    • setEntityModelId

      public void setEntityModelId(String entityModelId)
    • getEntityBucketId

      public String getEntityBucketId()
    • setEntityBucketId

      public void setEntityBucketId(String entityBucketId)
    • getContentMetaData

      public 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(List<ContentMetaData> contentMetaData)
      Parameters:
      contentMetaData - getContentMetaData()
    • getTableTemplate

      public String getTableTemplate()
      Returns:
      the tableTemplate
    • setTableTemplate

      public void setTableTemplate(String tableTemplate)
      Parameters:
      tableTemplate - the tableTemplate to set
    • getTableSetupId

      public String getTableSetupId()
      Returns:
      the tableSetupId
    • setTableSetupId

      public void setTableSetupId(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 String getPrintPlaceholderUID()
      Returns:
      the printPlaceholderUID
    • setPrintPlaceholderUID

      public void setPrintPlaceholderUID(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 String getSourcePlanningIdentifier()
      Returns:
      the sourcePlanningIdentifier
    • setSourcePlanningIdentifier

      public void setSourcePlanningIdentifier(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 String getSnippetPlanningId()
    • setSnippetPlanningId

      public void setSnippetPlanningId(String snippetPlanningId)
    • toString

      public String toString()
      Overrides:
      toString in class Object