test_class.declarator: masterApiActivityManager
test_class.modifier: private
test_class.original_string: private StandardMasterApiActivityManager masterApiActivityManager;
test_class.type: StandardMasterApiActivityManager
test_class.var_name: masterApiActivityManager
test_class.declarator: activityRepository
test_class.modifier: private
test_class.original_string: private ActivityRepository activityRepository;
test_class.type: ActivityRepository
test_class.var_name: activityRepository
test_class.declarator: spaceControllerRepository
test_class.modifier: private
test_class.original_string: private SpaceControllerRepository spaceControllerRepository;
test_class.type: SpaceControllerRepository
test_class.var_name: spaceControllerRepository
test_class.declarator: masterEventManager
test_class.modifier: private
test_class.original_string: private MasterEventManager masterEventManager;
test_class.type: MasterEventManager
test_class.var_name: masterEventManager
test_class.declarator: spaceEnvironment
test_class.modifier: private
test_class.original_string: private InteractiveSpacesEnvironment spaceEnvironment;
test_class.type: InteractiveSpacesEnvironment
test_class.var_name: spaceEnvironment
test_class.declarator: log
test_class.modifier: private
test_class.original_string: private Log log;
test_class.type: Log
test_class.var_name: log
test_class.file: runtime/master/interactivespaces-master/src/test/java/interactivespaces/master/api/master/internal/StandardMasterApiActivityManagerTest.java
test_class.identifier: StandardMasterApiActivityManagerTest
test_case.body: @Test
    public void testLiveActivityEdit() {
      String liveActivityId = "liveActivity";
      LiveActivity liveActivity = Mockito.mock(LiveActivity.class);
      Mockito.when(activityRepository.getLiveActivityByTypedId(liveActivityId)).thenReturn(liveActivity);
  
      String activityId = "activity";
      Activity activity = Mockito.mock(Activity.class);
      Mockito.when(activityRepository.getActivityById(activityId)).thenReturn(activity);
  
      String spaceControllerId = "spaceController";
      SpaceController spaceController = Mockito.mock(SpaceController.class);
      Mockito.when(spaceControllerRepository.getSpaceControllerById(spaceControllerId)).thenReturn(spaceController);
  
      Map<String, Object> args = new HashMap<>();
  
      args.put(MasterApiMessages.MASTER_API_PARAMETER_NAME_ENTITY_ID, liveActivityId);
      String name = "name";
      args.put(MasterApiMessages.MASTER_API_PARAMETER_NAME_ENTITY_NAME, name);
      String description = "description";
      args.put(MasterApiMessages.MASTER_API_PARAMETER_NAME_ENTITY_DESCRIPTION, description);
      args.put(MasterApiMessages.MASTER_API_PARAMETER_NAME_ACTIVITY_ID, activityId);
      args.put(MasterApiMessages.MASTER_API_PARAMETER_NAME_SPACE_CONTROLLER_ID, spaceControllerId);
  
      masterApiActivityManager.editLiveActivity(args);
  
      Mockito.verify(liveActivity).setName(name);
      Mockito.verify(liveActivity).setDescription(description);
      Mockito.verify(liveActivity).setActivity(activity);
      Mockito.verify(liveActivity).setController(spaceController);
      Mockito.verify(activityRepository).saveLiveActivity(liveActivity);
    }
test_case.class_method_signature: StandardMasterApiActivityManagerTest.testLiveActivityEdit()
test_case.full_signature: @Test public void testLiveActivityEdit()
test_case.identifier: testLiveActivityEdit
test_case.invocations: mock thenReturn when getLiveActivityByTypedId mock thenReturn when getActivityById mock thenReturn when getSpaceControllerById put put put put put editLiveActivity setName verify setDescription verify setActivity verify setController verify saveLiveActivity verify
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testLiveActivityEdit()
focal_class.declarator: activityRepository
focal_class.modifier: private
focal_class.original_string: private ActivityRepository activityRepository;
focal_class.type: ActivityRepository
focal_class.var_name: activityRepository
focal_class.declarator: spaceControllerRepository
focal_class.modifier: private
focal_class.original_string: private SpaceControllerRepository spaceControllerRepository;
focal_class.type: SpaceControllerRepository
focal_class.var_name: spaceControllerRepository
focal_class.declarator: activityRepositoryManager
focal_class.modifier: private
focal_class.original_string: private ActivityRepositoryManager activityRepositoryManager;
focal_class.type: ActivityRepositoryManager
focal_class.var_name: activityRepositoryManager
focal_class.declarator: activeSpaceControllerManager
focal_class.modifier: private
focal_class.original_string: private ActiveSpaceControllerManager activeSpaceControllerManager;
focal_class.type: ActiveSpaceControllerManager
focal_class.var_name: activeSpaceControllerManager
focal_class.declarator: masterEventListener = new BaseMasterEventListener() {
      @Override
      public void onLiveActivityDeploy(ActiveLiveActivity liveActivity, LiveActivityDeploymentResponse result,
          long timestamp) {
        handleLiveActivityInstallMasterEvent(liveActivity, result, timestamp);
      }
    }
