Package org.opencms.gwt.shared.alias
Class CmsAliasEditValidationReply
java.lang.Object
org.opencms.gwt.shared.alias.CmsAliasEditValidationReply
- All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable
public class CmsAliasEditValidationReply
extends Object
implements com.google.gwt.user.client.rpc.IsSerializable
The class used to transfer validation results from the server to the client.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the changed rows.Gets the error message for the new entry alias path text box.Gets the error message for the new entry resource path text box.Gets the validated new entry.boolean
Check if this validation result has any errors.void
setChangedRows
(List<CmsAliasTableRow> changedRows) Sets the changed rows.void
setNewEntryAliasError
(String newEntryAliasError) Sets the error message for the new entry alias path text box.void
setNewEntryPathError
(String newEntryPathError) Sets the error message for the new entry resource path text box.void
setValidatedNewEntry
(CmsAliasTableRow validatedNewEntry) Sets the validated new entry.
-
Constructor Details
-
CmsAliasEditValidationReply
public CmsAliasEditValidationReply()Default constructor.
-
-
Method Details
-
getChangedRows
Gets the changed rows.- Returns:
- the changed row list
-
getNewEntryAliasError
Gets the error message for the new entry alias path text box.- Returns:
- an error message
-
getNewEntryPathError
Gets the error message for the new entry resource path text box.- Returns:
- an error message
-
getValidatedNewEntry
Gets the validated new entry.- Returns:
- the validated new entry
-
hasErrors
Check if this validation result has any errors.- Returns:
- true if the validation result has errors
-
setChangedRows
Sets the changed rows.- Parameters:
changedRows
- the changed rows
-
setNewEntryAliasError
Sets the error message for the new entry alias path text box.- Parameters:
newEntryAliasError
- the error message
-
setNewEntryPathError
Sets the error message for the new entry resource path text box.- Parameters:
newEntryPathError
- the error message
-