Class CmsSaveResult

  • All Implemented Interfaces:
    com.google.gwt.user.client.rpc.IsSerializable

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

    • Constructor Detail

      • 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 Detail

      • 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