1: <?php
2: namespace Genetsis\core\activityid;
3:
4: /**
5: * This class stores the Verbs availables in ActivityID
6: *
7: * @package Genetsis
8: * @category Bean
9: * @version 2.0
10: */
11: abstract class Verbs
12: {
13: /** Indicates that that the actor has accepted the object. */
14: const ACCEPT = 'accept';
15:
16: /** Indicates that the actor has accessed the object. */
17: const ACCESS = 'access';
18:
19: /** Indicates that the actor has acknowledged the object. This effectively signals that the actor is aware of the object's existence.Indicates that
20: * the actor has acknowledged the object. This effectively signals that the actor is aware of the object's existence. */
21: const ACKNOWLEDGE = 'acknowledge';
22:
23: /** Indicates that the actor has added the object to the target. */
24: const ADD = 'add';
25:
26: /** Indicates that the actor agrees with the object. For example, a person agreeing with an argument, or expressing agreement with a particular issue. */
27: const AGREE = 'agree';
28:
29: /** Indicates that the actor has appended the object to the target. For instance, a person appending a new record to a database. */
30: const APPEND = 'append';
31:
32: /** Indicates that the actor has approved the object. For instance, a manager might approve a travel request. */
33: const APPROVE = 'approve';
34:
35: /**
36: * Indicates that the actor has archived the object.
37: */
38: const ARCHIVE = 'archive';
39:
40: /**
41: * Indicates that the actor has assigned the object to the target.
42: */
43: const ASSIGN = 'assign';
44:
45: /**
46: * Indicates that the actor is currently located at the object. For instance, a person being at a specific physical location.
47: */
48: const AT = 'at';
49:
50: /**
51: * Indicates that the actor has attached the object to the target.For instance, a person attaching a file to a wiki page or an email.
52: */
53: const ATTACH = 'attach';
54:
55: /**
56: * Indicates that the actor has attended the object. For instance, a person attending a meeting.
57: */
58: const ATTEND = 'attend';
59:
60: /**
61: * Indicates that the actor has authored the object. Note that this is a more specific form of the verb 'create'.
62: */
63: const AUTHOR = 'author';
64:
65: /**
66: * Indicates that the actor has authorized the object. If a target is specified, it means that the authorization is specifically in regards to the
67: * target. For instance, a service can authorize a person to access a given application; in which case the actor is the service, the object is the
68: * person, and the target is the application. In contrast, a person can authorize a request; in which case the actor is the person and the object
69: * is the request and there might be no explicit target.
70: */
71: const AUTHORIZE = 'authorize';
72:
73: /**
74: * Indicates that the actor has borrowed the object. If a target is specified, it identifies the entity from which the object was borrowed. For
75: * instance, if a person borrows a book from a library, the person is the actor, the book is the object and the library is the target.
76: */
77: const BORROW = 'borrow';
78:
79: /**
80: * Indicates that the actor has built the object. For example, if a person builds a model or compiles code.
81: */
82: const BUILD = 'build';
83:
84: /**
85: * Indicates that the actor has canceled the object. For instance, canceling a calendar event.
86: */
87: const CANCEL = 'cancel';
88:
89: /**
90: * Indicates that the actor has closed the object. For instance, the object could represent a ticket being tracked in an issue management system.
91: */
92: const CLOSE = 'close';
93:
94: /**
95: * Indicates that the actor has completed the object.
96: */
97: const COMPLETE = 'complete';
98:
99: /**
100: * Indicates that the actor has confirmed or agrees with the object. For instance, a software developer might confirm an issue reported against a
101: * product.
102: */
103: const CONFIRM = 'confirm';
104:
105: /**
106: * Indicates that the actor has consumed the object. The specific meaning is dependent largely on the object's type. For instance, an actor may
107: * 'consume' an audio object, indicating that the actor has listened to it; or an actor may 'consume' a book, indicating that the book has been
108: * read. As such, the 'consume' verb is a more generic form of other more specific verbs such as 'read' and 'play'.
109: */
110: const CONSUME = 'consume';
111:
112: /**
113: * Indicates that the actor has checked-in to the object. For instance, a person checking-in to a Place.
114: */
115: const CHECKIN = 'checkin';
116:
117: /**
118: * Indicates that the actor has created the object.
119: */
120: const CREATE = 'create';
121:
122: /**
123: * Indicates that the actor has deleted the object. This implies, but does not require, the permanent destruction of the object.
124: */
125: const DELETE = 'delete';
126:
127: /**
128: * Indicates that the actor has delivered the object. For example, delivering a package.
129: */
130: const DELIVER = 'deliver';
131:
132: /**
133: * Indicates that the actor has denied the object. For example, a manager may deny a travel request.
134: */
135: const DENY = 'deny';
136:
137: /**
138: * Indicates that the actor disagrees with the object.
139: */
140: const DISAGREE = 'disagree';
141:
142: /**
143: * Indicates that the actor dislikes the object. Note that the 'dislike' verb is distinct from the 'unlike' verb which assumes that the object had
144: * been previously 'liked'.
145: */
146: const DISLIKE = 'dislike';
147:
148: /**
149: * Indicates that the actor has experienced the object in some manner. Note that, depending on the specific object types used for both the actor
150: * and object, the meaning of this verb can overlap that of the 'consume' and 'play' verbs. For instance, a person might 'experience' a movie; or
151: * 'play' the movie; or 'consume' the movie. The 'experience' verb can be considered a more generic form of other more specific verbs as
152: * 'consume', 'play', 'watch', 'listen', and 'read'
153: */
154: const EXPERIENCE = 'experience';
155:
156: /**
157: * Indicates that the actor marked the object as an item of special interest.
158: */
159: const FAVORITE = 'favorite';
160:
161: /**
162: * Indicates that the actor has found the object.
163: */
164: const FIND = 'find';
165:
166: /**
167: * Indicates that the actor has flagged the object as being inappropriate for some reason. When using this verb, the context property can be used
168: * to provide additional detail about why the object has been flagged.
169: */
170: const FLAG_AS_INAPPROPRIATE = 'flag-as-inappropriate';
171:
172: /**
173: * Indicates that the actor began following the activity of the object. In most cases, the objectType will be a 'person', but it can potentially
174: * be of any type that can sensibly generate activity. Processors MAY ignore (silently drop) successive identical 'follow' activities.
175: */
176: const FOLLOW = 'follow';
177:
178: /**
179: * Indicates that the actor is giving an object to the target. Examples include one person giving a badge object to another person. The object
180: * identifies the object being given. The target identifies the receiver.
181: */
182: const GIVE = 'give';
183:
184: /**
185: * Indicates that the actor is hosting the object. As in hosting an event, or hosting a service.
186: */
187: const HOST = 'host';
188:
189: /**
190: * Indicates that the actor has ignored the object. For instance, this verb may be used when an actor has ignored a friend request, in which case
191: * the object may be the request-friend activity.
192: */
193: const IGNORE = 'ignore';
194:
195: /**
196: * Indicates that the actor has inserted the object into the target.
197: */
198: const INSERT = 'insert';
199:
200: /**
201: * Indicates that the actor has installed the object, as in installing an application.
202: */
203: const INSTALL = 'install';
204:
205: /**
206: * Indicates that the actor has interacted with the object. For instance, when one person interacts with another.
207: */
208: const INTERACT = 'interact';
209:
210: /**
211: * Indicates that the actor has invited the object, typically a person object, to join or participate in the object described by the target. The
212: * target could, for instance, be an event, group or a service.
213: */
214: const INVITE = 'invite';
215:
216: /**
217: * Indicates that the actor has become a member of the object. This specification only defines the meaning of this verb when the object of the
218: * Activity has an objectType of group, though implementors need to be prepared to handle other types of objects.
219: */
220: const JOIN = 'join';
221:
222: /**
223: * Indicates that the actor has left the object. For instance, a Person leaving a Group or checking-out of a Place.
224: */
225: const LEAVE = 'leave';
226:
227: /**
228: * Indicates that the actor marked the object as an item of special interest. The 'like' verb is considered to be an alias of 'favorite'. The two
229: * verb are semantically identical.
230: */
231: const LIKE = 'like';
232:
233: /**
234: * Indicates that the actor has listened to the object. This is typically only applicable for objects representing audio content, such as music,
235: * an audio-book, or a radio broadcast. The 'listen' verb is a more specific form of the 'consume', 'experience' and 'play' verbs.
236: */
237: const LISTEN = 'listen';
238:
239: /**
240: * Indicates that the actor has lost the object. For instance, if a person loses a game.
241: */
242: const LOSE = 'lose';
243:
244: /**
245: * Indicates the creation of a friendship that is reciprocated by the object. Since this verb implies an activity on the part of its object,
246: * processors MUST NOT accept activities with this verb unless they are able to verify through some external means that there is in fact a
247: * reciprocated connection. For example, a processor may have received a guarantee from a particular publisher that the publisher will only use
248: * this Verb in cases where a reciprocal relationship exists.
249: */
250: const MAKE_FRIEND = 'make-friend';
251:
252: /** Indicates that the actor has opened the object. */
253: const OPEN = 'open';
254:
255: /**
256: * Indicates that the actor spent some time enjoying the object. For example, if the object is a video this indicates that the subject watched all
257: * or part of the video. The 'play' verb is a more specific form of the 'consume' verb.
258: */
259: const PLAY = 'play';
260:
261: /** Indicates that the actor has presented the object. For instance, when a person gives a presentation at a conference. */
262: const PRESENT = 'present';
263: /** Indicates that the actor has purchased the object. If a target is specified, in indicates the entity from which the object was purchased. */
264: const PURCHASE = 'purchase';
265: /**
266: * Indicates that the actor has qualified for the object. If a target is specified, it indicates the context within which the qualification
267: * applies.
268: */
269: const QUALIFY = 'qualify';
270: /**
271: * Indicates that the actor read the object. This is typically only applicable for objects representing printed or written content, such as a
272: * book, a message or a comment. The 'read' verb is a more specific form of the 'consume', 'experience' and 'play' verbs.
273: */
274: const READ = 'read';
275: /** Indicates that the actor is receiving an object. Examples include a person receiving a badge object. The object identifies the object being
276: * received. */
277: const RECEIVE = 'receive';
278: /** Indicates that the actor has rejected the object. */
279: const REJECT = 'reject';
280: /** Indicates that the actor has removed the object from the target. */
281: const REMOVE = 'remove';
282: /** Indicates that the actor has removed the object from the collection of friends. */
283: const REMOVE_FRIEND = 'remove-friend';
284: /** Indicates that the actor has replaced the target with the object. */
285: const REPLACE = 'replace';
286: /** Indicates that the actor has requested the object. If a target is specified, it indicates the entity from which the object is being requested. */
287: const REQUEST = 'request';
288: /** Indicates the creation of a friendship that has not yet been reciprocated by the object. */
289: const REQUEST_FRIEND = 'request-friend';
290: /** Indicates that the actor has resolved the object. For instance, the object could represent a ticket being tracked in an issue management system. */
291: const RESOLVE = 'resolve';
292: /** Indicates that the actor has returned the object. If a target is specified, it indicates the entity to which the object was returned. */
293: const RETURNS = 'return';
294: /**
295: * Indicates that the actor has retracted the object. For instance, if an actor wishes to retract a previously published activity, the object
296: * would be the previously published activity that is being retracted.
297: */
298: const RETRACT = 'retract';
299: /**
300: * The 'possible RSVP' verb indicates that the actor has made a possible RSVP for the object. This specification only defines the meaning of this
301: * verb when its object is an event, though implementors need to be prepared to handle other object types. The use of this verb is only
302: * appropriate when the RSVP was created by an explicit action by the actor. It is not appropriate to use this verb when a user has been added as
303: * an attendee by an event organiser or administrator.
304: */
305: const RSVP_MAYBE = 'rsvp-maybe';
306: /**
307: * The 'negative RSVP' verb indicates that the actor has made a negative RSVP for the object. This specification only defines the meaning of this
308: * verb when its object is an event, though implementors need to be prepared to handle other object types. The use of this verb is only
309: * appropriate when the RSVP was created by an explicit action by the actor. It is not appropriate to use this verb when a user has been added as
310: * an attendee by an event organiser or administrator.
311: */
312: const RSVP_NO = 'rsvp-no';
313: /**
314: * The 'positive RSVP' verb indicates that the actor has made a positive RSVP for an object. This specification only defines the meaning of this
315: * verb when its object is an event, though implementors need to be prepared to handle other object types. The use of this verb is only
316: * appropriate when the RSVP was created by an explicit action by the actor. It is not appropriate to use this verb when a user has been added as
317: * an attendee by an event organiser or administrator.
318: */
319: const RSVP_YES = 'rsvp-yes';
320: /**
321: * Indicates that the actor has satisfied the object. If a target is specified, it indicate the context within which the object was satisfied. For
322: * instance, if a person satisfies the requirements for a particular challenge, the person is the actor; the requirement is the object; and the
323: * challenge is the target.
324: */
325: const SATISFY = 'satisfy';
326: /**
327: * Indicates that the actor has called out the object as being of interest primarily to him- or herself. Though this action MAY be shared
328: * publicly, the implication is that the object has been saved primarily for the actor's own benefit rather than to show it to others as would be
329: * indicated by the 'share' verb.
330: */
331: const SAVE = 'save';
332: /**
333: * Indicates that the actor has scheduled the object. For instance, scheduling a meeting.
334: */
335: const SCHEDULE = 'schedule';
336: /**
337: * Indicates that the actor is or has searched for the object. If a target is specified, it indicates the context within which the search is or
338: * has been conducted.
339: */
340: const SEARCH = 'search';
341: /**
342: * Indicates that the actor has sold the object. If a target is specified, it indicates the entity to which the object was sold.
343: */
344: const SELL = 'sell';
345: /**
346: * Indicates that the actor has sent the object. If a target is specified, it indicates the entity to which the object was sent.
347: */
348: const SEND = 'send';
349: /**
350: * Indicates that the actor has called out the object to readers. In most cases, the actor did not create the object being shared, but is instead
351: * drawing attention to it.
352: */
353: const SHARE = 'share';
354: /**
355: * Indicates that the actor has sponsored the object. If a target is specified, it indicates the context within which the sponsorship is offered.
356: * For instance, a company can sponsor an event; or an individual can sponsor a project; etc.
357: */
358: const SPONSOR = 'sponsor';
359: /**
360: * Indicates that the actor has started the object. For instance, when a person starts a project.
361: */
362: const START = 'start';
363: /**
364: * Indicates that the actor has stopped following the object.
365: */
366: const STOP_FOLLOWING = 'stop-following';
367: /**
368: * Indicates that the actor has submitted the object. If a target is specified, it indicates the entity to which the object was submitted.
369: */
370: const SUBMIT = 'submit';
371: /**
372: * Indicates that the actor has associated the object with the target. For example, if the actor specifies that a particular user appears in a
373: * photo. the object is the user and the target is the photo.
374: */
375: const TAG = 'tag';
376: /**
377: * Indicates that the actor has terminated the object.
378: */
379: const TERMINATE = 'terminate';
380: /**
381: * Indicates that the actor has neither won or lost the object. This verb is generally only applicable when the object represents some form of
382: * competition, such as a game.
383: */
384: const TIE = 'tie';
385: /**
386: * Indicates that the actor has removed the object from the collection of favorited items.
387: */
388: const UNFAVORITE = 'unfavorite';
389: /**
390: * Indicates that the actor has removed the object from the collection of liked items.
391: */
392: const UNLIKE = 'unlike';
393: /**
394: * Indicates that the actor has not satisfied the object. If a target is specified, it indicates the context within which the object was not
395: * satisfied. For instance, if a person fails to satisfy the requirements of some particular challenge, the person is the actor; the requirement
396: * is the object and the challenge is the target.
397: */
398: const UNSATISFY = 'unsatisfy';
399: /**
400: * Indicates that the actor has removed the object from the collection of saved items.
401: */
402: const UNSAVE = 'unsave';
403: /**
404: * Indicates that the actor is no longer sharing the object. If a target is specified, it indicates the entity with whom the object is no longer
405: * being shared.
406: */
407: const UNSHARE = 'unshare';
408: /**
409: * The 'update' verb indicates that the actor has modified the object. Use of the 'update' verb is generally reserved to indicate modifications to
410: * existing objects or data such as changing an existing user's profile information.
411: */
412: const UPDATE = 'update';
413:
414: /**
415: * Indicates that the actor has used the object in some manner.
416: */
417: const USES = 'use';
418: /**
419: * Indicates that the actor has watched the object. This verb is typically applicable only when the object represents dynamic, visible content
420: * such as a movie, a television show or a public performance. This verb is a more specific form of the verbs 'experience', 'play' and 'consume'.
421: */
422: const WATCH = 'watch';
423: /**
424: * Indicates that the actor has won the object. This verb is typically applicable only when the object represents some form of competition, such
425: * as a game.
426: */
427: const WIN = 'win';
428: }