| author | cavaliet |
| Fri, 02 Mar 2012 16:50:38 +0100 | |
| changeset 83 | e9f04298bdfa |
| parent 62 | 10be6b9e55e7 |
| permissions | -rwxr-xr-x |
| 2 | 1 |
<?php |
2 |
/* |
|
3 |
* This file is part of the WikiTagBundle package. |
|
4 |
* |
|
5 |
* (c) IRI <http://www.iri.centrepompidou.fr/> |
|
6 |
* |
|
7 |
* For the full copyright and license information, please view the LICENSE |
|
8 |
* file that was distributed with this source code. |
|
9 |
*/ |
|
10 |
||
11 |
namespace IRI\Bundle\WikiTagBundle\Model; |
|
12 |
||
13 |
interface DocumentTagInterface { |
|
14 |
||
15 |
/** |
|
16 |
* Get id |
|
17 |
* |
|
18 |
* @return integer |
|
19 |
*/ |
|
20 |
function getId(); |
|
21 |
||
22 |
/** |
|
23 |
* Set originalOrder |
|
24 |
* |
|
25 |
* @param integer $originalOrder |
|
26 |
*/ |
|
27 |
function setOriginalOrder($originalOrder); |
|
28 |
||
29 |
/** |
|
30 |
* Get originalOrder |
|
31 |
* |
|
32 |
* @return integer |
|
33 |
*/ |
|
34 |
function getOriginalOrder(); |
|
35 |
||
36 |
/** |
|
37 |
* Set tagOrder |
|
38 |
* |
|
39 |
* @param integer $tagOrder |
|
40 |
*/ |
|
41 |
function setTagOrder($tagOrder); |
|
42 |
||
43 |
/** |
|
44 |
* Get tagOrder |
|
45 |
* |
|
46 |
* @return integer |
|
47 |
*/ |
|
48 |
function getTagOrder(); |
|
49 |
||
50 |
/** |
|
51 |
* Set indexNote |
|
52 |
* |
|
53 |
* @param float $indexNote |
|
54 |
*/ |
|
55 |
function setIndexNote($indexNote); |
|
56 |
||
57 |
/** |
|
58 |
* Get indexNote |
|
59 |
* |
|
60 |
* @return float |
|
61 |
*/ |
|
62 |
function getIndexNote(); |
|
63 |
||
64 |
/** |
|
65 |
* Set wikipediaRevisionId |
|
66 |
* |
|
67 |
* @param bigint $wikipediaRevisionId |
|
68 |
*/ |
|
69 |
function setWikipediaRevisionId($wikipediaRevisionId); |
|
70 |
||
71 |
/** |
|
72 |
* Get wikipediaRevisionId |
|
73 |
* |
|
74 |
* @return bigint |
|
75 |
*/ |
|
76 |
function getWikipediaRevisionId(); |
|
77 |
||
78 |
/** |
|
79 |
* Set tag |
|
80 |
* |
|
81 |
* @param object $tag |
|
82 |
*/ |
|
83 |
function setTag($tag); |
|
84 |
||
85 |
/** |
|
86 |
* Get tag |
|
87 |
* |
|
88 |
* @return object |
|
89 |
*/ |
|
90 |
function getTag(); |
|
91 |
||
92 |
/** |
|
93 |
* Set document |
|
94 |
* |
|
95 |
* @param object $document |
|
96 |
*/ |
|
97 |
function setDocument($document); |
|
98 |
||
99 |
/** |
|
100 |
* Get document |
|
101 |
* |
|
102 |
* @return object |
|
103 |
*/ |
|
104 |
function getDocument(); |
|
|
57
186c4121c7b3
add service tp copy tag from one document to another
ymh <ymh.work@gmail.com>
parents:
2
diff
changeset
|
105 |
|
|
62
10be6b9e55e7
add creation timestamp on document tag and document tag
ymh <ymh.work@gmail.com>
parents:
57
diff
changeset
|
106 |
/** |
|
10be6b9e55e7
add creation timestamp on document tag and document tag
ymh <ymh.work@gmail.com>
parents:
57
diff
changeset
|
107 |
* return the utc time when this object has been created |
|
10be6b9e55e7
add creation timestamp on document tag and document tag
ymh <ymh.work@gmail.com>
parents:
57
diff
changeset
|
108 |
*/ |
|
10be6b9e55e7
add creation timestamp on document tag and document tag
ymh <ymh.work@gmail.com>
parents:
57
diff
changeset
|
109 |
function getCreatedAt(); |
|
10be6b9e55e7
add creation timestamp on document tag and document tag
ymh <ymh.work@gmail.com>
parents:
57
diff
changeset
|
110 |
|
| 83 | 111 |
/** |
112 |
* Set created at date |
|
113 |
* |
|
114 |
* @param DateTime $date |
|
115 |
*/ |
|
116 |
function setCreatedAt($date); |
|
117 |
||
|
62
10be6b9e55e7
add creation timestamp on document tag and document tag
ymh <ymh.work@gmail.com>
parents:
57
diff
changeset
|
118 |
|
| 2 | 119 |
|
120 |
} |