Class QuotaUtils


  • public class QuotaUtils
    extends Object
    • Field Detail

      • FLAGS

        protected static final List<String> FLAGS
    • Method Detail

      • disableListeners

        public static void disableListeners​(DocumentModel doc)
        Disables listeners and options when saving a value in a quota facet.
        Parameters:
        doc - the document
        Since:
        7.4
      • clearContextData

        public static void clearContextData​(DocumentModel doc)
        Clears the context data of the various flags used to disable listeners.
        Parameters:
        doc - the document
        Since:
        7.4