- Author
- Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g
Definition at line 53 of file WebItem.java.
◆ compose()
void org.turro.elephant.entities.web.WebItem.compose |
( |
| ) |
|
Definition at line 199 of file WebItem.java.
200 IConstructor constructor = Application.getApplication().getConstructor();
201 if(constructor !=
null) {
void compose(IConstructor constructor)
◆ entityId()
Object org.turro.elephant.entities.web.WebItem.entityId |
( |
| ) |
|
◆ equals()
boolean org.turro.elephant.entities.web.WebItem.equals |
( |
Object |
obj | ) |
|
Definition at line 220 of file WebItem.java.
227 if (getClass() != obj.getClass()) {
230 final WebItem other = (WebItem) obj;
231 return Objects.equals(this.webTag, other.webTag);
◆ getCaption()
String org.turro.elephant.entities.web.WebItem.getCaption |
( |
| ) |
|
◆ getCompendium()
String org.turro.elephant.entities.web.WebItem.getCompendium |
( |
| ) |
|
◆ getContent()
String org.turro.elephant.entities.web.WebItem.getContent |
( |
| ) |
|
◆ getDescription()
Wiki org.turro.elephant.entities.web.WebItem.getDescription |
( |
| ) |
|
Definition at line 136 of file WebItem.java.
137 if(description ==
null) description =
new Wiki();
◆ getExternalLinks()
Set<WebLink> org.turro.elephant.entities.web.WebItem.getExternalLinks |
( |
| ) |
|
Definition at line 207 of file WebItem.java.
208 return externals.stream().map(ext -> WebActions.of(ext).link())
209 .filter(wl -> !wl.isEmpty()).collect(Collectors.toSet());
◆ getExternals()
Set<String> org.turro.elephant.entities.web.WebItem.getExternals |
( |
| ) |
|
◆ getGoals()
Set<WebGoal> org.turro.elephant.entities.web.WebItem.getGoals |
( |
| ) |
|
◆ getIcons()
Icons org.turro.elephant.entities.web.WebItem.getIcons |
( |
| ) |
|
◆ getImage()
String org.turro.elephant.entities.web.WebItem.getImage |
( |
| ) |
|
◆ getItemLabel()
String org.turro.elephant.entities.web.WebItem.getItemLabel |
( |
| ) |
|
Definition at line 195 of file WebItem.java.
196 return Phrases.start(caption).add(webTag,
"()").add(type.toString()).toString();
◆ getNexts()
Set<WebItem> org.turro.elephant.entities.web.WebItem.getNexts |
( |
| ) |
|
◆ getOrdering()
int org.turro.elephant.entities.web.WebItem.getOrdering |
( |
| ) |
|
◆ getPlainCompendium()
String org.turro.elephant.entities.web.WebItem.getPlainCompendium |
( |
| ) |
|
Definition at line 171 of file WebItem.java.
172 return summary ==
null ?
"" : HtmlContent.plain(summary.
getText(), 100);
◆ getSummary()
Wiki org.turro.elephant.entities.web.WebItem.getSummary |
( |
| ) |
|
Definition at line 127 of file WebItem.java.
128 if(summary ==
null) summary =
new Wiki();
◆ getType()
WebItemType org.turro.elephant.entities.web.WebItem.getType |
( |
| ) |
|
◆ getWebTag()
String org.turro.elephant.entities.web.WebItem.getWebTag |
( |
| ) |
|
◆ hashCode()
int org.turro.elephant.entities.web.WebItem.hashCode |
( |
| ) |
|
Definition at line 213 of file WebItem.java.
215 hash = 71 * hash + Objects.hashCode(this.webTag);
◆ isEmpty()
boolean org.turro.elephant.entities.web.WebItem.isEmpty |
( |
| ) |
|
◆ isIcon()
boolean org.turro.elephant.entities.web.WebItem.isIcon |
( |
| ) |
|
Definition at line 183 of file WebItem.java.
184 return !Strings.isBlank(image) && !image.endsWith(
".png");
◆ isValid()
boolean org.turro.elephant.entities.web.WebItem.isValid |
( |
| ) |
|
Definition at line 187 of file WebItem.java.
188 return webTag.matches(
"[A-Za-z0-9_-]+");
◆ setCaption()
void org.turro.elephant.entities.web.WebItem.setCaption |
( |
String |
caption | ) |
|
◆ setDescription()
void org.turro.elephant.entities.web.WebItem.setDescription |
( |
Wiki |
description | ) |
|
Definition at line 141 of file WebItem.java.
142 this.description = description;
◆ setExternals()
void org.turro.elephant.entities.web.WebItem.setExternals |
( |
Set< String > |
externals | ) |
|
Definition at line 165 of file WebItem.java.
166 this.externals = externals;
◆ setGoals()
void org.turro.elephant.entities.web.WebItem.setGoals |
( |
Set< WebGoal > |
goals | ) |
|
◆ setImage()
void org.turro.elephant.entities.web.WebItem.setImage |
( |
String |
image | ) |
|
◆ setNexts()
void org.turro.elephant.entities.web.WebItem.setNexts |
( |
Set< WebItem > |
nexts | ) |
|
◆ setOrdering()
void org.turro.elephant.entities.web.WebItem.setOrdering |
( |
int |
ordering | ) |
|
◆ setSummary()
void org.turro.elephant.entities.web.WebItem.setSummary |
( |
Wiki |
summary | ) |
|
◆ setType()
void org.turro.elephant.entities.web.WebItem.setType |
( |
WebItemType |
type | ) |
|
◆ setWebTag()
void org.turro.elephant.entities.web.WebItem.setWebTag |
( |
String |
webTag | ) |
|
The documentation for this class was generated from the following file: