- Author
- Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g
Definition at line 36 of file AxTag.java.
◆ AxTag()
org.turro.alliance.db.entities.AxTag.AxTag |
( |
long |
memberId, |
|
|
String |
tag, |
|
|
String |
entityRoot, |
|
|
String |
entityId |
|
) |
| |
Definition at line 41 of file AxTag.java.
42 this.memberId = memberId;
44 this.entityRoot = entityRoot;
45 this.entityId = entityId;
◆ from() [1/3]
static Set<AxTag> org.turro.alliance.db.entities.AxTag.from |
( |
long |
memberId, |
|
|
Dossier |
dossier |
|
) |
| |
|
static |
Definition at line 66 of file AxTag.java.
67 Set<AxTag> tags =
new HashSet<>();
68 Tags.getTags(dossier).forEach(ti -> {
69 tags.add(
new AxTag(memberId, ti.getTagName(),
"/axproject/", Long.toString(dossier.getId())));
AxTag(long memberId, String tag, String entityRoot, String entityId)
◆ from() [2/3]
static AxTag org.turro.alliance.db.entities.AxTag.from |
( |
long |
memberId, |
|
|
ImporterRegister |
register |
|
) |
| |
|
static |
Definition at line 82 of file AxTag.java.
83 return new AxTag(memberId,
register.getString(
"tag"),
register.getString(
"entityRoot"),
register.getString(
"entityId"));
◆ from() [3/3]
static Set<AxTag> org.turro.alliance.db.entities.AxTag.from |
( |
long |
memberId, |
|
|
ProjectGrant |
projectGrant |
|
) |
| |
|
static |
Definition at line 74 of file AxTag.java.
75 Set<AxTag> tags =
new HashSet<>();
76 Tags.getTags(projectGrant).forEach(ti -> {
77 tags.add(
new AxTag(memberId, ti.getTagName(),
"/axproject-grant/", Long.toString(projectGrant.getId())));
◆ fromJson()
static AxTag org.turro.alliance.db.entities.AxTag.fromJson |
( |
JsonValue |
value | ) |
|
|
static |
Definition at line 98 of file AxTag.java.
99 return IJSONizable.fromJson(value.toString(),
AxTag.class);
◆ getEntityId()
String org.turro.alliance.db.entities.AxTag.getEntityId |
( |
| ) |
|
◆ getEntityRoot()
String org.turro.alliance.db.entities.AxTag.getEntityRoot |
( |
| ) |
|
◆ getTagName()
String org.turro.alliance.db.entities.AxTag.getTagName |
( |
| ) |
|
◆ stringifyId()
String org.turro.alliance.db.entities.AxTag.stringifyId |
( |
| ) |
|
Definition at line 60 of file AxTag.java.
61 return new CompoundId(entityId, memberId).stringify();
◆ toJson() [1/2]
String org.turro.alliance.db.entities.AxTag.toJson |
( |
| ) |
|
◆ toJson() [2/2]
String org.turro.alliance.db.entities.AxTag.toJson |
( |
Map< String, Object > |
properties | ) |
|
The documentation for this class was generated from the following file: