~xibo-maintainers/xibo/tempel

« back to all changes in this revision

Viewing changes to lib/Service/DisplayNotifyServiceInterface.php

  • Committer: Dan Garner
  • Date: 2015-03-26 14:08:33 UTC
  • Revision ID: git-v1:70d14044444f8dc5d602b99890d59dea46d9470c
Moved web servable files to web folder

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?php
2
 
/*
3
 
 * Spring Signage Ltd - http://www.springsignage.com
4
 
 * Copyright (C) 2016 Spring Signage Ltd
5
 
 * (DisplayNotifyServiceInterface.php)
6
 
 */
7
 
 
8
 
 
9
 
namespace Xibo\Service;
10
 
use Stash\Interfaces\PoolInterface;
11
 
use Xibo\Factory\DayPartFactory;
12
 
use Xibo\Factory\ScheduleFactory;
13
 
use Xibo\Storage\StorageServiceInterface;
14
 
 
15
 
/**
16
 
 * Interface DisplayNotifyServiceInterface
17
 
 * @package Xibo\Service
18
 
 */
19
 
interface DisplayNotifyServiceInterface
20
 
{
21
 
    /**
22
 
     * DisplayNotifyServiceInterface constructor.
23
 
     * @param ConfigServiceInterface $config
24
 
     * @param StorageServiceInterface $store
25
 
     * @param LogServiceInterface $log
26
 
     * @param PoolInterface $pool
27
 
     * @param PlayerActionServiceInterface $playerActionService
28
 
     * @param DateServiceInterface $dateService
29
 
     * @param ScheduleFactory $scheduleFactory
30
 
     * @param DayPartFactory $dayPartFactory
31
 
     */
32
 
    public function __construct($config, $store, $log, $pool, $playerActionService, $dateService, $scheduleFactory, $dayPartFactory);
33
 
 
34
 
    /**
35
 
     * Initialise
36
 
     * @return $this
37
 
     */
38
 
    public function init();
39
 
 
40
 
    /**
41
 
     * @return $this
42
 
     */
43
 
    public function collectNow();
44
 
 
45
 
    /**
46
 
     * @return $this
47
 
     */
48
 
    public function collectLater();
49
 
 
50
 
    /**
51
 
     * Process Queue of Display Notifications
52
 
     * @return $this
53
 
     */
54
 
    public function processQueue();
55
 
 
56
 
    /**
57
 
     * Notify by Display Id
58
 
     * @param $displayId
59
 
     */
60
 
    public function notifyByDisplayId($displayId);
61
 
 
62
 
    /**
63
 
     * Notify by Display Group Id
64
 
     * @param $displayGroupId
65
 
     */
66
 
    public function notifyByDisplayGroupId($displayGroupId);
67
 
 
68
 
    /**
69
 
     * Notify by CampaignId
70
 
     * @param $campaignId
71
 
     */
72
 
    public function notifyByCampaignId($campaignId);
73
 
 
74
 
    /**
75
 
     * Notify by DataSetId
76
 
     * @param $dataSetId
77
 
     */
78
 
    public function notifyByDataSetId($dataSetId);
79
 
 
80
 
    /**
81
 
     * Notify by PlaylistId
82
 
     * @param $playlistId
83
 
     */
84
 
    public function notifyByPlaylistId($playlistId);
85
 
}
 
 
b'\\ No newline at end of file'