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 java.lang.Object implements com.google.gwt.user.client.rpc.IsSerializable
Stores the editor save result information.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
CmsSaveResult()
Constructor for serialization only.CmsSaveResult(boolean hasChangedSettings, CmsValidationResult validationResult)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CmsValidationResult
getValidationResult()
Returns the validation result.boolean
hasErrors()
Returns whether the validation result has errors.boolean
isHasChangedSettings()
Returns whether container element settings where changed.
-
-
-
Constructor Detail
-
CmsSaveResult
public CmsSaveResult(boolean hasChangedSettings, CmsValidationResult validationResult)
Constructor.- Parameters:
hasChangedSettings
- if container element settings where changedvalidationResult
- the validation result
-
CmsSaveResult
protected CmsSaveResult()
Constructor for serialization only.
-
-
Method Detail
-
getValidationResult
public CmsValidationResult 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
-
-