Class AdminSettings


  • public class AdminSettings
    extends Object
    Handled the settings around the attachments.
    Author:
    silveryocha
    • Method Detail

      • isAutomaticDeletionOfRemovedUsersEnabled

        public static boolean isAutomaticDeletionOfRemovedUsersEnabled()
        Indicates if the automatic deletion of removed users is enabled.
        Returns:
        true if enabled, false otherwise.
      • getDeletionOfRemovedUsersCron

        public static String getDeletionOfRemovedUsersCron()
        Gets the cron of the JOB execution in charge of deleting the removed users.
        Returns:
        cron as string, empty to deactivate the JOB.
      • getDeletionOfRemovedUsersDayDelay

        public static int getDeletionOfRemovedUsersDayDelay()
        Gets the delay in days after which a removed user can be deleted.
        Returns:
        day delay as int, 0 to deactivate the automatic deletion of removed users.
      • isAutomaticDeletionOfRemovedGroupsEnabled

        public static boolean isAutomaticDeletionOfRemovedGroupsEnabled()
        Indicates if the automatic deletion of removed groups is enabled.
        Returns:
        true if enabled, false otherwise.
      • getDeletionOfRemovedGroupsCron

        public static String getDeletionOfRemovedGroupsCron()
        Gets the cron of the JOB execution in charge of deleting the removed groups.
        Returns:
        cron as string, empty to deactivate the JOB.
      • getDeletionOfRemovedGroupsDayDelay

        public static int getDeletionOfRemovedGroupsDayDelay()
        Gets the delay in days after which a removed group can be deleted.
        Returns:
        day delay as int, 0 to deactivate the automatic deletion of removed groups.