Interface CreateGroupHandler

  • All Implemented Interfaces:

    
    public interface CreateGroupHandler
    
                        

    Callback for group creation.

    The underlying SDK provides additional errorKeys on failure that OperationHandler cannot carry, so this dedicated handler is used.

    • On success: onResult(processCode, null, null)

    • On failure: onResult(null, errorKeys, error)

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract Unit onResult(Integer processCode, List<String> errorKeys, NCError error) Called when the create-group operation completes.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • onResult

         abstract Unit onResult(Integer processCode, List<String> errorKeys, NCError error)

        Called when the create-group operation completes.

        Parameters:
        processCode - Process status code on success (e.g.
        errorKeys - List of keys/user IDs that caused the failure; null on success
        error - null on success; non-null on failure