Package org.opencms.ade.publish.client
Class CmsPublishItemStateSummary
- java.lang.Object
-
- org.opencms.ade.publish.client.CmsPublishItemStateSummary
-
public class CmsPublishItemStateSummary extends java.lang.Object
A bean containing statistics about the states of publish items in the publish dialog.This is used for updating the check box states in the publish dialog.
-
-
Constructor Summary
Constructors Constructor Description CmsPublishItemStateSummary()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addState(CmsPublishItemStatus.State state)
Adds a new state value to the statistics.int
getNormalCount()
Gets the count of 'normal' states.int
getPublishCount()
Gets the count of 'publish' states.int
getRemoveCount()
Gets the count of 'remove' states.
-
-
-
Constructor Detail
-
CmsPublishItemStateSummary
public CmsPublishItemStateSummary()
-
-
Method Detail
-
addState
public void addState(CmsPublishItemStatus.State state)
Adds a new state value to the statistics.- Parameters:
state
- the state to add
-
getNormalCount
public int getNormalCount()
Gets the count of 'normal' states.- Returns:
- the count
-
getPublishCount
public int getPublishCount()
Gets the count of 'publish' states.- Returns:
- the count
-
getRemoveCount
public int getRemoveCount()
Gets the count of 'remove' states.- Returns:
- the count
-
-