ucRelationshipGroupPreAdd

Purpose

This method provides the list of items that are added to a relationship group.

Applies To

Relationship Group Methods

Signature

public boolean ucRelationshipGroupPreAdd (
      SesameSession session,    	//Session object
      List addIds,         	        //list of ids to be added
      String relationshipGroupId,       //relationshipGrpId of group 
                                        // to be added to
      Connection con)           	//Connection object

Notes

This method can be used for additional validation, and returns true on success. Do not use a COMMIT within this method. ExtraView will handle the COMMIT based on the return value. If false is returned any transactions performed in this method will be rolled back. Returning false will also rollback the addition of items to the group in ExtraView

Example

public boolean ucRelationshipGroupPreAdd(
         SesameSession session,      // Session object
         List addIds,                // list of ids to be added.
         String relationshipGroupId, // relationshipGrpId of group to be added to.
         Connection con) {           // Connection object
     return true;
  }