org.opencms.gwt.shared.alias
Class CmsRewriteAliasValidationReply

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

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

This class represents the result of a validation of rewrite aliases.


Constructor Summary
CmsRewriteAliasValidationReply()
          Default constructor.
 
Method Summary
 void addError(CmsUUID id, java.lang.String error)
          Adds a validation error to this object.
 java.util.Map<CmsUUID,java.lang.String> getErrors()
          Gets the map of error messages by rewrite alias id.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CmsRewriteAliasValidationReply

public CmsRewriteAliasValidationReply()
Default constructor.

Method Detail

addError

public void addError(CmsUUID id,
                     java.lang.String error)
Adds a validation error to this object.

Parameters:
id - the id of a rewrite alias for which the validation failed
error - the validation error message

getErrors

public java.util.Map<CmsUUID,java.lang.String> getErrors()
Gets the map of error messages by rewrite alias id.

Returns:
the map of error messages