Class CmsAliasEditValidationReply

java.lang.Object
org.opencms.gwt.shared.alias.CmsAliasEditValidationReply
All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable

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

  • Constructor Details

  • Method Details

    • getChangedRows

      Gets the changed rows.

      Returns:
      the changed row list
    • getNewEntryAliasError

      Gets the error message for the new entry alias path text box.

      Returns:
      an error message
    • getNewEntryPathError

      Gets the error message for the new entry resource path text box.

      Returns:
      an error message
    • getValidatedNewEntry

      Gets the validated new entry.

      Returns:
      the validated new entry
    • hasErrors

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

      Returns:
      true if the validation result has errors
    • setChangedRows

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

      Parameters:
      changedRows - the changed rows
    • setNewEntryAliasError

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

      Parameters:
      newEntryAliasError - the error message
    • setNewEntryPathError

      public void setNewEntryPathError(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