interface MoxtraServiceInterface in Opigno Moxtra 8
Same name and namespace in other branches
- 3.x src/MoxtraServiceInterface.php \Drupal\opigno_moxtra\MoxtraServiceInterface
Implements Moxtra REST API.
Hierarchy
- interface \Drupal\opigno_moxtra\MoxtraServiceInterface
Expanded class hierarchy of MoxtraServiceInterface
All classes that implement MoxtraServiceInterface
5 files declare their use of MoxtraServiceInterface
- MeetingController.php in src/
Controller/ MeetingController.php - MeetingForm.php in src/
Form/ MeetingForm.php - MeetingScoreForm.php in src/
Form/ MeetingScoreForm.php - SaveMeetingRecordsQueue.php in src/
Plugin/ QueueWorker/ SaveMeetingRecordsQueue.php - WorkspaceForm.php in src/
Form/ WorkspaceForm.php
File
- src/
MoxtraServiceInterface.php, line 8
Namespace
Drupal\opigno_moxtraView source
interface MoxtraServiceInterface {
/**
* Creates workspace (Moxtra binder).
*
* @param int $owner_id
* User ID.
* @param string $name
* Workspace name.
*
* @return array
* Response data.
*/
public function createWorkspace($owner_id, $name);
/**
* Updates workspace (Moxtra binder).
*
* @param int $owner_id
* User ID.
* @param string $binder_id
* Binder ID.
* @param string $name
* New workspace name.
*
* @return array
* Response data.
*/
public function updateWorkspace($owner_id, $binder_id, $name);
/**
* Deletes workspace (Moxtra binder).
*
* @param int $owner_id
* User ID.
* @param string $binder_id
* Binder ID.
*
* @return array
* Response data.
*/
public function deleteWorkspace($owner_id, $binder_id);
/**
* Sends message to the workspace.
*
* @param int $owner_id
* User ID.
* @param string $binder_id
* Binder ID.
* @param string $message
* Message.
*
* @return array
* Response data.
*/
public function sendMessage($owner_id, $binder_id, $message);
/**
* Adds users to the workspace.
*
* @param int $owner_id
* User ID.
* @param string $binder_id
* Binder ID.
* @param int[] $users_ids
* Array of the users IDs to add to the workspace.
*
* @return array
* Response data.
*/
public function addUsersToWorkspace($owner_id, $binder_id, $users_ids);
/**
* Removes users from the workspace.
*
* @param int $owner_id
* User ID.
* @param string $binder_id
* Binder ID.
* @param int $user_id
* ID of the user to remove from the workspace.
*
* @return array
* Response data.
*/
public function removeUserFromWorkspace($owner_id, $binder_id, $user_id);
/**
* Returns meeting info.
*
* @param int $owner_id
* User ID.
* @param string $session_key
* Session key of the meeting.
*
* @return array
* Response data.
*/
public function getMeetingInfo($owner_id, $session_key);
/**
* Creates meeting.
*
* @param int $owner_id
* User ID.
* @param string $title
* New title of the meeting.
* @param int $starts
* New start date timestamp of the meeting.
* @param int $ends
* New end date timestamp of the meeting.
*
* @return array
* Response data.
*/
public function createMeeting($owner_id, $title, $starts, $ends);
/**
* Updates meeting.
*
* @param int $owner_id
* User ID.
* @param string $session_key
* Session key of the meeting.
* @param string $title
* New title of the meeting.
* @param int $starts
* New start date timestamp of the meeting.
* @param int|null $ends
* New end date timestamp of the meeting.
*
* @return array
* Response data.
*/
public function updateMeeting($owner_id, $session_key, $title, $starts, $ends = NULL);
/**
* Deletes meeting.
*
* @param int $owner_id
* User ID.
* @param string $session_key
* Session key of the meeting.
*
* @return array
* Response data.
*/
public function deleteMeeting($owner_id, $session_key);
/**
* Returns meeting files list.
*
* @param int $owner_id
* User ID.
* @param string $binder_id
* Binder ID.
*
* @return array
* Response data.
*/
public function getMeetingFilesList($owner_id, $binder_id);
/**
* Returns meeting file info.
*
* @param int $owner_id
* User ID.
* @param string $binder_id
* Binder ID.
* @param string $file_id
* File ID.
*
* @return array
* Response data.
*/
public function getMeetingFileInfo($owner_id, $binder_id, $file_id);
/**
* Returns meeting recording info.
*
* @param int $owner_id
* User ID.
* @param string $binder_id
* Binder ID.
*
* @return array
* Response data.
*/
public function getMeetingRecordingInfo($owner_id, $binder_id);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
MoxtraServiceInterface:: |
public | function | Adds users to the workspace. | 1 |
MoxtraServiceInterface:: |
public | function | Creates meeting. | 1 |
MoxtraServiceInterface:: |
public | function | Creates workspace (Moxtra binder). | 1 |
MoxtraServiceInterface:: |
public | function | Deletes meeting. | 1 |
MoxtraServiceInterface:: |
public | function | Deletes workspace (Moxtra binder). | 1 |
MoxtraServiceInterface:: |
public | function | Returns meeting file info. | 1 |
MoxtraServiceInterface:: |
public | function | Returns meeting files list. | 1 |
MoxtraServiceInterface:: |
public | function | Returns meeting info. | 1 |
MoxtraServiceInterface:: |
public | function | Returns meeting recording info. | 1 |
MoxtraServiceInterface:: |
public | function | Removes users from the workspace. | 1 |
MoxtraServiceInterface:: |
public | function | Sends message to the workspace. | 1 |
MoxtraServiceInterface:: |
public | function | Updates meeting. | 1 |
MoxtraServiceInterface:: |
public | function | Updates workspace (Moxtra binder). | 1 |