focal_class.modifier: private
focal_class.original_string: private MasterEventListener masterEventListener = new BaseMasterEventListener() {
      @Override
      public void onLiveActivityDeploy(ActiveLiveActivity liveActivity, LiveActivityDeploymentResponse result,
          long timestamp) {
        handleLiveActivityInstallMasterEvent(liveActivity, result, timestamp);
      }
    };
focal_class.type: MasterEventListener
focal_class.var_name: masterEventListener
focal_class.declarator: masterEventManager
focal_class.modifier: private
focal_class.original_string: private MasterEventManager masterEventManager;
focal_class.type: MasterEventManager
focal_class.var_name: masterEventManager
focal_class.file: runtime/master/interactivespaces-master/src/main/java/interactivespaces/master/api/master/internal/StandardMasterApiActivityManager.java
focal_class.identifier: StandardMasterApiActivityManager
focal_class.interfaces: implements InternalMasterApiActivityManager
focal_class.class_method_signature: StandardMasterApiActivityManager.startup()
focal_class.full_signature: @Override public void startup()
focal_class.identifier: startup
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void startup()
focal_class.class_method_signature: StandardMasterApiActivityManager.shutdown()
focal_class.full_signature: @Override public void shutdown()
focal_class.identifier: shutdown
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void shutdown()
focal_class.class_method_signature: StandardMasterApiActivityManager.saveActivity(SimpleActivity activityData, InputStream activityContentStream)
focal_class.full_signature: @Override public Map<String, Object> saveActivity(SimpleActivity activityData, InputStream activityContentStream)
focal_class.identifier: saveActivity
focal_class.modifiers: @Override public
focal_class.parameters: (SimpleActivity activityData, InputStream activityContentStream)
focal_class.return: Map<String, Object>
focal_class.signature: Map<String, Object> saveActivity(SimpleActivity activityData, InputStream activityContentStream)
focal_class.class_method_signature: StandardMasterApiActivityManager.getActivitiesByFilter(String filter)
focal_class.full_signature: @Override public Map<String, Object> getActivitiesByFilter(String filter)
focal_class.identifier: getActivitiesByFilter
focal_class.modifiers: @Override public
focal_class.parameters: (String filter)
focal_class.return: Map<String, Object>
focal_class.signature: Map<String, Object> getActivitiesByFilter(String filter)
focal_class.class_method_signature: StandardMasterApiActivityManager.getActivityView(String id)
focal_class.full_signature: @Override public Map<String, Object> getActivityView(String id)
focal_class.identifier: getActivityView
focal_class.modifiers: @Override public
focal_class.parameters: (String id)
focal_class.return: Map<String, Object>
focal_class.signature: Map<String, Object> getActivityView(String id)
focal_class.class_method_signature: StandardMasterApiActivityManager.getActivityFullView(String id)
focal_class.full_signature: @Override public Map<String, Object> getActivityFullView(String id)
focal_class.identifier: getActivityFullView
focal_class.modifiers: @Override public
focal_class.parameters: (String id)
focal_class.return: Map<String, Object>
focal_class.signature: Map<String, Object> getActivityFullView(String id)
focal_class.class_method_signature: StandardMasterApiActivityManager.extractBasicActivityApiData(Activity activity)
focal_class.full_signature: private Map<String, Object> extractBasicActivityApiData(Activity activity)
focal_class.identifier: extractBasicActivityApiData
focal_class.modifiers: private
focal_class.parameters: (Activity activity)
focal_class.return: Map<String, Object>
focal_class.signature: Map<String, Object> extractBasicActivityApiData(Activity activity)
focal_class.class_method_signature: StandardMasterApiActivityManager.extractActivityDependencyData(Activity activity, Map<String, Object> activityData)
focal_class.full_signature: private void extractActivityDependencyData(Activity activity, Map<String, Object> activityData)
focal_class.identifier: extractActivityDependencyData
focal_class.modifiers: private
focal_class.parameters: (Activity activity, Map<String, Object> activityData)
focal_class.return: void
focal_class.signature: void extractActivityDependencyData(Activity activity, Map<String, Object> activityData)
focal_class.class_method_signature: StandardMasterApiActivityManager.deleteActivity(String id)
focal_class.full_signature: @Override public Map<String, Object> deleteActivity(String id)
focal_class.identifier: deleteActivity
focal_class.modifiers: @Override public
focal_class.parameters: (String id)
focal_class.return: Map<String, Object>
focal_class.signature: Map<String, Object> deleteActivity(String id)
focal_class.class_method_signature: StandardMasterApiActivityManager.updateActivityMetadata(String id, Object metadataCommandObj)
focal_class.full_signature: @Override public Map<String, Object> updateActivityMetadata(String id, Object metadataCommandObj)
focal_class.identifier: updateActivityMetadata
focal_class.modifiers: @Override public
focal_class.parameters: (String id, Object metadataCommandObj)
focal_class.return: Map<String, Object>
focal_class.signature: Map<String, Object> updateActivityMetadata(String id, Object metadataCommandObj)
focal_class.class_method_signature: StandardMasterApiActivityManager.getLiveActivitiesByFilter(String filter)
focal_class.full_signature: @Override public Map<String, Object> getLiveActivitiesByFilter(String filter)
focal_class.identifier: getLiveActivitiesByFilter
focal_class.modifiers: @Override public
focal_class.parameters: (String filter)
focal_class.return: Map<String, Object>
focal_class.signature: Map<String, Object> getLiveActivitiesByFilter(String filter)
focal_class.class_method_signature: StandardMasterApiActivityManager.getLiveActivityView(String id)
focal_class.full_signature: @Override public Map<String, Object> getLiveActivityView(String id)
focal_class.identifier: getLiveActivityView
focal_class.modifiers: @Override public
focal_class.parameters: (String id)
focal_class.return: Map<String, Object>
focal_class.signature: Map<String, Object> getLiveActivityView(String id)
focal_class.class_method_signature: StandardMasterApiActivityManager.getLiveActivityFullView(String id)
focal_class.full_signature: @Override public Map<String, Object> getLiveActivityFullView(String id)
focal_class.identifier: getLiveActivityFullView
focal_class.modifiers: @Override public
focal_class.parameters: (String id)
focal_class.return: Map<String, Object>
focal_class.signature: Map<String, Object> getLiveActivityFullView(String id)
focal_class.class_method_signature: StandardMasterApiActivityManager.canCreateLiveActivities()
focal_class.full_signature: @Override public boolean canCreateLiveActivities()
focal_class.identifier: canCreateLiveActivities
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean canCreateLiveActivities()
focal_class.class_method_signature: StandardMasterApiActivityManager.deleteLiveActivity(String id)
focal_class.full_signature: @Override public Map<String, Object> deleteLiveActivity(String id)
focal_class.identifier: deleteLiveActivity
focal_class.modifiers: @Override public
focal_class.parameters: (String id)
focal_class.return: Map<String, Object>
focal_class.signature: Map<String, Object> deleteLiveActivity(String id)
focal_class.class_method_signature: StandardMasterApiActivityManager.createLiveActivity(Map<String, Object> args)
focal_class.full_signature: @Override public Map<String, Object> createLiveActivity(Map<String, Object> args)
focal_class.identifier: createLiveActivity
focal_class.modifiers: @Override public
focal_class.parameters: (Map<String, Object> args)
focal_class.return: Map<String, Object>
focal_class.signature: Map<String, Object> createLiveActivity(Map<String, Object> args)
focal_class.class_method_signature: StandardMasterApiActivityManager.getLiveActivityConfiguration(String id)
focal_class.full_signature: @Override public Map<String, Object> getLiveActivityConfiguration(String id)
focal_class.identifier: getLiveActivityConfiguration
focal_class.modifiers: @Override public
focal_class.parameters: (String id)
focal_class.return: Map<String, Object>
focal_class.signature: Map<String, Object> getLiveActivityConfiguration(String id)
focal_class.class_method_signature: StandardMasterApiActivityManager.configureLiveActivity(String id, Map<String, String> map)
focal_class.full_signature: @Override public Map<String, Object> configureLiveActivity(String id, Map<String, String> map)
focal_class.identifier: configureLiveActivity
focal_class.modifiers: @Override public
focal_class.parameters: (String id, Map<String, String> map)
focal_class.return: Map<String, Object>
focal_class.signature: Map<String, Object> configureLiveActivity(String id, Map<String, String> map)
focal_class.class_method_signature: StandardMasterApiActivityManager.editLiveActivity(Map<String, Object> args)
focal_class.full_signature: @Override public Map<String, Object> editLiveActivity(Map<String, Object> args)
focal_class.identifier: editLiveActivity
focal_class.modifiers: @Override public
focal_class.parameters: (Map<String, Object> args)
focal_class.return: Map<String, Object>
focal_class.signature: Map<String, Object> editLiveActivity(Map<String, Object> args)
focal_class.class_method_signature: StandardMasterApiActivityManager.saveLiveActivityConfiguration(LiveActivity liveactivity, Map<String, String> map)
focal_class.full_signature: private boolean saveLiveActivityConfiguration(LiveActivity liveactivity, Map<String, String> map)
focal_class.identifier: saveLiveActivityConfiguration
focal_class.modifiers: private
focal_class.parameters: (LiveActivity liveactivity, Map<String, String> map)
focal_class.return: boolean
focal_class.signature: boolean saveLiveActivityConfiguration(LiveActivity liveactivity, Map<String, String> map)
focal_class.class_method_signature: StandardMasterApiActivityManager.mergeActivityConfigurationParameters(Map<String, String> map, ActivityConfiguration configuration)
focal_class.full_signature: private boolean mergeActivityConfigurationParameters(Map<String, String> map, ActivityConfiguration configuration)
focal_class.identifier: mergeActivityConfigurationParameters
focal_class.modifiers: private
focal_class.parameters: (Map<String, String> map, ActivityConfiguration configuration)
focal_class.return: boolean
focal_class.signature: boolean mergeActivityConfigurationParameters(Map<String, String> map, ActivityConfiguration configuration)
focal_class.class_method_signature: StandardMasterApiActivityManager.newLiveActivityConfiguration(LiveActivity liveactivity, Map<String, String> map)
focal_class.full_signature: private void newLiveActivityConfiguration(LiveActivity liveactivity, Map<String, String> map)
focal_class.identifier: newLiveActivityConfiguration
focal_class.modifiers: private
focal_class.parameters: (LiveActivity liveactivity, Map<String, String> map)
focal_class.return: void
focal_class.signature: void newLiveActivityConfiguration(LiveActivity liveactivity, Map<String, String> map)
focal_class.class_method_signature: StandardMasterApiActivityManager.updateLiveActivityMetadata(String id, Object metadataCommandObj)
focal_class.full_signature: @Override public Map<String, Object> updateLiveActivityMetadata(String id, Object metadataCommandObj)
focal_class.identifier: updateLiveActivityMetadata
focal_class.modifiers: @Override public
focal_class.parameters: (String id, Object metadataCommandObj)
focal_class.return: Map<String, Object>
focal_class.signature: Map<String, Object> updateLiveActivityMetadata(String id, Object metadataCommandObj)
focal_class.class_method_signature: StandardMasterApiActivityManager.deleteLiveActivityGroup(String id)
focal_class.full_signature: @Override public Map<String, Object> deleteLiveActivityGroup(String id)
focal_class.identifier: deleteLiveActivityGroup
focal_class.modifiers: @Override public
focal_class.parameters: (String id)
focal_class.return: Map<String, Object>
focal_class.signature: Map<String, Object> deleteLiveActivityGroup(String id)
focal_class.class_method_signature: StandardMasterApiActivityManager.getBasicSpaceControllerApiData(SpaceController controller)
focal_class.full_signature: @Override public Map<String, Object> getBasicSpaceControllerApiData(SpaceController controller)
focal_class.identifier: getBasicSpaceControllerApiData
focal_class.modifiers: @Override public
focal_class.parameters: (SpaceController controller)
focal_class.return: Map<String, Object>
focal_class.signature: Map<String, Object> getBasicSpaceControllerApiData(SpaceController controller)
focal_class.class_method_signature: StandardMasterApiActivityManager.getSpaceControllerConfiguration(String id)
focal_class.full_signature: @Override public Map<String, Object> getSpaceControllerConfiguration(String id)
focal_class.identifier: getSpaceControllerConfiguration
focal_class.modifiers: @Override public
focal_class.parameters: (String id)
focal_class.return: Map<String, Object>
focal_class.signature: Map<String, Object> getSpaceControllerConfiguration(String id)
focal_class.class_method_signature: StandardMasterApiActivityManager.configureSpaceController(String id, Map<String, String> map)
focal_class.full_signature: @Override public Map<String, Object> configureSpaceController(String id, Map<String, String> map)
focal_class.identifier: configureSpaceController
focal_class.modifiers: @Override public
focal_class.parameters: (String id, Map<String, String> map)
focal_class.return: Map<String, Object>
focal_class.signature: Map<String, Object> configureSpaceController(String id, Map<String, String> map)
focal_class.class_method_signature: StandardMasterApiActivityManager.saveSpaceControllerConfiguration(SpaceController spaceController, Map<String, String> map)
focal_class.full_signature: private boolean saveSpaceControllerConfiguration(SpaceController spaceController, Map<String, String> map)
focal_class.identifier: saveSpaceControllerConfiguration
focal_class.modifiers: private
focal_class.parameters: (SpaceController spaceController, Map<String, String> map)
focal_class.return: boolean
focal_class.signature: boolean saveSpaceControllerConfiguration(SpaceController spaceController, Map<String, String> map)
focal_class.class_method_signature: StandardMasterApiActivityManager.mergeSpaceControllerConfigurationParameters(Map<String, String> map,
        SpaceControllerConfiguration configuration)
