code: public void launchAddAssignmentWizard(final String serverGroup) {
          new Async<FunctionContext>().single(new FunctionContext(),
                  new Outcome<FunctionContext>() {
                      @Override
                      public void onFailure(final FunctionContext context) {
                          Console.error(Console.CONSTANTS.unableToAddDeployment(), context.getErrorMessage());
                      }
  
                      @Override
                      public void onSuccess(final FunctionContext context) {
                          List<Content> contentRepository = context.pop();
                          List<Content> unassigned = new ArrayList<>();
                          for (Content content : contentRepository) {
                              if (content.getAssignments().isEmpty()) {
                                  unassigned.add(content);
                              }
                          }
                          addDeploymentWizard.open(unassigned, serverGroup);
                      }
                  },
                  new DeploymentFunctions.LoadContentAssignments(dispatcher, serverGroup)
          );
      }
docs: ------------------------------------------------------ assignments methods