Class ContributionSettings


  • public class ContributionSettings
    extends Object
    The different settings that are applied on the contributions, whatever their concrete type. These settings allow to customize some feature behaviours on the contributions.
    Author:
    silveryocha
    • Method Detail

      • streamComponentNamesWithMinorModificationBehaviorEnabled

        public static Stream<String> streamComponentNamesWithMinorModificationBehaviorEnabled()
        Indicates if the behavior of asking to user if its modification is a minor one is enabled or not.
        Returns:
        true if enabled, false otherwise.
      • getApplicationsTrackedForModifications

        public static TrackedApplications getApplicationsTrackedForModifications()
        Gets the applications in Silverpeas for which the contributions have to be tracked for change. Only the contributions that support the tracking for modifications will be taken in charge (for example the publications).
        Returns:
        a TrackedApplications instance. If TrackedApplications.NONE, no tracking for contributions modifications are operated (the tracking for change is disabled). If TrackedApplications.ALL, the tracking for contributions modifications (those that support such a tracking) is enabled for all the applications in Silverpeas.