org.opencms.gwt.shared
Class CmsReturnLinkInfo

java.lang.Object
  extended by org.opencms.gwt.shared.CmsReturnLinkInfo
All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable

public class CmsReturnLinkInfo
extends java.lang.Object
implements com.google.gwt.user.client.rpc.IsSerializable

This class represents the result of a "return link" lookup, which is what happens if the user clicks the "go to last page" button in the sitemap editor. It contains a link string (possibly null) and a status to indicate possible errors.

Since:
8.0.0

Nested Class Summary
static class CmsReturnLinkInfo.Status
          The moved status.
 
Constructor Summary
protected CmsReturnLinkInfo()
          Protected default constructor for serialization.
  CmsReturnLinkInfo(java.lang.String link, CmsReturnLinkInfo.Status status)
          Creates a new instance.
 
Method Summary
 java.lang.String getLink()
          Returns the return link.
 CmsReturnLinkInfo.Status getStatus()
          Returns the link lookup status.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CmsReturnLinkInfo

public CmsReturnLinkInfo(java.lang.String link,
                         CmsReturnLinkInfo.Status status)
Creates a new instance.

Parameters:
link - the return link
status - the link lookup status

CmsReturnLinkInfo

protected CmsReturnLinkInfo()
Protected default constructor for serialization.

Method Detail

getLink

public java.lang.String getLink()
Returns the return link.

Returns:
the return link

getStatus

public CmsReturnLinkInfo.Status getStatus()
Returns the link lookup status.

Returns:
the link lookup status