Package org.opencms.gwt.shared.alias
Class CmsRewriteAliasTableRow
java.lang.Object
org.opencms.gwt.shared.alias.CmsRewriteAliasTableRow
- All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable
public class CmsRewriteAliasTableRow
extends Object
implements com.google.gwt.user.client.rpc.IsSerializable
A class containing the data for a row of the rewrite alias table.
-
Constructor Summary
ConstructorDescriptionDefault constructor, used for serialization.CmsRewriteAliasTableRow
(CmsUUID id, String patternString, String replacementString, CmsAliasMode mode) Creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptiongetError()
Gets the error message for this row.getId()
Gets the id of the alias.getMode()
Gets the alias mode for this row.Gets the regular expression string.Gets the string used to replace the string matching the regex.void
Sets the error message for this row.void
Sets the id of this row.void
setMode
(CmsAliasMode mode) Sets the mode of this row.void
setPatternString
(String patternString) Sets the pattern of this row.void
setReplacementString
(String replacementString) Sets the replacement string for this row.
-
Constructor Details
-
CmsRewriteAliasTableRow
public CmsRewriteAliasTableRow()Default constructor, used for serialization.
-
-
Method Details
-
getError
Gets the error message for this row.- Returns:
- the error message for this row
-
getId
Gets the id of the alias.- Returns:
- the id of the alias
-
getMode
Gets the alias mode for this row.- Returns:
- the alias mode for this row
-
getPatternString
Gets the regular expression string.- Returns:
- the regular expression string
-
getReplacementString
Gets the string used to replace the string matching the regex.- Returns:
- the replacement string
-
setError
Sets the error message for this row.- Parameters:
error
- the new error message
-
setId
Sets the id of this row.- Parameters:
id
- the new id
-
setPatternString
Sets the pattern of this row.- Parameters:
patternString
- the new pattern
-
setReplacementString
Sets the replacement string for this row.- Parameters:
replacementString
- the new replacement string
-