Class CmsAliasEditValidationReply

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

    public class CmsAliasEditValidationReply
    extends java.lang.Object
    implements com.google.gwt.user.client.rpc.IsSerializable
    The class used to transfer validation results from the server to the client.

    • Method Detail

      • getNewEntryAliasError

        public java.lang.String getNewEntryAliasError()
        Gets the error message for the new entry alias path text box.

        Returns:
        an error message
      • getNewEntryPathError

        public java.lang.String getNewEntryPathError()
        Gets the error message for the new entry resource path text box.

        Returns:
        an error message
      • hasErrors

        public boolean hasErrors()
        Check if this validation result has any errors.

        Returns:
        true if the validation result has errors
      • setChangedRows

        public void setChangedRows​(java.util.List<CmsAliasTableRow> changedRows)
        Sets the changed rows.

        Parameters:
        changedRows - the changed rows
      • setNewEntryAliasError

        public void setNewEntryAliasError​(java.lang.String newEntryAliasError)
        Sets the error message for the new entry alias path text box.

        Parameters:
        newEntryAliasError - the error message
      • setNewEntryPathError

        public void setNewEntryPathError​(java.lang.String newEntryPathError)
        Sets the error message for the new entry resource path text box.

        Parameters:
        newEntryPathError - the error message
      • setValidatedNewEntry

        public void setValidatedNewEntry​(CmsAliasTableRow validatedNewEntry)
        Sets the validated new entry.

        Parameters:
        validatedNewEntry - the validated new entry