focal_class.full_signature: private boolean mergeSpaceControllerConfigurationParameters(Map<String, String> map,
        SpaceControllerConfiguration configuration)
focal_class.identifier: mergeSpaceControllerConfigurationParameters
focal_class.modifiers: private
focal_class.parameters: (Map<String, String> map,
        SpaceControllerConfiguration configuration)
focal_class.return: boolean
focal_class.signature: boolean mergeSpaceControllerConfigurationParameters(Map<String, String> map,
        SpaceControllerConfiguration configuration)
focal_class.class_method_signature: StandardMasterApiActivityManager.newSpaceControllerConfiguration(SpaceController spaceController, Map<String, String> map)
focal_class.full_signature: private void newSpaceControllerConfiguration(SpaceController spaceController, Map<String, String> map)
focal_class.identifier: newSpaceControllerConfiguration
focal_class.modifiers: private
focal_class.parameters: (SpaceController spaceController, Map<String, String> map)
focal_class.return: void
focal_class.signature: void newSpaceControllerConfiguration(SpaceController spaceController, Map<String, String> map)
focal_class.class_method_signature: StandardMasterApiActivityManager.extractLiveActivityApiData(LiveActivity liveActivity, Map<String, Object> data)
focal_class.full_signature: private void extractLiveActivityApiData(LiveActivity liveActivity, Map<String, Object> data)
focal_class.identifier: extractLiveActivityApiData
focal_class.modifiers: private
focal_class.parameters: (LiveActivity liveActivity, Map<String, Object> data)
focal_class.return: void
focal_class.signature: void extractLiveActivityApiData(LiveActivity liveActivity, Map<String, Object> data)
focal_class.class_method_signature: StandardMasterApiActivityManager.getLiveActivityStatusApiData(LiveActivity liveActivity, Map<String, Object> data)
focal_class.full_signature: @Override public void getLiveActivityStatusApiData(LiveActivity liveActivity, Map<String, Object> data)
focal_class.identifier: getLiveActivityStatusApiData
focal_class.modifiers: @Override public
focal_class.parameters: (LiveActivity liveActivity, Map<String, Object> data)
focal_class.return: void
focal_class.signature: void getLiveActivityStatusApiData(LiveActivity liveActivity, Map<String, Object> data)
focal_class.class_method_signature: StandardMasterApiActivityManager.getLiveActivityGroupView(String id)
focal_class.full_signature: @Override public Map<String, Object> getLiveActivityGroupView(String id)
focal_class.identifier: getLiveActivityGroupView
focal_class.modifiers: @Override public
focal_class.parameters: (String id)
focal_class.return: Map<String, Object>
focal_class.signature: Map<String, Object> getLiveActivityGroupView(String id)
focal_class.class_method_signature: StandardMasterApiActivityManager.getLiveActivityGroupFullView(String id)
focal_class.full_signature: @Override public Map<String, Object> getLiveActivityGroupFullView(String id)
focal_class.identifier: getLiveActivityGroupFullView
focal_class.modifiers: @Override public
focal_class.parameters: (String id)
focal_class.return: Map<String, Object>
focal_class.signature: Map<String, Object> getLiveActivityGroupFullView(String id)
focal_class.class_method_signature: StandardMasterApiActivityManager.getLiveActivityGroupsByFilter(String filter)
focal_class.full_signature: @Override public Map<String, Object> getLiveActivityGroupsByFilter(String filter)
focal_class.identifier: getLiveActivityGroupsByFilter
focal_class.modifiers: @Override public
focal_class.parameters: (String filter)
focal_class.return: Map<String, Object>
focal_class.signature: Map<String, Object> getLiveActivityGroupsByFilter(String filter)
focal_class.class_method_signature: StandardMasterApiActivityManager.getLiveActivityGroupApiData(LiveActivityGroup liveActivityGroup)
focal_class.full_signature: private Map<String, Object> getLiveActivityGroupApiData(LiveActivityGroup liveActivityGroup)
focal_class.identifier: getLiveActivityGroupApiData
focal_class.modifiers: private
focal_class.parameters: (LiveActivityGroup liveActivityGroup)
focal_class.return: Map<String, Object>
focal_class.signature: Map<String, Object> getLiveActivityGroupApiData(LiveActivityGroup liveActivityGroup)
focal_class.class_method_signature: StandardMasterApiActivityManager.getAllUiLiveActivitiesByController(SpaceController controller)
focal_class.full_signature: @Override public List<Map<String, Object>> getAllUiLiveActivitiesByController(SpaceController controller)
focal_class.identifier: getAllUiLiveActivitiesByController
focal_class.modifiers: @Override public
focal_class.parameters: (SpaceController controller)
focal_class.return: List<Map<String, Object>>
focal_class.signature: List<Map<String, Object>> getAllUiLiveActivitiesByController(SpaceController controller)
focal_class.class_method_signature: StandardMasterApiActivityManager.extractLiveActivities(List<LiveActivity> liveActivities)
focal_class.full_signature: private List<Map<String, Object>> extractLiveActivities(List<LiveActivity> liveActivities)
focal_class.identifier: extractLiveActivities
focal_class.modifiers: private
focal_class.parameters: (List<LiveActivity> liveActivities)
focal_class.return: List<Map<String, Object>>
focal_class.signature: List<Map<String, Object>> extractLiveActivities(List<LiveActivity> liveActivities)
focal_class.class_method_signature: StandardMasterApiActivityManager.extractLiveActivityGroups(List<LiveActivityGroup> liveActivityGroups)
focal_class.full_signature: private List<Map<String, Object>> extractLiveActivityGroups(List<LiveActivityGroup> liveActivityGroups)
focal_class.identifier: extractLiveActivityGroups
focal_class.modifiers: private
focal_class.parameters: (List<LiveActivityGroup> liveActivityGroups)
focal_class.return: List<Map<String, Object>>
focal_class.signature: List<Map<String, Object>> extractLiveActivityGroups(List<LiveActivityGroup> liveActivityGroups)
focal_class.class_method_signature: StandardMasterApiActivityManager.getSpacesByFilter(String filter)
focal_class.full_signature: @Override public Map<String, Object> getSpacesByFilter(String filter)
focal_class.identifier: getSpacesByFilter
focal_class.modifiers: @Override public
focal_class.parameters: (String filter)
focal_class.return: Map<String, Object>
focal_class.signature: Map<String, Object> getSpacesByFilter(String filter)
focal_class.class_method_signature: StandardMasterApiActivityManager.deleteSpace(String id)
focal_class.full_signature: @Override public Map<String, Object> deleteSpace(String id)
focal_class.identifier: deleteSpace
focal_class.modifiers: @Override public
focal_class.parameters: (String id)
focal_class.return: Map<String, Object>
focal_class.signature: Map<String, Object> deleteSpace(String id)
focal_class.class_method_signature: StandardMasterApiActivityManager.updateSpaceMetadata(String id, Object metadataCommandObj)
focal_class.full_signature: @Override public Map<String, Object> updateSpaceMetadata(String id, Object metadataCommandObj)
focal_class.identifier: updateSpaceMetadata
focal_class.modifiers: @Override public
focal_class.parameters: (String id, Object metadataCommandObj)
focal_class.return: Map<String, Object>
focal_class.signature: Map<String, Object> updateSpaceMetadata(String id, Object metadataCommandObj)
focal_class.class_method_signature: StandardMasterApiActivityManager.getBasicSpaceViewApiResponse(Space space)
focal_class.full_signature: private Map<String, Object> getBasicSpaceViewApiResponse(Space space)
focal_class.identifier: getBasicSpaceViewApiResponse
focal_class.modifiers: private
focal_class.parameters: (Space space)
focal_class.return: Map<String, Object>
focal_class.signature: Map<String, Object> getBasicSpaceViewApiResponse(Space space)
focal_class.class_method_signature: StandardMasterApiActivityManager.getSpaceApiData(List<Space> spaces)
focal_class.full_signature: private List<Map<String, Object>> getSpaceApiData(List<Space> spaces)
focal_class.identifier: getSpaceApiData
focal_class.modifiers: private
focal_class.parameters: (List<Space> spaces)
focal_class.return: List<Map<String, Object>>
focal_class.signature: List<Map<String, Object>> getSpaceApiData(List<Space> spaces)
focal_class.class_method_signature: StandardMasterApiActivityManager.getBasicSpaceApiResponse(Space space, Map<String, Object> response)
focal_class.full_signature: private void getBasicSpaceApiResponse(Space space, Map<String, Object> response)
focal_class.identifier: getBasicSpaceApiResponse
focal_class.modifiers: private
focal_class.parameters: (Space space, Map<String, Object> response)
focal_class.return: void
focal_class.signature: void getBasicSpaceApiResponse(Space space, Map<String, Object> response)
focal_class.class_method_signature: StandardMasterApiActivityManager.getSpaceView(String id)
focal_class.full_signature: @Override public Map<String, Object> getSpaceView(String id)
focal_class.identifier: getSpaceView
focal_class.modifiers: @Override public
focal_class.parameters: (String id)
focal_class.return: Map<String, Object>
focal_class.signature: Map<String, Object> getSpaceView(String id)
focal_class.class_method_signature: StandardMasterApiActivityManager.getSpaceFullView(String id)
focal_class.full_signature: @Override public Map<String, Object> getSpaceFullView(String id)
focal_class.identifier: getSpaceFullView
focal_class.modifiers: @Override public
focal_class.parameters: (String id)
focal_class.return: Map<String, Object>
focal_class.signature: Map<String, Object> getSpaceFullView(String id)
focal_class.class_method_signature: StandardMasterApiActivityManager.getSpaceLiveActivityGroupView(String id)
focal_class.full_signature: @Override public Map<String, Object> getSpaceLiveActivityGroupView(String id)
focal_class.identifier: getSpaceLiveActivityGroupView
focal_class.modifiers: @Override public
focal_class.parameters: (String id)
focal_class.return: Map<String, Object>
focal_class.signature: Map<String, Object> getSpaceLiveActivityGroupView(String id)
focal_class.class_method_signature: StandardMasterApiActivityManager.getSpaceViewApiResponse(Space space)
focal_class.full_signature: private Map<String, Object> getSpaceViewApiResponse(Space space)
focal_class.identifier: getSpaceViewApiResponse
focal_class.modifiers: private
focal_class.parameters: (Space space)
focal_class.return: Map<String, Object>
focal_class.signature: Map<String, Object> getSpaceViewApiResponse(Space space)
focal_class.class_method_signature: StandardMasterApiActivityManager.addLiveActivityGroupsDataApiResponse(Space space, Map<String, Object> data)
focal_class.full_signature: private void addLiveActivityGroupsDataApiResponse(Space space, Map<String, Object> data)
focal_class.identifier: addLiveActivityGroupsDataApiResponse
focal_class.modifiers: private
focal_class.parameters: (Space space, Map<String, Object> data)
focal_class.return: void
focal_class.signature: void addLiveActivityGroupsDataApiResponse(Space space, Map<String, Object> data)
focal_class.class_method_signature: StandardMasterApiActivityManager.generateSubspacesViewApiResponse(Space space, Map<String, Object> data)
focal_class.full_signature: private void generateSubspacesViewApiResponse(Space space, Map<String, Object> data)
focal_class.identifier: generateSubspacesViewApiResponse
focal_class.modifiers: private
focal_class.parameters: (Space space, Map<String, Object> data)
focal_class.return: void
focal_class.signature: void generateSubspacesViewApiResponse(Space space, Map<String, Object> data)
focal_class.class_method_signature: StandardMasterApiActivityManager.collectLiveActivityGroupsForSpace(Space space, Set<LiveActivityGroup> liveActivityGroups)
focal_class.full_signature: private void collectLiveActivityGroupsForSpace(Space space, Set<LiveActivityGroup> liveActivityGroups)
focal_class.identifier: collectLiveActivityGroupsForSpace
focal_class.modifiers: private
focal_class.parameters: (Space space, Set<LiveActivityGroup> liveActivityGroups)
focal_class.return: void
focal_class.signature: void collectLiveActivityGroupsForSpace(Space space, Set<LiveActivityGroup> liveActivityGroups)
focal_class.class_method_signature: StandardMasterApiActivityManager.getLiveActivityGroupsMasterApi(List<? extends LiveActivityGroup> groups)
focal_class.full_signature: private List<Map<String, Object>> getLiveActivityGroupsMasterApi(List<? extends LiveActivityGroup> groups)
focal_class.identifier: getLiveActivityGroupsMasterApi
focal_class.modifiers: private
focal_class.parameters: (List<? extends LiveActivityGroup> groups)
focal_class.return: List<Map<String, Object>>
focal_class.signature: List<Map<String, Object>> getLiveActivityGroupsMasterApi(List<? extends LiveActivityGroup> groups)
focal_class.class_method_signature: StandardMasterApiActivityManager.getLiveActivityGroupsLiveActivitiesMasterApi(
        List<? extends LiveActivityGroup> groups)
