Class CmsPublishItemStateSummary

java.lang.Object
org.opencms.ade.publish.client.CmsPublishItemStateSummary

public class CmsPublishItemStateSummary extends 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 Details

  • Method Details

    • 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