Class ContactMechServices


  • public class ContactMechServices
    extends java.lang.Object
    Services for Contact Mechanism 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> copyPartyContactMechs​(DispatchContext dctx, java.util.Map<java.lang.String,​? extends java.lang.Object> context)
      Copies all contact mechs from one party to another.
      static java.util.Map<java.lang.String,​java.lang.Object> createContactMech​(DispatchContext ctx, java.util.Map<java.lang.String,​? extends java.lang.Object> context)
      Creates a ContactMech security check: userLogin partyId must equal partyId, or must have PARTYMGR_CREATE permission
      static java.util.Map<java.lang.String,​java.lang.Object> createEmailAddress​(DispatchContext ctx, java.util.Map<java.lang.String,​? extends java.lang.Object> context)
      Creates a EmailAddress security check: userLogin partyId must equal partyId, or must have PARTYMGR_CREATE permission
      static java.util.Map<java.lang.String,​java.lang.Object> createEmailAddressVerification​(DispatchContext dctx, java.util.Map<java.lang.String,​? extends java.lang.Object> context)
      Creates an EmailAddressVerification
      static java.util.Map<java.lang.String,​java.lang.Object> createPartyContactMechPurpose​(DispatchContext ctx, java.util.Map<java.lang.String,​? extends java.lang.Object> context)
      Creates a PartyContactMechPurpose security check: userLogin partyId must equal partyId, or must have PARTYMGR_CREATE permission
      static java.util.Map<java.lang.String,​java.lang.Object> createPostalAddress​(DispatchContext ctx, java.util.Map<java.lang.String,​? extends java.lang.Object> context)
      Creates a PostalAddress security check: userLogin partyId must equal partyId, or must have PARTYMGR_CREATE permission
      static java.util.Map<java.lang.String,​java.lang.Object> createTelecomNumber​(DispatchContext ctx, java.util.Map<java.lang.String,​? extends java.lang.Object> context)
      Creates a TelecomNumber security check: userLogin partyId must equal partyId, or must have PARTYMGR_CREATE permission
      static java.util.Map<java.lang.String,​java.lang.Object> deleteContactMech​(DispatchContext ctx, java.util.Map<java.lang.String,​? extends java.lang.Object> context)
      Deletes a ContactMech security check: userLogin partyId must equal partyId, or must have PARTYMGR_DELETE permission
      static java.util.Map<java.lang.String,​java.lang.Object> getPartyContactMechValueMaps​(DispatchContext ctx, java.util.Map<java.lang.String,​? extends java.lang.Object> context)
      Just wraps the ContactMechWorker method of the same name.
      static java.util.Map<java.lang.String,​java.lang.Object> updateContactMech​(DispatchContext ctx, java.util.Map<java.lang.String,​? extends java.lang.Object> context)
      Updates a ContactMech security check: userLogin partyId must equal partyId, or must have PARTYMGR_UPDATE permission
      static java.util.Map<java.lang.String,​java.lang.Object> updateEmailAddress​(DispatchContext ctx, java.util.Map<java.lang.String,​? extends java.lang.Object> context)
      Updates a EmailAddress security check: userLogin partyId must equal partyId, or must have PARTYMGR_UPDATE permission
      static java.util.Map<java.lang.String,​java.lang.Object> updatePostalAddress​(DispatchContext ctx, java.util.Map<java.lang.String,​? extends java.lang.Object> context)
      Updates a PostalAddress security check: userLogin partyId must equal partyId, or must have PARTYMGR_UPDATE permission
      static java.util.Map<java.lang.String,​java.lang.Object> updateTelecomNumber​(DispatchContext ctx, java.util.Map<java.lang.String,​? extends java.lang.Object> context)
      Updates a TelecomNumber security check: userLogin partyId must equal partyId, or must have PARTYMGR_UPDATE permission
      • 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

      • ContactMechServices

        public ContactMechServices()
    • Method Detail

      • createContactMech

        public static java.util.Map<java.lang.String,​java.lang.Object> createContactMech​(DispatchContext ctx,
                                                                                               java.util.Map<java.lang.String,​? extends java.lang.Object> context)
        Creates a ContactMech security check: userLogin partyId must equal partyId, or must have PARTYMGR_CREATE permission
        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
      • updateContactMech

        public static java.util.Map<java.lang.String,​java.lang.Object> updateContactMech​(DispatchContext ctx,
                                                                                               java.util.Map<java.lang.String,​? extends java.lang.Object> context)
        Updates a ContactMech security check: userLogin partyId must equal partyId, or must have PARTYMGR_UPDATE permission
        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
      • deleteContactMech

        public static java.util.Map<java.lang.String,​java.lang.Object> deleteContactMech​(DispatchContext ctx,
                                                                                               java.util.Map<java.lang.String,​? extends java.lang.Object> context)
        Deletes a ContactMech security check: userLogin partyId must equal partyId, or must have PARTYMGR_DELETE permission
        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
      • createPostalAddress

        public static java.util.Map<java.lang.String,​java.lang.Object> createPostalAddress​(DispatchContext ctx,
                                                                                                 java.util.Map<java.lang.String,​? extends java.lang.Object> context)
        Creates a PostalAddress security check: userLogin partyId must equal partyId, or must have PARTYMGR_CREATE permission
        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
      • updatePostalAddress

        public static java.util.Map<java.lang.String,​java.lang.Object> updatePostalAddress​(DispatchContext ctx,
                                                                                                 java.util.Map<java.lang.String,​? extends java.lang.Object> context)
        Updates a PostalAddress security check: userLogin partyId must equal partyId, or must have PARTYMGR_UPDATE permission
        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
      • createTelecomNumber

        public static java.util.Map<java.lang.String,​java.lang.Object> createTelecomNumber​(DispatchContext ctx,
                                                                                                 java.util.Map<java.lang.String,​? extends java.lang.Object> context)
        Creates a TelecomNumber security check: userLogin partyId must equal partyId, or must have PARTYMGR_CREATE permission
        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
      • updateTelecomNumber

        public static java.util.Map<java.lang.String,​java.lang.Object> updateTelecomNumber​(DispatchContext ctx,
                                                                                                 java.util.Map<java.lang.String,​? extends java.lang.Object> context)
        Updates a TelecomNumber security check: userLogin partyId must equal partyId, or must have PARTYMGR_UPDATE permission
        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
      • createEmailAddress

        public static java.util.Map<java.lang.String,​java.lang.Object> createEmailAddress​(DispatchContext ctx,
                                                                                                java.util.Map<java.lang.String,​? extends java.lang.Object> context)
        Creates a EmailAddress security check: userLogin partyId must equal partyId, or must have PARTYMGR_CREATE permission
        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
      • updateEmailAddress

        public static java.util.Map<java.lang.String,​java.lang.Object> updateEmailAddress​(DispatchContext ctx,
                                                                                                java.util.Map<java.lang.String,​? extends java.lang.Object> context)
        Updates a EmailAddress security check: userLogin partyId must equal partyId, or must have PARTYMGR_UPDATE permission
        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
      • createPartyContactMechPurpose

        public static java.util.Map<java.lang.String,​java.lang.Object> createPartyContactMechPurpose​(DispatchContext ctx,
                                                                                                           java.util.Map<java.lang.String,​? extends java.lang.Object> context)
        Creates a PartyContactMechPurpose security check: userLogin partyId must equal partyId, or must have PARTYMGR_CREATE permission
        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
      • getPartyContactMechValueMaps

        public static java.util.Map<java.lang.String,​java.lang.Object> getPartyContactMechValueMaps​(DispatchContext ctx,
                                                                                                          java.util.Map<java.lang.String,​? extends java.lang.Object> context)
        Just wraps the ContactMechWorker method of the same name.
        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
      • copyPartyContactMechs

        public static java.util.Map<java.lang.String,​java.lang.Object> copyPartyContactMechs​(DispatchContext dctx,
                                                                                                   java.util.Map<java.lang.String,​? extends java.lang.Object> context)
        Copies all contact mechs from one party to another. Does not delete or overwrite any contact mechs.
      • createEmailAddressVerification

        public static java.util.Map<java.lang.String,​java.lang.Object> createEmailAddressVerification​(DispatchContext dctx,
                                                                                                            java.util.Map<java.lang.String,​? extends java.lang.Object> context)
        Creates an EmailAddressVerification