com.plumtree.server
Interface IPTGadgetTemplate

All Superinterfaces:
IPTGadget, IPTLocalizable, IPTObject, IPTServerContext, IPTStorable, IPTUnknown

public interface IPTGadgetTemplate
extends IPTGadget

PTGadgetTemplate interface. Wraps a template object that contains all properties necessary to instantiate a new gadget.

Version:
5.0
Author:
DavidP
See Also:
IPTGadget

Method Summary
 IPTGadget CreateGadgetInstance(IPTSession pUserSession, int lFolderID, int lCommunityID)
          Creates an instance of this gadget template object which can then be stored in the database.
 
Methods inherited from interface com.plumtree.server.IPTGadget
AddMandatoryGroup, GetAlignment, GetGadgetBrowserCLSID, GetGadgetProviderCLSID, GetGadgetTemplateID, GetGadgetType, GetHTMLText, GetMandatoryGadgetOrder, GetProviderInfo, GetSuppressTitleBar, GetWebServiceID, Initialize, QueryMandatoryGroups, RemoveMandatoryGroup, SetAlignment, SetGadgetTemplateID, SetGadgetType, SetMandatoryGadgetOrder, SetProviderInfo, SetSuppressTitleBar, SetWebServiceID
 
Methods inherited from interface com.plumtree.server.IPTObject
GetAdminFolderID, GetClassID, GetCreated, GetImageUUID, GetLastModified, GetObjectProperties, SetAdminFolderID, SetImageUUID, SetLastModified
 
Methods inherited from interface com.plumtree.server.IPTLocalizable
GetDescription, GetIsLocalized, GetLocalizedDescription, GetLocalizedDescriptions, GetLocalizedName, GetLocalizedNames, GetName, GetPrimaryLang, GetSupportsLocalization, SetDescription, SetIsLocalized, SetLocalizedDescriptions, SetLocalizedNames, SetName, SetPrimaryLang
 
Methods inherited from interface com.plumtree.server.IPTUnknown
GetInterfaces
 
Methods inherited from interface com.plumtree.server.IPTServerContext
GetAccessLevel, GetACL, GetLastModifiedBy, GetLockState, GetObjectID, GetOwnerID, GetServerContextSettings, GetSession, GetSettings, LockObject, SetLastModifiedBy, SetObjectID, SetOwnerID, SetServerContextSettings, SetSettings, UnlockObject
 
Methods inherited from interface com.plumtree.server.IPTStorable
Store
 

Method Detail

CreateGadgetInstance

IPTGadget CreateGadgetInstance(IPTSession pUserSession,
                               int lFolderID,
                               int lCommunityID)
Creates an instance of this gadget template object which can then be stored in the database.

Parameters:
pUserSession -
lFolderID - - admin folder ID where the object is to be created
lCommunityID - - community ID for the community the gadget will be created in, or zero if not applicable
Returns:
IPTGadget reference to new instance