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
Constructors -
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.booleanCheck if this validation result has any errors.voidsetChangedRows(List<CmsAliasTableRow> changedRows) Sets the changed rows.voidsetNewEntryAliasError(String newEntryAliasError) Sets the error message for the new entry alias path text box.voidsetNewEntryPathError(String newEntryPathError) Sets the error message for the new entry resource path text box.voidsetValidatedNewEntry(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
-