Class 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  
    • 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 PartyRelationshipType
      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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • module

        public static final java.lang.String module
    • Constructor Detail

      • PartyRelationshipServices

        public PartyRelationshipServices()
    • 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 in
        context - 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 in
        context - Map containing the input parameters
        Returns:
        Map with the result of the service, the output parameters