ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
Persistence.php
Go to the documentation of this file.
1 <?php
9 namespace ILIAS\BackgroundTasks;
10 
11 interface Persistence
12 {
13 
17  public function saveBucketAndItsTasks(Bucket $bucket);
18 
19 
27  public function getBucketIdsOfUser($user_id, $order_by = "id", $order_direction = "ASC");
28 
29 
35  public function getBucketIdsByState($state);
36 
37 
44  public function loadBucket($bucket_container_id);
45 
46 
53  public function loadBuckets($bucket_container_id);
54 
55 
63  public function deleteBucketById($bucket_id);
64 
65 
73  public function deleteBucket($bucket);
74 
75 
81  public function updateBucket(Bucket $bucket);
82 
83 
89  public function getBucketContainerId(Bucket $bucket);
90 
91 
97  public function getBucketMetaOfUser($user_id);
98 }
deleteBucket($bucket)
Delete the bucket and all its stuff.
Created by PhpStorm.
saveBucketAndItsTasks(Bucket $bucket)
if(!array_key_exists('stateid', $_REQUEST)) $state
Handle linkback() response from LinkedIn.
Definition: linkback.php:10
getBucketIdsOfUser($user_id, $order_by="id", $order_direction="ASC")
getBucketContainerId(Bucket $bucket)
updateBucket(Bucket $bucket)
Updates only the bucket! Use this if e.g.
loadBuckets($bucket_container_id)
deleteBucketById($bucket_id)
Deletes the Observer AND all its tasks and values.
loadBucket($bucket_container_id)