Class CounterStore

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable

    public class CounterStore
    extends AbstractStore
    For the first throw, the content remains very simple. We support the 4 modes: start - the initial content is used. first - the first value set in this page is used (else the initial content) last - the last value is used. last-except - the last value is used on the next page. (Contrary to the specification, we fall back to the start-value instead of using an empty value).

    The string store is used for all counter, counters and string properties.

    Author:
    Thomas Morgner
    See Also:
    Serialized Form
    • Constructor Detail

      • CounterStore

        public CounterStore()
    • Method Detail

      • add

        public void add​(java.lang.String name,
                        java.lang.Integer counterValue)
      • get

        public java.lang.Integer get​(java.lang.String name)
      • get

        public java.lang.Integer get​(java.lang.String name,
                                     CSSValue pagePolicy)