focal_class.full_signature: private List<Map<String, Object>> getLiveActivityGroupsLiveActivitiesMasterApi(
        List<? extends LiveActivityGroup> groups)
focal_class.identifier: getLiveActivityGroupsLiveActivitiesMasterApi
focal_class.modifiers: private
focal_class.parameters: (
        List<? extends LiveActivityGroup> groups)
focal_class.return: List<Map<String, Object>>
focal_class.signature: List<Map<String, Object>> getLiveActivityGroupsLiveActivitiesMasterApi(
        List<? extends LiveActivityGroup> groups)
focal_class.class_method_signature: StandardMasterApiActivityManager.extractLiveActivityGroup(LiveActivityGroup group, Map<String, Object> data)
focal_class.full_signature: private void extractLiveActivityGroup(LiveActivityGroup group, Map<String, Object> data)
focal_class.identifier: extractLiveActivityGroup
focal_class.modifiers: private
focal_class.parameters: (LiveActivityGroup group, Map<String, Object> data)
focal_class.return: void
focal_class.signature: void extractLiveActivityGroup(LiveActivityGroup group, Map<String, Object> data)
focal_class.class_method_signature: StandardMasterApiActivityManager.updateLiveActivityGroupMetadata(String id, Object metadataCommandObj)
focal_class.full_signature: @Override public Map<String, Object> updateLiveActivityGroupMetadata(String id, Object metadataCommandObj)
focal_class.identifier: updateLiveActivityGroupMetadata
focal_class.modifiers: @Override public
focal_class.parameters: (String id, Object metadataCommandObj)
focal_class.return: Map<String, Object>
focal_class.signature: Map<String, Object> updateLiveActivityGroupMetadata(String id, Object metadataCommandObj)
focal_class.class_method_signature: StandardMasterApiActivityManager.updateLiveActivityDeploymentTime(ActiveLiveActivity activeLiveActivity, long timestamp)
focal_class.full_signature: private void updateLiveActivityDeploymentTime(ActiveLiveActivity activeLiveActivity, long timestamp)
focal_class.identifier: updateLiveActivityDeploymentTime
focal_class.modifiers: private
focal_class.parameters: (ActiveLiveActivity activeLiveActivity, long timestamp)
focal_class.return: void
focal_class.signature: void updateLiveActivityDeploymentTime(ActiveLiveActivity activeLiveActivity, long timestamp)
focal_class.class_method_signature: StandardMasterApiActivityManager.handleLiveActivityInstallMasterEvent(ActiveLiveActivity liveActivity,
        LiveActivityDeploymentResponse result, long timestamp)
