Package org.silverpeas.core.admin
Class AdminSettings
- java.lang.Object
-
- org.silverpeas.core.admin.AdminSettings
-
public class AdminSettings extends Object
Handled the settings around the attachments.- Author:
- silveryocha
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
getDeletionOfRemovedGroupsCron()
Gets the cron of the JOB execution in charge of deleting the removed groups.static int
getDeletionOfRemovedGroupsDayDelay()
Gets the delay in days after which a removed group can be deleted.static String
getDeletionOfRemovedUsersCron()
Gets the cron of the JOB execution in charge of deleting the removed users.static int
getDeletionOfRemovedUsersDayDelay()
Gets the delay in days after which a removed user can be deleted.static boolean
isAutomaticDeletionOfRemovedGroupsEnabled()
Indicates if the automatic deletion of removed groups is enabled.static boolean
isAutomaticDeletionOfRemovedUsersEnabled()
Indicates if the automatic deletion of removed users is enabled.
-
-
-
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.
-
-