com.plumtree.server
Interface IPTGadgetCacheSite

All Superinterfaces:
IPTUnknown

public interface IPTGadgetCacheSite
extends IPTUnknown

Object used to hold gadget data in the gadget cache. Wraps the disabled and normal gadget cache entries into a single manageable entry.

See Also:
IPTGadget

Method Summary
 java.lang.String GetDisabledMessage()
          Returns message to display in gadget if disabled.
 boolean GetEnabled()
          Returns boolean enabled flag for this gadget
 java.lang.Object GetGadget()
          Instance of IPTGadget referencing the gadget in this gadget cache entry
 int GetGadgetID()
          ID of gadget in this entry in the gadget cache.
 int GetSupportsPersonalization()
          Returns int for personalization level.
 java.lang.Object GetWebService()
          Returns the integer ID of the web service associated with this gadget instance.
 
Methods inherited from interface com.plumtree.server.IPTUnknown
GetInterfaces
 

Method Detail

GetGadgetID

public int GetGadgetID()
ID of gadget in this entry in the gadget cache.
Returns:
int

GetGadget

public java.lang.Object GetGadget()
Instance of IPTGadget referencing the gadget in this gadget cache entry
Returns:
Object castable to IPTGadget

GetEnabled

public boolean GetEnabled()
Returns boolean enabled flag for this gadget
Returns:
boolean true if enabled

GetDisabledMessage

public java.lang.String GetDisabledMessage()
Returns message to display in gadget if disabled.
Returns:
String

GetSupportsPersonalization

public int GetSupportsPersonalization()
Returns int for personalization level. This is an assembly of bitflags signifying the level of personalization. An example would beteh bitflag PT_GADGETPERSONALIZATION_HELPPAGE.
Returns:
int
See Also:
PT_GADGETPERSONALIZATION_ROLES

GetWebService

public java.lang.Object GetWebService()
Returns the integer ID of the web service associated with this gadget instance.
Returns:
int web service ID


Copyright © 2003 Plumtree Software Inc. All Rights Reserved.