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 java.lang.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 Constructor Description CmsAliasEditValidationReply()
Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<CmsAliasTableRow>
getChangedRows()
Gets the changed rows.java.lang.String
getNewEntryAliasError()
Gets the error message for the new entry alias path text box.java.lang.String
getNewEntryPathError()
Gets the error message for the new entry resource path text box.CmsAliasTableRow
getValidatedNewEntry()
Gets the validated new entry.boolean
hasErrors()
Check if this validation result has any errors.void
setChangedRows(java.util.List<CmsAliasTableRow> changedRows)
Sets the changed rows.void
setNewEntryAliasError(java.lang.String newEntryAliasError)
Sets the error message for the new entry alias path text box.void
setNewEntryPathError(java.lang.String newEntryPathError)
Sets the error message for the new entry resource path text box.void
setValidatedNewEntry(CmsAliasTableRow validatedNewEntry)
Sets the validated new entry.
-
-
-
Constructor Detail
-
CmsAliasEditValidationReply
public CmsAliasEditValidationReply()
Default constructor.
-
-
Method Detail
-
getChangedRows
public java.util.List<CmsAliasTableRow> getChangedRows()
Gets the changed rows.- Returns:
- the changed row list
-
getNewEntryAliasError
public java.lang.String getNewEntryAliasError()
Gets the error message for the new entry alias path text box.- Returns:
- an error message
-
getNewEntryPathError
public java.lang.String getNewEntryPathError()
Gets the error message for the new entry resource path text box.- Returns:
- an error message
-
getValidatedNewEntry
public CmsAliasTableRow getValidatedNewEntry()
Gets the validated new entry.- Returns:
- the validated new entry
-
hasErrors
public boolean hasErrors()
Check if this validation result has any errors.- Returns:
- true if the validation result has errors
-
setChangedRows
public void setChangedRows(java.util.List<CmsAliasTableRow> changedRows)
Sets the changed rows.- Parameters:
changedRows
- the changed rows
-
setNewEntryAliasError
public void setNewEntryAliasError(java.lang.String newEntryAliasError)
Sets the error message for the new entry alias path text box.- Parameters:
newEntryAliasError
- the error message
-
setNewEntryPathError
public void setNewEntryPathError(java.lang.String newEntryPathError)
Sets the error message for the new entry resource path text box.- Parameters:
newEntryPathError
- the error message
-
setValidatedNewEntry
public void setValidatedNewEntry(CmsAliasTableRow validatedNewEntry)
Sets the validated new entry.- Parameters:
validatedNewEntry
- the validated new entry
-
-