| author | cavaliet |
| Mon, 24 Oct 2011 19:08:04 +0200 | |
| changeset 12 | 81cc9274c20a |
| parent 5 | 45378793512a |
| child 14 | 673b2766024e |
| 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 |
||
14 |
interface TagInterface { |
|
15 |
||
16 |
/** |
|
17 |
* Get id |
|
18 |
* |
|
19 |
* @return integer |
|
20 |
*/ |
|
21 |
function getId(); |
|
22 |
||
23 |
/** |
|
24 |
* Set label |
|
25 |
* |
|
26 |
* @param string $label |
|
27 |
*/ |
|
28 |
function setLabel($label); |
|
29 |
||
30 |
/** |
|
31 |
* Get label |
|
32 |
* |
|
33 |
* @return string |
|
34 |
*/ |
|
35 |
function getLabel(); |
|
36 |
||
37 |
/** |
|
38 |
* Set normalizedLabel |
|
39 |
* |
|
40 |
* @param string $normalizedLabel |
|
41 |
*/ |
|
42 |
function setNormalizedLabel($normalizedLabel); |
|
43 |
||
44 |
/** |
|
45 |
* Get normalizedLabel |
|
46 |
* |
|
47 |
* @return string |
|
48 |
*/ |
|
49 |
function getNormalizedLabel(); |
|
50 |
||
51 |
/** |
|
52 |
* Set originalLabel |
|
53 |
* |
|
54 |
* @param string $originalLabel |
|
55 |
*/ |
|
56 |
function setOriginalLabel($originalLabel); |
|
57 |
||
58 |
/** |
|
59 |
* Get originalLabel |
|
60 |
* |
|
61 |
* @return string |
|
62 |
*/ |
|
63 |
function getOriginalLabel(); |
|
64 |
||
65 |
/** |
|
66 |
* Set alias |
|
67 |
* |
|
68 |
* @param string $alias |
|
69 |
*/ |
|
70 |
function setAlias($alias); |
|
71 |
||
72 |
/** |
|
73 |
* Get alias |
|
74 |
* |
|
75 |
* @return string |
|
76 |
*/ |
|
77 |
function getAlias(); |
|
78 |
||
79 |
/** |
|
80 |
* Set wikipediaUrl |
|
81 |
* |
|
82 |
* @param string $wikipediaUrl |
|
83 |
*/ |
|
84 |
function setWikipediaUrl($wikipediaUrl); |
|
85 |
||
86 |
/** |
|
87 |
* Get wikipediaUrl |
|
88 |
* |
|
89 |
* @return string |
|
90 |
*/ |
|
91 |
function getWikipediaUrl(); |
|
92 |
||
93 |
/** |
|
94 |
* Set wikipediaPageId |
|
95 |
* |
|
96 |
* @param bigint $wikipediaPageId |
|
97 |
*/ |
|
98 |
function setWikipediaPageId($wikipediaPageId); |
|
99 |
||
100 |
/** |
|
101 |
* Get wikipediaPageId |
|
102 |
* |
|
103 |
* @return bigint |
|
104 |
*/ |
|
105 |
function getWikipediaPageId(); |
|
106 |
||
107 |
/** |
|
108 |
* Set urlStatus |
|
109 |
* |
|
110 |
* @param smallint $urlStatus |
|
111 |
*/ |
|
112 |
function setUrlStatus($urlStatus); |
|
113 |
||
114 |
/** |
|
115 |
* Get urlStatus |
|
116 |
* |
|
117 |
* @return smallint |
|
118 |
*/ |
|
119 |
function getUrlStatus(); |
|
120 |
||
121 |
/** |
|
|
5
45378793512a
Correct tag insert + external id on doc
ymh <ymh.work@gmail.com>
parents:
2
diff
changeset
|
122 |
* Get UrlStatusText |
|
45378793512a
Correct tag insert + external id on doc
ymh <ymh.work@gmail.com>
parents:
2
diff
changeset
|
123 |
* |
|
45378793512a
Correct tag insert + external id on doc
ymh <ymh.work@gmail.com>
parents:
2
diff
changeset
|
124 |
* @return string |
|
45378793512a
Correct tag insert + external id on doc
ymh <ymh.work@gmail.com>
parents:
2
diff
changeset
|
125 |
*/ |
|
45378793512a
Correct tag insert + external id on doc
ymh <ymh.work@gmail.com>
parents:
2
diff
changeset
|
126 |
function getUrlStatusText(); |
|
45378793512a
Correct tag insert + external id on doc
ymh <ymh.work@gmail.com>
parents:
2
diff
changeset
|
127 |
|
|
45378793512a
Correct tag insert + external id on doc
ymh <ymh.work@gmail.com>
parents:
2
diff
changeset
|
128 |
|
|
45378793512a
Correct tag insert + external id on doc
ymh <ymh.work@gmail.com>
parents:
2
diff
changeset
|
129 |
/** |
| 2 | 130 |
* Set dbpediaUri |
131 |
* |
|
132 |
* @param string $dbpediaUri |
|
133 |
*/ |
|
134 |
function setDbpediaUri($dbpediaUri); |
|
135 |
||
136 |
/** |
|
137 |
* Get dbpediaUri |
|
138 |
* |
|
139 |
* @return string |
|
140 |
*/ |
|
141 |
function getDbpediaUri(); |
|
142 |
||
143 |
/** |
|
144 |
* Set popularity |
|
145 |
* |
|
146 |
* @param integer $popularity |
|
147 |
*/ |
|
148 |
function setPopularity($popularity); |
|
149 |
||
150 |
/** |
|
151 |
* Get popularity |
|
152 |
* |
|
153 |
* @return integer |
|
154 |
*/ |
|
155 |
function getPopularity(); |
|
156 |
||
|
5
45378793512a
Correct tag insert + external id on doc
ymh <ymh.work@gmail.com>
parents:
2
diff
changeset
|
157 |
|
|
45378793512a
Correct tag insert + external id on doc
ymh <ymh.work@gmail.com>
parents:
2
diff
changeset
|
158 |
/** |
|
45378793512a
Correct tag insert + external id on doc
ymh <ymh.work@gmail.com>
parents:
2
diff
changeset
|
159 |
* Set category |
|
45378793512a
Correct tag insert + external id on doc
ymh <ymh.work@gmail.com>
parents:
2
diff
changeset
|
160 |
* |
|
45378793512a
Correct tag insert + external id on doc
ymh <ymh.work@gmail.com>
parents:
2
diff
changeset
|
161 |
* @param object $category |
|
45378793512a
Correct tag insert + external id on doc
ymh <ymh.work@gmail.com>
parents:
2
diff
changeset
|
162 |
*/ |
|
45378793512a
Correct tag insert + external id on doc
ymh <ymh.work@gmail.com>
parents:
2
diff
changeset
|
163 |
function setCategory($category); |
|
45378793512a
Correct tag insert + external id on doc
ymh <ymh.work@gmail.com>
parents:
2
diff
changeset
|
164 |
|
|
45378793512a
Correct tag insert + external id on doc
ymh <ymh.work@gmail.com>
parents:
2
diff
changeset
|
165 |
/** |
|
45378793512a
Correct tag insert + external id on doc
ymh <ymh.work@gmail.com>
parents:
2
diff
changeset
|
166 |
* Get category |
|
45378793512a
Correct tag insert + external id on doc
ymh <ymh.work@gmail.com>
parents:
2
diff
changeset
|
167 |
* |
|
45378793512a
Correct tag insert + external id on doc
ymh <ymh.work@gmail.com>
parents:
2
diff
changeset
|
168 |
* @return object |
|
45378793512a
Correct tag insert + external id on doc
ymh <ymh.work@gmail.com>
parents:
2
diff
changeset
|
169 |
*/ |
|
45378793512a
Correct tag insert + external id on doc
ymh <ymh.work@gmail.com>
parents:
2
diff
changeset
|
170 |
function getCategory(); |
|
45378793512a
Correct tag insert + external id on doc
ymh <ymh.work@gmail.com>
parents:
2
diff
changeset
|
171 |
|
| 2 | 172 |
|
173 |
} |