Package org.opencms.gwt.shared.alias
Class CmsAliasImportResult
java.lang.Object
org.opencms.gwt.shared.alias.CmsAliasImportResult
- All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable
public class CmsAliasImportResult
extends Object
implements com.google.gwt.user.client.rpc.IsSerializable
A bean representing the result of trying to import a single alias.
-
Constructor Summary
ModifierConstructorDescriptionprotected
Default constructor used for serialization.CmsAliasImportResult
(String line, CmsAliasImportStatus status, String message) Creates a new instance.CmsAliasImportResult
(CmsAliasImportStatus status, String message, String aliasPath, String targetPath, CmsAliasMode mode) Creates a new instance. -
Method Summary
-
Constructor Details
-
CmsAliasImportResult
protected CmsAliasImportResult()Default constructor used for serialization.
-
Method Details
-
getAliasPath
Gets the alias path.- Returns:
- the alias path
-
getLine
Gets the line containing the alias data.- Returns:
- the line containing the alias data
-
getMessage
Gets the import message.- Returns:
- the import message
-
getMode
Gets the alias mode.- Returns:
- the alias mode
-
getStatus
Gets the status.- Returns:
- the status
-
getTargetPath
Gets the alias target path.- Returns:
- the alias target path
-
setLine
Sets the line containing the alias data.- Parameters:
line
- the line containing the alias data
-