org.exoplatform.platform.common.rest
Class PlatformInformationRESTService

java.lang.Object
  extended by org.exoplatform.platform.common.rest.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
static class PlatformInformationRESTService.JsonPlatformInfo
           
 
Field Summary
 String ANONYMOUS_USER
           
static String COMMUNITY_EDITION
           
 
Constructor Summary
PlatformInformationRESTService(org.exoplatform.commons.info.ProductInformations productInformations)
           
 
Method Summary
 javax.ws.rs.core.Response getPlatformInformation(javax.ws.rs.core.SecurityContext sc)
          This method return a JSON Object with the platform required informations.
 javax.ws.rs.core.Response isUserSessionAlive()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COMMUNITY_EDITION

public static final String COMMUNITY_EDITION
See Also:
Constant Field Values

ANONYMOUS_USER

public final String ANONYMOUS_USER
See Also:
Constant Field Values
Constructor Detail

PlatformInformationRESTService

public PlatformInformationRESTService(org.exoplatform.commons.info.ProductInformations productInformations)
Method Detail

isUserSessionAlive

public javax.ws.rs.core.Response isUserSessionAlive()
                                             throws Exception
Throws:
Exception

getPlatformInformation

public javax.ws.rs.core.Response getPlatformInformation(@Context
                                                        javax.ws.rs.core.SecurityContext sc)
This method return a JSON Object with the platform required informations.



Copyright © 2003-2013 eXo Platform SAS. All Rights Reserved.