code: protected void validate(final CmsEntity entity) {
  
          if (!m_validating) {
              m_validating = true;
              m_contentService.validateEntity(entity, new AsyncCallback<CmsValidationResult>() {
  
                  public void onFailure(Throwable caught) {
  
                      // can be ignored
                  }
  
                  public void onSuccess(CmsValidationResult result) {
  
                      displayValidation(entity.getId(), result);
                  }
              });
          }
      }
docs: Validates the given entity.<p>
  
  @param entity the entity