org.opencms.gwt.shared
Class CmsRestoreInfoBean

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

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

The bean with the necessary information for the "Restore" dialog.


Constructor Summary
CmsRestoreInfoBean()
          Creates a new instance.
 
Method Summary
 boolean canUndoMove()
          Returns true if the move operation can be undone.
 CmsListInfoBean getListInfoBean()
          Gets the bean containing the information for the file info box.
 java.lang.String getOfflineDate()
          Gets the offline modification date.
 java.lang.String getOfflinePath()
          Gets the offline root path of the resource.
 java.lang.String getOnlineDate()
          Gets the online modification date.
 java.lang.String getOnlinePath()
          Gets the online root path of the resource.
 CmsUUID getStructureId()
          Gets the structure id of the resource for which changes should be undone.
 boolean isMoved()
          Returns true if the resource was moved.
 void setCanUndoMove(boolean canUndoMove)
          Sets the 'canUndoMove' property.
 void setListInfoBean(CmsListInfoBean listInfoBean)
          Sets the list info bean for the resource.
 void setOfflineDate(java.lang.String offlineDate)
          Sets the offline modification date.
 void setOfflinePath(java.lang.String offlinePath)
          Sets the offline root path.
 void setOnlineDate(java.lang.String onlineDate)
          Sets the online modification date.
 void setOnlinePath(java.lang.String onlinePath)
          Sets the online root path.
 void setStructureId(CmsUUID structureId)
          Sets the structure id of the resource.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CmsRestoreInfoBean

public CmsRestoreInfoBean()
Creates a new instance.

Method Detail

canUndoMove

public boolean canUndoMove()
Returns true if the move operation can be undone.

Returns:
true if the move operation can be undone

getListInfoBean

public CmsListInfoBean getListInfoBean()
Gets the bean containing the information for the file info box.

Returns:
the bean with the information for the file info box

getOfflineDate

public java.lang.String getOfflineDate()
Gets the offline modification date.

Returns:
the offline modification date

getOfflinePath

public java.lang.String getOfflinePath()
Gets the offline root path of the resource.

Returns:
the offline path of the resource

getOnlineDate

public java.lang.String getOnlineDate()
Gets the online modification date.

Returns:
the online modification date

getOnlinePath

public java.lang.String getOnlinePath()
Gets the online root path of the resource.

Returns:
the online path of the resource

getStructureId

public CmsUUID getStructureId()
Gets the structure id of the resource for which changes should be undone.

Returns:
the structure id of the resource which changes should be undone

isMoved

public boolean isMoved()
Returns true if the resource was moved.

Returns:
true if the resource was moved

setCanUndoMove

public void setCanUndoMove(boolean canUndoMove)
Sets the 'canUndoMove' property.

Parameters:
canUndoMove - the new value for the 'canUndoMove' property

setListInfoBean

public void setListInfoBean(CmsListInfoBean listInfoBean)
Sets the list info bean for the resource.

Parameters:
listInfoBean - the list info bean for the resource

setOfflineDate

public void setOfflineDate(java.lang.String offlineDate)
Sets the offline modification date.

Parameters:
offlineDate - the offline modification date

setOfflinePath

public void setOfflinePath(java.lang.String offlinePath)
Sets the offline root path.

Parameters:
offlinePath - the offline path

setOnlineDate

public void setOnlineDate(java.lang.String onlineDate)
Sets the online modification date.

Parameters:
onlineDate - the online modification date

setOnlinePath

public void setOnlinePath(java.lang.String onlinePath)
Sets the online root path.

Parameters:
onlinePath - the online root path

setStructureId

public void setStructureId(CmsUUID structureId)
Sets the structure id of the resource.

Parameters:
structureId - the structure id to set