Class CmsRewriteAliasValidationReply

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

    public class CmsRewriteAliasValidationReply
    extends java.lang.Object
    implements com.google.gwt.user.client.rpc.IsSerializable
    This class represents the result of a validation of rewrite aliases.

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addError​(CmsUUID id, java.lang.String error)
      Adds a validation error to this object.
      java.util.Map<CmsUUID,​java.lang.String> getErrors()
      Gets the map of error messages by rewrite alias id.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • addError

        public void addError​(CmsUUID id,
                             java.lang.String error)
        Adds a validation error to this object.

        Parameters:
        id - the id of a rewrite alias for which the validation failed
        error - the validation error message
      • getErrors

        public java.util.Map<CmsUUID,​java.lang.String> getErrors()
        Gets the map of error messages by rewrite alias id.

        Returns:
        the map of error messages