Class CmsSaveResult

java.lang.Object
org.opencms.ade.contenteditor.shared.CmsSaveResult
All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable

public class CmsSaveResult extends Object implements com.google.gwt.user.client.rpc.IsSerializable
Stores the editor save result information.

  • Constructor Details

    • CmsSaveResult

      public CmsSaveResult(boolean hasChangedSettings, CmsValidationResult validationResult)
      Constructor.

      Parameters:
      hasChangedSettings - if container element settings where changed
      validationResult - the validation result
    • CmsSaveResult

      protected CmsSaveResult()
      Constructor for serialization only.

  • Method Details

    • getValidationResult

      Returns the validation result.

      Returns:
      the validation result
    • hasErrors

      public boolean hasErrors()
      Returns whether the validation result has errors.

      Returns:
      true in case the validation result has errors
    • isHasChangedSettings

      public boolean isHasChangedSettings()
      Returns whether container element settings where changed.

      Returns:
      true in case container element settings where changed