Class CmsLocaleLinkBean
java.lang.Object
org.opencms.ade.containerpage.shared.CmsLocaleLinkBean
- All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable
public class CmsLocaleLinkBean
extends Object
implements com.google.gwt.user.client.rpc.IsSerializable
Bean representing a link to a different locale variant.
-
Constructor Summary
ModifierConstructorDescriptionprotected
Default constructor for serialization.protected
CmsLocaleLinkBean
(String error, String link) Creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptionstatic CmsLocaleLinkBean
Creates a new link bean with an error message.getError()
Gets the error message.getLink()
Gets the link.static CmsLocaleLinkBean
Creates a new link bean with a link.
-
Constructor Details
-
CmsLocaleLinkBean
protected CmsLocaleLinkBean()Default constructor for serialization. -
CmsLocaleLinkBean
Creates a new instance.- Parameters:
error
- the errorlink
- the link
-
-
Method Details
-
error
Creates a new link bean with an error message.- Parameters:
errorMsg
- the error message- Returns:
- the new bean
-
link
Creates a new link bean with a link.- Parameters:
link
- the link- Returns:
- the link bean
-
getError
Gets the error message.- Returns:
- the error message
-
getLink
Gets the link.- Returns:
- the link
-