focal_class.full_signature: private void handleLiveActivityInstallMasterEvent(ActiveLiveActivity liveActivity,
        LiveActivityDeploymentResponse result, long timestamp)
focal_class.identifier: handleLiveActivityInstallMasterEvent
focal_class.modifiers: private
focal_class.parameters: (ActiveLiveActivity liveActivity,
        LiveActivityDeploymentResponse result, long timestamp)
focal_class.return: void
focal_class.signature: void handleLiveActivityInstallMasterEvent(ActiveLiveActivity liveActivity,
        LiveActivityDeploymentResponse result, long timestamp)
focal_class.class_method_signature: StandardMasterApiActivityManager.getMasterEventListener()
focal_class.full_signature: @VisibleForTesting MasterEventListener getMasterEventListener()
focal_class.identifier: getMasterEventListener
focal_class.modifiers: @VisibleForTesting
focal_class.parameters: ()
focal_class.return: MasterEventListener
focal_class.signature: MasterEventListener getMasterEventListener()
focal_class.class_method_signature: StandardMasterApiActivityManager.setMasterEventManager(MasterEventManager masterEventManager)
focal_class.full_signature: public void setMasterEventManager(MasterEventManager masterEventManager)
focal_class.identifier: setMasterEventManager
focal_class.modifiers: public
focal_class.parameters: (MasterEventManager masterEventManager)
focal_class.return: void
focal_class.signature: void setMasterEventManager(MasterEventManager masterEventManager)
focal_class.class_method_signature: StandardMasterApiActivityManager.setActivityRepository(ActivityRepository activityRepository)
focal_class.full_signature: public void setActivityRepository(ActivityRepository activityRepository)
focal_class.identifier: setActivityRepository
focal_class.modifiers: public
focal_class.parameters: (ActivityRepository activityRepository)
focal_class.return: void
focal_class.signature: void setActivityRepository(ActivityRepository activityRepository)
focal_class.class_method_signature: StandardMasterApiActivityManager.setSpaceControllerRepository(SpaceControllerRepository spaceControllerRepository)
focal_class.full_signature: public void setSpaceControllerRepository(SpaceControllerRepository spaceControllerRepository)
focal_class.identifier: setSpaceControllerRepository
focal_class.modifiers: public
focal_class.parameters: (SpaceControllerRepository spaceControllerRepository)
focal_class.return: void
focal_class.signature: void setSpaceControllerRepository(SpaceControllerRepository spaceControllerRepository)
focal_class.class_method_signature: StandardMasterApiActivityManager.setActivityRepositoryManager(ActivityRepositoryManager activityRepositoryManager)
focal_class.full_signature: public void setActivityRepositoryManager(ActivityRepositoryManager activityRepositoryManager)
focal_class.identifier: setActivityRepositoryManager
focal_class.modifiers: public
focal_class.parameters: (ActivityRepositoryManager activityRepositoryManager)
focal_class.return: void
focal_class.signature: void setActivityRepositoryManager(ActivityRepositoryManager activityRepositoryManager)
focal_class.class_method_signature: StandardMasterApiActivityManager.setActiveSpaceControllerManager(ActiveSpaceControllerManager activeSpaceControllerManager)
focal_class.full_signature: public void setActiveSpaceControllerManager(ActiveSpaceControllerManager activeSpaceControllerManager)
focal_class.identifier: setActiveSpaceControllerManager
focal_class.modifiers: public
focal_class.parameters: (ActiveSpaceControllerManager activeSpaceControllerManager)
focal_class.return: void
focal_class.signature: void setActiveSpaceControllerManager(ActiveSpaceControllerManager activeSpaceControllerManager)
focal_class.superclass: extends BaseMasterApiManager
focal_method.body: @Override
    public Map<String, Object> editLiveActivity(Map<String, Object> args) {
      String liveActivityId = (String) args.get(MasterApiMessages.MASTER_API_PARAMETER_NAME_ENTITY_ID);
      LiveActivity liveActivity = activityRepository.getLiveActivityByTypedId(liveActivityId);
      if (liveActivity == null) {
        return getNoSuchLiveActivityResponse(liveActivityId);
      }
  
      boolean edited = false;
  
      String name = (String) args.get(MasterApiMessages.MASTER_API_PARAMETER_NAME_ENTITY_NAME);
      if (name != null) {
        liveActivity.setName(name);
  
        edited |= true;
      }
  
      String description = (String) args.get(MasterApiMessages.MASTER_API_PARAMETER_NAME_ENTITY_DESCRIPTION);
      if (description != null) {
        liveActivity.setDescription(description);
  
        edited |= true;
      }
  
      String activityId = (String) args.get(MasterApiMessages.MASTER_API_PARAMETER_NAME_ACTIVITY_ID);
      if (activityId != null) {
        Activity newActivity = activityRepository.getActivityById(activityId);
        if (newActivity == null) {
          return getNoSuchActivityResponse(activityId);
        }
  
        liveActivity.setActivity(newActivity);
  
        edited |= true;
      }
  
      String spaceControllerId = (String) args.get(MasterApiMessages.MASTER_API_PARAMETER_NAME_SPACE_CONTROLLER_ID);
      if (spaceControllerId != null) {
        SpaceController spaceController = spaceControllerRepository.getSpaceControllerById(spaceControllerId);
        if (spaceController == null) {
          return getNoSuchSpaceControllerResponse(spaceControllerId);
        }
  
        liveActivity.setController(spaceController);
  
        edited |= true;
      }
  
      if (edited) {
        activityRepository.saveLiveActivity(liveActivity);
      }
  
      return MasterApiMessageSupport.getSimpleSuccessResponse();
    }
focal_method.class_method_signature: StandardMasterApiActivityManager.editLiveActivity(Map<String, Object> args)
focal_method.full_signature: @Override public Map<String, Object> editLiveActivity(Map<String, Object> args)
focal_method.identifier: editLiveActivity
focal_method.invocations: get getLiveActivityByTypedId getNoSuchLiveActivityResponse get setName get setDescription get getActivityById getNoSuchActivityResponse setActivity get getSpaceControllerById getNoSuchSpaceControllerResponse setController saveLiveActivity getSimpleSuccessResponse
focal_method.modifiers: @Override public
focal_method.parameters: (Map<String, Object> args)
focal_method.return: Map<String, Object>
focal_method.signature: Map<String, Object> editLiveActivity(Map<String, Object> args)