1 | <?php |
||
21 | class FilesystemDocumentEntity extends AbstractEntity |
||
22 | { |
||
23 | /** |
||
24 | * @var array |
||
25 | */ |
||
26 | protected $container = [ |
||
27 | 'id_filesystem_document' => null, |
||
28 | 'fk_parent_revision' => null, |
||
29 | 'fk_author' => null, |
||
30 | 'content_revision' => null, |
||
31 | 'content_lead' => null, |
||
32 | 'content_body' => null, |
||
33 | 'date_created' => null, |
||
34 | 'date_modified' => null, |
||
35 | ]; |
||
36 | |||
37 | /** |
||
38 | * @param int $identifier |
||
39 | * @return FilesystemDocumentEntity |
||
40 | */ |
||
41 | public function setFilesystemDocumentId(int $identifier) : FilesystemDocumentEntity |
||
47 | |||
48 | /** |
||
49 | * @return int|null |
||
50 | */ |
||
51 | public function getFilesystemDocumentId() : ? int |
||
57 | |||
58 | /** |
||
59 | * @param int $parentRevisionIdentifier |
||
60 | * @return FilesystemDocumentEntity |
||
61 | */ |
||
62 | public function setParentRevisionId(int $parentRevisionIdentifier) : FilesystemDocumentEntity |
||
68 | |||
69 | /** |
||
70 | * @return int|null |
||
71 | */ |
||
72 | public function getParentRevisionId() : ? int |
||
78 | |||
79 | /** |
||
80 | * @param int $authorIdentifier |
||
81 | * @return FilesystemDocumentEntity |
||
82 | */ |
||
83 | public function setAuthorId(int $authorIdentifier) : FilesystemDocumentEntity |
||
89 | |||
90 | /** |
||
91 | * @return int|null |
||
92 | */ |
||
93 | public function getAuthorId() : ? int |
||
99 | |||
100 | /** |
||
101 | * @param int $contentRevision |
||
102 | * @return FilesystemDocumentEntity |
||
103 | */ |
||
104 | public function setContentRevision(int $contentRevision) : FilesystemDocumentEntity |
||
110 | |||
111 | /** |
||
112 | * @return int|null |
||
113 | */ |
||
114 | public function getContentRevision() : ? int |
||
120 | |||
121 | /** |
||
122 | * @param string $contentLead |
||
123 | * @return FilesystemDocumentEntity |
||
124 | */ |
||
125 | public function setContentLead(string $contentLead) : FilesystemDocumentEntity |
||
131 | |||
132 | /** |
||
133 | * @return null|string |
||
134 | */ |
||
135 | public function getContentLead() : ? string |
||
139 | |||
140 | /** |
||
141 | * @param string $contentBody |
||
142 | * @return FilesystemDocumentEntity |
||
143 | */ |
||
144 | public function setContentBody(string $contentBody) : FilesystemDocumentEntity |
||
150 | |||
151 | /** |
||
152 | * @return null|string |
||
153 | */ |
||
154 | public function getContentBody() : ? string |
||
158 | |||
159 | /** |
||
160 | * @param DateTime $dateTime |
||
161 | * @return FilesystemDocumentEntity |
||
162 | */ |
||
163 | public function setDateCreated(DateTime $dateTime) : FilesystemDocumentEntity |
||
169 | |||
170 | /** |
||
171 | * @return null|DateTime |
||
172 | */ |
||
173 | public function getDateCreated() : ? DateTime |
||
179 | |||
180 | /** |
||
181 | * @param DateTime $dateTime |
||
182 | * @return FilesystemDocumentEntity |
||
183 | */ |
||
184 | public function setDateModified(DateTime $dateTime) : FilesystemDocumentEntity |
||
190 | |||
191 | /** |
||
192 | * @return null|DateTime |
||
193 | */ |
||
194 | public function getDateModified() : ? DateTime |
||
200 | } |
||
201 |