◆ getBloggers()
Collection<PublicationBlogger> org.turro.publication.entity.PublicationCategory.getBloggers |
( |
| ) |
|
Definition at line 180 of file PublicationCategory.java.
181 return new PublicationPU().getResultList(
182 "select ps from PublicationBlogger ps " +
183 "where ps.publicationCategory = ?",
184 new Object[] {
this }
◆ getBloggersId()
Collection<Long> org.turro.publication.entity.PublicationCategory.getBloggersId |
( |
| ) |
|
Definition at line 188 of file PublicationCategory.java.
189 return new PublicationPU().getResultList(
190 "select ps.id from PublicationBlogger ps " +
191 "where ps.publicationCategory = ?",
192 new Object[] {
this }
◆ getConditionedBy()
String org.turro.publication.entity.PublicationCategory.getConditionedBy |
( |
| ) |
|
◆ getConstraints()
◆ getConstraintSet()
Definition at line 147 of file PublicationCategory.java.
149 .map(c ->
new NotificationConstraint(c.getKeyId(), c.isOptional()))
150 .collect(Collectors.toCollection(HashSet::new)));
Set< PublicationConstraint > getConstraints()
◆ getDescription()
String org.turro.publication.entity.PublicationCategory.getDescription |
( |
| ) |
|
◆ getId()
Long org.turro.publication.entity.PublicationCategory.getId |
( |
| ) |
|
◆ getName()
String org.turro.publication.entity.PublicationCategory.getName |
( |
| ) |
|
◆ getPublications()
List<Publication> org.turro.publication.entity.PublicationCategory.getPublications |
( |
| ) |
|
Definition at line 153 of file PublicationCategory.java.
154 WhereClause wc =
new WhereClause();
155 wc.addClause(
"select d from Publication d");
156 wc.addClause(
"where d.publicationCategory = :category");
157 wc.addNamedValue(
"category",
this);
158 Dao dao =
new PublicationPU();
159 return dao.getResultList(Publication.class, wc);
◆ getSubscriptors()
Definition at line 163 of file PublicationCategory.java.
164 return new PublicationPU().getResultList(
165 "select ps from PublicationSubscription ps " +
166 "where ps.publicationCategory = ?",
167 new Object[] {
this }
◆ getSubscriptorsId()
Collection<Long> org.turro.publication.entity.PublicationCategory.getSubscriptorsId |
( |
| ) |
|
Definition at line 172 of file PublicationCategory.java.
173 return new PublicationPU().getResultList(
174 "select ps.id from PublicationSubscription ps " +
175 "where ps.publicationCategory = ?",
176 new Object[] {
this }
◆ isAnyBlogger()
static boolean org.turro.publication.entity.PublicationCategory.isAnyBlogger |
( |
IContact |
contact | ) |
|
|
static |
Definition at line 205 of file PublicationCategory.java.
206 return new PublicationPU().getSingleResultOrNull(
207 "select distinct ps.idContact from PublicationBlogger ps " +
208 "where ps.idContact = ?",
209 new Object[] { contact.getId() }
◆ isAvoidQueue()
boolean org.turro.publication.entity.PublicationCategory.isAvoidQueue |
( |
| ) |
|
◆ isBlogger()
boolean org.turro.publication.entity.PublicationCategory.isBlogger |
( |
IContact |
contact | ) |
|
Definition at line 196 of file PublicationCategory.java.
197 return new PublicationPU().getSingleResultOrNull(
198 "select ps from PublicationBlogger ps " +
199 "where ps.idContact = ? " +
200 "and ps.publicationCategory = ?",
201 new Object[] { contact.getId(),
this }
◆ isEmpty()
boolean org.turro.publication.entity.PublicationCategory.isEmpty |
( |
| ) |
|
◆ isPublishable()
boolean org.turro.publication.entity.PublicationCategory.isPublishable |
( |
| ) |
|
◆ isRestricted()
boolean org.turro.publication.entity.PublicationCategory.isRestricted |
( |
| ) |
|
◆ setAvoidQueue()
void org.turro.publication.entity.PublicationCategory.setAvoidQueue |
( |
boolean |
avoidQueue | ) |
|
◆ setConditionedBy()
void org.turro.publication.entity.PublicationCategory.setConditionedBy |
( |
String |
conditionedBy | ) |
|
◆ setConstraints()
void org.turro.publication.entity.PublicationCategory.setConstraints |
( |
Set< PublicationConstraint > |
constraints | ) |
|
◆ setDescription()
void org.turro.publication.entity.PublicationCategory.setDescription |
( |
String |
description | ) |
|
◆ setId()
void org.turro.publication.entity.PublicationCategory.setId |
( |
Long |
id | ) |
|
◆ setName()
void org.turro.publication.entity.PublicationCategory.setName |
( |
String |
name | ) |
|
◆ setPublishable()
void org.turro.publication.entity.PublicationCategory.setPublishable |
( |
boolean |
publishable | ) |
|
◆ strongBond()
boolean org.turro.publication.entity.PublicationCategory.strongBond |
( |
ConstraintKeys |
keys | ) |
|
◆ wideBond()
boolean org.turro.publication.entity.PublicationCategory.wideBond |
( |
ConstraintKeys |
keys | ) |
|
The documentation for this class was generated from the following file: