public class CmsRewriteAliasTableRow
extends java.lang.Object
implements com.google.gwt.user.client.rpc.IsSerializable
| 构造器和说明 |
|---|
CmsRewriteAliasTableRow()
Default constructor, used for serialization.
|
CmsRewriteAliasTableRow(CmsUUID id,
java.lang.String patternString,
java.lang.String replacementString,
CmsAliasMode mode)
Creates a new instance.
|
| 限定符和类型 | 方法和说明 |
|---|---|
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.
|
public CmsRewriteAliasTableRow()
public CmsRewriteAliasTableRow(CmsUUID id, java.lang.String patternString, java.lang.String replacementString, CmsAliasMode mode)
id - the id of the aliaspatternString - the regular expression used for matching the URIreplacementString - the replacement string used when the URI is matchedmode - the alias mode for this rowpublic java.lang.String getError()
public CmsUUID getId()
public CmsAliasMode getMode()
public java.lang.String getPatternString()
public java.lang.String getReplacementString()
public void setError(java.lang.String error)
error - the new error messagepublic void setId(CmsUUID id)
id - the new idpublic void setMode(CmsAliasMode mode)
mode - the new modepublic void setPatternString(java.lang.String patternString)
patternString - the new patternpublic void setReplacementString(java.lang.String replacementString)
replacementString - the new replacement string