Class PartyRelationshipServices

java.lang.Object
org.apache.ofbiz.party.party.PartyRelationshipServices

public class PartyRelationshipServices extends Object
Services for Party Relationship maintenance
  • Constructor Details

    • PartyRelationshipServices

      public PartyRelationshipServices()
  • Method Details

    • createUpdatePartyRelationshipAndRoles

      public static Map<String,Object> createUpdatePartyRelationshipAndRoles(DispatchContext ctx, Map<String,? extends Object> context)
      Creates and updates a PartyRelationship creating related PartyRoles if needed. A side of the relationship is checked to maintain history
      Parameters:
      ctx - The DispatchContext that this service is operating in
      context - Map containing the input parameters
      Returns:
      Map with the result of the service, the output parameters