WebCenter Interaction API  
 

IPTGadgetAssociatedContentProvider.GetContent Method (Int32, Int32, Object, IPTSession, IPTGadgetInfo, IPTAdminSettings, IPTUserInterface)

Get a piece of associated content when given the mode and the content identifier. -jas

IPTContent GetContent(
   int lMode,
   int vContentID,
   object vAppDataStateObject,
   IPTSession pUserSession,
   IPTGadgetInfo pGadgetInfo,
   IPTAdminSettings pAdminSettings,
   IPTUserInterface pUserInterface
);

Parameters

lMode
The mode, see see {@link com.plumtree.server.PT_GADGET_MODES PT_GADGET_MODES}.
vContentID
The content ID, see {@link com.plumtree.server.PT_ASSOCIATEDCONTENT PT_ASSOCIATEDCONTENT}.
vAppDataStateObject
Contains additonal arguments specific to the provider or the user interface.
pUserSession
The current user's session.
pGadgetInfo
Used to get and set persistent settings.
pAdminSettings
Used to set administrator settings. Null if the current user cannot set admin settings in the current mode or context.
pUserInterface
The user interface (e.g. devices, low bandwidth). Optional, may be null.

Return Value

The content.

See Also

IPTGadgetAssociatedContentProvider Interface | com.plumtree.server Namespace | IPTGadgetAssociatedContentProvider.GetContent Overload List