Package org.apache.ofbiz.party.party
Class PartyRelationshipServices
- java.lang.Object
-
- org.apache.ofbiz.party.party.PartyRelationshipServices
-
public class PartyRelationshipServices extends java.lang.Object
Services for Party Relationship maintenance
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
module
static java.lang.String
resource
static java.lang.String
resourceError
-
Constructor Summary
Constructors Constructor Description PartyRelationshipServices()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.Map<java.lang.String,java.lang.Object>
createPartyRelationshipType(DispatchContext ctx, java.util.Map<java.lang.String,? extends java.lang.Object> context)
Creates a PartyRelationshipTypestatic java.util.Map<java.lang.String,java.lang.Object>
createUpdatePartyRelationshipAndRoles(DispatchContext ctx, java.util.Map<java.lang.String,? extends java.lang.Object> context)
Creates and updates a PartyRelationship creating related PartyRoles if needed.
-
-
-
Field Detail
-
module
public static final java.lang.String module
-
resource
public static final java.lang.String resource
- See Also:
- Constant Field Values
-
resourceError
public static final java.lang.String resourceError
- See Also:
- Constant Field Values
-
-
Method Detail
-
createPartyRelationshipType
public static java.util.Map<java.lang.String,java.lang.Object> createPartyRelationshipType(DispatchContext ctx, java.util.Map<java.lang.String,? extends java.lang.Object> context)
Creates a PartyRelationshipType- 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
-
createUpdatePartyRelationshipAndRoles
public static java.util.Map<java.lang.String,java.lang.Object> createUpdatePartyRelationshipAndRoles(DispatchContext ctx, java.util.Map<java.lang.String,? extends java.lang.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
-
-