Class EntryNumberingHome

java.lang.Object
fr.paris.lutece.plugins.genericattributes.business.EntryNumberingHome

public final class EntryNumberingHome extends Object
Counter of the numbering entries, shared by every instance of the application
  • Method Details

    • nextValue

      public static int nextValue(int nIdEntry)
      Gets the next value of a numbering entry
      Parameters:
      nIdEntry - The entry id
      Returns:
      the next value, never given to another response, on any instance
    • remove

      public static void remove(int nIdEntry)
      Removes the counter of a numbering entry
      Parameters:
      nIdEntry - The entry id