code: @Override
      public IEntity getEntity(String key, Class type) throws GroupsException {
          return getEntity(key, type, null);
      }
docs: Returns an <code>IEntity</code> representing a portal entity. This does not guarantee that
  the entity actually exists.