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

public static class ConnectorPersistRemote.PushData extends Data
Data object for push service. This is a wrapper for the Data class, extending it with the following attributes:
  • command
  • instance
  • model
It also provides some useful methods for converting PushData from or into other data types.
Since:
4.0.5
See Also:
  • Constructor Details

    • PushData

      public PushData()
  • Method Details

    • getCommand

      PushCommand describes what action should be taken, when processing this object.
      Returns:
      command
    • getInstance

      public 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 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(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(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 List<EntityItem> getEntityItems()
      Get the entity items as a list.
      Returns:
      List of EntityItem. Never null.
    • setEntityItems

      public void setEntityItems(List<EntityItem> entityItems)
      Parameters:
      entityItems - List of EntityItem
      See Also: