org.exoplatform.platform.gadget.services.newspaces
Class NewSpaceRestService

java.lang.Object
  extended by org.exoplatform.platform.gadget.services.newspaces.NewSpaceRestService
All Implemented Interfaces:
org.exoplatform.services.rest.resource.ResourceContainer

public class NewSpaceRestService
extends Object
implements org.exoplatform.services.rest.resource.ResourceContainer

Version:
$Revision$
Author:
Do Thanh Tung

Nested Class Summary
 class NewSpaceRestService.MessageBean
           
 
Field Summary
static String REGISTRATION_CLOSE
          The Constant REGISTRATION is CLOSE.
static String REGISTRATION_OPEN
          The Constant REGISTRATION is OPEN.
static String REGISTRATION_VALIDATION
          The Constant REGISTRATION is VALIDATION.
static String VISIBILITY_HIDDEN
          The Constant VISIBILITY is HIDDEN.
static String VISIBILITY_PRIVATE
          The Constant VISIBILITY is PRIVATE.
 
Constructor Summary
NewSpaceRestService()
           
 
Method Summary
 javax.ws.rs.core.Response latestCreatedSocialSpace(int maxtime, String language)
          Get latest created spaces in maxtime days recently
 javax.ws.rs.core.Response requestJoinSpace(String spaceUrl)
          request to join space
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REGISTRATION_OPEN

public static final String REGISTRATION_OPEN
The Constant REGISTRATION is OPEN.

See Also:
Constant Field Values

REGISTRATION_VALIDATION

public static final String REGISTRATION_VALIDATION
The Constant REGISTRATION is VALIDATION.

See Also:
Constant Field Values

REGISTRATION_CLOSE

public static final String REGISTRATION_CLOSE
The Constant REGISTRATION is CLOSE.

See Also:
Constant Field Values

VISIBILITY_PRIVATE

public static final String VISIBILITY_PRIVATE
The Constant VISIBILITY is PRIVATE.

See Also:
Constant Field Values

VISIBILITY_HIDDEN

public static final String VISIBILITY_HIDDEN
The Constant VISIBILITY is HIDDEN.

See Also:
Constant Field Values
Constructor Detail

NewSpaceRestService

public NewSpaceRestService()
Method Detail

latestCreatedSocialSpace

public javax.ws.rs.core.Response latestCreatedSocialSpace(int maxtime,
                                                          String language)
Get latest created spaces in maxtime days recently

Parameters:
maxtime -
Returns:

requestJoinSpace

public javax.ws.rs.core.Response requestJoinSpace(String spaceUrl)
request to join space

Parameters:
maxtime -
spaceUrl -
Returns:
space information that user has join OR empty if request was failure


Copyright © 2003–2014 eXo Platform SAS. All rights reserved.