org.opencms.gwt.shared.alias
Class CmsAliasImportResult

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

public class CmsAliasImportResult
extends java.lang.Object
implements com.google.gwt.user.client.rpc.IsSerializable

A bean representing the result of trying to import a single alias.


Constructor Summary
protected CmsAliasImportResult()
          Default constructor used for serialization.
  CmsAliasImportResult(CmsAliasImportStatus status, java.lang.String message, java.lang.String aliasPath, java.lang.String targetPath, CmsAliasMode mode)
          Creates a new instance.
  CmsAliasImportResult(java.lang.String line, CmsAliasImportStatus status, java.lang.String message)
          Creates a new instance.
 
Method Summary
 java.lang.String getAliasPath()
          Gets the alias path.
 java.lang.String getLine()
          Gets the line containing the alias data.
 java.lang.String getMessage()
          Gets the import message.
 CmsAliasMode getMode()
          Gets the alias mode.
 CmsAliasImportStatus getStatus()
          Gets the status.
 java.lang.String getTargetPath()
          Gets the alias target path.
 void setLine(java.lang.String line)
          Sets the line containing the alias data.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CmsAliasImportResult

public CmsAliasImportResult(CmsAliasImportStatus status,
                            java.lang.String message,
                            java.lang.String aliasPath,
                            java.lang.String targetPath,
                            CmsAliasMode mode)
Creates a new instance.

Parameters:
status - the import status
message - the import message
aliasPath - the alias path
targetPath - the target path
mode - the alias mode

CmsAliasImportResult

public CmsAliasImportResult(java.lang.String line,
                            CmsAliasImportStatus status,
                            java.lang.String message)
Creates a new instance.

Parameters:
line - the line containing the alias data
status - the import status
message - the import message

CmsAliasImportResult

protected CmsAliasImportResult()
Default constructor used for serialization.

Method Detail

getAliasPath

public java.lang.String getAliasPath()
Gets the alias path.

Returns:
the alias path

getLine

public java.lang.String getLine()
Gets the line containing the alias data.

Returns:
the line containing the alias data

getMessage

public java.lang.String getMessage()
Gets the import message.

Returns:
the import message

getMode

public CmsAliasMode getMode()
Gets the alias mode.

Returns:
the alias mode

getStatus

public CmsAliasImportStatus getStatus()
Gets the status.

Returns:
the status

getTargetPath

public java.lang.String getTargetPath()
Gets the alias target path.

Returns:
the alias target path

setLine

public void setLine(java.lang.String line)
Sets the line containing the alias data.

Parameters:
line - the line containing the alias data