Class AdminStatusHelper
- java.lang.Object
-
- org.nuxeo.ecm.platform.web.common.admin.AdminStatusHelper
-
public class AdminStatusHelper extends Object
Simple Helper class to holdAdministrativeStatus
flags used by the Web Layer.- Author:
- tiry
-
-
Constructor Summary
Constructors Constructor Description AdminStatusHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
accessRestrictedToAdministrators()
static boolean
displayAdminMessage()
static String
getAdminMessage()
static Calendar
getAdminMessageModificationDate()
static String
getMaintenanceMessage()
static boolean
isAdminMessageActivated()
static boolean
isInstanceInMaintenanceMode()
-
-
-
Method Detail
-
isAdminMessageActivated
public static boolean isAdminMessageActivated()
-
getAdminMessage
public static String getAdminMessage()
-
getAdminMessageModificationDate
public static Calendar getAdminMessageModificationDate()
- Since:
- 5.7.3
-
isInstanceInMaintenanceMode
public static boolean isInstanceInMaintenanceMode()
-
getMaintenanceMessage
public static String getMaintenanceMessage()
-
displayAdminMessage
public static boolean displayAdminMessage()
-
accessRestrictedToAdministrators
public static boolean accessRestrictedToAdministrators()
-
-