com.plumtree.server
Interface IPTListManager


public interface IPTListManager

General interface which is mean to be used for the addition, deletion, and edit of a list of simple "objects". These methods are meant to directly modify the database so there is no in-memory representation of the "object".


Method Summary
 int AddItem(java.lang.Object[][] itemProperties)
          Adds a new item to the list.
 void DeleteItem(int itemID)
          Delete an existing item from the list.
 void SetItem(int itemID, java.lang.Object itemProperties)
          Modifies the characteristics of an item in list.
 

Method Detail

SetItem

public void SetItem(int itemID,
                    java.lang.Object itemProperties)
Modifies the characteristics of an item in list.
Parameters:
itemID - Activity ID
itemProperties - 2D Object array containing 2 columns (property ID, property value) and 1-3 rows. Array is in [COL][ROW] format.

AddItem

public int AddItem(java.lang.Object[][] itemProperties)
Adds a new item to the list.
Parameters:
itemProperties - Array of item properties
Returns:
ID of newly created item

DeleteItem

public void DeleteItem(int itemID)
Delete an existing item from the list.
Parameters:
itemID - Activity ID


Copyright © 2003 Plumtree Software Inc. All Rights Reserved.