org.opencms.gwt.shared.alias
Class CmsAliasEditValidationRequest

java.lang.Object
  extended by org.opencms.gwt.shared.alias.CmsAliasEditValidationRequest
All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable
Direct Known Subclasses:
CmsAliasSaveValidationRequest

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

Bean which is sent to the server when validating an alias table.


Constructor Summary
CmsAliasEditValidationRequest()
          Default constructor.
CmsAliasEditValidationRequest(java.util.List<CmsAliasTableRow> originalData, java.util.List<CmsAliasTableRow> editedData, CmsAliasTableRow newEntry)
          Creates a new instance.
 
Method Summary
 java.util.List<CmsAliasTableRow> getEditedData()
          Gets the edited data.
 CmsAliasTableRow getNewEntry()
          Gets the new entry added by the user.
 java.util.List<CmsAliasTableRow> getOriginalData()
          Gets the original data list.
 void setEditedData(java.util.List<CmsAliasTableRow> data)
          Sets the edited data list.
 void setNewEntry(CmsAliasTableRow newEntry)
          Sets the new entry.
 void setOriginalData(java.util.List<CmsAliasTableRow> originalData)
          Sets the original data list.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CmsAliasEditValidationRequest

public CmsAliasEditValidationRequest()
Default constructor.


CmsAliasEditValidationRequest

public CmsAliasEditValidationRequest(java.util.List<CmsAliasTableRow> originalData,
                                     java.util.List<CmsAliasTableRow> editedData,
                                     CmsAliasTableRow newEntry)
Creates a new instance.

Parameters:
originalData - the original data
editedData - the edited data
newEntry - the new entry which has been added (may be null)
Method Detail

getEditedData

public java.util.List<CmsAliasTableRow> getEditedData()
Gets the edited data.

Returns:
the edited data

getNewEntry

public CmsAliasTableRow getNewEntry()
Gets the new entry added by the user.

Returns:
the new entry, or null if there is no new entry

getOriginalData

public java.util.List<CmsAliasTableRow> getOriginalData()
Gets the original data list.

Returns:
the original list of data

setEditedData

public void setEditedData(java.util.List<CmsAliasTableRow> data)
Sets the edited data list.

Parameters:
data - the edited data list

setNewEntry

public void setNewEntry(CmsAliasTableRow newEntry)
Sets the new entry.

Parameters:
newEntry - the new entry

setOriginalData

public void setOriginalData(java.util.List<CmsAliasTableRow> originalData)
Sets the original data list.

Parameters:
originalData - the original data list