code: public void setResultViewType(final String resultViewType) {
  
          CmsRpcAction<Void> action = new CmsRpcAction<Void>() {
  
              @Override
              public void execute() {
  
                  getGalleryService().saveResultViewType(resultViewType, this);
              }
  
              @Override
              protected void onResponse(Void result) {
  
                  // nothing to do
              }
  
          };
          action.execute();
      }
docs: Stores the result view type.<p>
  
  @param resultViewType the result view type