com.plumtree.server
Interface IPTObjectPropertyMap


public interface IPTObjectPropertyMap

Retrieve and modify property to class mappings for object properties. Before property data can be added to an object, a mapping must exist between a property and the class of the object.

Author:
Joseph Chen

Method Summary
 IPTQueryResult QueryAllClassPropertyMappings(int propIDMask)
          Query all property to class mappings used for object properties.
 IPTQueryResult QueryClassPropertyMappings(int classID, int propIDMask)
          Query property to class mappings used for object properties for a single class.
 void SetClassPropertyMappings(int classID, int[] propertyIDs)
          Set mappings from a class to a list of properties.
 

Method Detail

QueryClassPropertyMappings

IPTQueryResult QueryClassPropertyMappings(int classID,
                                          int propIDMask)
Query property to class mappings used for object properties for a single class.

Parameters:
classID - Class ID from PT_CLASSIDS
propIDMask - PropID mask from PT_PROPIDS
Returns:
Query result of property to class mappings for a single class.

QueryAllClassPropertyMappings

IPTQueryResult QueryAllClassPropertyMappings(int propIDMask)
Query all property to class mappings used for object properties.

Parameters:
propIDMask - PropID mask from PT_PROPIDS
Returns:
Query result of all property to class mappings

SetClassPropertyMappings

void SetClassPropertyMappings(int classID,
                              int[] propertyIDs)
Set mappings from a class to a list of properties.

Parameters:
classID - Class ID from PT_CLASSIDS
propertyIDs - A int[] of property ID's.