Package org.opencms.ui.dialogs.history
Class CmsHistoryRow
- java.lang.Object
-
- org.opencms.ui.dialogs.history.CmsHistoryRow
-
public class CmsHistoryRow extends java.lang.Object
Represents a row of the file history table.
-
-
Constructor Summary
Constructors Constructor Description CmsHistoryRow(CmsHistoryResourceBean bean)
Creates a new instance.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.lang.String
formatVersion(CmsHistoryResourceBean bean)
Formats the file version for display.com.vaadin.v7.ui.CheckBox
getCheckBoxV1()
Gets the V1 check box.com.vaadin.v7.ui.CheckBox
getCheckBoxV2()
Gets the V2 check box.java.util.Date
getModificationDate()
Gets the modification date.java.lang.String
getPath()
Gets the path.com.vaadin.ui.Button
getPreviewButton()
Gets the preview button.java.util.Date
getPublishDate()
Gets the publish date.com.vaadin.ui.Button
getRestoreButton()
Gets the restore button.java.lang.Integer
getSize()
Gets the file size.java.lang.String
getUserLastModified()
Gets the last modification user.java.lang.String
getVersion()
Gets the file version.
-
-
-
Constructor Detail
-
CmsHistoryRow
public CmsHistoryRow(CmsHistoryResourceBean bean)
Creates a new instance.- Parameters:
bean
- the history resource bean
-
-
Method Detail
-
formatVersion
public static java.lang.String formatVersion(CmsHistoryResourceBean bean)
Formats the file version for display.- Parameters:
bean
- the history resource bean- Returns:
- the formatted version
-
getCheckBoxV1
public com.vaadin.v7.ui.CheckBox getCheckBoxV1()
Gets the V1 check box.- Returns:
- the V1 check box
-
getCheckBoxV2
public com.vaadin.v7.ui.CheckBox getCheckBoxV2()
Gets the V2 check box.- Returns:
- the V2 check box
-
getModificationDate
public java.util.Date getModificationDate()
Gets the modification date.- Returns:
- the modification date
-
getPath
public java.lang.String getPath()
Gets the path.- Returns:
- the path
-
getPreviewButton
public com.vaadin.ui.Button getPreviewButton()
Gets the preview button.- Returns:
- the preview button
-
getPublishDate
public java.util.Date getPublishDate()
Gets the publish date.- Returns:
- the publish date
-
getRestoreButton
public com.vaadin.ui.Button getRestoreButton()
Gets the restore button.- Returns:
- the restore button
-
getSize
public java.lang.Integer getSize()
Gets the file size.- Returns:
- the file size
-
getUserLastModified
public java.lang.String getUserLastModified()
Gets the last modification user.- Returns:
- the last modification user
-
getVersion
public java.lang.String getVersion()
Gets the file version.- Returns:
- the file version
-
-