ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
Persistence.php
Go to the documentation of this file.
1 <?php
9 namespace ILIAS\BackgroundTasks;
10 
12 
13 interface Persistence
14 {
15 
19  public function saveBucketAndItsTasks(Bucket $bucket);
20 
21 
29  public function getBucketIdsOfUser($user_id, $order_by = "id", $order_direction = "ASC");
30 
31 
37  public function getBucketIdsByState($state);
38 
39 
46  public function loadBucket($bucket_container_id);
47 
48 
55  public function loadBuckets($bucket_container_id);
56 
57 
65  public function deleteBucketById($bucket_id);
66 
67 
75  public function deleteBucket($bucket);
76 
77 
83  public function updateBucket(Bucket $bucket);
84 
85 
91  public function getBucketContainerId(Bucket $bucket);
92 
93 
99  public function getBucketMetaOfUser($user_id);
100 }
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)