code: protected Collection<InternalType> getObjectInstances(ModeledAuthenticatedUser currentUser,
              Collection<ModelType> models) throws GuacamoleException {
  
          // Create new collection of objects by manually converting each model
          Collection<InternalType> objects = new ArrayList<InternalType>(models.size());
          for (ModelType model : models)
              objects.add(getObjectInstance(currentUser, model));
  
          return objects;
          
      }
docs: Returns a collection of objects which are backed by the models in the
  given collection.
  
  @param currentUser
  The user for whom these objects are being created.
  
  @param models
  The model objects to use to back the objects within the returned
  collection.
  
  @return
  A collection of objects which are backed by the models in the given
  collection.
  
  @throws GuacamoleException
  If any of the object instances cannot be created.