public interface

IUnitContribution

implements IDynamicTargetPlugin
com.pnfsoftware.jeb.core.IUnitContribution

Class Overview

A unit contribution plugin.

Summary

Public Methods
abstract TypedContent getItemInformation(IAddressableUnit targetUnit, long itemId, String itemText, List<Object> documentObjects)
Provide some information for a given interactive item.
abstract TypedContent getLocationInformation(IAddressableUnit targetUnit, String location)
Provide some information for a given location URI.
[Expand]
Inherited Methods
From interface com.pnfsoftware.jeb.core.IDynamicTargetPlugin
From interface com.pnfsoftware.jeb.core.IPlugin

Public Methods

public abstract TypedContent getItemInformation (IAddressableUnit targetUnit, long itemId, String itemText, List<Object> documentObjects)

Provide some information for a given interactive item.

Parameters
targetUnit the target unit
itemId the identifier of an item managed by the target unit
itemText the optional item text
documentObjects optional list of document objects associated to the provided item
Returns
  • content data of the contribution; null if none

public abstract TypedContent getLocationInformation (IAddressableUnit targetUnit, String location)

Provide some information for a given location URI.

Parameters
targetUnit the target unit
location a location/URI
Returns
  • content data of the contribution; null if none