Class CmsRewriteAliasTableRow

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

    public class CmsRewriteAliasTableRow
    extends java.lang.Object
    implements com.google.gwt.user.client.rpc.IsSerializable
    A class containing the data for a row of the rewrite alias table.

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getError()
      Gets the error message for this row.
      CmsUUID getId()
      Gets the id of the alias.
      CmsAliasMode getMode()
      Gets the alias mode for this row.
      java.lang.String getPatternString()
      Gets the regular expression string.
      java.lang.String getReplacementString()
      Gets the string used to replace the string matching the regex.
      void setError​(java.lang.String error)
      Sets the error message for this row.
      void setId​(CmsUUID id)
      Sets the id of this row.
      void setMode​(CmsAliasMode mode)
      Sets the mode of this row.
      void setPatternString​(java.lang.String patternString)
      Sets the pattern of this row.
      void setReplacementString​(java.lang.String replacementString)
      Sets the replacement string for this row.
      • Methods inherited from class java.lang.Object

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

      • CmsRewriteAliasTableRow

        public CmsRewriteAliasTableRow​(CmsUUID id,
                                       java.lang.String patternString,
                                       java.lang.String replacementString,
                                       CmsAliasMode mode)
        Creates a new instance.

        Parameters:
        id - the id of the alias
        patternString - the regular expression used for matching the URI
        replacementString - the replacement string used when the URI is matched
        mode - the alias mode for this row
    • Method Detail

      • getError

        public java.lang.String getError()
        Gets the error message for this row.

        Returns:
        the error message for this row
      • getId

        public CmsUUID getId()
        Gets the id of the alias.

        Returns:
        the id of the alias
      • getMode

        public CmsAliasMode getMode()
        Gets the alias mode for this row.

        Returns:
        the alias mode for this row
      • getPatternString

        public java.lang.String getPatternString()
        Gets the regular expression string.

        Returns:
        the regular expression string
      • getReplacementString

        public java.lang.String getReplacementString()
        Gets the string used to replace the string matching the regex.

        Returns:
        the replacement string
      • setError

        public void setError​(java.lang.String error)
        Sets the error message for this row.

        Parameters:
        error - the new error message
      • setId

        public void setId​(CmsUUID id)
        Sets the id of this row.

        Parameters:
        id - the new id
      • setMode

        public void setMode​(CmsAliasMode mode)
        Sets the mode of this row.

        Parameters:
        mode - the new mode
      • setPatternString

        public void setPatternString​(java.lang.String patternString)
        Sets the pattern of this row.

        Parameters:
        patternString - the new pattern
      • setReplacementString

        public void setReplacementString​(java.lang.String replacementString)
        Sets the replacement string for this row.

        Parameters:
        replacementString - the new replacement string