Class ConnectorPersistRemote.PushData
java.lang.Object
com.priint.pubserver.plugin.entitydata.Data
com.priint.pubserver.plugin.interfaces.ConnectorPersistRemote.PushData
- All Implemented Interfaces:
Serializable
- Enclosing interface:
- ConnectorPersistRemote
Data object for push service. This is a wrapper for the
Data class, extending it with the following attributes: - command
- instance
- model
- Since:
- 4.0.5
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionPushCommand describes what action should be taken, when processing this object.Get the entity items as a list.Name of the connector instance (data target) as configured in the publishing server repository.
Some connectors support the notion of a "default instance".getModel()Identifier of entity model that the current data are related to.voidPushCommand describes what action should be taken, when processing this object.voidsetEntityItems(List<EntityItem> entityItems) voidsetInstance(String instance) Name of the connector instance (data target) as configured in the publishing server repository.
Some connectors support the notion of a "default instance".voidIdentifier of entity model that the current data are related to.Methods inherited from class com.priint.pubserver.plugin.entitydata.Data
getBuckets, getConnectorEntities, getConnectorPlugins, getContentMetaData, getCords, getCreatedOn, getIdentifier, getKeyValues, getMediaAssets, getPlannings, getPrices, getSource, getTables, getTexts, setBuckets, setConnectorEntities, setConnectorPlugins, setContentMetaData, setCords, setCreatedOn, setIdentifier, setKeyValues, setMediaAssets, setPlannings, setPrices, setSource, setTables, setTexts
-
Constructor Details
-
PushData
public PushData()
-
-
Method Details
-
getCommand
PushCommand describes what action should be taken, when processing this object.- Returns:
- command
-
getInstance
Name of the connector instance (data target) as configured in the publishing server repository.
Some connectors support the notion of a "default instance". In this cases instance field may be equal to null or empty string.- Returns:
- connector instance
-
getModel
Identifier of entity model that the current data are related to.
This value is used when inferring or updating an entity model from the data.- Returns:
- model identifier
-
setCommand
PushCommand describes what action should be taken, when processing this object.- Parameters:
command-
-
setInstance
Name of the connector instance (data target) as configured in the publishing server repository.
Some connectors support the notion of a "default instance". In this cases instance field may be equal to null or empty string.- Parameters:
instance-
-
setModel
Identifier of entity model that the current data are related to.
This value is used when inferring or updating an entity model from the data.- Parameters:
model-
-
getEntityItems
Get the entity items as a list.- Returns:
ListofEntityItem. Never null.
-
setEntityItems
- Parameters:
entityItems-ListofEntityItem- See Also:
-