com.plumtree.server
Interface IPTCommunityManager


public interface IPTCommunityManager


Method Summary
 IPTCommunityInfo CachedOpenCommunityInfo(int nCommunityID, boolean bCheckLastModified)
          Returns an IPTCommunityInfo, which can be used by the UI to display a cached version of the community.
 IPTQueryResult QueryCommunitiesForGadget(int nGadgetID)
          Returns a query result of object IDs for the communities that contain the given gadget.
 

Method Detail

CachedOpenCommunityInfo

public IPTCommunityInfo CachedOpenCommunityInfo(int nCommunityID,
                                                boolean bCheckLastModified)
Returns an IPTCommunityInfo, which can be used by the UI to display a cached version of the community.
Parameters:
nCommunityID - ID of the Community to open
bCheckLastModified - Checks the last modified date of the Community in the DB and loads a fresh entry to cache if the Community info in the cache is old.
Returns:
IPTCommunityInfo

QueryCommunitiesForGadget

public IPTQueryResult QueryCommunitiesForGadget(int nGadgetID)
Returns a query result of object IDs for the communities that contain the given gadget.
Parameters:
nGadgetID - ID of the gadget to query for.
Returns:
IPTQueryResult Communities that contains the specified gadget with these columns: PT_PROPIDS.PT_PROPID_OBJECTID, PT_PROPIDS.PT_PROPID_NAME
See Also:
PT_PROPIDS


Copyright © 2003 Plumtree Software Inc. All Rights Reserved.