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

java.lang.Object
  extended by org.exoplatform.platform.gadget.services.newspaces.IntranetSpaceServiceImpl
All Implemented Interfaces:
IntranetSpaceService

public class IntranetSpaceServiceImpl
extends Object
implements IntranetSpaceService

Version:
$Revision$
Author:
Do Thanh Tung

Constructor Summary
IntranetSpaceServiceImpl(org.exoplatform.services.jcr.RepositoryService repoService)
          IntranetSpaceServiceImpl constructor
 
Method Summary
static Calendar getGreenwichMeanTime(Date date)
          Get time GMT/Zulu or UTC,(zone time is 0+GMT)
 List<IntranetSpace> getLatestCreatedSpace(int maxday, String language, List<String> allGroupAndMembershipOfUser)
          Get latest created space from maxday ago
 List<IntranetSpace> requestToJoinOpenSpace(String spaceUrl, String userId)
          Request to join Open Space,
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntranetSpaceServiceImpl

public IntranetSpaceServiceImpl(org.exoplatform.services.jcr.RepositoryService repoService)
                         throws Exception
IntranetSpaceServiceImpl constructor

Parameters:
dataLocation -
Throws:
Exception
Method Detail

getLatestCreatedSpace

public List<IntranetSpace> getLatestCreatedSpace(int maxday,
                                                 String language,
                                                 List<String> allGroupAndMembershipOfUser)
Description copied from interface: IntranetSpaceService
Get latest created space from maxday ago

Specified by:
getLatestCreatedSpace in interface IntranetSpaceService
Parameters:
maxday - is the days ago
Returns:
See Also:
org.exoplatform.intranet.component.social.IntranetSpaceService#getLatestCreatedSpace()

requestToJoinOpenSpace

public List<IntranetSpace> requestToJoinOpenSpace(String spaceUrl,
                                                  String userId)
Description copied from interface: IntranetSpaceService
Request to join Open Space,

Specified by:
requestToJoinOpenSpace in interface IntranetSpaceService
Returns:
list contain IntranetSpace bean that user has joined

getGreenwichMeanTime

public static Calendar getGreenwichMeanTime(Date date)
Get time GMT/Zulu or UTC,(zone time is 0+GMT)

Returns:
Calendar


Copyright © 2013 eXo Platform SAS. All Rights Reserved.