Package org.exoplatform.commons.info
Class PlatformInformationRESTService
- java.lang.Object
-
- org.exoplatform.commons.info.PlatformInformationRESTService
-
- All Implemented Interfaces:
org.exoplatform.services.rest.resource.ResourceContainer
public class PlatformInformationRESTService extends Object implements org.exoplatform.services.rest.resource.ResourceContainer
- Version:
- $Revision$
- Author:
- Anouar Chattouna
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPlatformInformationRESTService.JsonPlatformInfo
-
Field Summary
Fields Modifier and Type Field Description static StringCOMMUNITY_EDITIONstatic StringENTERPRISE_EDITIONstatic StringMIN_MOBILE_SUPPORTED_VERSION
-
Constructor Summary
Constructors Constructor Description PlatformInformationRESTService(ProductInformations productInformations, org.exoplatform.portal.config.UserACL userACL)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PlatformInformationRESTService.JsonPlatformInfogetJsonPlatformInfo()StringgetPlatformEdition()javax.ws.rs.core.ResponsegetPlatformInformation()This method return a JSON Object with the platform required informations.
-
-
-
Field Detail
-
COMMUNITY_EDITION
public static final String COMMUNITY_EDITION
- See Also:
- Constant Field Values
-
ENTERPRISE_EDITION
public static final String ENTERPRISE_EDITION
- See Also:
- Constant Field Values
-
MIN_MOBILE_SUPPORTED_VERSION
public static final String MIN_MOBILE_SUPPORTED_VERSION
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PlatformInformationRESTService
public PlatformInformationRESTService(ProductInformations productInformations, org.exoplatform.portal.config.UserACL userACL)
-
-
Method Detail
-
getPlatformInformation
public javax.ws.rs.core.Response getPlatformInformation()
This method return a JSON Object with the platform required informations.- Returns:
- REST response
-
getJsonPlatformInfo
public PlatformInformationRESTService.JsonPlatformInfo getJsonPlatformInfo()
-
getPlatformEdition
public String getPlatformEdition()
-
-