Package org.opencms.gwt.shared.alias
Class CmsAliasEditValidationRequest
java.lang.Object
org.opencms.gwt.shared.alias.CmsAliasEditValidationRequest
- All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable
- Direct Known Subclasses:
CmsAliasSaveValidationRequest
public class CmsAliasEditValidationRequest
extends Object
implements com.google.gwt.user.client.rpc.IsSerializable
Bean which is sent to the server when validating an alias table.
-
Constructor Summary
ConstructorDescriptionDefault constructor.CmsAliasEditValidationRequest
(List<CmsAliasTableRow> originalData, List<CmsAliasTableRow> editedData, CmsAliasTableRow newEntry) Creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptionGets the edited data.Gets the new entry added by the user.Gets the original data list.void
setEditedData
(List<CmsAliasTableRow> data) Sets the edited data list.void
setNewEntry
(CmsAliasTableRow newEntry) Sets the new entry.void
setOriginalData
(List<CmsAliasTableRow> originalData) Sets the original data list.
-
Constructor Details
-
CmsAliasEditValidationRequest
public CmsAliasEditValidationRequest()Default constructor.
-
-
Method Details
-
getEditedData
Gets the edited data.- Returns:
- the edited data
-
getNewEntry
Gets the new entry added by the user.- Returns:
- the new entry, or null if there is no new entry
-
getOriginalData
Gets the original data list.- Returns:
- the original list of data
-
setEditedData
Sets the edited data list.- Parameters:
data
- the edited data list
-
setOriginalData
Sets the original data list.- Parameters:
originalData
- the original data list
-