Package org.opencms.ade.publish.client
Class CmsPublishItemStateSummary
java.lang.Object
org.opencms.ade.publish.client.CmsPublishItemStateSummary
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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds a new state value to the statistics.int
Gets the count of 'normal' states.int
Gets the count of 'publish' states.int
Gets the count of 'remove' states.
-
Constructor Details
-
CmsPublishItemStateSummary
public CmsPublishItemStateSummary()
-
-
Method Details
-
addState
Adds a new state value to the statistics.- Parameters:
state
- the state to add
-
getNormalCount
Gets the count of 'normal' states.- Returns:
- the count
-
getPublishCount
Gets the count of 'publish' states.- Returns:
- the count
-
getRemoveCount
Gets the count of 'remove' states.- Returns:
- the count
-