Package org.opencms.gwt.shared
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns true if the move operation can be undone.Gets the bean containing the information for the file info box.Gets the offline modification date.Gets the offline root path of the resource.Gets the online modification date.Gets the online root path of the resource.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
(String offlineDate) Sets the offline modification date.void
setOfflinePath
(String offlinePath) Sets the offline root path.void
setOnlineDate
(String onlineDate) Sets the online modification date.void
setOnlinePath
(String onlinePath) Sets the online root path.void
setStructureId
(CmsUUID structureId) Sets the structure id of the resource.
-
Constructor Details
-
CmsRestoreInfoBean
public CmsRestoreInfoBean()Creates a new instance.
-
-
Method Details
-
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
Returns true if the resource was moved.- Returns:
- true if the resource was moved
-
setCanUndoMove
Sets the 'canUndoMove' property.- Parameters:
canUndoMove
- the new value for the 'canUndoMove' property
-
setOfflineDate
Sets the offline modification date.- Parameters:
offlineDate
- the offline modification date
-
setOfflinePath
Sets the offline root path.- Parameters:
offlinePath
- the offline path
-
setOnlineDate
Sets the online modification date.- Parameters:
onlineDate
- the online modification date
-
setOnlinePath
Sets the online root path.- Parameters:
onlinePath
- the online root path
-
setStructureId
Sets the structure id of the resource.- Parameters:
structureId
- the structure id to set
-