public class VideoCallsService extends Object implements org.picocontainer.Startable
| Modifier and Type | Class and Description |
|---|---|
class |
VideoCallsService.SpaceInfo
The Class SpaceInfo.
|
| Modifier and Type | Field and Description |
|---|---|
protected org.exoplatform.services.cms.drives.ManageDriveService |
driveService
The drive service.
|
protected org.exoplatform.services.jcr.ext.hierarchy.NodeHierarchyCreator |
hierarchyCreator
The hierarchy creator.
|
protected org.exoplatform.services.jcr.RepositoryService |
jcrService
The jcr service.
|
protected org.exoplatform.services.listener.ListenerService |
listenerService
The listener service.
|
protected static org.exoplatform.services.log.Log |
LOG
The Constant LOG.
|
protected org.exoplatform.services.organization.OrganizationService |
organization
The organization.
|
protected Map<String,VideoCallsProvider> |
providers
The providers.
|
protected org.exoplatform.services.jcr.ext.app.SessionProviderService |
sessionProviders
The session providers.
|
protected org.exoplatform.social.core.manager.IdentityManager |
socialIdentityManager
The social identity manager.
|
protected org.exoplatform.social.core.space.spi.SpaceService |
spaceService
The space service.
|
| Constructor and Description |
|---|
VideoCallsService(org.exoplatform.services.jcr.RepositoryService jcrService,
org.exoplatform.services.jcr.ext.app.SessionProviderService sessionProviders,
org.exoplatform.services.jcr.ext.hierarchy.NodeHierarchyCreator hierarchyCreator,
org.exoplatform.services.organization.OrganizationService organization,
org.exoplatform.social.core.manager.IdentityManager socialIdentityManager,
org.exoplatform.services.cms.drives.ManageDriveService driveService,
org.exoplatform.services.listener.ListenerService listenerService)
Instantiates a new VideoCalls service.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addPlugin(org.exoplatform.container.component.ComponentPlugin plugin)
Adds the plugin.
|
void |
addProvider(VideoCallsProvider provider)
Adds the provider.
|
VideoCallsProvider |
getProvider(String type)
Gets the provider.
|
VideoCallsService.SpaceInfo |
getSpaceInfo(String spacePrettyName)
Gets the space info.
|
protected Set<String> |
getSpaceMembers(String spacePrettyName)
Gets the space members.
|
UserInfo |
getUserInfo(String id)
Gets the user info.
|
protected boolean |
isSpaceMember(String userName,
String spacePrettyName)
Checks if is space member.
|
void |
start() |
void |
stop() |
protected static final org.exoplatform.services.log.Log LOG
protected final org.exoplatform.services.jcr.RepositoryService jcrService
protected final org.exoplatform.services.jcr.ext.app.SessionProviderService sessionProviders
protected final org.exoplatform.services.jcr.ext.hierarchy.NodeHierarchyCreator hierarchyCreator
protected final org.exoplatform.services.organization.OrganizationService organization
protected final org.exoplatform.social.core.manager.IdentityManager socialIdentityManager
protected final org.exoplatform.services.cms.drives.ManageDriveService driveService
protected final org.exoplatform.services.listener.ListenerService listenerService
protected final Map<String,VideoCallsProvider> providers
protected org.exoplatform.social.core.space.spi.SpaceService spaceService
public VideoCallsService(org.exoplatform.services.jcr.RepositoryService jcrService,
org.exoplatform.services.jcr.ext.app.SessionProviderService sessionProviders,
org.exoplatform.services.jcr.ext.hierarchy.NodeHierarchyCreator hierarchyCreator,
org.exoplatform.services.organization.OrganizationService organization,
org.exoplatform.social.core.manager.IdentityManager socialIdentityManager,
org.exoplatform.services.cms.drives.ManageDriveService driveService,
org.exoplatform.services.listener.ListenerService listenerService)
jcrService - the jcr servicesessionProviders - the session providershierarchyCreator - the hierarchy creatororganization - the organizationsocialIdentityManager - the social identity managerdriveService - the drive servicelistenerService - the listener servicepublic UserInfo getUserInfo(String id) throws Exception
id - the idException - the exceptionpublic VideoCallsService.SpaceInfo getSpaceInfo(String spacePrettyName) throws Exception
spacePrettyName - the space pretty nameException - the exceptionpublic void addPlugin(org.exoplatform.container.component.ComponentPlugin plugin)
plugin - the pluginpublic void addProvider(VideoCallsProvider provider)
provider - the providerpublic VideoCallsProvider getProvider(String type)
type - the typepublic void start()
start in interface org.picocontainer.Startablepublic void stop()
stop in interface org.picocontainer.Startableprotected boolean isSpaceMember(String userName, String spacePrettyName)
userName - the user namespacePrettyName - the space pretty nameCopyright © 2003–2017 eXo Platform SAS. All rights reserved.