Class CmsRestoreInfoBean

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

public class CmsRestoreInfoBean extends Object implements com.google.gwt.user.client.rpc.IsSerializable
The bean with the necessary information for the "Restore" dialog.

  • Constructor Details

  • Method Details

    • canUndoMove

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

      Returns:
      true if the move operation can be undone
    • getListInfoBean

      Gets the bean containing the information for the file info box.

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

      Gets the offline modification date.

      Returns:
      the offline modification date
    • getOfflinePath

      Gets the offline root path of the resource.

      Returns:
      the offline path of the resource
    • getOnlineDate

      Gets the online modification date.

      Returns:
      the online modification date
    • getOnlinePath

      Gets the online root path of the resource.

      Returns:
      the online path of the resource
    • 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(String offlineDate)
      Sets the offline modification date.

      Parameters:
      offlineDate - the offline modification date
    • setOfflinePath

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

      Parameters:
      offlinePath - the offline path
    • setOnlineDate

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

      Parameters:
      onlineDate - the online modification date
    • setOnlinePath

      public void setOnlinePath(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