Class ConnectorPersistRemote.PushData
- java.lang.Object
-
- com.priint.pubserver.plugin.entitydata.Data
-
- com.priint.pubserver.plugin.interfaces.ConnectorPersistRemote.PushData
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing interface:
- ConnectorPersistRemote
public static class ConnectorPersistRemote.PushData extends Data
Data object for push service. This is a wrapper for theDataclass, extending it with the following attributes:- command
- instance
- model
- Since:
- 4.0.5
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PushData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConnectorPersistRemote.PushCommandgetCommand()PushCommand describes what action should be taken, when processing this object.java.util.List<EntityItem>getEntityItems()Get the entity items as a list.java.lang.StringgetInstance()Name of the connector instance (data target) as configured in the publishing server repository.
Some connectors support the notion of a "default instance".java.lang.StringgetModel()Identifier of entity model that the current data are related to.voidsetCommand(ConnectorPersistRemote.PushCommand command)PushCommand describes what action should be taken, when processing this object.voidsetEntityItems(java.util.List<EntityItem> entityItems)voidsetInstance(java.lang.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".voidsetModel(java.lang.String model)Identifier 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
-
-
-
-
Method Detail
-
getCommand
public ConnectorPersistRemote.PushCommand getCommand()
PushCommand describes what action should be taken, when processing this object.- Returns:
- command
-
getInstance
public java.lang.String 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
public java.lang.String 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
public void setCommand(ConnectorPersistRemote.PushCommand command)
PushCommand describes what action should be taken, when processing this object.- Parameters:
command-
-
setInstance
public void setInstance(java.lang.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". In this cases instance field may be equal to null or empty string.- Parameters:
instance-
-
setModel
public void setModel(java.lang.String model)
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
public java.util.List<EntityItem> getEntityItems()
Get the entity items as a list.- Returns:
ListofEntityItem. Never null.
-
setEntityItems
public void setEntityItems(java.util.List<EntityItem> entityItems)
- Parameters:
entityItems-ListofEntityItem- See Also:
getEntityItems()
-
-