Package org.apache.ofbiz.party.party
Class PartyRelationshipServices
java.lang.Object
org.apache.ofbiz.party.party.PartyRelationshipServices
Services for Party Relationship maintenance
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateUpdatePartyRelationshipAndRoles
(DispatchContext ctx, Map<String, ? extends Object> context) Creates and updates a PartyRelationship creating related PartyRoles if needed.
-
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 incontext
- Map containing the input parameters- Returns:
- Map with the result of the service, the output parameters
-