|
1
|
|
|
<?php |
|
2
|
|
|
|
|
3
|
|
|
|
|
4
|
|
|
namespace Soheilrt\AdobeConnectClient\Facades; |
|
5
|
|
|
|
|
6
|
|
|
|
|
7
|
|
|
use Illuminate\Support\Facades\Facade; |
|
8
|
|
|
use \Soheilrt\AdobeConnectClient\Client\Entities; |
|
9
|
|
|
|
|
10
|
|
|
/** |
|
11
|
|
|
* @method static \Soheilrt\AdobeConnectClient\Client\Entities\Principal setDisplayId($value) |
|
12
|
|
|
* @method static \Soheilrt\AdobeConnectClient\Client\Entities\Principal setPrincipalId($value) |
|
13
|
|
|
* @method static \Soheilrt\AdobeConnectClient\Client\Entities\Principal setTrainingGroupId($value) |
|
14
|
|
|
* @method static \Soheilrt\AdobeConnectClient\Client\Entities\Principal setAccountId($value) |
|
15
|
|
|
* @method static \Soheilrt\AdobeConnectClient\Client\Entities\Principal setLogin($value) |
|
16
|
|
|
* @method static \Soheilrt\AdobeConnectClient\Client\Entities\Principal setPermissionId($value) @see |
|
17
|
|
|
* Permission::PRINCIPAL_* constants |
|
18
|
|
|
* @method static \Soheilrt\AdobeConnectClient\Client\Entities\Principal setDescription($value) The new group’s |
|
19
|
|
|
* description. Use only when creating a new group. |
|
20
|
|
|
* @method static \Soheilrt\AdobeConnectClient\Client\Entities\Principal setEmail($value) Only for user |
|
21
|
|
|
* @method static \Soheilrt\AdobeConnectClient\Client\Entities\Principal setPassword($value) Only on create a user |
|
22
|
|
|
* @method static \Soheilrt\AdobeConnectClient\Client\Entities\Principal setIsEcommerece($value) |
|
23
|
|
|
* @method static \Soheilrt\AdobeConnectClient\Client\Entities\Principal setName($value) |
|
24
|
|
|
* @method static \Soheilrt\AdobeConnectClient\Client\Entities\Principal setIsPrimary($value) |
|
25
|
|
|
* @method static \Soheilrt\AdobeConnectClient\Client\Entities\Principal setType($value) |
|
26
|
|
|
* @method static \Soheilrt\AdobeConnectClient\Client\Entities\Principal setHasChildren($value) |
|
27
|
|
|
* @method static \Soheilrt\AdobeConnectClient\Client\Entities\Principal setIsEcommerce($value) |
|
28
|
|
|
* @method static \Soheilrt\AdobeConnectClient\Client\Entities\Principal setIsHidden($value) |
|
29
|
|
|
* @method static \Soheilrt\AdobeConnectClient\Client\Entities\Principal setDisabled($value) |
|
30
|
|
|
* @method static \Soheilrt\AdobeConnectClient\Client\Entities\Principal setFirstName($value) |
|
31
|
|
|
* @method static \Soheilrt\AdobeConnectClient\Client\Entities\Principal setLastName($value) |
|
32
|
|
|
* @method static \Soheilrt\AdobeConnectClient\Client\Entities\Principal setSendEmail($value) |
|
33
|
|
|
* @method static \Soheilrt\AdobeConnectClient\Client\Entities\Principal setIsMember($value) |
|
34
|
|
|
*/ |
|
35
|
|
|
class Principal extends Facade |
|
36
|
|
|
{ |
|
37
|
|
|
/** |
|
38
|
|
|
* The built-in group Administrators, for Adobe Connect server Administrators. |
|
39
|
|
|
* |
|
40
|
|
|
* @var string |
|
41
|
|
|
*/ |
|
42
|
|
|
public const TYPE_ADMINS = Entities\Principal::TYPE_ADMINS; |
|
43
|
|
|
|
|
44
|
|
|
/** |
|
45
|
|
|
* The built-in group Administrators, for Adobe Connect server Administrators. |
|
46
|
|
|
* |
|
47
|
|
|
* @var string |
|
48
|
|
|
*/ |
|
49
|
|
|
public const TYPE_ADMINS_LIMITED = Entities\Principal::TYPE_ADMINS_LIMITED; |
|
50
|
|
|
|
|
51
|
|
|
/** |
|
52
|
|
|
* The built-in group Authors, for authors. |
|
53
|
|
|
* |
|
54
|
|
|
* @var string |
|
55
|
|
|
*/ |
|
56
|
|
|
public const TYPE_AUTHORS = Entities\Principal::TYPE_AUTHORS; |
|
57
|
|
|
|
|
58
|
|
|
/** |
|
59
|
|
|
* The built-in group Training Managers, for training managers. |
|
60
|
|
|
* |
|
61
|
|
|
* @var string |
|
62
|
|
|
*/ |
|
63
|
|
|
public const TYPE_COURSE_ADMINS = Entities\Principal::TYPE_COURSE_ADMINS; |
|
64
|
|
|
|
|
65
|
|
|
/** |
|
66
|
|
|
* The built-in group Event Managers, for anyone who can create an Adobe Connect meeting. |
|
67
|
|
|
* |
|
68
|
|
|
* @var string |
|
69
|
|
|
*/ |
|
70
|
|
|
public const TYPE_EVENT_ADMINS = Entities\Principal::TYPE_EVENT_ADMINS; |
|
71
|
|
|
|
|
72
|
|
|
/** |
|
73
|
|
|
* The Event Supper Admins |
|
74
|
|
|
* |
|
75
|
|
|
* @var string |
|
76
|
|
|
*/ |
|
77
|
|
|
public const TYPE_EVENT_SUPER_ADMINS = Entities\Principal::TYPE_EVENT_SUPER_ADMINS; |
|
78
|
|
|
|
|
79
|
|
|
/** |
|
80
|
|
|
* Virtual Classroom admins |
|
81
|
|
|
* |
|
82
|
|
|
* @var string |
|
83
|
|
|
*/ |
|
84
|
|
|
public const TYPE_NAMED_VIRTUAL_CLASSROM_ADMINS = Entities\Principal::TYPE_NAMED_VIRTUAL_CLASSROM_ADMINS; |
|
85
|
|
|
|
|
86
|
|
|
/** |
|
87
|
|
|
* The group of users invited to an event. |
|
88
|
|
|
* |
|
89
|
|
|
* @var string |
|
90
|
|
|
*/ |
|
91
|
|
|
public const TYPE_EVENT_GROUP = Entities\Principal::TYPE_EVENT_GROUP; |
|
92
|
|
|
|
|
93
|
|
|
/** |
|
94
|
|
|
* All Adobe Connect users. |
|
95
|
|
|
* |
|
96
|
|
|
* @var string |
|
97
|
|
|
*/ |
|
98
|
|
|
public const TYPE_EVERYONE = Entities\Principal::TYPE_EVERYONE; |
|
99
|
|
|
|
|
100
|
|
|
/** |
|
101
|
|
|
* A group authenticated from an external network. |
|
102
|
|
|
* |
|
103
|
|
|
* @var string |
|
104
|
|
|
*/ |
|
105
|
|
|
public const TYPE_EXTERNAL_GROUP = Entities\Principal::TYPE_EXTERNAL_GROUP; |
|
106
|
|
|
|
|
107
|
|
|
/** |
|
108
|
|
|
* A user authenticated from an external network. |
|
109
|
|
|
* |
|
110
|
|
|
* @var string |
|
111
|
|
|
*/ |
|
112
|
|
|
public const TYPE_EXTERNAL_USER = Entities\Principal::TYPE_EXTERNAL_USER; |
|
113
|
|
|
|
|
114
|
|
|
/** |
|
115
|
|
|
* A group that a user or Administrator creates. |
|
116
|
|
|
* |
|
117
|
|
|
* @var string |
|
118
|
|
|
*/ |
|
119
|
|
|
public const TYPE_GROUP = Entities\Principal::TYPE_GROUP; |
|
120
|
|
|
|
|
121
|
|
|
/** |
|
122
|
|
|
* A non-registered user who enters an Adobe Connect meeting room. |
|
123
|
|
|
* |
|
124
|
|
|
* @var string |
|
125
|
|
|
*/ |
|
126
|
|
|
public const TYPE_GUEST = Entities\Principal::TYPE_GUEST; |
|
127
|
|
|
|
|
128
|
|
|
/** |
|
129
|
|
|
* The built-in group learners, for users who take courses. |
|
130
|
|
|
* |
|
131
|
|
|
* @var string |
|
132
|
|
|
*/ |
|
133
|
|
|
public const TYPE_LEARNERS = Entities\Principal::TYPE_LEARNERS; |
|
134
|
|
|
|
|
135
|
|
|
/** |
|
136
|
|
|
* The built-in group Meeting Hosts, for Adobe Connect meeting hosts. |
|
137
|
|
|
* |
|
138
|
|
|
* @var string |
|
139
|
|
|
*/ |
|
140
|
|
|
public const TYPE_LIVE_ADMINS = Entities\Principal::TYPE_LIVE_ADMINS; |
|
141
|
|
|
|
|
142
|
|
|
/** |
|
143
|
|
|
* The built-in group Seminar Hosts, for seminar hosts. |
|
144
|
|
|
* |
|
145
|
|
|
* @var string |
|
146
|
|
|
*/ |
|
147
|
|
|
public const TYPE_SEMINAR_ADMINS = Entities\Principal::TYPE_SEMINAR_ADMINS; |
|
148
|
|
|
|
|
149
|
|
|
/** |
|
150
|
|
|
* A registered user on the server. |
|
151
|
|
|
* |
|
152
|
|
|
* @var string |
|
153
|
|
|
*/ |
|
154
|
|
|
public const TYPE_USER = Entities\Principal::TYPE_USER; |
|
155
|
|
|
|
|
156
|
|
|
protected static function getFacadeAccessor() |
|
157
|
|
|
{ |
|
158
|
|
|
return 'adobe-connect.principal'; |
|
159
|
|
|
} |
|
160
|
|
|
} |
|
161
|
|
|
|