Package com.pnfsoftware.jeb.core
Interface IUnitContribution
- All Superinterfaces:
IDynamicTargetPlugin
,IPlugin
A unit contribution plugin.
-
Method Summary
Modifier and TypeMethodDescriptiongetItemInformation
(IAddressableUnit targetUnit, long itemId, String itemText, List<Object> documentObjects) Provide some information for a given interactive item.getLocationInformation
(IAddressableUnit targetUnit, String location) Provide some information for a given location URI.Methods inherited from interface com.pnfsoftware.jeb.core.IDynamicTargetPlugin
getPrimaryTarget, isTarget, setPrimaryTarget
Methods inherited from interface com.pnfsoftware.jeb.core.IPlugin
dispose, getData, getPluginInformation, setData
-
Method Details
-
getItemInformation
TypedContent getItemInformation(IAddressableUnit targetUnit, long itemId, String itemText, List<Object> documentObjects) Provide some information for a given interactive item.- Parameters:
targetUnit
- the target unititemId
- the identifier of an item managed by the target unititemText
- the optional item textdocumentObjects
- optional list of document objects associated to the provided item- Returns:
- content data of the contribution; null if none
-
getLocationInformation
Provide some information for a given location URI.- Parameters:
targetUnit
- the target unitlocation
- a location/URI- Returns:
- content data of the contribution; null if none
-