18 define(
'COMMENT_TYPE_PEER_REVIEW', 0x01);
19 define(
'COMMENT_TYPE_EDITOR_DECISION', 0x02);
20 define(
'COMMENT_TYPE_COPYEDIT', 0x03);
21 define(
'COMMENT_TYPE_LAYOUT', 0x04);
22 define(
'COMMENT_TYPE_PROOFREAD', 0x05);
31 return $this->
getData(
'commentType');
39 $this->
setData(
'commentType', $commentType);
47 return $this->
getData(
'roleId');
55 $this->
setData(
'roleId', $roleId);
63 return $this->
getData(
'submissionId');
71 $this->
setData(
'submissionId', $submissionId);
79 return $this->
getData(
'assocId');
87 $this->
setData(
'assocId', $assocId);
95 return $this->
getData(
'authorId');
103 $this->
setData(
'authorId', $authorId);
112 $authorFullName =& $this->
getData(
'authorFullName');
114 if(!isset($authorFullName)) {
116 $authorFullName = $userDao->getUserFullName($this->
getAuthorId(),
true);
119 return $authorFullName ? $authorFullName :
'';
128 $authorEmail =& $this->
getData(
'authorEmail');
130 if(!isset($authorEmail)) {
132 $authorEmail = $userDao->getUserEmail($this->
getAuthorId(),
true);
135 return $authorEmail ? $authorEmail :
'';
143 return $this->
getData(
'commentTitle');
151 $this->
setData(
'commentTitle', $commentTitle);
159 return $this->
getData(
'comments');
167 $this->
setData(
'comments', $comments);
175 return $this->
getData(
'datePosted');
183 $this->
setData(
'datePosted', $datePosted);
191 return $this->
getData(
'dateModified');
199 $this->
setData(
'dateModified', $dateModified);
207 return $this->
getData(
'viewable');
215 $this->
setData(
'viewable', $viewable);